diff --git a/CHANGELOG.md b/CHANGELOG.md index 0447efb4..3303bc5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,33 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [26.7.0] - 2026-07-27 + +### Added +- **API spec:** `graphiant_api_docs_v26.7.0.json` +- **B2B extranet — new API paths (`/v1/extranet/b2b/...`):** Comprehensive new endpoint set alongside the existing `/v1/extranets/b2b/...` paths: + - **Consumers:** **`GET /v1/extranet/b2b/consumers/{customerId}`**, **`GET`/`PUT`/`DELETE /v1/extranet/b2b/consumers/{id}`**, **`GET /v1/extranet/b2b/consumers/{id}/device-status`**, **`PUT /v1/extranet/b2b/consumers/{id}/prefixes`**; models **`V1ExtranetB2bConsumers*`**, **`ManaV2ExtranetConsumerLanPrefixes`** + - **Customers:** **`POST /v1/extranet/b2b/customers`**, **`GET /v1/extranet/b2b/customers/summary`**, **`GET`/`PUT`/`DELETE /v1/extranet/b2b/customers/{id}`**, **`GET /v1/extranet/b2b/customers/{id}/details`**, **`GET /v1/extranet/b2b/customers/{id}/matches/summary`**, **`POST /v1/extranet/b2b/customers/{id}/retry`**; models **`V1ExtranetB2bCustomers*`** + - **Matches:** **`POST /v1/extranet/b2b/matches`**, **`GET`/`PUT`/`DELETE /v1/extranet/b2b/matches/{matchId}`**, **`GET /v1/extranet/b2b/matches/{matchId}/details`**, **`POST /v1/extranet/b2b/matches/{matchId}/consumer`**, **`POST /v1/extranet/b2b/matches/{matchId}/consumer/check`**, **`PUT /v1/extranet/b2b/matches/{matchId}/status`**, **`PUT /v1/extranet/b2b/matches/pause`**, **`POST /v1/extranet/b2b/matches/review`**, **`POST /v1/extranet/b2b/matches/customers`**; models **`V1ExtranetB2bMatches*`**, **`ManaV2B2bExtranetMatch`**, **`ManaV2B2bExtranetMatchConsumerDetails`**, **`ManaV2B2BExtranetMatchConsumerDetailsCustomer`**, **`ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix`**, **`ManaV2B2BExtranetMatchConsumerDetailsService`** + - **Producer:** **`POST /v1/extranet/b2b/producer`**, **`GET`/`PUT`/`DELETE /v1/extranet/b2b/producer/{id}`**, **`GET /v1/extranet/b2b/producer/{id}/customers`**, **`GET /v1/extranet/b2b/producer/{id}/device-status`**, **`PUT /v1/extranet/b2b/producer/{id}/status`**, **`POST /v1/extranet/b2b/producer/review`**; models **`V1ExtranetB2bProducer*`** + - **Services:** **`GET /v1/extranet/b2b/services/summary`**; model **`V1ExtranetB2bServicesSummaryGetResponse`** + - **Shared extranet models:** **`ManaV2ExtranetNatTranslationCentralized`**, **`ManaV2ExtranetNatTranslationDecentralized`**, **`ManaV2ExtranetNatTranslationDevicePrefixes`**, **`ManaV2ExtranetNatTranslationMode`**, **`ManaV2ExtranetNatTranslationPeerToPeer`**, **`ManaV2ExtranetNatTranslationPeerToPeerPrefix`**, **`ManaV2ExtranetServiceConsumerPolicy`**, **`ManaV2ExtranetServiceCustomerInvite`**, **`ManaV2ExtranetServiceCustomerMatchSummary`**, **`ManaV2ExtranetServiceCustomerSummary`**, **`ManaV2ExtranetServicePolicyResponse`**, **`ManaV2ExtranetServiceProducerCustomer`**, **`ManaV2ExtranetServiceProducerPolicy`**, **`ManaV2ExtranetServiceSummary`** +- **OSPF authentication:** **`ManaV2OspfAuthentication`**, **`ManaV2NullableOspfAuthenticationConfig`**; **`ManaV2OspfInterface`** and **`ManaV2OspfInterfaceConfig`** extended with `authentication` field +- **Auth error response models:** **`V1AuthLoginCallbackPost500Response`**, **`V1AuthLoginSamlGet401Response`**, **`V1AuthLoginSamlGet500Response`**, **`V1AuthRefreshGet403Response`**, **`V1AuthRefreshGet422Response`**, **`V1AuthSessionGet403Response`**, **`V1AuthSessionGet422Response`** + +### Changed +- **Version:** Package **26.7.0**; OpenAPI bundle **`graphiant_api_docs_v26.7.0.json`** (replaces **26.6.0** bundle in-repo). +- **Schemas / docs (updated):** + - **`AssuranceKpiMetric`**: added `token_usage` field (AI adoption token usage value) + - **`AssuranceUserDefinition`**: `data_sent` description updated ("tokens sent"); added `tokens_usage` and `tokens_usage_days` fields + - **`ManaV2GatewayDetails`**: added `ipsec_gateway_peers` field (**`ManaV2IPsecGatewayPeersConfig`**) + - **`V1InvitationEmailPostRequest`**: added `service_type` field (extranet service type URL segment) + - **`DefaultApi`**, README, and generated **`docs/`** model pages refreshed. +- **SDK (generated):** Refreshed **`default_api`**, model exports, and **`docs/`** to match the **26.7.0** spec. + +### Removed +- **API spec:** removed **`graphiant_api_docs_v26.6.0.json`** (superseded by **26.7.0** bundle). + ## [26.6.0] - 2026-07-08 ### Added diff --git a/README.md b/README.md index ac125977..1cde94d6 100644 --- a/README.md +++ b/README.md @@ -27,16 +27,16 @@ More product and platform context: [Graphiant Docs](https://docs.graphiant.com). ## Documentation & links -| Resource | Link | -|----------|------| -| **SDK guide** | [Graphiant SDK Python](https://docs.graphiant.com/docs/graphiant-sdk-python) | -| **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.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) | +| Resource | Link | +|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **SDK guide** | [Graphiant SDK Python](https://docs.graphiant.com/docs/graphiant-sdk-python) | +| **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.7.0.json`](https://github.com/Graphiant-Inc/graphiant-sdk-python/blob/main/api/graphiant_api_docs_v26.7.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) | ## Features @@ -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.6.0.json bash scripts/generate.sh +OPENAPI_SPEC=api/graphiant_api_docs_v26.7.0.json bash scripts/generate.sh ``` `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.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. +> **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.7.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.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. +Operations and schemas are generated from **`api/graphiant_api_docs_v26.7.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.6.0.json`) +### Sample HTTP endpoints (from `graphiant_api_docs_v26.7.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 ca6643a3..844ecb20 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,16 +4,17 @@ We actively support the following versions with security updates: -| Version | Supported | Notes | -| ------- | ------------------ | ---------------------------------------- | -| 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**) | +| Version | Supported | Notes | +|---------| ------------------ |----------------------------------------------| +| 26.7.x | :white_check_mark: | Current stable release (latest: **26.7.0**) | +| 26.6.x | :white_check_mark: | Previous stable release (latest: **26.6.0**) | +| 26.5.x | :white_check_mark: | Older 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 | -| 25.12.x | :white_check_mark: | Legacy release | -| < 25.12 | :x: | No longer supported | +| 26.2.x | :white_check_mark: | Older supported release | +| 26.1.x | :white_check_mark: | Older supported release | +| 25.12.x | :white_check_mark: | Legacy release | +| < 25.12 | :x: | No longer supported | **Note:** We recommend always using the latest version to ensure you have the most recent security patches. @@ -277,4 +278,4 @@ For security concerns, please contact: **security@graphiant.com** --- -**Last Updated**: 2026-07-08 +**Last Updated**: 2026-07-27 diff --git a/api/graphiant_api_docs_v26.6.0.json b/api/graphiant_api_docs_v26.7.0.json similarity index 94% rename from api/graphiant_api_docs_v26.6.0.json rename to api/graphiant_api_docs_v26.7.0.json index 282d8f11..0ec3bb1f 100644 --- a/api/graphiant_api_docs_v26.6.0.json +++ b/api/graphiant_api_docs_v26.7.0.json @@ -3640,6 +3640,12 @@ "example": "ENUM_VALUE", "description": "AI adoption tag for the metric" }, + "tokenUsage": { + "type": "number", + "format": "double", + "example": 123.45, + "description": "AI adoption token usage value" + }, "value": { "type": "number", "format": "double", @@ -3734,7 +3740,7 @@ "type": "number", "format": "double", "example": 123.45, - "description": "data sent by the user (required)" + "description": "tokens sent by the user (required)" }, "managed": { "type": "boolean", @@ -3747,6 +3753,18 @@ "example": 123.45, "description": "daily sessions for the user (required)" }, + "tokensUsage": { + "type": "number", + "format": "double", + "example": 123.45, + "description": "token usage (required)" + }, + "tokensUsageDays": { + "type": "number", + "format": "double", + "example": 123.45, + "description": "token usage per day (required)" + }, "user": { "type": "string", "example": "example string", @@ -5756,6 +5774,11 @@ "type": "string", "example": "example string", "description": " (required)" + }, + "serviceType": { + "type": "string", + "example": "example string", + "description": "Extranet service type URL segment (e.g. peering_service, client_to_server)" } }, "additionalProperties": false, @@ -11999,6 +12022,9 @@ "manaV2OspfInterface": { "type": "object", "properties": { + "authentication": { + "$ref": "#/components/schemas/manaV2OspfAuthentication" + }, "bfd": { "$ref": "#/components/schemas/manaV2BfdInstance" }, @@ -12094,6 +12120,24 @@ }, "additionalProperties": false }, + "manaV2OspfAuthentication": { + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "example string", + "description": "Shared secret for OSPFv2 MD5 authentication on this interface" + }, + "keyId": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0, + "description": "Identifier of the OSPFv2 MD5 authentication key configured on this interface" + } + }, + "additionalProperties": false + }, "manaV2OspfRedistribute": { "type": "object", "properties": { @@ -14342,6 +14386,9 @@ "manaV2OspfInterfaceConfig": { "type": "object", "properties": { + "authentication": { + "$ref": "#/components/schemas/manaV2NullableOspfAuthenticationConfig" + }, "bfd": { "$ref": "#/components/schemas/manaV2NullableBfdInstanceConfig" }, @@ -14393,6 +14440,20 @@ }, "additionalProperties": false }, + "manaV2NullableOspfAuthenticationConfig": { + "type": "object", + "properties": { + "authentication": { + "$ref": "#/components/schemas/manaV2OspfAuthenticationConfig" + } + }, + "additionalProperties": false + }, + "manaV2OspfAuthenticationConfig": { + "type": "object", + "properties": {}, + "additionalProperties": false + }, "manaV2NullableOspfDeadIntervalValue": { "type": "object", "properties": { @@ -18799,35 +18860,42 @@ }, "additionalProperties": false }, - "v1ExtranetsB2bPeeringProducerPostRequest": { + "v1ExtranetB2bProducerPostRequest": { "type": "object", "properties": { "policy": { - "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServiceProducerPolicy" + "$ref": "#/components/schemas/manaV2ExtranetServiceProducerPolicy" }, "serviceName": { "type": "string", - "example": "example string" + "example": "example string", + "description": " (required)" }, - "type": { + "serviceType": { "type": "string", "example": "ENUM_VALUE", - "description": "Type of the service whether it is application or peering (required)" + "description": "Branded extranet service type (peering_service, client_to_server, …) (required)" } }, "additionalProperties": false, "required": [ "policy", - "type" + "serviceName", + "serviceType" ] }, - "manaV2B2bExtranetPeeringServiceProducerPolicy": { + "manaV2ExtranetServiceProducerPolicy": { "type": "object", "properties": { "description": { "type": "string", - "example": "example string", - "description": "Description for the service" + "example": "example string" + }, + "globalObjectDeviceSummaries": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2GlobalObjectServiceSummaries" + } }, "globalObjectOps": { "type": "object", @@ -18835,6 +18903,9 @@ "$ref": "#/components/schemas/manaV2GlobalObjectServiceOps" } }, + "natTranslationMode": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationMode" + }, "prefixTags": { "type": "array", "items": { @@ -18845,27 +18916,111 @@ "type": "integer", "format": "int64", "example": 1234567891011, - "description": "LAN segment ID for the service (required)" + "description": "LAN segment ID for the service" }, - "site": { + "sites": { "type": "array", "items": { "$ref": "#/components/schemas/manaV2B2bSiteInformation" } + } + }, + "additionalProperties": false + }, + "manaV2GlobalObjectServiceSummaries": { + "type": "object", + "properties": { + "routingPolicies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2GlobalObjectSummary" + } + } + }, + "additionalProperties": false + }, + "manaV2GlobalObjectSummary": { + "type": "object", + "properties": { + "attachPoint": { + "type": "string", + "example": "ENUM_VALUE" }, - "type": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "ipVersion": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "name": { "type": "string", - "example": "ENUM_VALUE", - "description": "Type of the service whether it is application or peering (required)" + "example": "example string" + }, + "numAttachedDevices": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "numAttachedSites": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "numFailures": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "numInSyncDevices": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "numOverrideDevices": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "numPolicies": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "numPrefixes": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "numRules": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "numStatements": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "trafficPolicyType": { + "type": "string", + "example": "ENUM_VALUE" } }, - "additionalProperties": false, - "required": [ - "prefixTags", - "serviceLanSegment", - "site", - "type" - ] + "additionalProperties": false }, "manaV2GlobalObjectServiceOps": { "type": "object", @@ -18880,6 +19035,87 @@ }, "additionalProperties": false }, + "manaV2ExtranetNatTranslationMode": { + "type": "object", + "properties": { + "centralized": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationCentralized" + }, + "decentralized": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationDecentralized" + }, + "peerToPeer": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationPeerToPeer" + } + }, + "additionalProperties": false + }, + "manaV2ExtranetNatTranslationCentralized": { + "type": "object", + "properties": { + "prefixes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationDevicePrefixes" + } + } + }, + "additionalProperties": false + }, + "manaV2ExtranetNatTranslationDevicePrefixes": { + "type": "object", + "properties": { + "prefixes": { + "type": "array", + "items": { + "type": "string", + "example": "example string", + "description": "IPv4 CIDR NAT pool(s) for the device" + } + } + }, + "additionalProperties": false + }, + "manaV2ExtranetNatTranslationDecentralized": { + "type": "object", + "properties": { + "prefixes": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationDevicePrefixes" + } + } + }, + "additionalProperties": false + }, + "manaV2ExtranetNatTranslationPeerToPeer": { + "type": "object", + "properties": { + "prefixes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationPeerToPeerPrefix" + } + } + }, + "additionalProperties": false + }, + "manaV2ExtranetNatTranslationPeerToPeerPrefix": { + "type": "object", + "properties": { + "outsideNatPrefix": { + "type": "string", + "example": "100.1.2.0/24", + "description": "Optional outside address presented for prefix on the far side of the attachment; omit for no NAT on that prefix" + }, + "prefix": { + "type": "string", + "example": "10.1.2.0/24", + "description": "At match: customer export prefix. At consumer accept/update (peering): subscribed service prefix" + } + }, + "additionalProperties": false + }, "manaV2B2bExtranetPrefixTag": { "type": "object", "properties": { @@ -18963,7 +19199,7 @@ "bw" ] }, - "v1ExtranetsB2bPeeringProducerPostResponse": { + "v1ExtranetB2bProducerPostResponse": { "type": "object", "properties": { "activityId": { @@ -18976,34 +19212,80 @@ "example": 1234567891011 }, "policy": { - "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServicePolicyResponse" + "$ref": "#/components/schemas/manaV2ExtranetServicePolicyResponse" } }, "additionalProperties": false }, - "manaV2B2bExtranetPeeringServicePolicyResponse": { + "manaV2ExtranetServicePolicyResponse": { "type": "object", "properties": { "policy": { - "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServiceProducerPolicy" + "$ref": "#/components/schemas/manaV2ExtranetServiceProducerPolicy" }, "serviceName": { "type": "string", "example": "example string" + }, + "serviceType": { + "type": "string", + "example": "ENUM_VALUE" } }, "additionalProperties": false }, - "v1ExtranetsB2bPeeringProducerIdGetResponse": { + "v1ExtranetB2bProducerReviewPostRequest": { + "type": "object", + "properties": { + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServiceProducerPolicy" + }, + "serviceName": { + "type": "string", + "example": "example string", + "description": " (required)" + }, + "serviceType": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Branded extranet service type (peering_service, client_to_server, …) (required)" + } + }, + "additionalProperties": false, + "required": [ + "policy", + "serviceName", + "serviceType" + ] + }, + "v1ExtranetB2bProducerReviewPostResponse": { "type": "object", "properties": { + "activityId": { + "type": "string", + "example": "example string" + }, "id": { "type": "integer", "format": "int64", "example": 1234567891011 }, "policy": { - "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServicePolicyResponse" + "$ref": "#/components/schemas/manaV2ExtranetServicePolicyResponse" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bProducerIdGetResponse": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServicePolicyResponse" }, "status": { "type": "string", @@ -19012,36 +19294,88 @@ }, "additionalProperties": false }, - "v1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse": { + "v1ExtranetB2bProducerIdPutRequest": { "type": "object", "properties": { - "info": { - "type": "array", - "items": { - "$ref": "#/components/schemas/manaV2CustomerMatchInfo" - } + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServiceProducerPolicy" } }, "additionalProperties": false }, - "manaV2CustomerMatchInfo": { + "v1ExtranetB2bProducerIdPutResponse": { "type": "object", "properties": { - "customerId": { + "activityId": { "type": "string", "example": "example string" }, - "customerName": { + "consumerActivityId": { "type": "string", "example": "example string" }, - "emails": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServicePolicyResponse" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bProducerIdStatusPutRequest": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bProducerIdStatusPutResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bProducerIdDeleteResponse": { + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "v1ExtranetB2bProducerIdCustomersGetResponse": { + "type": "object", + "properties": { + "customers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2ExtranetServiceProducerCustomer" + } + } + }, + "additionalProperties": false + }, + "manaV2ExtranetServiceProducerCustomer": { + "type": "object", + "properties": { + "adminEmails": { "type": "array", "items": { "type": "string", "example": "example string" } }, + "customerId": { + "type": "string", + "example": "example string" + }, "matchId": { "type": "integer", "format": "int64", @@ -19053,35 +19387,39 @@ "example": 123, "minimum": 0 }, - "peerType": { + "name": { "type": "string", - "example": "ENUM_VALUE" + "example": "example string" }, "status": { "type": "string", "example": "ENUM_VALUE" }, + "type": { + "type": "string", + "example": "ENUM_VALUE" + }, "updatedAt": { "$ref": "#/components/schemas/googleProtobufTimestamp" } }, "additionalProperties": false }, - "v1ExtranetsB2bPeeringCustomerPostRequest": { + "v1ExtranetB2bCustomersPostRequest": { "type": "object", "properties": { "invite": { - "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServiceCustomerInvite" + "$ref": "#/components/schemas/manaV2ExtranetServiceCustomerInvite" }, "name": { "type": "string", "example": "example string", - "description": "Name of the peering service customer (required)" + "description": "Partner display name (required)" }, "type": { "type": "string", "example": "ENUM_VALUE", - "description": "Type of the peerings servicecustomer whether it is a graphiant or non-graphiant (required)" + "description": "Graphiant peer vs guest (non-Graphiant) partner (required)" } }, "additionalProperties": false, @@ -19091,15 +19429,15 @@ "type" ] }, - "manaV2B2bExtranetPeeringServiceCustomerInvite": { + "manaV2ExtranetServiceCustomerInvite": { "type": "object", "properties": { - "adminEmail": { + "adminEmails": { "type": "array", "items": { "type": "string", "example": "example string", - "description": "Admin emails for the peering service customer (required)" + "description": "Admin emails for the partner" } }, "maximumNumberOfSites": { @@ -19107,16 +19445,12 @@ "format": "int32", "example": 123, "minimum": 0, - "description": "Maximum number of sites for the peering service customer (required)" + "description": "Maximum number of consumer sites" } }, - "additionalProperties": false, - "required": [ - "adminEmail", - "maximumNumberOfSites" - ] + "additionalProperties": false }, - "v1ExtranetsB2bPeeringCustomerPostResponse": { + "v1ExtranetB2bCustomersPostResponse": { "type": "object", "properties": { "id": { @@ -19124,40 +19458,26 @@ "format": "int64", "example": 1234567891011 }, - "response": { - "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServiceCustomerInvite" - } - }, - "additionalProperties": false - }, - "v1ExtranetsB2bPeeringCustomerIdDeleteResponse": { - "type": "object", - "properties": { - "activityId": { - "type": "string", - "example": "example string" - }, - "consumerActivityId": { - "type": "string", - "example": "example string" + "invite": { + "$ref": "#/components/schemas/manaV2ExtranetServiceCustomerInvite" } }, "additionalProperties": false }, - "v1ExtranetsB2bPeeringCustomerIdGetResponse": { + "v1ExtranetB2bCustomersIdDetailsGetResponse": { "type": "object", "properties": { - "customerName": { - "type": "string", - "example": "example string" - }, - "emails": { + "adminEmails": { "type": "array", "items": { "type": "string", "example": "example string" } }, + "name": { + "type": "string", + "example": "example string" + }, "numSites": { "type": "integer", "format": "int32", @@ -19175,44 +19495,80 @@ }, "additionalProperties": false }, - "v1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest": { + "v1ExtranetB2bCustomersIdPutRequest": { "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1234567891011, - "description": "ID of the customer (required)" + "invite": { + "$ref": "#/components/schemas/manaV2ExtranetServiceCustomerInvite" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bCustomersIdPutResponse": { + "type": "object", + "properties": { + "invite": { + "$ref": "#/components/schemas/manaV2ExtranetServiceCustomerInvite" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bCustomersIdDeleteResponse": { + "type": "object", + "properties": { + "activityId": { + "type": "string", + "example": "example string" }, - "service": { - "$ref": "#/components/schemas/manaV2B2bExtranetMatchServiceToCustomer" + "consumerActivityId": { + "type": "string", + "example": "example string" } }, - "additionalProperties": false, - "required": [ - "id", - "service" - ] + "additionalProperties": false }, - "manaV2B2bExtranetMatchServiceToCustomer": { + "v1ExtranetB2bCustomersIdRetryPostRequest": { + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "v1ExtranetB2bCustomersIdRetryPostResponse": { + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesPostRequest": { "type": "object", "properties": { - "id": { + "customerId": { "type": "integer", "format": "int64", - "example": 1234567891011, - "description": "ID of the service being subscribed by the customer (required)" + "example": 1234567891011 + }, + "match": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatch" + } + }, + "additionalProperties": false + }, + "manaV2B2bExtranetMatch": { + "type": "object", + "properties": { + "consumerPrefixes": { + "type": "array", + "items": { + "type": "string", + "example": "example string", + "description": "Consumer client prefixes agreed at match (flat list; scoped to LAN segments at consumer accept)" + } }, "lanSegment": { "type": "integer", "format": "int64", "example": 1234567891011 }, - "nat": { - "type": "array", - "items": { - "$ref": "#/components/schemas/manaV2B2bNat" - } + "natTranslationMode": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationMode" }, "numCustomers": { "type": "integer", @@ -19221,6 +19577,12 @@ "minimum": 0, "description": "Number of customers subscribed to the service" }, + "serviceId": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "Producer service id" + }, "servicePrefixes": { "type": "array", "items": { @@ -19228,33 +19590,9 @@ } } }, - "additionalProperties": false, - "required": [ - "id", - "nat", - "servicePrefixes" - ] - }, - "manaV2B2bNat": { - "type": "object", - "properties": { - "outsideNatPrefix": { - "type": "string", - "example": "100.1.2.0/24", - "description": "Outside NAT prefix for the customer prefix" - }, - "prefix": { - "type": "string", - "example": "10.1.2.0/24", - "description": "Prefix imported into the service (required)" - } - }, - "additionalProperties": false, - "required": [ - "prefix" - ] + "additionalProperties": false }, - "v1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse": { + "v1ExtranetB2bMatchesPostResponse": { "type": "object", "properties": { "matchId": { @@ -19262,27 +19600,1452 @@ "format": "int64", "example": 1234567891011 }, - "service": { + "matches": { "type": "array", "items": { - "$ref": "#/components/schemas/manaV2B2bExtranetMatchServiceToCustomer" + "$ref": "#/components/schemas/manaV2B2bExtranetMatch" } } }, "additionalProperties": false }, - "v1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest": { + "v1ExtranetB2bMatchesCustomersPostRequest": { "type": "object", "properties": { - "id": { + "customers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2ExtranetServiceProducerCustomer" + } + }, + "serviceId": { "type": "integer", "format": "int64", - "example": 1234567891011, - "description": "match ID for the customer's service subscription (required)" - }, - "status": { - "type": "string", - "example": "B2B_PEERING_SERVICE_STATUS_PAUSED", + "example": 1234567891011 + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesCustomersPostResponse": { + "type": "object", + "properties": { + "customers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2ExtranetServiceProducerCustomer" + } + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesReviewPostRequest": { + "type": "object", + "properties": { + "customerId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "match": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatch" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesReviewPostResponse": { + "type": "object", + "properties": { + "matchId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "matches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatch" + } + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdGetResponse": { + "type": "object", + "properties": { + "customerName": { + "type": "string", + "example": "example string" + }, + "match": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatch" + }, + "matchId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "serviceName": { + "type": "string", + "example": "example string" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdPutRequest": { + "type": "object", + "properties": { + "match": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatch" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdPutResponse": { + "type": "object", + "properties": { + "activityId": { + "type": "string", + "example": "example string" + }, + "match": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatch" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdStatusPutRequest": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdStatusPutResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesPausePutRequest": { + "type": "object", + "properties": { + "customerId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesPausePutResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdDeleteResponse": { + "type": "object", + "properties": { + "activityId": { + "type": "string", + "example": "example string" + }, + "consumerActivityId": { + "type": "string", + "example": "example string" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bCustomersIdMatchesSummaryGetResponse": { + "type": "object", + "properties": { + "matches": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2ExtranetServiceCustomerMatchSummary" + } + } + }, + "additionalProperties": false + }, + "manaV2ExtranetServiceCustomerMatchSummary": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "lanSegment": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "matchedCustomers": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "name": { + "type": "string", + "example": "example string" + }, + "serviceType": { + "type": "string", + "example": "ENUM_VALUE" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + }, + "updatedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdDetailsGetResponse": { + "type": "object", + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatchConsumerDetails" + } + } + }, + "additionalProperties": false + }, + "manaV2B2bExtranetMatchConsumerDetails": { + "type": "object", + "properties": { + "consumerId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "consumerPrefixes": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + } + }, + "customer": { + "$ref": "#/components/schemas/manaV2B2BExtranetMatchConsumerDetailsCustomer" + }, + "oldConsumerPrefixes": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + } + }, + "oldServicePrefixes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2BExtranetMatchConsumerDetailsProducerPrefix" + } + }, + "service": { + "$ref": "#/components/schemas/manaV2B2BExtranetMatchConsumerDetailsService" + }, + "servicePrefixes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2BExtranetMatchConsumerDetailsProducerPrefix" + } + } + }, + "additionalProperties": false + }, + "manaV2B2BExtranetMatchConsumerDetailsCustomer": { + "type": "object", + "properties": { + "adminEmails": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + } + }, + "companyName": { + "type": "string", + "example": "example string" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "numSites": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + } + }, + "additionalProperties": false + }, + "manaV2B2BExtranetMatchConsumerDetailsProducerPrefix": { + "type": "object", + "properties": { + "customerTranslatedPrefix": { + "type": "string", + "example": "example string" + }, + "prefix": { + "type": "string", + "example": "example string" + }, + "tag": { + "type": "string", + "example": "example string" + } + }, + "additionalProperties": false + }, + "manaV2B2BExtranetMatchConsumerDetailsService": { + "type": "object", + "properties": { + "companyName": { + "type": "string", + "example": "example string" + }, + "contactEmail": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + } + }, + "description": { + "type": "string", + "example": "example string" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "serviceName": { + "type": "string", + "example": "example string" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdConsumerPostRequest": { + "type": "object", + "properties": { + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServiceConsumerPolicy" + }, + "serviceId": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "Producer service id being consumed" + } + }, + "additionalProperties": false + }, + "manaV2ExtranetServiceConsumerPolicy": { + "type": "object", + "properties": { + "consumerLanSegments": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2ExtranetConsumerLanPrefixes" + } + }, + "globalObjectOps": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2GlobalObjectServiceOps" + } + }, + "natTranslationMode": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationMode" + }, + "siteToSiteVpn": { + "$ref": "#/components/schemas/manaV2GuestConsumerSiteToSiteVpnConfig" + }, + "sites": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bSiteInformation" + } + } + }, + "additionalProperties": false, + "required": [ + "consumerLanSegments" + ] + }, + "manaV2ExtranetConsumerLanPrefixes": { + "type": "object", + "properties": { + "consumerPrefixes": { + "type": "array", + "items": { + "type": "string", + "example": "example string", + "description": "Consumer client prefixes on this LAN" + } + }, + "servicePrefixDnat": { + "type": "object", + "additionalProperties": { + "type": "string", + "example": "example string" + } + } + }, + "additionalProperties": false + }, + "manaV2GuestConsumerSiteToSiteVpnConfig": { + "type": "object", + "properties": { + "emails": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + } + }, + "ipsecGatewayDetails": { + "$ref": "#/components/schemas/manaV2IPsecGatewayDetails" + }, + "ipsecGatewayPeers": { + "$ref": "#/components/schemas/manaV2IPsecGatewayPeersConfig" + }, + "regionId": { + "type": "integer", + "format": "int32", + "example": 123 + } + }, + "additionalProperties": false + }, + "manaV2IPsecGatewayDetails": { + "type": "object", + "properties": { + "destinationAddress": { + "type": "string", + "example": "example string" + }, + "ikeInitiator": { + "type": "boolean", + "example": true + }, + "mtu": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "name": { + "type": "string", + "example": "example string" + }, + "remoteIkePeerIdentity": { + "type": "string", + "example": "example string" + }, + "routing": { + "$ref": "#/components/schemas/manaV2IpsecRoutingConfig" + }, + "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" + } + }, + "additionalProperties": false + }, + "manaV2IPsecGatewayTunnelDetails": { + "type": "object", + "properties": { + "insideIpv4Cidr": { + "type": "string", + "example": "example string" + }, + "insideIpv6Cidr": { + "type": "string", + "example": "example string" + }, + "localIkePeerIdentity": { + "type": "string", + "example": "example string" + }, + "psk": { + "type": "string", + "example": "example string" + } + }, + "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 + }, + "v1ExtranetB2bMatchesMatchIdConsumerPostResponse": { + "type": "object", + "properties": { + "consumerActivityId": { + "type": "string", + "example": "example string" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServiceConsumerPolicy" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest": { + "type": "object", + "properties": { + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServiceConsumerPolicy" + }, + "serviceId": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "Producer service id being consumed" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse": { + "type": "object", + "properties": { + "consumerActivityId": { + "type": "string", + "example": "example string" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServiceConsumerPolicy" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bConsumersCustomerIdGetResponse": { + "type": "object", + "properties": { + "globalObjectDeviceSummaries": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2GlobalObjectServiceSummaries" + } + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "ipsecTunnelConfig": { + "type": "array", + "items": { + "$ref": "#/components/schemas/v1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig" + } + }, + "matchDetails": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatchConsumerDetails" + }, + "matchId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "peerType": { + "type": "string", + "example": "ENUM_VALUE" + }, + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServiceConsumerPolicy" + }, + "siteToSiteVpn": { + "$ref": "#/components/schemas/manaV2GuestConsumerSiteToSiteVpnConfig" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig": { + "type": "object", + "properties": { + "bgpGraphiantAsn": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "bgpLocalAsn": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "bgpNeighborHoldTime": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "bgpNeighborIpv4": { + "type": "string", + "example": "example string" + }, + "bgpNeighborIpv6": { + "type": "string", + "example": "example string" + }, + "dpdInterval": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "dpdRetries": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "graphiantDestinationIp": { + "type": "string", + "example": "example string" + }, + "graphiantIkeId": { + "type": "string", + "example": "example string" + }, + "graphiantOuterTunnelIp": { + "type": "string", + "example": "example string" + }, + "graphiantTunnelIp": { + "type": "string", + "example": "example string" + }, + "graphiantTunnelIpv6": { + "type": "string", + "example": "example string" + }, + "ikeAuthenticationAlgorithm": { + "type": "string", + "example": "example string" + }, + "ikeAuthenticationMethod": { + "type": "string", + "example": "example string" + }, + "ikeDhAlgorithm": { + "type": "string", + "example": "example string" + }, + "ikeEncryptionAlgorithm": { + "type": "string", + "example": "example string" + }, + "ikeLifetime": { + "type": "string", + "example": "example string" + }, + "ikePresharedKey": { + "type": "string", + "example": "example string" + }, + "ikeVersion": { + "type": "integer", + "format": "int32", + "example": 123 + }, + "ipsecAuthenticationAlgorithm": { + "type": "string", + "example": "example string" + }, + "ipsecEncryptionAlgorithm": { + "type": "string", + "example": "example string" + }, + "ipsecExtendedSequenceNumber": { + "type": "boolean", + "example": true + }, + "ipsecLifetime": { + "type": "string", + "example": "example string" + }, + "ipsecMode": { + "type": "string", + "example": "example string" + }, + "ipsecPfsAlgorithm": { + "type": "string", + "example": "example string" + }, + "ipsecProtocol": { + "type": "string", + "example": "example string" + }, + "localIkeId": { + "type": "string", + "example": "example string" + }, + "localOuterTunnelIp": { + "type": "string", + "example": "example string" + }, + "localTunnelIp": { + "type": "string", + "example": "example string" + }, + "localTunnelIpv6": { + "type": "string", + "example": "example string" + }, + "tcpMss": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "tunnelMtu": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bConsumersIdPutRequest": { + "type": "object", + "properties": { + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServiceConsumerPolicy" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bConsumersIdPutResponse": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "policy": { + "$ref": "#/components/schemas/manaV2ExtranetServiceConsumerPolicy" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bConsumersIdPrefixesPutRequest": { + "type": "object", + "properties": { + "natTranslationMode": { + "$ref": "#/components/schemas/manaV2ExtranetNatTranslationMode" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bConsumersIdPrefixesPutResponse": { + "type": "object", + "properties": { + "consumerActivityId": { + "type": "string", + "example": "example string" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bConsumersIdDeleteResponse": { + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "v1ExtranetB2bProducerIdDeviceStatusGetResponse": { + "type": "object", + "properties": { + "summary": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bExtranetStatusSummary" + } + } + }, + "additionalProperties": false + }, + "manaV2B2bExtranetStatusSummary": { + "type": "object", + "properties": { + "createdAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "deviceId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "deviceStatus": { + "type": "string", + "example": "ENUM_VALUE" + }, + "location": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bConsumersIdDeviceStatusGetResponse": { + "type": "object", + "properties": { + "serviceStatus": { + "type": "string", + "example": "ENUM_VALUE" + }, + "summary": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bExtranetStatusSummary" + } + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bServicesSummaryGetResponse": { + "type": "object", + "properties": { + "services": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2ExtranetServiceSummary" + } + } + }, + "additionalProperties": false + }, + "manaV2ExtranetServiceSummary": { + "type": "object", + "properties": { + "createdAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "isPublisher": { + "type": "boolean", + "example": true, + "description": "True when this enterprise publishes the service; false when consuming a remote producer" + }, + "lanSegment": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "Service LAN segment when is_publisher and VRF exists" + }, + "lastUpdated": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "serverPrefixes": { + "type": "array", + "items": { + "type": "string", + "example": "example string", + "description": "Producer prefix tags (legacy ServerIpAddress on publisher rows)" + } + }, + "serviceName": { + "type": "string", + "example": "example string" + }, + "serviceType": { + "type": "string", + "example": "ENUM_VALUE" + }, + "sites": { + "type": "array", + "items": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + }, + "totalCustomers": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + } + }, + "additionalProperties": false + }, + "v1ExtranetB2bCustomersSummaryGetResponse": { + "type": "object", + "properties": { + "customers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2ExtranetServiceCustomerSummary" + } + } + }, + "additionalProperties": false + }, + "manaV2ExtranetServiceCustomerSummary": { + "type": "object", + "properties": { + "adminEmails": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + } + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "matchedServices": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "name": { + "type": "string", + "example": "example string" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + }, + "type": { + "type": "string", + "example": "ENUM_VALUE" + }, + "updatedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + } + }, + "additionalProperties": false + }, + "v1ExtranetsB2bPeeringProducerPostRequest": { + "type": "object", + "properties": { + "policy": { + "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServiceProducerPolicy" + }, + "serviceName": { + "type": "string", + "example": "example string" + }, + "type": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Type of the service whether it is application or peering (required)" + } + }, + "additionalProperties": false, + "required": [ + "policy", + "type" + ] + }, + "manaV2B2bExtranetPeeringServiceProducerPolicy": { + "type": "object", + "properties": { + "description": { + "type": "string", + "example": "example string", + "description": "Description for the service" + }, + "globalObjectOps": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2GlobalObjectServiceOps" + } + }, + "prefixTags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bExtranetPrefixTag" + } + }, + "serviceLanSegment": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "LAN segment ID for the service (required)" + }, + "site": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bSiteInformation" + } + }, + "type": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Type of the service whether it is application or peering (required)" + } + }, + "additionalProperties": false, + "required": [ + "prefixTags", + "serviceLanSegment", + "site", + "type" + ] + }, + "v1ExtranetsB2bPeeringProducerPostResponse": { + "type": "object", + "properties": { + "activityId": { + "type": "string", + "example": "example string" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "policy": { + "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServicePolicyResponse" + } + }, + "additionalProperties": false + }, + "manaV2B2bExtranetPeeringServicePolicyResponse": { + "type": "object", + "properties": { + "policy": { + "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServiceProducerPolicy" + }, + "serviceName": { + "type": "string", + "example": "example string" + } + }, + "additionalProperties": false + }, + "v1ExtranetsB2bPeeringProducerIdGetResponse": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "policy": { + "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServicePolicyResponse" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse": { + "type": "object", + "properties": { + "info": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2CustomerMatchInfo" + } + } + }, + "additionalProperties": false + }, + "manaV2CustomerMatchInfo": { + "type": "object", + "properties": { + "customerId": { + "type": "string", + "example": "example string" + }, + "customerName": { + "type": "string", + "example": "example string" + }, + "emails": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + } + }, + "matchId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "matchedServices": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "peerType": { + "type": "string", + "example": "ENUM_VALUE" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + }, + "updatedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + } + }, + "additionalProperties": false + }, + "v1ExtranetsB2bPeeringCustomerPostRequest": { + "type": "object", + "properties": { + "invite": { + "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServiceCustomerInvite" + }, + "name": { + "type": "string", + "example": "example string", + "description": "Name of the peering service customer (required)" + }, + "type": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Type of the peerings servicecustomer whether it is a graphiant or non-graphiant (required)" + } + }, + "additionalProperties": false, + "required": [ + "invite", + "name", + "type" + ] + }, + "manaV2B2bExtranetPeeringServiceCustomerInvite": { + "type": "object", + "properties": { + "adminEmail": { + "type": "array", + "items": { + "type": "string", + "example": "example string", + "description": "Admin emails for the peering service customer (required)" + } + }, + "maximumNumberOfSites": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0, + "description": "Maximum number of sites for the peering service customer (required)" + } + }, + "additionalProperties": false, + "required": [ + "adminEmail", + "maximumNumberOfSites" + ] + }, + "v1ExtranetsB2bPeeringCustomerPostResponse": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "response": { + "$ref": "#/components/schemas/manaV2B2bExtranetPeeringServiceCustomerInvite" + } + }, + "additionalProperties": false + }, + "v1ExtranetsB2bPeeringCustomerIdDeleteResponse": { + "type": "object", + "properties": { + "activityId": { + "type": "string", + "example": "example string" + }, + "consumerActivityId": { + "type": "string", + "example": "example string" + } + }, + "additionalProperties": false + }, + "v1ExtranetsB2bPeeringCustomerIdGetResponse": { + "type": "object", + "properties": { + "customerName": { + "type": "string", + "example": "example string" + }, + "emails": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + } + }, + "numSites": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "status": { + "type": "string", + "example": "ENUM_VALUE" + }, + "type": { + "type": "string", + "example": "ENUM_VALUE" + } + }, + "additionalProperties": false + }, + "v1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "ID of the customer (required)" + }, + "service": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatchServiceToCustomer" + } + }, + "additionalProperties": false, + "required": [ + "id", + "service" + ] + }, + "manaV2B2bExtranetMatchServiceToCustomer": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "ID of the service being subscribed by the customer (required)" + }, + "lanSegment": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "nat": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bNat" + } + }, + "numCustomers": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0, + "description": "Number of customers subscribed to the service" + }, + "servicePrefixes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bExtranetPrefixTag" + } + } + }, + "additionalProperties": false, + "required": [ + "id", + "nat", + "servicePrefixes" + ] + }, + "manaV2B2bNat": { + "type": "object", + "properties": { + "outsideNatPrefix": { + "type": "string", + "example": "100.1.2.0/24", + "description": "Outside NAT prefix for the customer prefix" + }, + "prefix": { + "type": "string", + "example": "10.1.2.0/24", + "description": "Prefix imported into the service (required)" + } + }, + "additionalProperties": false, + "required": [ + "prefix" + ] + }, + "v1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse": { + "type": "object", + "properties": { + "matchId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "service": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2B2bExtranetMatchServiceToCustomer" + } + } + }, + "additionalProperties": false + }, + "v1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "match ID for the customer's service subscription (required)" + }, + "status": { + "type": "string", + "example": "B2B_PEERING_SERVICE_STATUS_PAUSED", "description": "Customer’s service status: Paused or Active (required)" } }, @@ -19631,101 +21394,6 @@ "type" ] }, - "manaV2GlobalObjectServiceSummaries": { - "type": "object", - "properties": { - "routingPolicies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/manaV2GlobalObjectSummary" - } - } - }, - "additionalProperties": false - }, - "manaV2GlobalObjectSummary": { - "type": "object", - "properties": { - "attachPoint": { - "type": "string", - "example": "ENUM_VALUE" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - }, - "ipVersion": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "name": { - "type": "string", - "example": "example string" - }, - "numAttachedDevices": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "numAttachedSites": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "numFailures": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "numInSyncDevices": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "numOverrideDevices": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "numPolicies": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "numPrefixes": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "numRules": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "numStatements": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "trafficPolicyType": { - "type": "string", - "example": "ENUM_VALUE" - } - }, - "additionalProperties": false - }, "manaV2ApplicationProfile": { "type": "object", "properties": { @@ -19992,33 +21660,6 @@ }, "additionalProperties": false }, - "manaV2B2bExtranetStatusSummary": { - "type": "object", - "properties": { - "createdAt": { - "$ref": "#/components/schemas/googleProtobufTimestamp" - }, - "deviceId": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - }, - "deviceStatus": { - "type": "string", - "example": "ENUM_VALUE" - }, - "location": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - }, - "status": { - "type": "string", - "example": "ENUM_VALUE" - } - }, - "additionalProperties": false - }, "v1ExtranetsB2bProducersSummaryGetResponse": { "type": "object", "properties": { @@ -20403,167 +22044,6 @@ }, "additionalProperties": false }, - "manaV2GuestConsumerSiteToSiteVpnConfig": { - "type": "object", - "properties": { - "emails": { - "type": "array", - "items": { - "type": "string", - "example": "example string" - } - }, - "ipsecGatewayDetails": { - "$ref": "#/components/schemas/manaV2IPsecGatewayDetails" - }, - "ipsecGatewayPeers": { - "$ref": "#/components/schemas/manaV2IPsecGatewayPeersConfig" - }, - "regionId": { - "type": "integer", - "format": "int32", - "example": 123 - } - }, - "additionalProperties": false - }, - "manaV2IPsecGatewayDetails": { - "type": "object", - "properties": { - "destinationAddress": { - "type": "string", - "example": "example string" - }, - "ikeInitiator": { - "type": "boolean", - "example": true - }, - "mtu": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "name": { - "type": "string", - "example": "example string" - }, - "remoteIkePeerIdentity": { - "type": "string", - "example": "example string" - }, - "routing": { - "$ref": "#/components/schemas/manaV2IpsecRoutingConfig" - }, - "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" - } - }, - "additionalProperties": false - }, - "manaV2IPsecGatewayTunnelDetails": { - "type": "object", - "properties": { - "insideIpv4Cidr": { - "type": "string", - "example": "example string" - }, - "insideIpv6Cidr": { - "type": "string", - "example": "example string" - }, - "localIkePeerIdentity": { - "type": "string", - "example": "example string" - }, - "psk": { - "type": "string", - "example": "example string" - } - }, - "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": { @@ -23172,6 +24652,9 @@ "ipsecGateway": { "$ref": "#/components/schemas/manaV2IPsecGatewayDetails" }, + "ipsecGatewayPeers": { + "$ref": "#/components/schemas/manaV2IPsecGatewayPeersConfig" + }, "oci": { "$ref": "#/components/schemas/manaV2OciGatewayDetails" }, @@ -40402,7 +41885,201 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1InvitationEmailPostRequest" + "$ref": "#/components/schemas/v1InvitationEmailPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1InvitationEmailPostResponse" + } + } + } + } + }, + "description": "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." + } + }, + "/v1/temp/password": { + "put": { + "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/v1TempPasswordPutRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1TempPasswordPutResponse" + } + } + } + } + }, + "description": "Generate and send temporary passwords to multiple emails for B2B service access." + } + }, + "/v1/account/email": { + "patch": { + "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/v1AccountEmailPatchRequest" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "description": "Update user's email address with verification." + } + }, + "/v1/account/info": { + "patch": { + "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/v1AccountInfoPatchRequest" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "description": "Update current user's profile information." + } + }, + "/v1/account/password": { + "patch": { + "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/v1AccountPasswordPatchRequest" + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + } + }, + "description": "Change user password with current password verification (Graphiant cloud only)." + } + }, + "/v1/apps/bandwidth": { + "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/v1AppsBandwidthPostRequest" } } } @@ -40413,17 +42090,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1InvitationEmailPostResponse" + "$ref": "#/components/schemas/v1AppsBandwidthPostResponse" } } } } - }, - "description": "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." + } } }, - "/v1/temp/password": { - "put": { + "/v1/flows/flow-table": { + "post": { "security": [ { "jwtAuth": [] @@ -40445,28 +42121,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1TempPasswordPutRequest" + "$ref": "#/components/schemas/v1FlowsFlowTablePostRequest" } } } }, "responses": { - "201": { - "description": "Created", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1TempPasswordPutResponse" + "$ref": "#/components/schemas/v1FlowsFlowTablePostResponse" } } } } }, - "description": "Generate and send temporary passwords to multiple emails for B2B service access." + "description": "Get flow table for the app on the device" } }, - "/v1/account/email": { - "patch": { + "/v1/apps/app-summary": { + "post": { "security": [ { "jwtAuth": [] @@ -40488,21 +42164,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AccountEmailPatchRequest" + "$ref": "#/components/schemas/v1AppsAppSummaryPostRequest" } } } }, "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1AppsAppSummaryPostResponse" + } + } + } } }, - "description": "Update user's email address with verification." + "description": "Get app state summary counts" } }, - "/v1/account/info": { - "patch": { + "/v1/apps/visualization": { + "post": { "security": [ { "jwtAuth": [] @@ -40524,21 +42207,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AccountInfoPatchRequest" + "$ref": "#/components/schemas/v1AppsVisualizationPostRequest" } } } }, "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1AppsVisualizationPostResponse" + } + } + } } }, - "description": "Update current user's profile information." + "description": "Get the app and circuit visualization info for the device" } }, - "/v1/account/password": { - "patch": { + "/v1/extranet-b2b-monitoring/peering-service/consumption-overview": { + "post": { "security": [ { "jwtAuth": [] @@ -40560,20 +42250,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AccountPasswordPatchRequest" + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest" } } } }, "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse" + } + } + } } }, - "description": "Change user password with current password verification (Graphiant cloud only)." + "description": "Get b2b extranet peering consumption overview" } }, - "/v1/apps/bandwidth": { + "/v1/extranet-b2b-monitoring/peering-service/bandwidth-usage": { "post": { "security": [ { @@ -40596,7 +42293,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AppsBandwidthPostRequest" + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest" } } } @@ -40607,15 +42304,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AppsBandwidthPostResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse" } } } } - } + }, + "description": "Get b2b extranet peering service sites usage stats" } }, - "/v1/flows/flow-table": { + "/v1/extranet-b2b-monitoring/peering-service/service-overtime-consumption": { "post": { "security": [ { @@ -40638,7 +42336,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1FlowsFlowTablePostRequest" + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest" } } } @@ -40649,16 +42347,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1FlowsFlowTablePostResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse" } } } } }, - "description": "Get flow table for the app on the device" + "description": "Get b2b extranet peering service overtime consumption" } }, - "/v1/apps/app-summary": { + "/v1/extranet-b2b-monitoring/peering-service/consumers-usage/top": { "post": { "security": [ { @@ -40681,7 +42379,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AppsAppSummaryPostRequest" + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest" } } } @@ -40692,16 +42390,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AppsAppSummaryPostResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse" } } } } }, - "description": "Get app state summary counts" + "description": "Get b2b extranet peering service top consumers usage stats" } }, - "/v1/apps/visualization": { + "/v1/extranet-b2b-monitoring/peering-service/service-customer-list": { "post": { "security": [ { @@ -40724,7 +42422,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AppsVisualizationPostRequest" + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest" } } } @@ -40735,16 +42433,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AppsVisualizationPostResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse" } } } } }, - "description": "Get the app and circuit visualization info for the device" + "description": "Get b2b extranet peering service customer list within a time window" } }, - "/v1/extranet-b2b-monitoring/peering-service/consumption-overview": { + "/v2/extranet/sites-consumption-overview": { "post": { "security": [ { @@ -40767,7 +42465,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest" + "$ref": "#/components/schemas/v2ExtranetSitesConsumptionOverviewPostRequest" } } } @@ -40778,16 +42476,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse" + "$ref": "#/components/schemas/v2ExtranetSitesConsumptionOverviewPostResponse" } } } } }, - "description": "Get b2b extranet peering consumption overview" + "description": "Get extranet service consumption overview over timewindow" } }, - "/v1/extranet-b2b-monitoring/peering-service/bandwidth-usage": { + "/v2/extranet/service-overtime-consumption": { "post": { "security": [ { @@ -40810,7 +42508,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest" + "$ref": "#/components/schemas/v2ExtranetServiceOvertimeConsumptionPostRequest" } } } @@ -40821,16 +42519,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse" + "$ref": "#/components/schemas/v2ExtranetServiceOvertimeConsumptionPostResponse" } } } } }, - "description": "Get b2b extranet peering service sites usage stats" + "description": "Get extranet service cumulative consumption over timewindow" } }, - "/v1/extranet-b2b-monitoring/peering-service/service-overtime-consumption": { + "/v2/extranet/sites-usage": { "post": { "security": [ { @@ -40853,7 +42551,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest" + "$ref": "#/components/schemas/v2ExtranetSitesUsagePostRequest" } } } @@ -40864,16 +42562,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse" + "$ref": "#/components/schemas/v2ExtranetSitesUsagePostResponse" } } } } }, - "description": "Get b2b extranet peering service overtime consumption" + "description": "Get extranet service sites usage stats v2" } }, - "/v1/extranet-b2b-monitoring/peering-service/consumers-usage/top": { + "/v2/extranet/consumers-usage/top": { "post": { "security": [ { @@ -40896,7 +42594,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest" + "$ref": "#/components/schemas/v2ExtranetConsumersUsageTopPostRequest" } } } @@ -40907,16 +42605,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse" + "$ref": "#/components/schemas/v2ExtranetConsumersUsageTopPostResponse" } } } } }, - "description": "Get b2b extranet peering service top consumers usage stats" + "description": "Get extranet service top consumer usage stats" } }, - "/v1/extranet-b2b-monitoring/peering-service/service-customer-list": { + "/v2/extranet/lan-segments-usage/top": { "post": { "security": [ { @@ -40939,7 +42637,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest" + "$ref": "#/components/schemas/v2ExtranetLanSegmentsUsageTopPostRequest" } } } @@ -40950,16 +42648,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse" + "$ref": "#/components/schemas/v2ExtranetLanSegmentsUsageTopPostResponse" } } } } }, - "description": "Get b2b extranet peering service customer list within a time window" + "description": "Get extranet service top lan segment usage stats" } }, - "/v2/extranet/sites-consumption-overview": { + "/v1/extranet/sites-usage/top": { "post": { "security": [ { @@ -40982,7 +42680,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetSitesConsumptionOverviewPostRequest" + "$ref": "#/components/schemas/v1ExtranetSitesUsageTopPostRequest" } } } @@ -40993,16 +42691,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetSitesConsumptionOverviewPostResponse" + "$ref": "#/components/schemas/v1ExtranetSitesUsageTopPostResponse" } } } } }, - "description": "Get extranet service consumption overview over timewindow" + "description": "Get extranet service top sites usage stats" } }, - "/v2/extranet/service-overtime-consumption": { + "/v2/extranet/total-usage": { "post": { "security": [ { @@ -41025,7 +42723,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetServiceOvertimeConsumptionPostRequest" + "$ref": "#/components/schemas/v2ExtranetTotalUsagePostRequest" } } } @@ -41036,16 +42734,104 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetServiceOvertimeConsumptionPostResponse" + "$ref": "#/components/schemas/v2ExtranetTotalUsagePostResponse" } } } } }, - "description": "Get extranet service cumulative consumption over timewindow" + "description": "Get extranet service total usage stats" } }, - "/v2/extranet/sites-usage": { + "/v1/nat/entries/{deviceId}": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1NatEntriesDeviceIdGetResponse" + } + } + } + } + }, + "description": "Get the NAT entries for the device" + } + }, + "/v1/nat/utilization/{deviceId}": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1NatUtilizationDeviceIdGetResponse" + } + } + } + } + }, + "description": "Get the NAT usage for the device" + } + }, + "/v1/flows/topology": { "post": { "security": [ { @@ -41068,7 +42854,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetSitesUsagePostRequest" + "$ref": "#/components/schemas/v1FlowsTopologyPostRequest" } } } @@ -41079,16 +42865,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetSitesUsagePostResponse" + "$ref": "#/components/schemas/v1FlowsTopologyPostResponse" } } } } }, - "description": "Get extranet service sites usage stats v2" + "description": "Get flow based node and circuit topology for the device" } }, - "/v2/extranet/consumers-usage/top": { + "/v1/apps/device/{deviceId}/top": { "post": { "security": [ { @@ -41104,6 +42890,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "requestBody": { @@ -41111,7 +42908,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetConsumersUsageTopPostRequest" + "$ref": "#/components/schemas/v1AppsDeviceDeviceIdTopPostRequest" } } } @@ -41122,16 +42919,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetConsumersUsageTopPostResponse" + "$ref": "#/components/schemas/v1AppsDeviceDeviceIdTopPostResponse" } } } } }, - "description": "Get extranet service top consumer usage stats" + "description": "Get top apps for a device" } }, - "/v2/extranet/lan-segments-usage/top": { + "/v1/apps/site/{siteId}/top": { "post": { "security": [ { @@ -41147,6 +42944,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "siteId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "requestBody": { @@ -41154,7 +42962,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetLanSegmentsUsageTopPostRequest" + "$ref": "#/components/schemas/v1AppsSiteSiteIdTopPostRequest" } } } @@ -41165,16 +42973,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetLanSegmentsUsageTopPostResponse" + "$ref": "#/components/schemas/v1AppsSiteSiteIdTopPostResponse" } } } } }, - "description": "Get extranet service top lan segment usage stats" + "description": "Get top apps for a site" } }, - "/v1/extranet/sites-usage/top": { + "/v1/talkers/device/{deviceId}/top": { "post": { "security": [ { @@ -41190,6 +42998,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "requestBody": { @@ -41197,7 +43016,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetSitesUsageTopPostRequest" + "$ref": "#/components/schemas/v1TalkersDeviceDeviceIdTopPostRequest" } } } @@ -41208,16 +43027,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetSitesUsageTopPostResponse" + "$ref": "#/components/schemas/v1TalkersDeviceDeviceIdTopPostResponse" } } } } }, - "description": "Get extranet service top sites usage stats" + "description": "Get top talkers for a device" } }, - "/v2/extranet/total-usage": { + "/v1/talkers/site/{siteId}/top": { "post": { "security": [ { @@ -41233,6 +43052,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "siteId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "requestBody": { @@ -41240,7 +43070,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetTotalUsagePostRequest" + "$ref": "#/components/schemas/v1TalkersSiteSiteIdTopPostRequest" } } } @@ -41251,17 +43081,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetTotalUsagePostResponse" + "$ref": "#/components/schemas/v1TalkersSiteSiteIdTopPostResponse" } } } } }, - "description": "Get extranet service total usage stats" + "description": "Get top talkers for a site" } }, - "/v1/nat/entries/{deviceId}": { - "get": { + "/v1/extranets/{id}/apply": { + "post": { "security": [ { "jwtAuth": [] @@ -41278,7 +43108,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "deviceId", + "name": "id", "in": "path", "required": true, "description": "", @@ -41289,23 +43119,32 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetsIdApplyPostRequest" + } + } + } + }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1NatEntriesDeviceIdGetResponse" + "$ref": "#/components/schemas/v1ExtranetsIdApplyPostResponse" } } } } - }, - "description": "Get the NAT entries for the device" + } } }, - "/v1/nat/utilization/{deviceId}": { - "get": { + "/v1/extranet/b2b/matches/{matchId}/consumer/check": { + "post": { "security": [ { "jwtAuth": [] @@ -41322,10 +43161,10 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "deviceId", + "name": "matchId", "in": "path", "required": true, - "description": "", + "description": "Match id (URL path :matchId)", "schema": { "type": "integer", "format": "int64", @@ -41333,23 +43172,33 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest" + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1NatUtilizationDeviceIdGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse" } } } } }, - "description": "Get the NAT usage for the device" + "description": "Check extranet service consumer configuration" } }, - "/v1/flows/topology": { - "post": { + "/v1/global/config": { + "patch": { "security": [ { "jwtAuth": [] @@ -41371,7 +43220,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1FlowsTopologyPostRequest" + "$ref": "#/components/schemas/v1GlobalConfigPatchRequest" } } } @@ -41382,16 +43231,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1FlowsTopologyPostResponse" + "$ref": "#/components/schemas/v1GlobalConfigPatchResponse" } } } } }, - "description": "Get flow based node and circuit topology for the device" + "description": "Update global objects for an enterprise" } }, - "/v1/apps/device/{deviceId}/top": { + "/v1/global/apps/app-lists": { "post": { "security": [ { @@ -41407,17 +43256,6 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "deviceId", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], "requestBody": { @@ -41425,7 +43263,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AppsDeviceDeviceIdTopPostRequest" + "$ref": "#/components/schemas/v1GlobalAppsAppListsPostRequest" } } } @@ -41436,17 +43274,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AppsDeviceDeviceIdTopPostResponse" + "$ref": "#/components/schemas/v1GlobalAppsAppListsPostResponse" } } } } }, - "description": "Get top apps for a device" - } - }, - "/v1/apps/site/{siteId}/top": { - "post": { + "description": "Create an app list under the current enterprise" + }, + "get": { "security": [ { "jwtAuth": [] @@ -41461,45 +43297,24 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "siteId", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1AppsSiteSiteIdTopPostRequest" - } - } - } - }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1AppsSiteSiteIdTopPostResponse" + "$ref": "#/components/schemas/v1GlobalAppsAppListsGetResponse" } } } } }, - "description": "Get top apps for a site" + "description": "Get all app lists for the current enterprise" } }, - "/v1/talkers/device/{deviceId}/top": { + "/v1/data-assurance/assurances/global": { "post": { "security": [ { @@ -41515,17 +43330,6 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "deviceId", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], "requestBody": { @@ -41533,7 +43337,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1TalkersDeviceDeviceIdTopPostRequest" + "$ref": "#/components/schemas/v1DataAssuranceAssurancesGlobalPostRequest" } } } @@ -41544,17 +43348,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1TalkersDeviceDeviceIdTopPostResponse" + "$ref": "#/components/schemas/v1DataAssuranceAssurancesGlobalPostResponse" } } } } }, - "description": "Get top talkers for a device" - } - }, - "/v1/talkers/site/{siteId}/top": { - "post": { + "description": "Configure a new assurance under the current enterprise" + }, + "get": { "security": [ { "jwtAuth": [] @@ -41569,45 +43371,24 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "siteId", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1TalkersSiteSiteIdTopPostRequest" - } - } - } - }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1TalkersSiteSiteIdTopPostResponse" + "$ref": "#/components/schemas/v1DataAssuranceAssurancesGlobalGetResponse" } } } } }, - "description": "Get top talkers for a site" + "description": "Get all assurances under the current enterprise" } }, - "/v1/extranets/{id}/apply": { + "/v1/extranets-b2b/{id}/customer/": { "post": { "security": [ { @@ -41628,7 +43409,7 @@ "name": "id", "in": "path", "required": true, - "description": "", + "description": "Service ID of the application customer is invited to", "schema": { "type": "integer", "format": "int64", @@ -41641,27 +43422,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsIdApplyPostRequest" + "$ref": "#/components/schemas/v1ExtranetsB2bIdCustomerPostRequest" } } } }, "responses": { - "202": { - "description": "Accepted", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsIdApplyPostResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bIdCustomerPostResponse" } } } } - } + }, + "description": "Create B2B extranet application customer invite" } }, - "/v1/global/config": { - "patch": { + "/v1/extranets-b2b/consumer": { + "post": { "security": [ { "jwtAuth": [] @@ -41683,7 +43465,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalConfigPatchRequest" + "$ref": "#/components/schemas/v1ExtranetsB2bConsumerPostRequest" } } } @@ -41694,16 +43476,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalConfigPatchResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bConsumerPostResponse" } } } } }, - "description": "Update global objects for an enterprise" + "description": "Create a new B2B extranet consumer" } }, - "/v1/global/apps/app-lists": { + "/v1/extranets-b2b-peering/match/service-to-customer": { "post": { "security": [ { @@ -41726,7 +43508,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalAppsAppListsPostRequest" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest" } } } @@ -41737,15 +43519,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalAppsAppListsPostResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse" } } } } }, - "description": "Create an app list under the current enterprise" - }, - "get": { + "description": "Create B2B extranet configuration for matching a service to a customer" + } + }, + "/v1/extranets-b2b-peering/consumer/{matchId}": { + "post": { "security": [ { "jwtAuth": [] @@ -41760,24 +43544,45 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "matchId", + "in": "path", + "required": true, + "description": "ID of the match for the customer subscription of the service", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringConsumerMatchIdPostRequest" + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalAppsAppListsGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringConsumerMatchIdPostResponse" } } } } }, - "description": "Get all app lists for the current enterprise" + "description": "Create B2B extranet peering service consumer" } }, - "/v1/data-assurance/assurances/global": { + "/v1/extranets-b2b-peering/customer": { "post": { "security": [ { @@ -41800,7 +43605,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DataAssuranceAssurancesGlobalPostRequest" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringCustomerPostRequest" } } } @@ -41811,15 +43616,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DataAssuranceAssurancesGlobalPostResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringCustomerPostResponse" } } } } }, - "description": "Configure a new assurance under the current enterprise" - }, - "get": { + "description": "Create a new B2B extranet peering service customer" + } + }, + "/v1/extranets-b2b-peering/producer": { + "post": { "security": [ { "jwtAuth": [] @@ -41836,22 +43643,32 @@ "description": "Bearer token. Format: Bearer " } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringProducerPostRequest" + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DataAssuranceAssurancesGlobalGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringProducerPostResponse" } } } } }, - "description": "Get all assurances under the current enterprise" + "description": "Create a new B2B extranet peering service producer" } }, - "/v1/extranets-b2b/{id}/customer/": { + "/v1/extranets-b2b": { "post": { "security": [ { @@ -41867,17 +43684,6 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "id", - "in": "path", - "required": true, - "description": "Service ID of the application customer is invited to", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], "requestBody": { @@ -41885,7 +43691,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bIdCustomerPostRequest" + "$ref": "#/components/schemas/v1ExtranetsB2bPostRequest" } } } @@ -41896,16 +43702,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bIdCustomerPostResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPostResponse" } } } } }, - "description": "Create B2B extranet application customer invite" + "description": "Create a new B2B extranet producer" } }, - "/v1/extranets-b2b/consumer": { + "/v1/device/snapshot": { "post": { "security": [ { @@ -41928,28 +43734,26 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bConsumerPostRequest" + "$ref": "#/components/schemas/v1DeviceSnapshotPostRequest" } } } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bConsumerPostResponse" + "$ref": "#/components/schemas/v1DeviceSnapshotPostResponse" } } } } }, - "description": "Create a new B2B extranet consumer" - } - }, - "/v1/extranets-b2b-peering/match/service-to-customer": { - "post": { + "description": "Create a device snapshot" + }, + "get": { "security": [ { "jwtAuth": [] @@ -41966,33 +43770,21 @@ "description": "Bearer token. Format: Bearer " } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest" - } - } - } - }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse" + "$ref": "#/components/schemas/v1DeviceSnapshotGetResponse" } } } } }, - "description": "Create B2B extranet configuration for matching a service to a customer" - } - }, - "/v1/extranets-b2b-peering/consumer/{matchId}": { - "post": { + "description": "Get the specified device snapshots using the snapshot id" + }, + "put": { "security": [ { "jwtAuth": [] @@ -42007,17 +43799,6 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "matchId", - "in": "path", - "required": true, - "description": "ID of the match for the customer subscription of the service", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], "requestBody": { @@ -42025,7 +43806,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringConsumerMatchIdPostRequest" + "$ref": "#/components/schemas/v1DeviceSnapshotPutRequest" } } } @@ -42036,16 +43817,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringConsumerMatchIdPostResponse" + "$ref": "#/components/schemas/v1DeviceSnapshotPutResponse" } } } } }, - "description": "Create B2B extranet peering service consumer" + "description": "Update an existing device snapshot" } }, - "/v1/extranets-b2b-peering/customer": { + "/v1/extranets": { "post": { "security": [ { @@ -42068,7 +43849,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringCustomerPostRequest" + "$ref": "#/components/schemas/v1ExtranetsPostRequest" } } } @@ -42079,17 +43860,14 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringCustomerPostResponse" + "$ref": "#/components/schemas/v1ExtranetsPostResponse" } } } } - }, - "description": "Create a new B2B extranet peering service customer" - } - }, - "/v1/extranets-b2b-peering/producer": { - "post": { + } + }, + "get": { "security": [ { "jwtAuth": [] @@ -42106,32 +43884,21 @@ "description": "Bearer token. Format: Bearer " } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringProducerPostRequest" - } - } - } - }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringProducerPostResponse" + "$ref": "#/components/schemas/v1ExtranetsGetResponse" } } } } - }, - "description": "Create a new B2B extranet peering service producer" + } } }, - "/v1/extranets-b2b": { + "/v1/extranet/b2b/producer": { "post": { "security": [ { @@ -42154,7 +43921,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPostRequest" + "$ref": "#/components/schemas/v1ExtranetB2bProducerPostRequest" } } } @@ -42165,16 +43932,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPostResponse" + "$ref": "#/components/schemas/v1ExtranetB2bProducerPostResponse" } } } } }, - "description": "Create a new B2B extranet producer" + "description": "Create an inter-enterprise extranet service (peering, client-to-server, …)" } }, - "/v1/device/snapshot": { + "/v1/extranet/b2b/matches/{matchId}/consumer": { "post": { "security": [ { @@ -42190,6 +43957,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "matchId", + "in": "path", + "required": true, + "description": "Match id (URL path :matchId)", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "requestBody": { @@ -42197,57 +43975,28 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DeviceSnapshotPostRequest" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdConsumerPostRequest" } } } }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1DeviceSnapshotPostResponse" - } - } - } - } - }, - "description": "Create a device snapshot" - }, - "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/v1DeviceSnapshotGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdConsumerPostResponse" } } } } }, - "description": "Get the specified device snapshots using the snapshot id" - }, - "put": { + "description": "Consumer accepts an extranet service match" + } + }, + "/v1/extranet/b2b/customers": { + "post": { "security": [ { "jwtAuth": [] @@ -42269,7 +44018,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DeviceSnapshotPutRequest" + "$ref": "#/components/schemas/v1ExtranetB2bCustomersPostRequest" } } } @@ -42280,16 +44029,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DeviceSnapshotPutResponse" + "$ref": "#/components/schemas/v1ExtranetB2bCustomersPostResponse" } } } } }, - "description": "Update an existing device snapshot" + "description": "Create an extranet service customer (partner directory entry)" } }, - "/v1/extranets": { + "/v1/extranet/b2b/matches": { "post": { "security": [ { @@ -42312,7 +44061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsPostRequest" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesPostRequest" } } } @@ -42323,14 +44072,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsPostResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesPostResponse" } } } } - } - }, - "get": { + }, + "description": "Match an extranet service to a customer" + } + }, + "/v1/extranet/b2b/matches/customers": { + "post": { "security": [ { "jwtAuth": [] @@ -42347,18 +44099,29 @@ "description": "Bearer token. Format: Bearer " } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bMatchesCustomersPostRequest" + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesCustomersPostResponse" } } } } - } + }, + "description": "Bulk subscribe customers to an extranet service" } }, "/v1/gateways": { @@ -42689,6 +44452,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "filterExtranetProducers", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "boolean", + "example": true + }, + "example": true } ], "responses": { @@ -43680,10 +45454,456 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "deviceId", + "name": "deviceId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + }, + "description": "Delete draft configuration" + }, + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1DevicesDeviceIdDraftGetResponse" + } + } + } + } + }, + "description": "Get draft configuration" + }, + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1DevicesDeviceIdDraftPostRequest" + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1DevicesDeviceIdDraftPostResponse" + } + } + } + } + }, + "description": "Save draft configuration" + } + }, + "/v1/extranets/{id}": { + "delete": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "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/v1ExtranetsIdDeleteResponse" + } + } + } + } + } + }, + "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": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetsIdGetResponse" + } + } + } + } + } + }, + "put": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetsIdPutRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetsIdPutResponse" + } + } + } + } + } + } + }, + "/v1/extranet/b2b/producer/{id}": { + "delete": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "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/v1ExtranetB2bProducerIdDeleteResponse" + } + } + } + } + }, + "description": "Delete an inter-enterprise extranet 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": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bProducerIdGetResponse" + } + } + } + } + }, + "description": "Get an inter-enterprise extranet service" + }, + "put": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bProducerIdPutRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bProducerIdPutResponse" + } + } + } + } + }, + "description": "Update an inter-enterprise extranet service" + } + }, + "/v1/extranet/b2b/consumers/{id}": { + "delete": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "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/v1ExtranetB2bConsumersIdDeleteResponse" + } + } + } + } + }, + "description": "Delete an extranet service consumer subscription" + }, + "put": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", "in": "path", "required": true, - "description": "", + "description": "Consumer subscription id", "schema": { "type": "integer", "format": "int64", @@ -43691,14 +45911,33 @@ } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bConsumersIdPutRequest" + } + } + } + }, "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bConsumersIdPutResponse" + } + } + } } }, - "description": "Delete draft configuration" - }, - "get": { + "description": "Update extranet service consumer" + } + }, + "/v1/extranet/b2b/customers/{id}": { + "delete": { "security": [ { "jwtAuth": [] @@ -43715,7 +45954,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "deviceId", + "name": "id", "in": "path", "required": true, "description": "", @@ -43732,15 +45971,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdDraftGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bCustomersIdDeleteResponse" } } } } }, - "description": "Get draft configuration" + "description": "Delete an extranet service customer" }, - "post": { + "put": { "security": [ { "jwtAuth": [] @@ -43757,7 +45996,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "deviceId", + "name": "id", "in": "path", "required": true, "description": "", @@ -43773,27 +46012,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdDraftPostRequest" + "$ref": "#/components/schemas/v1ExtranetB2bCustomersIdPutRequest" } } } }, "responses": { - "201": { - "description": "Created", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdDraftPostResponse" + "$ref": "#/components/schemas/v1ExtranetB2bCustomersIdPutResponse" } } } } }, - "description": "Save draft configuration" + "description": "Update an extranet service customer" } }, - "/v1/extranets/{id}": { + "/v1/extranet/b2b/matches/{matchId}": { "delete": { "security": [ { @@ -43811,10 +46050,10 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "id", + "name": "matchId", "in": "path", "required": true, - "description": "", + "description": "Match id (URL path :matchId)", "schema": { "type": "integer", "format": "int64", @@ -43828,12 +46067,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsIdDeleteResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdDeleteResponse" } } } } - } + }, + "description": "Delete an extranet service match" }, "get": { "security": [ @@ -43852,10 +46092,10 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "id", + "name": "matchId", "in": "path", "required": true, - "description": "", + "description": "Match id (URL path :matchId)", "schema": { "type": "integer", "format": "int64", @@ -43869,12 +46109,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsIdGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdGetResponse" } } } } - } + }, + "description": "Get extranet service match details" }, "put": { "security": [ @@ -43893,10 +46134,10 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "id", + "name": "matchId", "in": "path", "required": true, - "description": "", + "description": "Match id (URL path :matchId)", "schema": { "type": "integer", "format": "int64", @@ -43909,7 +46150,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsIdPutRequest" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdPutRequest" } } } @@ -43920,12 +46161,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsIdPutResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdPutResponse" } } } } - } + }, + "description": "Update extranet service match" } }, "/v1/global/apps/custom/{appId}": { @@ -44588,33 +46830,469 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1GlobalSiteListsIdPutRequest" - } - } - } - }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1GlobalSiteListsIdPutRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1GlobalSiteListsIdPutResponse" + } + } + } + } + }, + "description": "Update a new site list scoped to the enterprise" + } + }, + "/v1/extranets/source-segments": { + "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/v1ExtranetsSourceSegmentsPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetsSourceSegmentsPostResponse" + } + } + } + } + } + } + }, + "/v1/enterprise/snapshot": { + "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/v1EnterpriseSnapshotGetResponse" + } + } + } + } + }, + "description": "Get a all of the device snapshots for every device in an enterprise" + } + }, + "/v1/enterprise/allocation": { + "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/v1EnterpriseAllocationGetResponse" + } + } + } + } + }, + "description": "Get all allocation for the given enterprise on a given month" + } + }, + "/v1/global/apps/categories": { + "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/v1GlobalAppsCategoriesGetResponse" + } + } + } + } + }, + "description": "Get all app categories holding Graphiant apps" + } + }, + "/v1/global/apps/custom/{appId}/details/app-lists": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "appId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1GlobalAppsCustomAppIdDetailsAppListsGetResponse" + } + } + } + } + }, + "description": "Get all app lists that contain the relevant global app" + } + }, + "/v1/global/apps/app-list-options": { + "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/v1GlobalAppsAppListOptionsGetResponse" + } + } + } + } + }, + "description": "Gets all apps and categories assignable to an app list for the the current enterprise" + } + }, + "/v1/global/apps/categories/{categoryId}/apps": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "categoryId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1GlobalAppsCategoriesCategoryIdAppsGetResponse" + } + } + } + } + }, + "description": "Get all Graphiant apps in an app category" + } + }, + "/v1/global/apps/app-lists/{appListId}/details/apps": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "appListId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1GlobalAppsAppListsAppListIdDetailsAppsGetResponse" + } + } + } + } + }, + "description": "Get all apps that are members of the provided app list" + } + }, + "/v1/data-assurance/assurances/applications/{bucketAppName}": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "bucketAppName", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1DataAssuranceAssurancesApplicationsBucketAppNameGetResponse" + } + } + } + } + }, + "description": "Gets the assurance details for all edges under the current enterprise" + } + }, + "/v1/global/attached-edges": { + "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/v1GlobalAttachedEdgesPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1GlobalAttachedEdgesPostResponse" + } + } + } + } + }, + "description": "Returns attached edges for global object" + } + }, + "/v1/extranets-b2b/customer-info/{id}": { + "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": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalSiteListsIdPutResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bCustomerInfoIdGetResponse" } } } } }, - "description": "Update a new site list scoped to the enterprise" + "description": "Get B2B extranet application customer" } }, - "/v1/extranets/source-segments": { - "post": { + "/v1/extranets-b2b/{id}/customer-summary": { + "get": { "security": [ { "jwtAuth": [] @@ -44629,33 +47307,35 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1ExtranetsSourceSegmentsPostRequest" - } + }, + { + "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/v1ExtranetsSourceSegmentsPostResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bIdCustomerSummaryGetResponse" } } } } - } + }, + "description": "Get B2B extranet application customers summary" } }, - "/v1/enterprise/snapshot": { + "/v1/extranets-b2b/consumer-device-status/{id}": { "get": { "security": [ { @@ -44671,6 +47351,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "responses": { @@ -44679,16 +47370,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1EnterpriseSnapshotGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bConsumerDeviceStatusIdGetResponse" } } } } }, - "description": "Get a all of the device snapshots for every device in an enterprise" + "description": "Get B2B extranet consumer status" } }, - "/v1/enterprise/allocation": { + "/v1/extranets-b2b/consumer-summary": { "get": { "security": [ { @@ -44712,16 +47403,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1EnterpriseAllocationGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bConsumerSummaryGetResponse" } } } } }, - "description": "Get all allocation for the given enterprise on a given month" + "description": "Get B2B extranet consumers summary" } }, - "/v1/global/apps/categories": { + "/v1/extranets-b2b-general/customers-summary": { "get": { "security": [ { @@ -44745,16 +47436,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalAppsCategoriesGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bGeneralCustomersSummaryGetResponse" } } } } }, - "description": "Get all app categories holding Graphiant apps" + "description": "Get summary for a B2B extranet peering services customers" } }, - "/v1/global/apps/custom/{appId}/details/app-lists": { + "/v1/extranets-b2b-peering/producer/{id}/matching-customers-summary": { "get": { "security": [ { @@ -44772,10 +47463,10 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "appId", + "name": "id", "in": "path", "required": true, - "description": "", + "description": "ID of the customer", "schema": { "type": "integer", "format": "int64", @@ -44789,16 +47480,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalAppsCustomAppIdDetailsAppListsGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse" } } } } }, - "description": "Get all app lists that contain the relevant global app" + "description": "Get B2B extranet customers summary" } }, - "/v1/global/apps/app-list-options": { + "/v1/extranets-b2b-peering/match/services/summary/{id}": { "get": { "security": [ { @@ -44814,6 +47505,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "ID of the customer", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "responses": { @@ -44822,16 +47524,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalAppsAppListOptionsGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse" } } } } }, - "description": "Gets all apps and categories assignable to an app list for the the current enterprise" + "description": "Get B2B extranet services matching customers summary" } }, - "/v1/global/apps/categories/{categoryId}/apps": { + "/v1/extranets-b2b-peering/consumer/{customerId}/consumer-details": { "get": { "security": [ { @@ -44849,7 +47551,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "categoryId", + "name": "customerId", "in": "path", "required": true, "description": "", @@ -44858,6 +47560,17 @@ "format": "int64", "example": 1234567891011 } + }, + { + "name": "serviceId", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "responses": { @@ -44866,16 +47579,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalAppsCategoriesCategoryIdAppsGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse" } } } } }, - "description": "Get all Graphiant apps in an app category" + "description": "Get details of a service subscription for a customer" } }, - "/v1/global/apps/app-lists/{appListId}/details/apps": { + "/v1/extranets-b2b-peering/producer/{id}": { "get": { "security": [ { @@ -44893,10 +47606,10 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "appListId", + "name": "id", "in": "path", "required": true, - "description": "", + "description": "ID of the service", "schema": { "type": "integer", "format": "int64", @@ -44910,16 +47623,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalAppsAppListsAppListIdDetailsAppsGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringProducerIdGetResponse" } } } } }, - "description": "Get all apps that are members of the provided app list" + "description": "Get B2B extranet peering service producer" } }, - "/v1/data-assurance/assurances/applications/{bucketAppName}": { + "/v1/extranets-b2b/{id}/producer": { "get": { "security": [ { @@ -44937,75 +47650,43 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "bucketAppName", + "name": "id", "in": "path", "required": true, "description": "", "schema": { - "type": "string", - "example": "example string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1DataAssuranceAssurancesApplicationsBucketAppNameGetResponse" - } - } + "type": "integer", + "format": "int64", + "example": 1234567891011 } - } - }, - "description": "Gets the assurance details for all edges under the current enterprise" - } - }, - "/v1/global/attached-edges": { - "post": { - "security": [ - { - "jwtAuth": [] - } - ], - "parameters": [ + }, { - "in": "header", - "name": "Authorization", - "required": true, + "name": "type", + "in": "query", + "description": "", + "required": false, "schema": { - "type": "string" - }, - "description": "Bearer token. Format: Bearer " - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1GlobalAttachedEdgesPostRequest" - } + "type": "string", + "example": "ENUM_VALUE" } } - }, + ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalAttachedEdgesPostResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bIdProducerGetResponse" } } } } }, - "description": "Returns attached edges for global object" + "description": "Get a B2B extranet producer" } }, - "/v1/extranets-b2b/customer-info/{id}": { + "/v1/extranets-b2b/producer-device-status/{id}": { "get": { "security": [ { @@ -45040,16 +47721,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bCustomerInfoIdGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bProducerDeviceStatusIdGetResponse" } } } } }, - "description": "Get B2B extranet application customer" + "description": "Get B2B extranet producer status" } }, - "/v1/extranets-b2b/{id}/customer-summary": { + "/v1/extranets-b2b/producers-summary": { "get": { "security": [ { @@ -45065,17 +47746,6 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "id", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], "responses": { @@ -45084,16 +47754,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bIdCustomerSummaryGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bProducersSummaryGetResponse" } } } } }, - "description": "Get B2B extranet application customers summary" + "description": "Get B2B extranet producers summary" } }, - "/v1/extranets-b2b/consumer-device-status/{id}": { + "/v1/extranets-b2b-peering/consumer/{matchId}/match-details": { "get": { "security": [ { @@ -45111,7 +47781,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "id", + "name": "matchId", "in": "path", "required": true, "description": "", @@ -45128,49 +47798,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bConsumerDeviceStatusIdGetResponse" - } - } - } - } - }, - "description": "Get B2B extranet consumer status" - } - }, - "/v1/extranets-b2b/consumer-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/v1ExtranetsB2bConsumerSummaryGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse" } } } } }, - "description": "Get B2B extranet consumers summary" + "description": "Get details of a service match for a customer" } }, - "/v1/extranets-b2b-general/customers-summary": { + "/v1/extranets-b2b-general/services-summary": { "get": { "security": [ { @@ -45194,17 +47831,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bGeneralCustomersSummaryGetResponse" + "$ref": "#/components/schemas/v1ExtranetsB2bGeneralServicesSummaryGetResponse" } } } } }, - "description": "Get summary for a B2B extranet peering services customers" + "description": "Get a summary for all the B2B extranet services" } }, - "/v1/extranets-b2b-peering/producer/{id}/matching-customers-summary": { - "get": { + "/v1/devices/session-status": { + "post": { "security": [ { "jwtAuth": [] @@ -45219,35 +47856,34 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "id", - "in": "path", - "required": true, - "description": "ID of the customer", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1DevicesSessionStatusPostRequest" + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse" + "$ref": "#/components/schemas/v1DevicesSessionStatusPostResponse" } } } } }, - "description": "Get B2B extranet customers summary" + "description": "Get all the BGP session states for the devices" } }, - "/v1/extranets-b2b-peering/match/services/summary/{id}": { + "/v1/devices/{deviceId}/candidate-circuits": { "get": { "security": [ { @@ -45265,10 +47901,10 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "id", + "name": "deviceId", "in": "path", "required": true, - "description": "ID of the customer", + "description": "", "schema": { "type": "integer", "format": "int64", @@ -45282,16 +47918,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse" + "$ref": "#/components/schemas/v1DevicesDeviceIdCandidateCircuitsGetResponse" } } } } }, - "description": "Get B2B extranet services matching customers summary" + "description": "Get the candidate circuits for a device" } }, - "/v1/extranets-b2b-peering/consumer/{customerId}/consumer-details": { + "/v1/qos/circuit-profiles": { "get": { "security": [ { @@ -45307,28 +47943,6 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "customerId", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } - }, - { - "name": "serviceId", - "in": "query", - "description": "", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], "responses": { @@ -45337,16 +47951,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse" + "$ref": "#/components/schemas/v1QosCircuitProfilesGetResponse" } } } } }, - "description": "Get details of a service subscription for a customer" + "description": "Returns a list of QoS profiles for circuits with associated queues & attributes" } }, - "/v1/extranets-b2b-peering/producer/{id}": { + "/v1/sites/{siteId}/circuits": { "get": { "security": [ { @@ -45364,10 +47978,10 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "id", + "name": "siteId", "in": "path", "required": true, - "description": "ID of the service", + "description": "", "schema": { "type": "integer", "format": "int64", @@ -45381,16 +47995,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringProducerIdGetResponse" + "$ref": "#/components/schemas/v1SitesSiteIdCircuitsGetResponse" } } } } }, - "description": "Get B2B extranet peering service producer" + "description": "Get Circuits for the site" } }, - "/v1/extranets-b2b/{id}/producer": { + "/v1/devices/{deviceId}/vrf/protocols": { "get": { "security": [ { @@ -45408,7 +48022,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "id", + "name": "deviceId", "in": "path", "required": true, "description": "", @@ -45419,14 +48033,15 @@ } }, { - "name": "type", + "name": "vrfName", "in": "query", - "description": "", - "required": false, + "description": "Valid Configured Vrf Name", + "required": true, "schema": { "type": "string", - "example": "ENUM_VALUE" - } + "example": "example string" + }, + "example": "lan-1-business" } ], "responses": { @@ -45435,16 +48050,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bIdProducerGetResponse" + "$ref": "#/components/schemas/v1DevicesDeviceIdVrfProtocolsGetResponse" } } } } - }, - "description": "Get a B2B extranet producer" + } } }, - "/v1/extranets-b2b/producer-device-status/{id}": { + "/v1/devices/{deviceId}/connectivity": { "get": { "security": [ { @@ -45462,7 +48076,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "id", + "name": "deviceId", "in": "path", "required": true, "description": "", @@ -45479,16 +48093,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bProducerDeviceStatusIdGetResponse" + "$ref": "#/components/schemas/v1DevicesDeviceIdConnectivityGetResponse" } } } } }, - "description": "Get B2B extranet producer status" + "description": "Get the connectivity graph for a device" } }, - "/v1/extranets-b2b/producers-summary": { + "/v1/devices/{deviceId}/twamp/core": { "get": { "security": [ { @@ -45504,6 +48118,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "responses": { @@ -45512,16 +48137,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bProducersSummaryGetResponse" + "$ref": "#/components/schemas/v1DevicesDeviceIdTwampCoreGetResponse" } } } } }, - "description": "Get B2B extranet producers summary" + "description": "Get core TWAMP neighbors for a given device" } }, - "/v1/extranets-b2b-peering/consumer/{matchId}/match-details": { + "/v1/devices/{deviceId}/dhcp-server/leases": { "get": { "security": [ { @@ -45539,7 +48164,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "matchId", + "name": "deviceId", "in": "path", "required": true, "description": "", @@ -45556,16 +48181,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse" + "$ref": "#/components/schemas/v1DevicesDeviceIdDhcpServerLeasesGetResponse" } } } } }, - "description": "Get details of a service match for a customer" + "description": "Get current DHCP leases for a device" } }, - "/v1/extranets-b2b-general/services-summary": { + "/v1/policy/applications": { "get": { "security": [ { @@ -45589,17 +48214,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsB2bGeneralServicesSummaryGetResponse" + "$ref": "#/components/schemas/v1PolicyApplicationsGetResponse" } } } } }, - "description": "Get a summary for all the B2B extranet services" + "description": "Get a list of builtin DPI applications" } }, - "/v1/devices/session-status": { - "post": { + "/v1/devices/{deviceId}/policy/applications": { + "get": { "security": [ { "jwtAuth": [] @@ -45614,34 +48239,35 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1DevicesSessionStatusPostRequest" - } + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 } } - }, + ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesSessionStatusPostResponse" + "$ref": "#/components/schemas/v1DevicesDeviceIdPolicyApplicationsGetResponse" } } } } }, - "description": "Get all the BGP session states for the devices" + "description": "Get a list of builtin DPI applications able to be configured on a given device based on GNOS version" } }, - "/v1/devices/{deviceId}/candidate-circuits": { + "/v1/devices/{deviceId}": { "get": { "security": [ { @@ -45676,16 +48302,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdCandidateCircuitsGetResponse" + "$ref": "#/components/schemas/v1DevicesDeviceIdGetResponse" } } } } }, - "description": "Get the candidate circuits for a device" + "description": "Get a specific device" } }, - "/v1/qos/circuit-profiles": { + "/v1/devices/{deviceId}/versions/{version}": { "get": { "security": [ { @@ -45701,6 +48327,31 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "path", + "required": true, + "description": "16 bytes (base64 encoded) identifier for the device.", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "example": 3000000000 + }, + { + "name": "version", + "in": "path", + "required": true, + "description": "8 bytes (base32 encoded) version number.", + "schema": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "example": 150 } ], "responses": { @@ -45709,16 +48360,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1QosCircuitProfilesGetResponse" + "$ref": "#/components/schemas/v1DevicesDeviceIdVersionsVersionGetResponse" } } } } }, - "description": "Returns a list of QoS profiles for circuits with associated queues & attributes" + "description": "Get device config for a specific version" } }, - "/v1/sites/{siteId}/circuits": { + "/v1/devices/{deviceId}/versions": { "get": { "security": [ { @@ -45736,15 +48387,16 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "siteId", + "name": "deviceId", "in": "path", "required": true, - "description": "", + "description": "16 bytes (base64 encoded) identifier for the device.", "schema": { "type": "integer", "format": "int64", "example": 1234567891011 - } + }, + "example": 3000000000 } ], "responses": { @@ -45753,16 +48405,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1SitesSiteIdCircuitsGetResponse" + "$ref": "#/components/schemas/v1DevicesDeviceIdVersionsGetResponse" } } } } }, - "description": "Get Circuits for the site" + "description": "Get device config versions" } }, - "/v1/devices/{deviceId}/vrf/protocols": { + "/v1/device/snapshot/{deviceId}": { "get": { "security": [ { @@ -45789,17 +48441,6 @@ "format": "int64", "example": 1234567891011 } - }, - { - "name": "vrfName", - "in": "query", - "description": "Valid Configured Vrf Name", - "required": true, - "schema": { - "type": "string", - "example": "example string" - }, - "example": "lan-1-business" } ], "responses": { @@ -45808,15 +48449,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdVrfProtocolsGetResponse" + "$ref": "#/components/schemas/v1DeviceSnapshotDeviceIdGetResponse" } } } } - } + }, + "description": "Get all of a device's snapshots" } }, - "/v1/devices/{deviceId}/connectivity": { + "/v1/devices": { "get": { "security": [ { @@ -45832,17 +48474,6 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "deviceId", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], "responses": { @@ -45851,16 +48482,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdConnectivityGetResponse" + "$ref": "#/components/schemas/v1DevicesGetResponse" } } } } }, - "description": "Get the connectivity graph for a device" + "description": "Get devices for the current enterprise" } }, - "/v1/devices/{deviceId}/twamp/core": { + "/v1/sites/{siteId}/devices": { "get": { "security": [ { @@ -45878,14 +48509,15 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "deviceId", + "name": "siteId", "in": "path", "required": true, "description": "", "schema": { "type": "integer", "format": "int64", - "example": 1234567891011 + "example": 12345678910, + "minimum": 0 } } ], @@ -45895,16 +48527,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdTwampCoreGetResponse" + "$ref": "#/components/schemas/v1SitesSiteIdDevicesGetResponse" } } } } }, - "description": "Get core TWAMP neighbors for a given device" + "description": "Get Devices for the site" } }, - "/v1/devices/{deviceId}/dhcp-server/leases": { + "/v1/devices-summary": { "get": { "security": [ { @@ -45920,17 +48552,6 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "deviceId", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], "responses": { @@ -45939,16 +48560,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdDhcpServerLeasesGetResponse" + "$ref": "#/components/schemas/v1DevicesSummaryGetResponse" } } } } }, - "description": "Get current DHCP leases for a device" + "description": "Get devices summary for the specified enterprise" } }, - "/v1/policy/applications": { + "/v1/global/domain-categories": { "get": { "security": [ { @@ -45972,16 +48593,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1PolicyApplicationsGetResponse" + "$ref": "#/components/schemas/v1GlobalDomainCategoriesGetResponse" } } } } }, - "description": "Get a list of builtin DPI applications" + "description": "Get all domain categories from the DPI engine" } }, - "/v1/devices/{deviceId}/policy/applications": { + "/v1/enterprise/configuration": { "get": { "security": [ { @@ -45997,17 +48618,6 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "deviceId", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], "responses": { @@ -46016,17 +48626,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdPolicyApplicationsGetResponse" + "$ref": "#/components/schemas/v1EnterpriseConfigurationGetResponse" } } } } }, - "description": "Get a list of builtin DPI applications able to be configured on a given device based on GNOS version" - } - }, - "/v1/devices/{deviceId}": { - "get": { + "description": "Get enterprise-level information relevant to device configuration" + }, + "put": { "security": [ { "jwtAuth": [] @@ -46041,35 +48649,34 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - }, - { - "name": "deviceId", - "in": "path", - "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1EnterpriseConfigurationPutRequest" + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdGetResponse" + "$ref": "#/components/schemas/v1EnterpriseConfigurationPutResponse" } } } } }, - "description": "Get a specific device" + "description": "Update enterprise-level information relevant to device configuration" } }, - "/v1/devices/{deviceId}/versions/{version}": { + "/v1/extranets/{id}/status": { "get": { "security": [ { @@ -46087,29 +48694,15 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "deviceId", + "name": "id", "in": "path", "required": true, - "description": "16 bytes (base64 encoded) identifier for the device.", + "description": "", "schema": { "type": "integer", "format": "int64", "example": 1234567891011 - }, - "example": 3000000000 - }, - { - "name": "version", - "in": "path", - "required": true, - "description": "8 bytes (base32 encoded) version number.", - "schema": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - }, - "example": 150 + } } ], "responses": { @@ -46118,16 +48711,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdVersionsVersionGetResponse" + "$ref": "#/components/schemas/v1ExtranetsIdStatusGetResponse" } } } } - }, - "description": "Get device config for a specific version" + } } }, - "/v1/devices/{deviceId}/versions": { + "/v1/extranet/b2b/consumers/{customerId}": { "get": { "security": [ { @@ -46145,16 +48737,26 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "deviceId", + "name": "customerId", "in": "path", "required": true, - "description": "16 bytes (base64 encoded) identifier for the device.", + "description": "Partner customer id", "schema": { "type": "integer", "format": "int64", "example": 1234567891011 - }, - "example": 3000000000 + } + }, + { + "name": "serviceId", + "in": "query", + "description": "Producer service id", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "responses": { @@ -46163,16 +48765,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesDeviceIdVersionsGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bConsumersCustomerIdGetResponse" } } } } }, - "description": "Get device config versions" + "description": "Get extranet service consumer subscription" } }, - "/v1/device/snapshot/{deviceId}": { + "/v1/extranet/b2b/consumers/{id}/device-status": { "get": { "security": [ { @@ -46190,7 +48792,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "deviceId", + "name": "id", "in": "path", "required": true, "description": "", @@ -46207,17 +48809,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DeviceSnapshotDeviceIdGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bConsumersIdDeviceStatusGetResponse" } } } } }, - "description": "Get all of a device's snapshots" + "description": "Get extranet consumer device rollout status" } }, - "/v1/devices": { - "get": { + "/v2/extranets-monitoring/consumers": { + "post": { "security": [ { "jwtAuth": [] @@ -46234,22 +48836,32 @@ "description": "Bearer token. Format: Bearer " } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2ExtranetsMonitoringConsumersPostRequest" + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesGetResponse" + "$ref": "#/components/schemas/v2ExtranetsMonitoringConsumersPostResponse" } } } } }, - "description": "Get devices for the current enterprise" + "description": "Get consumer list for b2b producer service" } }, - "/v1/sites/{siteId}/devices": { + "/v1/extranet/b2b/customers/{id}/details": { "get": { "security": [ { @@ -46267,15 +48879,14 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "siteId", + "name": "id", "in": "path", "required": true, "description": "", "schema": { "type": "integer", "format": "int64", - "example": 12345678910, - "minimum": 0 + "example": 1234567891011 } } ], @@ -46285,16 +48896,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1SitesSiteIdDevicesGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bCustomersIdDetailsGetResponse" } } } } }, - "description": "Get Devices for the site" + "description": "Get an extranet service customer" } }, - "/v1/devices-summary": { + "/v1/extranet/b2b/customers/{id}/matches/summary": { "get": { "security": [ { @@ -46310,6 +48921,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "Customer id", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } } ], "responses": { @@ -46318,16 +48940,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1DevicesSummaryGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bCustomersIdMatchesSummaryGetResponse" } } } } }, - "description": "Get devices summary for the specified enterprise" + "description": "Get matched services summary for a customer" } }, - "/v1/global/domain-categories": { + "/v1/extranet/b2b/customers/summary": { "get": { "security": [ { @@ -46351,16 +48973,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1GlobalDomainCategoriesGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bCustomersSummaryGetResponse" } } } } }, - "description": "Get all domain categories from the DPI engine" + "description": "List extranet service customers for the enterprise" } }, - "/v1/enterprise/configuration": { + "/v1/extranets-monitoring/lan-segments": { "get": { "security": [ { @@ -46376,65 +48998,46 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1EnterpriseConfigurationGetResponse" - } - } - } - } - }, - "description": "Get enterprise-level information relevant to device configuration" - }, - "put": { - "security": [ + }, { - "jwtAuth": [] - } - ], - "parameters": [ + "name": "id", + "in": "query", + "description": "Extranet Service Id", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "example": 800 + }, { - "in": "header", - "name": "Authorization", - "required": true, + "name": "isProvider", + "in": "query", + "description": "", + "required": false, "schema": { - "type": "string" + "type": "boolean", + "example": true }, - "description": "Bearer token. Format: Bearer " + "example": true } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1EnterpriseConfigurationPutRequest" - } - } - } - }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1EnterpriseConfigurationPutResponse" + "$ref": "#/components/schemas/v1ExtranetsMonitoringLanSegmentsGetResponse" } } } } - }, - "description": "Update enterprise-level information relevant to device configuration" + } } }, - "/v1/extranets/{id}/status": { + "/v1/extranet/b2b/matches/{matchId}/details": { "get": { "security": [ { @@ -46452,7 +49055,7 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "id", + "name": "matchId", "in": "path", "required": true, "description": "", @@ -46469,16 +49072,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsIdStatusGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdDetailsGetResponse" } } } } - } + }, + "description": "Get match details for consumer accept flow" } }, - "/v2/extranets-monitoring/consumers": { - "post": { + "/v1/extranets-monitoring/nat-usage": { + "get": { "security": [ { "jwtAuth": [] @@ -46493,34 +49097,35 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "query", + "description": "Extranet Service Id", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "example": 800 } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v2ExtranetsMonitoringConsumersPostRequest" - } - } - } - }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2ExtranetsMonitoringConsumersPostResponse" + "$ref": "#/components/schemas/v1ExtranetsMonitoringNatUsageGetResponse" } } } } - }, - "description": "Get consumer list for b2b producer service" + } } }, - "/v1/extranets-monitoring/lan-segments": { + "/v1/extranet/b2b/producer/{id}/customers": { "get": { "security": [ { @@ -46539,26 +49144,14 @@ }, { "name": "id", - "in": "query", - "description": "Extranet Service Id", - "required": false, + "in": "path", + "required": true, + "description": "Producer service id", "schema": { "type": "integer", "format": "int64", "example": 1234567891011 - }, - "example": 800 - }, - { - "name": "isProvider", - "in": "query", - "description": "", - "required": false, - "schema": { - "type": "boolean", - "example": true - }, - "example": true + } } ], "responses": { @@ -46567,15 +49160,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsMonitoringLanSegmentsGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bProducerIdCustomersGetResponse" } } } } - } + }, + "description": "List customers matched to an extranet producer service" } }, - "/v1/extranets-monitoring/nat-usage": { + "/v1/extranet/b2b/producer/{id}/device-status": { "get": { "security": [ { @@ -46594,15 +49188,14 @@ }, { "name": "id", - "in": "query", - "description": "Extranet Service Id", + "in": "path", "required": true, + "description": "", "schema": { "type": "integer", "format": "int64", "example": 1234567891011 - }, - "example": 800 + } } ], "responses": { @@ -46611,12 +49204,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetsMonitoringNatUsageGetResponse" + "$ref": "#/components/schemas/v1ExtranetB2bProducerIdDeviceStatusGetResponse" } } } } - } + }, + "description": "Get extranet producer device rollout status" } }, "/v1/extranets-monitoring/traffic-security-policy": { @@ -46662,6 +49256,39 @@ "description": "Get lists of traffic and security policies" } }, + "/v1/extranet/b2b/services/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/v1ExtranetB2bServicesSummaryGetResponse" + } + } + } + } + }, + "description": "List inter-enterprise extranet services" + } + }, "/v1/devices/{deviceId}/policy/zonepairs": { "get": { "security": [ @@ -49222,6 +51849,49 @@ "description": "Get Zones for the current enterprise" } }, + "/v1/extranet/b2b/matches/pause": { + "put": { + "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/v1ExtranetB2bMatchesPausePutRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bMatchesPausePutResponse" + } + } + } + } + }, + "description": "Pause extranet service matches via customer summary" + } + }, "/v1/extranets/resolve-policy-target": { "post": { "security": [ @@ -49264,6 +51934,146 @@ } } }, + "/v1/extranet/b2b/customers/{id}/retry": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bCustomersIdRetryPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bCustomersIdRetryPostResponse" + } + } + } + } + }, + "description": "Retry extranet service customer invite" + } + }, + "/v1/extranet/b2b/producer/review": { + "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/v1ExtranetB2bProducerReviewPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bProducerReviewPostResponse" + } + } + } + } + }, + "description": "Review inter-enterprise extranet service configuration" + } + }, + "/v1/extranet/b2b/matches/review": { + "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/v1ExtranetB2bMatchesReviewPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bMatchesReviewPostResponse" + } + } + } + } + }, + "description": "Review extranet service match" + } + }, "/v1/global/sync": { "post": { "security": [ @@ -49598,6 +52408,168 @@ "description": "Update an enterprise (or MSP tenant) to use a new monthly or term-based contract. For MSPs, sets total pool credits and contract shape; per-managed-enterprise allocations are set via IAM CreateEnterprise / UpdateEnterprise." } }, + "/v1/extranet/b2b/consumers/{id}/prefixes": { + "put": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "Consumer subscription id", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bConsumersIdPrefixesPutRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bConsumersIdPrefixesPutResponse" + } + } + } + } + }, + "description": "Update extranet service consumer prefix NAT (peering preset)" + } + }, + "/v1/extranet/b2b/matches/{matchId}/status": { + "put": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "matchId", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdStatusPutRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bMatchesMatchIdStatusPutResponse" + } + } + } + } + }, + "description": "Pause or resume an extranet service match" + } + }, + "/v1/extranet/b2b/producer/{id}/status": { + "put": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bProducerIdStatusPutRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ExtranetB2bProducerIdStatusPutResponse" + } + } + } + } + }, + "description": "Pause or resume an inter-enterprise extranet service" + } + }, "/v1/gateways/status": { "post": { "security": [ diff --git a/docs/AssuranceKpiMetric.md b/docs/AssuranceKpiMetric.md index 1e0c7fa3..202f884b 100644 --- a/docs/AssuranceKpiMetric.md +++ b/docs/AssuranceKpiMetric.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **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] +**token_usage** | **float** | AI adoption token usage value | [optional] **value** | **float** | metric value (required) | [optional] ## Example diff --git a/docs/AssuranceUserDefinition.md b/docs/AssuranceUserDefinition.md index 0ea6c64f..290d5aae 100644 --- a/docs/AssuranceUserDefinition.md +++ b/docs/AssuranceUserDefinition.md @@ -5,9 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**data_sent** | **float** | data sent by the user (required) | [optional] +**data_sent** | **float** | tokens 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] +**tokens_usage** | **float** | token usage (required) | [optional] +**tokens_usage_days** | **float** | token usage per day (required) | [optional] **user** | **str** | user identifier (required) | [optional] **vrf** | **str** | VRF associated with the user (required) | [optional] diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 2aa8012b..1bf65dae 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -183,12 +183,44 @@ Method | HTTP request | Description [**v1_enterprises_managed_get**](DefaultApi.md#v1_enterprises_managed_get) | **GET** /v1/enterprises/managed | [**v1_enterprises_patch**](DefaultApi.md#v1_enterprises_patch) | **PATCH** /v1/enterprises | [**v1_enterprises_put**](DefaultApi.md#v1_enterprises_put) | **PUT** /v1/enterprises | +[**v1_extranet_b2b_consumers_customer_id_get**](DefaultApi.md#v1_extranet_b2b_consumers_customer_id_get) | **GET** /v1/extranet/b2b/consumers/{customerId} | +[**v1_extranet_b2b_consumers_id_delete**](DefaultApi.md#v1_extranet_b2b_consumers_id_delete) | **DELETE** /v1/extranet/b2b/consumers/{id} | +[**v1_extranet_b2b_consumers_id_device_status_get**](DefaultApi.md#v1_extranet_b2b_consumers_id_device_status_get) | **GET** /v1/extranet/b2b/consumers/{id}/device-status | +[**v1_extranet_b2b_consumers_id_prefixes_put**](DefaultApi.md#v1_extranet_b2b_consumers_id_prefixes_put) | **PUT** /v1/extranet/b2b/consumers/{id}/prefixes | +[**v1_extranet_b2b_consumers_id_put**](DefaultApi.md#v1_extranet_b2b_consumers_id_put) | **PUT** /v1/extranet/b2b/consumers/{id} | +[**v1_extranet_b2b_customers_id_delete**](DefaultApi.md#v1_extranet_b2b_customers_id_delete) | **DELETE** /v1/extranet/b2b/customers/{id} | +[**v1_extranet_b2b_customers_id_details_get**](DefaultApi.md#v1_extranet_b2b_customers_id_details_get) | **GET** /v1/extranet/b2b/customers/{id}/details | +[**v1_extranet_b2b_customers_id_matches_summary_get**](DefaultApi.md#v1_extranet_b2b_customers_id_matches_summary_get) | **GET** /v1/extranet/b2b/customers/{id}/matches/summary | +[**v1_extranet_b2b_customers_id_put**](DefaultApi.md#v1_extranet_b2b_customers_id_put) | **PUT** /v1/extranet/b2b/customers/{id} | +[**v1_extranet_b2b_customers_id_retry_post**](DefaultApi.md#v1_extranet_b2b_customers_id_retry_post) | **POST** /v1/extranet/b2b/customers/{id}/retry | +[**v1_extranet_b2b_customers_post**](DefaultApi.md#v1_extranet_b2b_customers_post) | **POST** /v1/extranet/b2b/customers | +[**v1_extranet_b2b_customers_summary_get**](DefaultApi.md#v1_extranet_b2b_customers_summary_get) | **GET** /v1/extranet/b2b/customers/summary | +[**v1_extranet_b2b_matches_customers_post**](DefaultApi.md#v1_extranet_b2b_matches_customers_post) | **POST** /v1/extranet/b2b/matches/customers | +[**v1_extranet_b2b_matches_match_id_consumer_check_post**](DefaultApi.md#v1_extranet_b2b_matches_match_id_consumer_check_post) | **POST** /v1/extranet/b2b/matches/{matchId}/consumer/check | +[**v1_extranet_b2b_matches_match_id_consumer_post**](DefaultApi.md#v1_extranet_b2b_matches_match_id_consumer_post) | **POST** /v1/extranet/b2b/matches/{matchId}/consumer | +[**v1_extranet_b2b_matches_match_id_delete**](DefaultApi.md#v1_extranet_b2b_matches_match_id_delete) | **DELETE** /v1/extranet/b2b/matches/{matchId} | +[**v1_extranet_b2b_matches_match_id_details_get**](DefaultApi.md#v1_extranet_b2b_matches_match_id_details_get) | **GET** /v1/extranet/b2b/matches/{matchId}/details | +[**v1_extranet_b2b_matches_match_id_get**](DefaultApi.md#v1_extranet_b2b_matches_match_id_get) | **GET** /v1/extranet/b2b/matches/{matchId} | +[**v1_extranet_b2b_matches_match_id_put**](DefaultApi.md#v1_extranet_b2b_matches_match_id_put) | **PUT** /v1/extranet/b2b/matches/{matchId} | +[**v1_extranet_b2b_matches_match_id_status_put**](DefaultApi.md#v1_extranet_b2b_matches_match_id_status_put) | **PUT** /v1/extranet/b2b/matches/{matchId}/status | +[**v1_extranet_b2b_matches_pause_put**](DefaultApi.md#v1_extranet_b2b_matches_pause_put) | **PUT** /v1/extranet/b2b/matches/pause | +[**v1_extranet_b2b_matches_post**](DefaultApi.md#v1_extranet_b2b_matches_post) | **POST** /v1/extranet/b2b/matches | +[**v1_extranet_b2b_matches_review_post**](DefaultApi.md#v1_extranet_b2b_matches_review_post) | **POST** /v1/extranet/b2b/matches/review | [**v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post**](DefaultApi.md#v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post) | **POST** /v1/extranet-b2b-monitoring/peering-service/bandwidth-usage | [**v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post**](DefaultApi.md#v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post) | **POST** /v1/extranet-b2b-monitoring/peering-service/consumers-usage/top | [**v1_extranet_b2b_monitoring_peering_service_consumption_overview_post**](DefaultApi.md#v1_extranet_b2b_monitoring_peering_service_consumption_overview_post) | **POST** /v1/extranet-b2b-monitoring/peering-service/consumption-overview | [**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_b2b_producer_id_customers_get**](DefaultApi.md#v1_extranet_b2b_producer_id_customers_get) | **GET** /v1/extranet/b2b/producer/{id}/customers | +[**v1_extranet_b2b_producer_id_delete**](DefaultApi.md#v1_extranet_b2b_producer_id_delete) | **DELETE** /v1/extranet/b2b/producer/{id} | +[**v1_extranet_b2b_producer_id_device_status_get**](DefaultApi.md#v1_extranet_b2b_producer_id_device_status_get) | **GET** /v1/extranet/b2b/producer/{id}/device-status | +[**v1_extranet_b2b_producer_id_get**](DefaultApi.md#v1_extranet_b2b_producer_id_get) | **GET** /v1/extranet/b2b/producer/{id} | +[**v1_extranet_b2b_producer_id_put**](DefaultApi.md#v1_extranet_b2b_producer_id_put) | **PUT** /v1/extranet/b2b/producer/{id} | +[**v1_extranet_b2b_producer_id_status_put**](DefaultApi.md#v1_extranet_b2b_producer_id_status_put) | **PUT** /v1/extranet/b2b/producer/{id}/status | +[**v1_extranet_b2b_producer_post**](DefaultApi.md#v1_extranet_b2b_producer_post) | **POST** /v1/extranet/b2b/producer | +[**v1_extranet_b2b_producer_review_post**](DefaultApi.md#v1_extranet_b2b_producer_review_post) | **POST** /v1/extranet/b2b/producer/review | +[**v1_extranet_b2b_services_summary_get**](DefaultApi.md#v1_extranet_b2b_services_summary_get) | **GET** /v1/extranet/b2b/services/summary | [**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} | @@ -14443,10 +14475,2382 @@ 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_extranet_b2b_consumers_customer_id_get** +> V1ExtranetB2bConsumersCustomerIdGetResponse v1_extranet_b2b_consumers_customer_id_get(authorization, customer_id, service_id=service_id) + +Get extranet service consumer subscription + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response import V1ExtranetB2bConsumersCustomerIdGetResponse +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 + customer_id = 1234567891011 # int | Partner customer id + service_id = 1234567891011 # int | Producer service id (optional) + + try: + api_response = api_instance.v1_extranet_b2b_consumers_customer_id_get(authorization, customer_id, service_id=service_id) + print("The response of DefaultApi->v1_extranet_b2b_consumers_customer_id_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_consumers_customer_id_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **customer_id** | **int**| Partner customer id | + **service_id** | **int**| Producer service id | [optional] + +### Return type + +[**V1ExtranetB2bConsumersCustomerIdGetResponse**](V1ExtranetB2bConsumersCustomerIdGetResponse.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_extranet_b2b_consumers_id_delete** +> object v1_extranet_b2b_consumers_id_delete(authorization, id) + +Delete an extranet service consumer subscription + +### 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_response = api_instance.v1_extranet_b2b_consumers_id_delete(authorization, id) + print("The response of DefaultApi->v1_extranet_b2b_consumers_id_delete:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_consumers_id_delete: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | + +### Return type + +**object** + +### 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_extranet_b2b_consumers_id_device_status_get** +> V1ExtranetB2bConsumersIdDeviceStatusGetResponse v1_extranet_b2b_consumers_id_device_status_get(authorization, id) + +Get extranet consumer device rollout status + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_device_status_get_response import V1ExtranetB2bConsumersIdDeviceStatusGetResponse +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_response = api_instance.v1_extranet_b2b_consumers_id_device_status_get(authorization, id) + print("The response of DefaultApi->v1_extranet_b2b_consumers_id_device_status_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_consumers_id_device_status_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | + +### Return type + +[**V1ExtranetB2bConsumersIdDeviceStatusGetResponse**](V1ExtranetB2bConsumersIdDeviceStatusGetResponse.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_extranet_b2b_consumers_id_prefixes_put** +> V1ExtranetB2bConsumersIdPrefixesPutResponse v1_extranet_b2b_consumers_id_prefixes_put(authorization, id, v1_extranet_b2b_consumers_id_prefixes_put_request) + +Update extranet service consumer prefix NAT (peering preset) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_request import V1ExtranetB2bConsumersIdPrefixesPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_response import V1ExtranetB2bConsumersIdPrefixesPutResponse +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 | Consumer subscription id + v1_extranet_b2b_consumers_id_prefixes_put_request = graphiant_sdk.V1ExtranetB2bConsumersIdPrefixesPutRequest() # V1ExtranetB2bConsumersIdPrefixesPutRequest | + + try: + api_response = api_instance.v1_extranet_b2b_consumers_id_prefixes_put(authorization, id, v1_extranet_b2b_consumers_id_prefixes_put_request) + print("The response of DefaultApi->v1_extranet_b2b_consumers_id_prefixes_put:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_consumers_id_prefixes_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| Consumer subscription id | + **v1_extranet_b2b_consumers_id_prefixes_put_request** | [**V1ExtranetB2bConsumersIdPrefixesPutRequest**](V1ExtranetB2bConsumersIdPrefixesPutRequest.md)| | + +### Return type + +[**V1ExtranetB2bConsumersIdPrefixesPutResponse**](V1ExtranetB2bConsumersIdPrefixesPutResponse.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_extranet_b2b_consumers_id_put** +> V1ExtranetB2bConsumersIdPutResponse v1_extranet_b2b_consumers_id_put(authorization, id, v1_extranet_b2b_consumers_id_put_request) + +Update extranet service consumer + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_request import V1ExtranetB2bConsumersIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_response import V1ExtranetB2bConsumersIdPutResponse +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 | Consumer subscription id + v1_extranet_b2b_consumers_id_put_request = graphiant_sdk.V1ExtranetB2bConsumersIdPutRequest() # V1ExtranetB2bConsumersIdPutRequest | + + try: + api_response = api_instance.v1_extranet_b2b_consumers_id_put(authorization, id, v1_extranet_b2b_consumers_id_put_request) + print("The response of DefaultApi->v1_extranet_b2b_consumers_id_put:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_consumers_id_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| Consumer subscription id | + **v1_extranet_b2b_consumers_id_put_request** | [**V1ExtranetB2bConsumersIdPutRequest**](V1ExtranetB2bConsumersIdPutRequest.md)| | + +### Return type + +[**V1ExtranetB2bConsumersIdPutResponse**](V1ExtranetB2bConsumersIdPutResponse.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_extranet_b2b_customers_id_delete** +> V1ExtranetB2bCustomersIdDeleteResponse v1_extranet_b2b_customers_id_delete(authorization, id) + +Delete an extranet service customer + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_customers_id_delete_response import V1ExtranetB2bCustomersIdDeleteResponse +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_response = api_instance.v1_extranet_b2b_customers_id_delete(authorization, id) + print("The response of DefaultApi->v1_extranet_b2b_customers_id_delete:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_customers_id_delete: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | + +### Return type + +[**V1ExtranetB2bCustomersIdDeleteResponse**](V1ExtranetB2bCustomersIdDeleteResponse.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_extranet_b2b_customers_id_details_get** +> V1ExtranetB2bCustomersIdDetailsGetResponse v1_extranet_b2b_customers_id_details_get(authorization, id) + +Get an extranet service customer + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_customers_id_details_get_response import V1ExtranetB2bCustomersIdDetailsGetResponse +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_response = api_instance.v1_extranet_b2b_customers_id_details_get(authorization, id) + print("The response of DefaultApi->v1_extranet_b2b_customers_id_details_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_customers_id_details_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | + +### Return type + +[**V1ExtranetB2bCustomersIdDetailsGetResponse**](V1ExtranetB2bCustomersIdDetailsGetResponse.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_extranet_b2b_customers_id_matches_summary_get** +> V1ExtranetB2bCustomersIdMatchesSummaryGetResponse v1_extranet_b2b_customers_id_matches_summary_get(authorization, id) + +Get matched services summary for a customer + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_customers_id_matches_summary_get_response import V1ExtranetB2bCustomersIdMatchesSummaryGetResponse +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 | Customer id + + try: + api_response = api_instance.v1_extranet_b2b_customers_id_matches_summary_get(authorization, id) + print("The response of DefaultApi->v1_extranet_b2b_customers_id_matches_summary_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_customers_id_matches_summary_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| Customer id | + +### Return type + +[**V1ExtranetB2bCustomersIdMatchesSummaryGetResponse**](V1ExtranetB2bCustomersIdMatchesSummaryGetResponse.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_extranet_b2b_customers_id_put** +> V1ExtranetB2bCustomersIdPutResponse v1_extranet_b2b_customers_id_put(authorization, id, v1_extranet_b2b_customers_id_put_request) + +Update an extranet service customer + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_request import V1ExtranetB2bCustomersIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_response import V1ExtranetB2bCustomersIdPutResponse +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_extranet_b2b_customers_id_put_request = graphiant_sdk.V1ExtranetB2bCustomersIdPutRequest() # V1ExtranetB2bCustomersIdPutRequest | + + try: + api_response = api_instance.v1_extranet_b2b_customers_id_put(authorization, id, v1_extranet_b2b_customers_id_put_request) + print("The response of DefaultApi->v1_extranet_b2b_customers_id_put:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_customers_id_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | + **v1_extranet_b2b_customers_id_put_request** | [**V1ExtranetB2bCustomersIdPutRequest**](V1ExtranetB2bCustomersIdPutRequest.md)| | + +### Return type + +[**V1ExtranetB2bCustomersIdPutResponse**](V1ExtranetB2bCustomersIdPutResponse.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_extranet_b2b_customers_id_retry_post** +> object v1_extranet_b2b_customers_id_retry_post(authorization, id, body) + +Retry extranet service customer invite + +### 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 | + body = None # object | + + try: + api_response = api_instance.v1_extranet_b2b_customers_id_retry_post(authorization, id, body) + print("The response of DefaultApi->v1_extranet_b2b_customers_id_retry_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_customers_id_retry_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | + **body** | **object**| | + +### 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_extranet_b2b_customers_post** +> V1ExtranetB2bCustomersPostResponse v1_extranet_b2b_customers_post(authorization, v1_extranet_b2b_customers_post_request) + +Create an extranet service customer (partner directory entry) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_customers_post_request import V1ExtranetB2bCustomersPostRequest +from graphiant_sdk.models.v1_extranet_b2b_customers_post_response import V1ExtranetB2bCustomersPostResponse +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_extranet_b2b_customers_post_request = graphiant_sdk.V1ExtranetB2bCustomersPostRequest() # V1ExtranetB2bCustomersPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_customers_post(authorization, v1_extranet_b2b_customers_post_request) + print("The response of DefaultApi->v1_extranet_b2b_customers_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_customers_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_customers_post_request** | [**V1ExtranetB2bCustomersPostRequest**](V1ExtranetB2bCustomersPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bCustomersPostResponse**](V1ExtranetB2bCustomersPostResponse.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_extranet_b2b_customers_summary_get** +> V1ExtranetB2bCustomersSummaryGetResponse v1_extranet_b2b_customers_summary_get(authorization) + +List extranet service customers for the enterprise + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_customers_summary_get_response import V1ExtranetB2bCustomersSummaryGetResponse +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_extranet_b2b_customers_summary_get(authorization) + print("The response of DefaultApi->v1_extranet_b2b_customers_summary_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_customers_summary_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + +### Return type + +[**V1ExtranetB2bCustomersSummaryGetResponse**](V1ExtranetB2bCustomersSummaryGetResponse.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_extranet_b2b_matches_customers_post** +> V1ExtranetB2bMatchesCustomersPostResponse v1_extranet_b2b_matches_customers_post(authorization, v1_extranet_b2b_matches_customers_post_request) + +Bulk subscribe customers to an extranet service + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_request import V1ExtranetB2bMatchesCustomersPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_response import V1ExtranetB2bMatchesCustomersPostResponse +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_extranet_b2b_matches_customers_post_request = graphiant_sdk.V1ExtranetB2bMatchesCustomersPostRequest() # V1ExtranetB2bMatchesCustomersPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_matches_customers_post(authorization, v1_extranet_b2b_matches_customers_post_request) + print("The response of DefaultApi->v1_extranet_b2b_matches_customers_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_customers_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_matches_customers_post_request** | [**V1ExtranetB2bMatchesCustomersPostRequest**](V1ExtranetB2bMatchesCustomersPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMatchesCustomersPostResponse**](V1ExtranetB2bMatchesCustomersPostResponse.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_extranet_b2b_matches_match_id_consumer_check_post** +> V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse v1_extranet_b2b_matches_match_id_consumer_check_post(authorization, match_id, v1_extranet_b2b_matches_match_id_consumer_check_post_request) + +Check extranet service consumer configuration + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_request import V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_response import V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse +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 + match_id = 1234567891011 # int | Match id (URL path :matchId) + v1_extranet_b2b_matches_match_id_consumer_check_post_request = graphiant_sdk.V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest() # V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_matches_match_id_consumer_check_post(authorization, match_id, v1_extranet_b2b_matches_match_id_consumer_check_post_request) + print("The response of DefaultApi->v1_extranet_b2b_matches_match_id_consumer_check_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_match_id_consumer_check_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **match_id** | **int**| Match id (URL path :matchId) | + **v1_extranet_b2b_matches_match_id_consumer_check_post_request** | [**V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest**](V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse**](V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse.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_extranet_b2b_matches_match_id_consumer_post** +> V1ExtranetB2bMatchesMatchIdConsumerPostResponse v1_extranet_b2b_matches_match_id_consumer_post(authorization, match_id, v1_extranet_b2b_matches_match_id_consumer_post_request) + +Consumer accepts an extranet service match + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_request import V1ExtranetB2bMatchesMatchIdConsumerPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_response import V1ExtranetB2bMatchesMatchIdConsumerPostResponse +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 + match_id = 1234567891011 # int | Match id (URL path :matchId) + v1_extranet_b2b_matches_match_id_consumer_post_request = graphiant_sdk.V1ExtranetB2bMatchesMatchIdConsumerPostRequest() # V1ExtranetB2bMatchesMatchIdConsumerPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_matches_match_id_consumer_post(authorization, match_id, v1_extranet_b2b_matches_match_id_consumer_post_request) + print("The response of DefaultApi->v1_extranet_b2b_matches_match_id_consumer_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_match_id_consumer_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **match_id** | **int**| Match id (URL path :matchId) | + **v1_extranet_b2b_matches_match_id_consumer_post_request** | [**V1ExtranetB2bMatchesMatchIdConsumerPostRequest**](V1ExtranetB2bMatchesMatchIdConsumerPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMatchesMatchIdConsumerPostResponse**](V1ExtranetB2bMatchesMatchIdConsumerPostResponse.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_extranet_b2b_matches_match_id_delete** +> V1ExtranetB2bMatchesMatchIdDeleteResponse v1_extranet_b2b_matches_match_id_delete(authorization, match_id) + +Delete an extranet service match + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_delete_response import V1ExtranetB2bMatchesMatchIdDeleteResponse +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 + match_id = 1234567891011 # int | Match id (URL path :matchId) + + try: + api_response = api_instance.v1_extranet_b2b_matches_match_id_delete(authorization, match_id) + print("The response of DefaultApi->v1_extranet_b2b_matches_match_id_delete:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_match_id_delete: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **match_id** | **int**| Match id (URL path :matchId) | + +### Return type + +[**V1ExtranetB2bMatchesMatchIdDeleteResponse**](V1ExtranetB2bMatchesMatchIdDeleteResponse.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_extranet_b2b_matches_match_id_details_get** +> V1ExtranetB2bMatchesMatchIdDetailsGetResponse v1_extranet_b2b_matches_match_id_details_get(authorization, match_id) + +Get match details for consumer accept flow + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_details_get_response import V1ExtranetB2bMatchesMatchIdDetailsGetResponse +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 + match_id = 1234567891011 # int | + + try: + api_response = api_instance.v1_extranet_b2b_matches_match_id_details_get(authorization, match_id) + print("The response of DefaultApi->v1_extranet_b2b_matches_match_id_details_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_match_id_details_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **match_id** | **int**| | + +### Return type + +[**V1ExtranetB2bMatchesMatchIdDetailsGetResponse**](V1ExtranetB2bMatchesMatchIdDetailsGetResponse.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_extranet_b2b_matches_match_id_get** +> V1ExtranetB2bMatchesMatchIdGetResponse v1_extranet_b2b_matches_match_id_get(authorization, match_id) + +Get extranet service match details + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_get_response import V1ExtranetB2bMatchesMatchIdGetResponse +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 + match_id = 1234567891011 # int | Match id (URL path :matchId) + + try: + api_response = api_instance.v1_extranet_b2b_matches_match_id_get(authorization, match_id) + print("The response of DefaultApi->v1_extranet_b2b_matches_match_id_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_match_id_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **match_id** | **int**| Match id (URL path :matchId) | + +### Return type + +[**V1ExtranetB2bMatchesMatchIdGetResponse**](V1ExtranetB2bMatchesMatchIdGetResponse.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_extranet_b2b_matches_match_id_put** +> V1ExtranetB2bMatchesMatchIdPutResponse v1_extranet_b2b_matches_match_id_put(authorization, match_id, v1_extranet_b2b_matches_match_id_put_request) + +Update extranet service match + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_request import V1ExtranetB2bMatchesMatchIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_response import V1ExtranetB2bMatchesMatchIdPutResponse +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 + match_id = 1234567891011 # int | Match id (URL path :matchId) + v1_extranet_b2b_matches_match_id_put_request = graphiant_sdk.V1ExtranetB2bMatchesMatchIdPutRequest() # V1ExtranetB2bMatchesMatchIdPutRequest | + + try: + api_response = api_instance.v1_extranet_b2b_matches_match_id_put(authorization, match_id, v1_extranet_b2b_matches_match_id_put_request) + print("The response of DefaultApi->v1_extranet_b2b_matches_match_id_put:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_match_id_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **match_id** | **int**| Match id (URL path :matchId) | + **v1_extranet_b2b_matches_match_id_put_request** | [**V1ExtranetB2bMatchesMatchIdPutRequest**](V1ExtranetB2bMatchesMatchIdPutRequest.md)| | + +### Return type + +[**V1ExtranetB2bMatchesMatchIdPutResponse**](V1ExtranetB2bMatchesMatchIdPutResponse.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_extranet_b2b_matches_match_id_status_put** +> V1ExtranetB2bMatchesMatchIdStatusPutResponse v1_extranet_b2b_matches_match_id_status_put(authorization, match_id, v1_extranet_b2b_matches_match_id_status_put_request) + +Pause or resume an extranet service match + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_request import V1ExtranetB2bMatchesMatchIdStatusPutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_response import V1ExtranetB2bMatchesMatchIdStatusPutResponse +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 + match_id = 1234567891011 # int | + v1_extranet_b2b_matches_match_id_status_put_request = graphiant_sdk.V1ExtranetB2bMatchesMatchIdStatusPutRequest() # V1ExtranetB2bMatchesMatchIdStatusPutRequest | + + try: + api_response = api_instance.v1_extranet_b2b_matches_match_id_status_put(authorization, match_id, v1_extranet_b2b_matches_match_id_status_put_request) + print("The response of DefaultApi->v1_extranet_b2b_matches_match_id_status_put:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_match_id_status_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **match_id** | **int**| | + **v1_extranet_b2b_matches_match_id_status_put_request** | [**V1ExtranetB2bMatchesMatchIdStatusPutRequest**](V1ExtranetB2bMatchesMatchIdStatusPutRequest.md)| | + +### Return type + +[**V1ExtranetB2bMatchesMatchIdStatusPutResponse**](V1ExtranetB2bMatchesMatchIdStatusPutResponse.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_extranet_b2b_matches_pause_put** +> V1ExtranetB2bMatchesPausePutResponse v1_extranet_b2b_matches_pause_put(authorization, v1_extranet_b2b_matches_pause_put_request) + +Pause extranet service matches via customer summary + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_request import V1ExtranetB2bMatchesPausePutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_response import V1ExtranetB2bMatchesPausePutResponse +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_extranet_b2b_matches_pause_put_request = graphiant_sdk.V1ExtranetB2bMatchesPausePutRequest() # V1ExtranetB2bMatchesPausePutRequest | + + try: + api_response = api_instance.v1_extranet_b2b_matches_pause_put(authorization, v1_extranet_b2b_matches_pause_put_request) + print("The response of DefaultApi->v1_extranet_b2b_matches_pause_put:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_pause_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_matches_pause_put_request** | [**V1ExtranetB2bMatchesPausePutRequest**](V1ExtranetB2bMatchesPausePutRequest.md)| | + +### Return type + +[**V1ExtranetB2bMatchesPausePutResponse**](V1ExtranetB2bMatchesPausePutResponse.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_extranet_b2b_matches_post** +> V1ExtranetB2bMatchesPostResponse v1_extranet_b2b_matches_post(authorization, v1_extranet_b2b_matches_post_request) + +Match an extranet service to a customer + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_post_request import V1ExtranetB2bMatchesPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_post_response import V1ExtranetB2bMatchesPostResponse +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_extranet_b2b_matches_post_request = graphiant_sdk.V1ExtranetB2bMatchesPostRequest() # V1ExtranetB2bMatchesPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_matches_post(authorization, v1_extranet_b2b_matches_post_request) + print("The response of DefaultApi->v1_extranet_b2b_matches_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_matches_post_request** | [**V1ExtranetB2bMatchesPostRequest**](V1ExtranetB2bMatchesPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMatchesPostResponse**](V1ExtranetB2bMatchesPostResponse.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_extranet_b2b_matches_review_post** +> V1ExtranetB2bMatchesReviewPostResponse v1_extranet_b2b_matches_review_post(authorization, v1_extranet_b2b_matches_review_post_request) + +Review extranet service match + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_request import V1ExtranetB2bMatchesReviewPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_response import V1ExtranetB2bMatchesReviewPostResponse +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_extranet_b2b_matches_review_post_request = graphiant_sdk.V1ExtranetB2bMatchesReviewPostRequest() # V1ExtranetB2bMatchesReviewPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_matches_review_post(authorization, v1_extranet_b2b_matches_review_post_request) + print("The response of DefaultApi->v1_extranet_b2b_matches_review_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_matches_review_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_matches_review_post_request** | [**V1ExtranetB2bMatchesReviewPostRequest**](V1ExtranetB2bMatchesReviewPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMatchesReviewPostResponse**](V1ExtranetB2bMatchesReviewPostResponse.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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post** > V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post(authorization, v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request) -Get b2b extranet peering service sites usage stats +Get b2b extranet peering service sites usage stats + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_response import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse +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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest() # V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post(authorization, v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request) + print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest**](V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse**](V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse.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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post** +> V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post(authorization, v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request) + +Get b2b extranet peering service top consumers usage stats + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_response import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse +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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest() # V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post(authorization, v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request) + print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest**](V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse**](V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse.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_extranet_b2b_monitoring_peering_service_consumption_overview_post** +> V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse v1_extranet_b2b_monitoring_peering_service_consumption_overview_post(authorization, v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request) + +Get b2b extranet peering consumption overview + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request import V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_response import V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse +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_extranet_b2b_monitoring_peering_service_consumption_overview_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest() # V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_consumption_overview_post(authorization, v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request) + print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_consumption_overview_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_consumption_overview_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest**](V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse**](V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse.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_extranet_b2b_monitoring_peering_service_service_customer_list_post** +> V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse v1_extranet_b2b_monitoring_peering_service_service_customer_list_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request) + +Get b2b extranet peering service customer list within a time window + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request import V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse +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_extranet_b2b_monitoring_peering_service_service_customer_list_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest() # V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_service_customer_list_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request) + print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_customer_list_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_customer_list_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest**](V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse**](V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse.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_extranet_b2b_monitoring_peering_service_service_health_post** +> V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse v1_extranet_b2b_monitoring_peering_service_service_health_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_health_post_request) + +Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_health_post_request import V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest +from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_health_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse +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_extranet_b2b_monitoring_peering_service_service_health_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest() # V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_service_health_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_health_post_request) + print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_health_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_health_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_monitoring_peering_service_service_health_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest**](V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse**](V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse.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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post** +> V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request) + +Get b2b extranet peering service overtime consumption + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +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.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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest() # V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest | + + try: + api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request) + print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest**](V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest.md)| | + +### Return type + +[**V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse**](V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse.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_extranet_b2b_producer_id_customers_get** +> V1ExtranetB2bProducerIdCustomersGetResponse v1_extranet_b2b_producer_id_customers_get(authorization, id) + +List customers matched to an extranet producer service + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_producer_id_customers_get_response import V1ExtranetB2bProducerIdCustomersGetResponse +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 | Producer service id + + try: + api_response = api_instance.v1_extranet_b2b_producer_id_customers_get(authorization, id) + print("The response of DefaultApi->v1_extranet_b2b_producer_id_customers_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_producer_id_customers_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| Producer service id | + +### Return type + +[**V1ExtranetB2bProducerIdCustomersGetResponse**](V1ExtranetB2bProducerIdCustomersGetResponse.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_extranet_b2b_producer_id_delete** +> object v1_extranet_b2b_producer_id_delete(authorization, id) + +Delete an inter-enterprise extranet service ### Example @@ -14454,8 +16858,6 @@ Get b2b extranet peering service sites usage stats ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_response import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -14481,14 +16883,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_b2b_monitoring_peering_service_bandwidth_usage_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest() # V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest | + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post(authorization, v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request) - print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post:\n") + api_response = api_instance.v1_extranet_b2b_producer_id_delete(authorization, id) + print("The response of DefaultApi->v1_extranet_b2b_producer_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranet_b2b_producer_id_delete: %s\n" % e) ``` @@ -14499,11 +16901,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest**](V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest.md)| | + **id** | **int**| | ### Return type -[**V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse**](V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse.md) +**object** ### Authorization @@ -14511,7 +16913,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -14522,10 +16924,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_b2b_monitoring_peering_service_consumers_usage_top_post** -> V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post(authorization, v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request) +# **v1_extranet_b2b_producer_id_device_status_get** +> V1ExtranetB2bProducerIdDeviceStatusGetResponse v1_extranet_b2b_producer_id_device_status_get(authorization, id) -Get b2b extranet peering service top consumers usage stats +Get extranet producer device rollout status ### Example @@ -14533,8 +16935,7 @@ Get b2b extranet peering service top consumers usage stats ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_response import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_device_status_get_response import V1ExtranetB2bProducerIdDeviceStatusGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -14560,14 +16961,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_b2b_monitoring_peering_service_consumers_usage_top_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest() # V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest | + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post(authorization, v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request) - print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post:\n") + api_response = api_instance.v1_extranet_b2b_producer_id_device_status_get(authorization, id) + print("The response of DefaultApi->v1_extranet_b2b_producer_id_device_status_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranet_b2b_producer_id_device_status_get: %s\n" % e) ``` @@ -14578,11 +16979,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest**](V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest.md)| | + **id** | **int**| | ### Return type -[**V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse**](V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse.md) +[**V1ExtranetB2bProducerIdDeviceStatusGetResponse**](V1ExtranetB2bProducerIdDeviceStatusGetResponse.md) ### Authorization @@ -14590,7 +16991,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -14601,10 +17002,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_b2b_monitoring_peering_service_consumption_overview_post** -> V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse v1_extranet_b2b_monitoring_peering_service_consumption_overview_post(authorization, v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request) +# **v1_extranet_b2b_producer_id_get** +> V1ExtranetB2bProducerIdGetResponse v1_extranet_b2b_producer_id_get(authorization, id) -Get b2b extranet peering consumption overview +Get an inter-enterprise extranet service ### Example @@ -14612,8 +17013,7 @@ Get b2b extranet peering consumption overview ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request import V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_response import V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_get_response import V1ExtranetB2bProducerIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -14639,14 +17039,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_b2b_monitoring_peering_service_consumption_overview_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest() # V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest | + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_consumption_overview_post(authorization, v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request) - print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_consumption_overview_post:\n") + api_response = api_instance.v1_extranet_b2b_producer_id_get(authorization, id) + print("The response of DefaultApi->v1_extranet_b2b_producer_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_consumption_overview_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranet_b2b_producer_id_get: %s\n" % e) ``` @@ -14657,11 +17057,92 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest**](V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest.md)| | + **id** | **int**| | ### Return type -[**V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse**](V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse.md) +[**V1ExtranetB2bProducerIdGetResponse**](V1ExtranetB2bProducerIdGetResponse.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_extranet_b2b_producer_id_put** +> V1ExtranetB2bProducerIdPutResponse v1_extranet_b2b_producer_id_put(authorization, id, v1_extranet_b2b_producer_id_put_request) + +Update an inter-enterprise extranet service + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_request import V1ExtranetB2bProducerIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_response import V1ExtranetB2bProducerIdPutResponse +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_extranet_b2b_producer_id_put_request = graphiant_sdk.V1ExtranetB2bProducerIdPutRequest() # V1ExtranetB2bProducerIdPutRequest | + + try: + api_response = api_instance.v1_extranet_b2b_producer_id_put(authorization, id, v1_extranet_b2b_producer_id_put_request) + print("The response of DefaultApi->v1_extranet_b2b_producer_id_put:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_producer_id_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | + **v1_extranet_b2b_producer_id_put_request** | [**V1ExtranetB2bProducerIdPutRequest**](V1ExtranetB2bProducerIdPutRequest.md)| | + +### Return type + +[**V1ExtranetB2bProducerIdPutResponse**](V1ExtranetB2bProducerIdPutResponse.md) ### Authorization @@ -14680,10 +17161,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_b2b_monitoring_peering_service_service_customer_list_post** -> V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse v1_extranet_b2b_monitoring_peering_service_service_customer_list_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request) +# **v1_extranet_b2b_producer_id_status_put** +> V1ExtranetB2bProducerIdStatusPutResponse v1_extranet_b2b_producer_id_status_put(authorization, id, v1_extranet_b2b_producer_id_status_put_request) -Get b2b extranet peering service customer list within a time window +Pause or resume an inter-enterprise extranet service ### Example @@ -14691,8 +17172,8 @@ Get b2b extranet peering service customer list within a time window ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request import V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_request import V1ExtranetB2bProducerIdStatusPutRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_response import V1ExtranetB2bProducerIdStatusPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -14718,14 +17199,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_extranet_b2b_monitoring_peering_service_service_customer_list_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest() # V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest | + id = 1234567891011 # int | + v1_extranet_b2b_producer_id_status_put_request = graphiant_sdk.V1ExtranetB2bProducerIdStatusPutRequest() # V1ExtranetB2bProducerIdStatusPutRequest | try: - api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_service_customer_list_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request) - print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_customer_list_post:\n") + api_response = api_instance.v1_extranet_b2b_producer_id_status_put(authorization, id, v1_extranet_b2b_producer_id_status_put_request) + print("The response of DefaultApi->v1_extranet_b2b_producer_id_status_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_customer_list_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranet_b2b_producer_id_status_put: %s\n" % e) ``` @@ -14736,11 +17218,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest**](V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest.md)| | + **id** | **int**| | + **v1_extranet_b2b_producer_id_status_put_request** | [**V1ExtranetB2bProducerIdStatusPutRequest**](V1ExtranetB2bProducerIdStatusPutRequest.md)| | ### Return type -[**V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse**](V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse.md) +[**V1ExtranetB2bProducerIdStatusPutResponse**](V1ExtranetB2bProducerIdStatusPutResponse.md) ### Authorization @@ -14759,10 +17242,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_b2b_monitoring_peering_service_service_health_post** -> V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse v1_extranet_b2b_monitoring_peering_service_service_health_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_health_post_request) +# **v1_extranet_b2b_producer_post** +> V1ExtranetB2bProducerPostResponse v1_extranet_b2b_producer_post(authorization, v1_extranet_b2b_producer_post_request) -Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. +Create an inter-enterprise extranet service (peering, client-to-server, …) ### Example @@ -14770,8 +17253,8 @@ Returns connectivity status for a b2b peering service. Provides overall service ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_health_post_request import V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest -from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_health_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_post_request import V1ExtranetB2bProducerPostRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_post_response import V1ExtranetB2bProducerPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -14797,14 +17280,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_b2b_monitoring_peering_service_service_health_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest() # V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest | + v1_extranet_b2b_producer_post_request = graphiant_sdk.V1ExtranetB2bProducerPostRequest() # V1ExtranetB2bProducerPostRequest | try: - api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_service_health_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_health_post_request) - print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_health_post:\n") + api_response = api_instance.v1_extranet_b2b_producer_post(authorization, v1_extranet_b2b_producer_post_request) + print("The response of DefaultApi->v1_extranet_b2b_producer_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_health_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranet_b2b_producer_post: %s\n" % e) ``` @@ -14815,11 +17298,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranet_b2b_monitoring_peering_service_service_health_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest**](V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest.md)| | + **v1_extranet_b2b_producer_post_request** | [**V1ExtranetB2bProducerPostRequest**](V1ExtranetB2bProducerPostRequest.md)| | ### Return type -[**V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse**](V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse.md) +[**V1ExtranetB2bProducerPostResponse**](V1ExtranetB2bProducerPostResponse.md) ### Authorization @@ -14838,10 +17321,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_b2b_monitoring_peering_service_service_overtime_consumption_post** -> V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request) +# **v1_extranet_b2b_producer_review_post** +> V1ExtranetB2bProducerReviewPostResponse v1_extranet_b2b_producer_review_post(authorization, v1_extranet_b2b_producer_review_post_request) -Get b2b extranet peering service overtime consumption +Review inter-enterprise extranet service configuration ### Example @@ -14849,8 +17332,8 @@ Get b2b extranet peering service overtime consumption ```python import graphiant_sdk -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_b2b_producer_review_post_request import V1ExtranetB2bProducerReviewPostRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_response import V1ExtranetB2bProducerReviewPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -14876,14 +17359,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_b2b_monitoring_peering_service_service_overtime_consumption_post_request = graphiant_sdk.V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest() # V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest | + v1_extranet_b2b_producer_review_post_request = graphiant_sdk.V1ExtranetB2bProducerReviewPostRequest() # V1ExtranetB2bProducerReviewPostRequest | try: - api_response = api_instance.v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request) - print("The response of DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post:\n") + api_response = api_instance.v1_extranet_b2b_producer_review_post(authorization, v1_extranet_b2b_producer_review_post_request) + print("The response of DefaultApi->v1_extranet_b2b_producer_review_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranet_b2b_producer_review_post: %s\n" % e) ``` @@ -14894,11 +17377,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request** | [**V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest**](V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest.md)| | + **v1_extranet_b2b_producer_review_post_request** | [**V1ExtranetB2bProducerReviewPostRequest**](V1ExtranetB2bProducerReviewPostRequest.md)| | ### Return type -[**V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse**](V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse.md) +[**V1ExtranetB2bProducerReviewPostResponse**](V1ExtranetB2bProducerReviewPostResponse.md) ### Authorization @@ -14917,6 +17400,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_extranet_b2b_services_summary_get** +> V1ExtranetB2bServicesSummaryGetResponse v1_extranet_b2b_services_summary_get(authorization) + +List inter-enterprise extranet services + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranet_b2b_services_summary_get_response import V1ExtranetB2bServicesSummaryGetResponse +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_extranet_b2b_services_summary_get(authorization) + print("The response of DefaultApi->v1_extranet_b2b_services_summary_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranet_b2b_services_summary_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + +### Return type + +[**V1ExtranetB2bServicesSummaryGetResponse**](V1ExtranetB2bServicesSummaryGetResponse.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_extranet_sites_usage_top_post** > V1ExtranetSitesUsageTopPostResponse v1_extranet_sites_usage_top_post(authorization, v1_extranet_sites_usage_top_post_request) @@ -21777,7 +24336,7 @@ 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) +> V1GlobalLanSegmentsGetResponse v1_global_lan_segments_get(authorization, filter_extranet_producers=filter_extranet_producers) Get a list of lan-segments under the currently logged in enterprise @@ -21813,9 +24372,10 @@ 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 + filter_extranet_producers = true # bool | (optional) try: - api_response = api_instance.v1_global_lan_segments_get(authorization) + api_response = api_instance.v1_global_lan_segments_get(authorization, filter_extranet_producers=filter_extranet_producers) print("The response of DefaultApi->v1_global_lan_segments_get:\n") pprint(api_response) except Exception as e: @@ -21830,6 +24390,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **filter_extranet_producers** | **bool**| | [optional] ### Return type diff --git a/docs/ManaV2B2BExtranetMatchConsumerDetailsCustomer.md b/docs/ManaV2B2BExtranetMatchConsumerDetailsCustomer.md new file mode 100644 index 00000000..08b31098 --- /dev/null +++ b/docs/ManaV2B2BExtranetMatchConsumerDetailsCustomer.md @@ -0,0 +1,32 @@ +# ManaV2B2BExtranetMatchConsumerDetailsCustomer + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**admin_emails** | **List[str]** | | [optional] +**company_name** | **str** | | [optional] +**id** | **int** | | [optional] +**num_sites** | **int** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_customer import ManaV2B2BExtranetMatchConsumerDetailsCustomer + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2B2BExtranetMatchConsumerDetailsCustomer from a JSON string +mana_v2_b2_b_extranet_match_consumer_details_customer_instance = ManaV2B2BExtranetMatchConsumerDetailsCustomer.from_json(json) +# print the JSON string representation of the object +print(ManaV2B2BExtranetMatchConsumerDetailsCustomer.to_json()) + +# convert the object into a dict +mana_v2_b2_b_extranet_match_consumer_details_customer_dict = mana_v2_b2_b_extranet_match_consumer_details_customer_instance.to_dict() +# create an instance of ManaV2B2BExtranetMatchConsumerDetailsCustomer from a dict +mana_v2_b2_b_extranet_match_consumer_details_customer_from_dict = ManaV2B2BExtranetMatchConsumerDetailsCustomer.from_dict(mana_v2_b2_b_extranet_match_consumer_details_customer_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/ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.md b/docs/ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.md new file mode 100644 index 00000000..8bb54919 --- /dev/null +++ b/docs/ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.md @@ -0,0 +1,31 @@ +# ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_translated_prefix** | **str** | | [optional] +**prefix** | **str** | | [optional] +**tag** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix import ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix from a JSON string +mana_v2_b2_b_extranet_match_consumer_details_producer_prefix_instance = ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.from_json(json) +# print the JSON string representation of the object +print(ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.to_json()) + +# convert the object into a dict +mana_v2_b2_b_extranet_match_consumer_details_producer_prefix_dict = mana_v2_b2_b_extranet_match_consumer_details_producer_prefix_instance.to_dict() +# create an instance of ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix from a dict +mana_v2_b2_b_extranet_match_consumer_details_producer_prefix_from_dict = ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.from_dict(mana_v2_b2_b_extranet_match_consumer_details_producer_prefix_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/ManaV2B2BExtranetMatchConsumerDetailsService.md b/docs/ManaV2B2BExtranetMatchConsumerDetailsService.md new file mode 100644 index 00000000..d6fbde61 --- /dev/null +++ b/docs/ManaV2B2BExtranetMatchConsumerDetailsService.md @@ -0,0 +1,33 @@ +# ManaV2B2BExtranetMatchConsumerDetailsService + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**company_name** | **str** | | [optional] +**contact_email** | **List[str]** | | [optional] +**description** | **str** | | [optional] +**id** | **int** | | [optional] +**service_name** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_service import ManaV2B2BExtranetMatchConsumerDetailsService + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2B2BExtranetMatchConsumerDetailsService from a JSON string +mana_v2_b2_b_extranet_match_consumer_details_service_instance = ManaV2B2BExtranetMatchConsumerDetailsService.from_json(json) +# print the JSON string representation of the object +print(ManaV2B2BExtranetMatchConsumerDetailsService.to_json()) + +# convert the object into a dict +mana_v2_b2_b_extranet_match_consumer_details_service_dict = mana_v2_b2_b_extranet_match_consumer_details_service_instance.to_dict() +# create an instance of ManaV2B2BExtranetMatchConsumerDetailsService from a dict +mana_v2_b2_b_extranet_match_consumer_details_service_from_dict = ManaV2B2BExtranetMatchConsumerDetailsService.from_dict(mana_v2_b2_b_extranet_match_consumer_details_service_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/ManaV2B2bExtranetMatch.md b/docs/ManaV2B2bExtranetMatch.md new file mode 100644 index 00000000..c523eecb --- /dev/null +++ b/docs/ManaV2B2bExtranetMatch.md @@ -0,0 +1,34 @@ +# ManaV2B2bExtranetMatch + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_prefixes** | **List[str]** | | [optional] +**lan_segment** | **int** | | [optional] +**nat_translation_mode** | [**ManaV2ExtranetNatTranslationMode**](ManaV2ExtranetNatTranslationMode.md) | | [optional] +**num_customers** | **int** | Number of customers subscribed to the service | [optional] +**service_id** | **int** | Producer service id | [optional] +**service_prefixes** | [**List[ManaV2B2bExtranetPrefixTag]**](ManaV2B2bExtranetPrefixTag.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_b2b_extranet_match import ManaV2B2bExtranetMatch + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2B2bExtranetMatch from a JSON string +mana_v2_b2b_extranet_match_instance = ManaV2B2bExtranetMatch.from_json(json) +# print the JSON string representation of the object +print(ManaV2B2bExtranetMatch.to_json()) + +# convert the object into a dict +mana_v2_b2b_extranet_match_dict = mana_v2_b2b_extranet_match_instance.to_dict() +# create an instance of ManaV2B2bExtranetMatch from a dict +mana_v2_b2b_extranet_match_from_dict = ManaV2B2bExtranetMatch.from_dict(mana_v2_b2b_extranet_match_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/ManaV2B2bExtranetMatchConsumerDetails.md b/docs/ManaV2B2bExtranetMatchConsumerDetails.md new file mode 100644 index 00000000..2e408f8f --- /dev/null +++ b/docs/ManaV2B2bExtranetMatchConsumerDetails.md @@ -0,0 +1,35 @@ +# ManaV2B2bExtranetMatchConsumerDetails + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_id** | **int** | | [optional] +**consumer_prefixes** | **List[str]** | | [optional] +**customer** | [**ManaV2B2BExtranetMatchConsumerDetailsCustomer**](ManaV2B2BExtranetMatchConsumerDetailsCustomer.md) | | [optional] +**old_consumer_prefixes** | **List[str]** | | [optional] +**old_service_prefixes** | [**List[ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix]**](ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.md) | | [optional] +**service** | [**ManaV2B2BExtranetMatchConsumerDetailsService**](ManaV2B2BExtranetMatchConsumerDetailsService.md) | | [optional] +**service_prefixes** | [**List[ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix]**](ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_b2b_extranet_match_consumer_details import ManaV2B2bExtranetMatchConsumerDetails + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2B2bExtranetMatchConsumerDetails from a JSON string +mana_v2_b2b_extranet_match_consumer_details_instance = ManaV2B2bExtranetMatchConsumerDetails.from_json(json) +# print the JSON string representation of the object +print(ManaV2B2bExtranetMatchConsumerDetails.to_json()) + +# convert the object into a dict +mana_v2_b2b_extranet_match_consumer_details_dict = mana_v2_b2b_extranet_match_consumer_details_instance.to_dict() +# create an instance of ManaV2B2bExtranetMatchConsumerDetails from a dict +mana_v2_b2b_extranet_match_consumer_details_from_dict = ManaV2B2bExtranetMatchConsumerDetails.from_dict(mana_v2_b2b_extranet_match_consumer_details_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/ManaV2ExtranetConsumerLanPrefixes.md b/docs/ManaV2ExtranetConsumerLanPrefixes.md new file mode 100644 index 00000000..c8614bfe --- /dev/null +++ b/docs/ManaV2ExtranetConsumerLanPrefixes.md @@ -0,0 +1,30 @@ +# ManaV2ExtranetConsumerLanPrefixes + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_prefixes** | **List[str]** | | [optional] +**service_prefix_dnat** | **Dict[str, str]** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes import ManaV2ExtranetConsumerLanPrefixes + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetConsumerLanPrefixes from a JSON string +mana_v2_extranet_consumer_lan_prefixes_instance = ManaV2ExtranetConsumerLanPrefixes.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetConsumerLanPrefixes.to_json()) + +# convert the object into a dict +mana_v2_extranet_consumer_lan_prefixes_dict = mana_v2_extranet_consumer_lan_prefixes_instance.to_dict() +# create an instance of ManaV2ExtranetConsumerLanPrefixes from a dict +mana_v2_extranet_consumer_lan_prefixes_from_dict = ManaV2ExtranetConsumerLanPrefixes.from_dict(mana_v2_extranet_consumer_lan_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/ManaV2ExtranetNatTranslationCentralized.md b/docs/ManaV2ExtranetNatTranslationCentralized.md new file mode 100644 index 00000000..70181a0f --- /dev/null +++ b/docs/ManaV2ExtranetNatTranslationCentralized.md @@ -0,0 +1,29 @@ +# ManaV2ExtranetNatTranslationCentralized + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prefixes** | [**Dict[str, ManaV2ExtranetNatTranslationDevicePrefixes]**](ManaV2ExtranetNatTranslationDevicePrefixes.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized import ManaV2ExtranetNatTranslationCentralized + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetNatTranslationCentralized from a JSON string +mana_v2_extranet_nat_translation_centralized_instance = ManaV2ExtranetNatTranslationCentralized.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetNatTranslationCentralized.to_json()) + +# convert the object into a dict +mana_v2_extranet_nat_translation_centralized_dict = mana_v2_extranet_nat_translation_centralized_instance.to_dict() +# create an instance of ManaV2ExtranetNatTranslationCentralized from a dict +mana_v2_extranet_nat_translation_centralized_from_dict = ManaV2ExtranetNatTranslationCentralized.from_dict(mana_v2_extranet_nat_translation_centralized_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/ManaV2ExtranetNatTranslationDecentralized.md b/docs/ManaV2ExtranetNatTranslationDecentralized.md new file mode 100644 index 00000000..fb974ac0 --- /dev/null +++ b/docs/ManaV2ExtranetNatTranslationDecentralized.md @@ -0,0 +1,29 @@ +# ManaV2ExtranetNatTranslationDecentralized + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prefixes** | [**Dict[str, ManaV2ExtranetNatTranslationDevicePrefixes]**](ManaV2ExtranetNatTranslationDevicePrefixes.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized import ManaV2ExtranetNatTranslationDecentralized + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetNatTranslationDecentralized from a JSON string +mana_v2_extranet_nat_translation_decentralized_instance = ManaV2ExtranetNatTranslationDecentralized.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetNatTranslationDecentralized.to_json()) + +# convert the object into a dict +mana_v2_extranet_nat_translation_decentralized_dict = mana_v2_extranet_nat_translation_decentralized_instance.to_dict() +# create an instance of ManaV2ExtranetNatTranslationDecentralized from a dict +mana_v2_extranet_nat_translation_decentralized_from_dict = ManaV2ExtranetNatTranslationDecentralized.from_dict(mana_v2_extranet_nat_translation_decentralized_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/ManaV2ExtranetNatTranslationDevicePrefixes.md b/docs/ManaV2ExtranetNatTranslationDevicePrefixes.md new file mode 100644 index 00000000..9e5cd0b7 --- /dev/null +++ b/docs/ManaV2ExtranetNatTranslationDevicePrefixes.md @@ -0,0 +1,29 @@ +# ManaV2ExtranetNatTranslationDevicePrefixes + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prefixes** | **List[str]** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes import ManaV2ExtranetNatTranslationDevicePrefixes + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetNatTranslationDevicePrefixes from a JSON string +mana_v2_extranet_nat_translation_device_prefixes_instance = ManaV2ExtranetNatTranslationDevicePrefixes.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetNatTranslationDevicePrefixes.to_json()) + +# convert the object into a dict +mana_v2_extranet_nat_translation_device_prefixes_dict = mana_v2_extranet_nat_translation_device_prefixes_instance.to_dict() +# create an instance of ManaV2ExtranetNatTranslationDevicePrefixes from a dict +mana_v2_extranet_nat_translation_device_prefixes_from_dict = ManaV2ExtranetNatTranslationDevicePrefixes.from_dict(mana_v2_extranet_nat_translation_device_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/ManaV2ExtranetNatTranslationMode.md b/docs/ManaV2ExtranetNatTranslationMode.md new file mode 100644 index 00000000..98c5c9a9 --- /dev/null +++ b/docs/ManaV2ExtranetNatTranslationMode.md @@ -0,0 +1,31 @@ +# ManaV2ExtranetNatTranslationMode + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**centralized** | [**ManaV2ExtranetNatTranslationCentralized**](ManaV2ExtranetNatTranslationCentralized.md) | | [optional] +**decentralized** | [**ManaV2ExtranetNatTranslationDecentralized**](ManaV2ExtranetNatTranslationDecentralized.md) | | [optional] +**peer_to_peer** | [**ManaV2ExtranetNatTranslationPeerToPeer**](ManaV2ExtranetNatTranslationPeerToPeer.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_nat_translation_mode import ManaV2ExtranetNatTranslationMode + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetNatTranslationMode from a JSON string +mana_v2_extranet_nat_translation_mode_instance = ManaV2ExtranetNatTranslationMode.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetNatTranslationMode.to_json()) + +# convert the object into a dict +mana_v2_extranet_nat_translation_mode_dict = mana_v2_extranet_nat_translation_mode_instance.to_dict() +# create an instance of ManaV2ExtranetNatTranslationMode from a dict +mana_v2_extranet_nat_translation_mode_from_dict = ManaV2ExtranetNatTranslationMode.from_dict(mana_v2_extranet_nat_translation_mode_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/ManaV2ExtranetNatTranslationPeerToPeer.md b/docs/ManaV2ExtranetNatTranslationPeerToPeer.md new file mode 100644 index 00000000..6c89f3d4 --- /dev/null +++ b/docs/ManaV2ExtranetNatTranslationPeerToPeer.md @@ -0,0 +1,29 @@ +# ManaV2ExtranetNatTranslationPeerToPeer + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prefixes** | [**List[ManaV2ExtranetNatTranslationPeerToPeerPrefix]**](ManaV2ExtranetNatTranslationPeerToPeerPrefix.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer import ManaV2ExtranetNatTranslationPeerToPeer + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetNatTranslationPeerToPeer from a JSON string +mana_v2_extranet_nat_translation_peer_to_peer_instance = ManaV2ExtranetNatTranslationPeerToPeer.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetNatTranslationPeerToPeer.to_json()) + +# convert the object into a dict +mana_v2_extranet_nat_translation_peer_to_peer_dict = mana_v2_extranet_nat_translation_peer_to_peer_instance.to_dict() +# create an instance of ManaV2ExtranetNatTranslationPeerToPeer from a dict +mana_v2_extranet_nat_translation_peer_to_peer_from_dict = ManaV2ExtranetNatTranslationPeerToPeer.from_dict(mana_v2_extranet_nat_translation_peer_to_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/ManaV2ExtranetNatTranslationPeerToPeerPrefix.md b/docs/ManaV2ExtranetNatTranslationPeerToPeerPrefix.md new file mode 100644 index 00000000..6bcc3dfe --- /dev/null +++ b/docs/ManaV2ExtranetNatTranslationPeerToPeerPrefix.md @@ -0,0 +1,30 @@ +# ManaV2ExtranetNatTranslationPeerToPeerPrefix + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**outside_nat_prefix** | **str** | Optional outside address presented for prefix on the far side of the attachment; omit for no NAT on that prefix | [optional] +**prefix** | **str** | At match: customer export prefix. At consumer accept/update (peering): subscribed service prefix | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer_prefix import ManaV2ExtranetNatTranslationPeerToPeerPrefix + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetNatTranslationPeerToPeerPrefix from a JSON string +mana_v2_extranet_nat_translation_peer_to_peer_prefix_instance = ManaV2ExtranetNatTranslationPeerToPeerPrefix.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetNatTranslationPeerToPeerPrefix.to_json()) + +# convert the object into a dict +mana_v2_extranet_nat_translation_peer_to_peer_prefix_dict = mana_v2_extranet_nat_translation_peer_to_peer_prefix_instance.to_dict() +# create an instance of ManaV2ExtranetNatTranslationPeerToPeerPrefix from a dict +mana_v2_extranet_nat_translation_peer_to_peer_prefix_from_dict = ManaV2ExtranetNatTranslationPeerToPeerPrefix.from_dict(mana_v2_extranet_nat_translation_peer_to_peer_prefix_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/ManaV2ExtranetServiceConsumerPolicy.md b/docs/ManaV2ExtranetServiceConsumerPolicy.md new file mode 100644 index 00000000..27d59ec5 --- /dev/null +++ b/docs/ManaV2ExtranetServiceConsumerPolicy.md @@ -0,0 +1,33 @@ +# ManaV2ExtranetServiceConsumerPolicy + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_lan_segments** | [**Dict[str, ManaV2ExtranetConsumerLanPrefixes]**](ManaV2ExtranetConsumerLanPrefixes.md) | | +**global_object_ops** | [**Dict[str, ManaV2GlobalObjectServiceOps]**](ManaV2GlobalObjectServiceOps.md) | | [optional] +**nat_translation_mode** | [**ManaV2ExtranetNatTranslationMode**](ManaV2ExtranetNatTranslationMode.md) | | [optional] +**site_to_site_vpn** | [**ManaV2GuestConsumerSiteToSiteVpnConfig**](ManaV2GuestConsumerSiteToSiteVpnConfig.md) | | [optional] +**sites** | [**List[ManaV2B2bSiteInformation]**](ManaV2B2bSiteInformation.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetServiceConsumerPolicy from a JSON string +mana_v2_extranet_service_consumer_policy_instance = ManaV2ExtranetServiceConsumerPolicy.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetServiceConsumerPolicy.to_json()) + +# convert the object into a dict +mana_v2_extranet_service_consumer_policy_dict = mana_v2_extranet_service_consumer_policy_instance.to_dict() +# create an instance of ManaV2ExtranetServiceConsumerPolicy from a dict +mana_v2_extranet_service_consumer_policy_from_dict = ManaV2ExtranetServiceConsumerPolicy.from_dict(mana_v2_extranet_service_consumer_policy_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/ManaV2ExtranetServiceCustomerInvite.md b/docs/ManaV2ExtranetServiceCustomerInvite.md new file mode 100644 index 00000000..54449c3a --- /dev/null +++ b/docs/ManaV2ExtranetServiceCustomerInvite.md @@ -0,0 +1,30 @@ +# ManaV2ExtranetServiceCustomerInvite + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**admin_emails** | **List[str]** | | [optional] +**maximum_number_of_sites** | **int** | Maximum number of consumer sites | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_service_customer_invite import ManaV2ExtranetServiceCustomerInvite + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetServiceCustomerInvite from a JSON string +mana_v2_extranet_service_customer_invite_instance = ManaV2ExtranetServiceCustomerInvite.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetServiceCustomerInvite.to_json()) + +# convert the object into a dict +mana_v2_extranet_service_customer_invite_dict = mana_v2_extranet_service_customer_invite_instance.to_dict() +# create an instance of ManaV2ExtranetServiceCustomerInvite from a dict +mana_v2_extranet_service_customer_invite_from_dict = ManaV2ExtranetServiceCustomerInvite.from_dict(mana_v2_extranet_service_customer_invite_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/ManaV2ExtranetServiceCustomerMatchSummary.md b/docs/ManaV2ExtranetServiceCustomerMatchSummary.md new file mode 100644 index 00000000..8b655c51 --- /dev/null +++ b/docs/ManaV2ExtranetServiceCustomerMatchSummary.md @@ -0,0 +1,35 @@ +# ManaV2ExtranetServiceCustomerMatchSummary + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**lan_segment** | **int** | | [optional] +**matched_customers** | **int** | | [optional] +**name** | **str** | | [optional] +**service_type** | **str** | | [optional] +**status** | **str** | | [optional] +**updated_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_service_customer_match_summary import ManaV2ExtranetServiceCustomerMatchSummary + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetServiceCustomerMatchSummary from a JSON string +mana_v2_extranet_service_customer_match_summary_instance = ManaV2ExtranetServiceCustomerMatchSummary.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetServiceCustomerMatchSummary.to_json()) + +# convert the object into a dict +mana_v2_extranet_service_customer_match_summary_dict = mana_v2_extranet_service_customer_match_summary_instance.to_dict() +# create an instance of ManaV2ExtranetServiceCustomerMatchSummary from a dict +mana_v2_extranet_service_customer_match_summary_from_dict = ManaV2ExtranetServiceCustomerMatchSummary.from_dict(mana_v2_extranet_service_customer_match_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/ManaV2ExtranetServiceCustomerSummary.md b/docs/ManaV2ExtranetServiceCustomerSummary.md new file mode 100644 index 00000000..22873a40 --- /dev/null +++ b/docs/ManaV2ExtranetServiceCustomerSummary.md @@ -0,0 +1,35 @@ +# ManaV2ExtranetServiceCustomerSummary + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**admin_emails** | **List[str]** | | [optional] +**id** | **int** | | [optional] +**matched_services** | **int** | | [optional] +**name** | **str** | | [optional] +**status** | **str** | | [optional] +**type** | **str** | | [optional] +**updated_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_service_customer_summary import ManaV2ExtranetServiceCustomerSummary + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetServiceCustomerSummary from a JSON string +mana_v2_extranet_service_customer_summary_instance = ManaV2ExtranetServiceCustomerSummary.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetServiceCustomerSummary.to_json()) + +# convert the object into a dict +mana_v2_extranet_service_customer_summary_dict = mana_v2_extranet_service_customer_summary_instance.to_dict() +# create an instance of ManaV2ExtranetServiceCustomerSummary from a dict +mana_v2_extranet_service_customer_summary_from_dict = ManaV2ExtranetServiceCustomerSummary.from_dict(mana_v2_extranet_service_customer_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/ManaV2ExtranetServicePolicyResponse.md b/docs/ManaV2ExtranetServicePolicyResponse.md new file mode 100644 index 00000000..d417c6f6 --- /dev/null +++ b/docs/ManaV2ExtranetServicePolicyResponse.md @@ -0,0 +1,31 @@ +# ManaV2ExtranetServicePolicyResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**policy** | [**ManaV2ExtranetServiceProducerPolicy**](ManaV2ExtranetServiceProducerPolicy.md) | | [optional] +**service_name** | **str** | | [optional] +**service_type** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_service_policy_response import ManaV2ExtranetServicePolicyResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetServicePolicyResponse from a JSON string +mana_v2_extranet_service_policy_response_instance = ManaV2ExtranetServicePolicyResponse.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetServicePolicyResponse.to_json()) + +# convert the object into a dict +mana_v2_extranet_service_policy_response_dict = mana_v2_extranet_service_policy_response_instance.to_dict() +# create an instance of ManaV2ExtranetServicePolicyResponse from a dict +mana_v2_extranet_service_policy_response_from_dict = ManaV2ExtranetServicePolicyResponse.from_dict(mana_v2_extranet_service_policy_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/ManaV2ExtranetServiceProducerCustomer.md b/docs/ManaV2ExtranetServiceProducerCustomer.md new file mode 100644 index 00000000..64735dc4 --- /dev/null +++ b/docs/ManaV2ExtranetServiceProducerCustomer.md @@ -0,0 +1,36 @@ +# ManaV2ExtranetServiceProducerCustomer + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**admin_emails** | **List[str]** | | [optional] +**customer_id** | **str** | | [optional] +**match_id** | **int** | | [optional] +**matched_services** | **int** | | [optional] +**name** | **str** | | [optional] +**status** | **str** | | [optional] +**type** | **str** | | [optional] +**updated_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_service_producer_customer import ManaV2ExtranetServiceProducerCustomer + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetServiceProducerCustomer from a JSON string +mana_v2_extranet_service_producer_customer_instance = ManaV2ExtranetServiceProducerCustomer.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetServiceProducerCustomer.to_json()) + +# convert the object into a dict +mana_v2_extranet_service_producer_customer_dict = mana_v2_extranet_service_producer_customer_instance.to_dict() +# create an instance of ManaV2ExtranetServiceProducerCustomer from a dict +mana_v2_extranet_service_producer_customer_from_dict = ManaV2ExtranetServiceProducerCustomer.from_dict(mana_v2_extranet_service_producer_customer_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/ManaV2ExtranetServiceProducerPolicy.md b/docs/ManaV2ExtranetServiceProducerPolicy.md new file mode 100644 index 00000000..246509ce --- /dev/null +++ b/docs/ManaV2ExtranetServiceProducerPolicy.md @@ -0,0 +1,35 @@ +# ManaV2ExtranetServiceProducerPolicy + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | | [optional] +**global_object_device_summaries** | [**Dict[str, ManaV2GlobalObjectServiceSummaries]**](ManaV2GlobalObjectServiceSummaries.md) | | [optional] +**global_object_ops** | [**Dict[str, ManaV2GlobalObjectServiceOps]**](ManaV2GlobalObjectServiceOps.md) | | [optional] +**nat_translation_mode** | [**ManaV2ExtranetNatTranslationMode**](ManaV2ExtranetNatTranslationMode.md) | | [optional] +**prefix_tags** | [**List[ManaV2B2bExtranetPrefixTag]**](ManaV2B2bExtranetPrefixTag.md) | | [optional] +**service_lan_segment** | **int** | LAN segment ID for the service | [optional] +**sites** | [**List[ManaV2B2bSiteInformation]**](ManaV2B2bSiteInformation.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_service_producer_policy import ManaV2ExtranetServiceProducerPolicy + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetServiceProducerPolicy from a JSON string +mana_v2_extranet_service_producer_policy_instance = ManaV2ExtranetServiceProducerPolicy.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetServiceProducerPolicy.to_json()) + +# convert the object into a dict +mana_v2_extranet_service_producer_policy_dict = mana_v2_extranet_service_producer_policy_instance.to_dict() +# create an instance of ManaV2ExtranetServiceProducerPolicy from a dict +mana_v2_extranet_service_producer_policy_from_dict = ManaV2ExtranetServiceProducerPolicy.from_dict(mana_v2_extranet_service_producer_policy_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/ManaV2ExtranetServiceSummary.md b/docs/ManaV2ExtranetServiceSummary.md new file mode 100644 index 00000000..e31d5eca --- /dev/null +++ b/docs/ManaV2ExtranetServiceSummary.md @@ -0,0 +1,39 @@ +# ManaV2ExtranetServiceSummary + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] +**id** | **int** | | [optional] +**is_publisher** | **bool** | True when this enterprise publishes the service; false when consuming a remote producer | [optional] +**lan_segment** | **int** | Service LAN segment when is_publisher and VRF exists | [optional] +**last_updated** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] +**server_prefixes** | **List[str]** | | [optional] +**service_name** | **str** | | [optional] +**service_type** | **str** | | [optional] +**sites** | **List[int]** | | [optional] +**status** | **str** | | [optional] +**total_customers** | **int** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_extranet_service_summary import ManaV2ExtranetServiceSummary + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ExtranetServiceSummary from a JSON string +mana_v2_extranet_service_summary_instance = ManaV2ExtranetServiceSummary.from_json(json) +# print the JSON string representation of the object +print(ManaV2ExtranetServiceSummary.to_json()) + +# convert the object into a dict +mana_v2_extranet_service_summary_dict = mana_v2_extranet_service_summary_instance.to_dict() +# create an instance of ManaV2ExtranetServiceSummary from a dict +mana_v2_extranet_service_summary_from_dict = ManaV2ExtranetServiceSummary.from_dict(mana_v2_extranet_service_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/ManaV2GatewayDetails.md b/docs/ManaV2GatewayDetails.md index 177164f3..b358c990 100644 --- a/docs/ManaV2GatewayDetails.md +++ b/docs/ManaV2GatewayDetails.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **description** | **str** | | [optional] **gcp** | [**ManaV2GcpGatewayDetails**](ManaV2GcpGatewayDetails.md) | | [optional] **ipsec_gateway** | [**ManaV2IPsecGatewayDetails**](ManaV2IPsecGatewayDetails.md) | | [optional] +**ipsec_gateway_peers** | [**ManaV2IPsecGatewayPeersConfig**](ManaV2IPsecGatewayPeersConfig.md) | | [optional] **oci** | [**ManaV2OciGatewayDetails**](ManaV2OciGatewayDetails.md) | | [optional] **region_id** | **int** | | [optional] **speed** | **str** | | [optional] diff --git a/docs/ManaV2NullableOspfAuthenticationConfig.md b/docs/ManaV2NullableOspfAuthenticationConfig.md new file mode 100644 index 00000000..8cd845e4 --- /dev/null +++ b/docs/ManaV2NullableOspfAuthenticationConfig.md @@ -0,0 +1,29 @@ +# ManaV2NullableOspfAuthenticationConfig + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**authentication** | **object** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_nullable_ospf_authentication_config import ManaV2NullableOspfAuthenticationConfig + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2NullableOspfAuthenticationConfig from a JSON string +mana_v2_nullable_ospf_authentication_config_instance = ManaV2NullableOspfAuthenticationConfig.from_json(json) +# print the JSON string representation of the object +print(ManaV2NullableOspfAuthenticationConfig.to_json()) + +# convert the object into a dict +mana_v2_nullable_ospf_authentication_config_dict = mana_v2_nullable_ospf_authentication_config_instance.to_dict() +# create an instance of ManaV2NullableOspfAuthenticationConfig from a dict +mana_v2_nullable_ospf_authentication_config_from_dict = ManaV2NullableOspfAuthenticationConfig.from_dict(mana_v2_nullable_ospf_authentication_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/ManaV2OspfAuthentication.md b/docs/ManaV2OspfAuthentication.md new file mode 100644 index 00000000..458fd726 --- /dev/null +++ b/docs/ManaV2OspfAuthentication.md @@ -0,0 +1,30 @@ +# ManaV2OspfAuthentication + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**key** | **str** | Shared secret for OSPFv2 MD5 authentication on this interface | [optional] +**key_id** | **int** | Identifier of the OSPFv2 MD5 authentication key configured on this interface | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_ospf_authentication import ManaV2OspfAuthentication + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2OspfAuthentication from a JSON string +mana_v2_ospf_authentication_instance = ManaV2OspfAuthentication.from_json(json) +# print the JSON string representation of the object +print(ManaV2OspfAuthentication.to_json()) + +# convert the object into a dict +mana_v2_ospf_authentication_dict = mana_v2_ospf_authentication_instance.to_dict() +# create an instance of ManaV2OspfAuthentication from a dict +mana_v2_ospf_authentication_from_dict = ManaV2OspfAuthentication.from_dict(mana_v2_ospf_authentication_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/ManaV2OspfInterface.md b/docs/ManaV2OspfInterface.md index 15f73b78..3b100ebc 100644 --- a/docs/ManaV2OspfInterface.md +++ b/docs/ManaV2OspfInterface.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**authentication** | [**ManaV2OspfAuthentication**](ManaV2OspfAuthentication.md) | | [optional] **bfd** | [**ManaV2BfdInstance**](ManaV2BfdInstance.md) | | [optional] **bfd_neighbors** | [**List[ManaV2BfdNeighbor]**](ManaV2BfdNeighbor.md) | | [optional] **cost** | **int** | | [optional] diff --git a/docs/ManaV2OspfInterfaceConfig.md b/docs/ManaV2OspfInterfaceConfig.md index 586d72a7..13294d98 100644 --- a/docs/ManaV2OspfInterfaceConfig.md +++ b/docs/ManaV2OspfInterfaceConfig.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**authentication** | [**ManaV2NullableOspfAuthenticationConfig**](ManaV2NullableOspfAuthenticationConfig.md) | | [optional] **bfd** | [**ManaV2NullableBfdInstanceConfig**](ManaV2NullableBfdInstanceConfig.md) | | [optional] **cost** | **int** | | [optional] **dead_interval_value** | [**ManaV2NullableOspfDeadIntervalValue**](ManaV2NullableOspfDeadIntervalValue.md) | | [optional] diff --git a/docs/V1ExtranetB2bConsumersCustomerIdGetResponse.md b/docs/V1ExtranetB2bConsumersCustomerIdGetResponse.md new file mode 100644 index 00000000..5526eabc --- /dev/null +++ b/docs/V1ExtranetB2bConsumersCustomerIdGetResponse.md @@ -0,0 +1,37 @@ +# V1ExtranetB2bConsumersCustomerIdGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**global_object_device_summaries** | [**Dict[str, ManaV2GlobalObjectServiceSummaries]**](ManaV2GlobalObjectServiceSummaries.md) | | [optional] +**id** | **int** | | [optional] +**ipsec_tunnel_config** | [**List[V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig]**](V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig.md) | | [optional] +**match_details** | [**ManaV2B2bExtranetMatchConsumerDetails**](ManaV2B2bExtranetMatchConsumerDetails.md) | | [optional] +**match_id** | **int** | | [optional] +**peer_type** | **str** | | [optional] +**policy** | [**ManaV2ExtranetServiceConsumerPolicy**](ManaV2ExtranetServiceConsumerPolicy.md) | | [optional] +**site_to_site_vpn** | [**ManaV2GuestConsumerSiteToSiteVpnConfig**](ManaV2GuestConsumerSiteToSiteVpnConfig.md) | | [optional] +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response import V1ExtranetB2bConsumersCustomerIdGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bConsumersCustomerIdGetResponse from a JSON string +v1_extranet_b2b_consumers_customer_id_get_response_instance = V1ExtranetB2bConsumersCustomerIdGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bConsumersCustomerIdGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_consumers_customer_id_get_response_dict = v1_extranet_b2b_consumers_customer_id_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bConsumersCustomerIdGetResponse from a dict +v1_extranet_b2b_consumers_customer_id_get_response_from_dict = V1ExtranetB2bConsumersCustomerIdGetResponse.from_dict(v1_extranet_b2b_consumers_customer_id_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/V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig.md b/docs/V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig.md new file mode 100644 index 00000000..84d85cae --- /dev/null +++ b/docs/V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig.md @@ -0,0 +1,60 @@ +# V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bgp_graphiant_asn** | **int** | | [optional] +**bgp_local_asn** | **int** | | [optional] +**bgp_neighbor_hold_time** | **int** | | [optional] +**bgp_neighbor_ipv4** | **str** | | [optional] +**bgp_neighbor_ipv6** | **str** | | [optional] +**dpd_interval** | **int** | | [optional] +**dpd_retries** | **int** | | [optional] +**graphiant_destination_ip** | **str** | | [optional] +**graphiant_ike_id** | **str** | | [optional] +**graphiant_outer_tunnel_ip** | **str** | | [optional] +**graphiant_tunnel_ip** | **str** | | [optional] +**graphiant_tunnel_ipv6** | **str** | | [optional] +**ike_authentication_algorithm** | **str** | | [optional] +**ike_authentication_method** | **str** | | [optional] +**ike_dh_algorithm** | **str** | | [optional] +**ike_encryption_algorithm** | **str** | | [optional] +**ike_lifetime** | **str** | | [optional] +**ike_preshared_key** | **str** | | [optional] +**ike_version** | **int** | | [optional] +**ipsec_authentication_algorithm** | **str** | | [optional] +**ipsec_encryption_algorithm** | **str** | | [optional] +**ipsec_extended_sequence_number** | **bool** | | [optional] +**ipsec_lifetime** | **str** | | [optional] +**ipsec_mode** | **str** | | [optional] +**ipsec_pfs_algorithm** | **str** | | [optional] +**ipsec_protocol** | **str** | | [optional] +**local_ike_id** | **str** | | [optional] +**local_outer_tunnel_ip** | **str** | | [optional] +**local_tunnel_ip** | **str** | | [optional] +**local_tunnel_ipv6** | **str** | | [optional] +**tcp_mss** | **int** | | [optional] +**tunnel_mtu** | **int** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config import V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig from a JSON string +v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config_instance = V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig.to_json()) + +# convert the object into a dict +v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config_dict = v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config_instance.to_dict() +# create an instance of V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig from a dict +v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config_from_dict = V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig.from_dict(v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_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/V1ExtranetB2bConsumersIdDeviceStatusGetResponse.md b/docs/V1ExtranetB2bConsumersIdDeviceStatusGetResponse.md new file mode 100644 index 00000000..3b6dab12 --- /dev/null +++ b/docs/V1ExtranetB2bConsumersIdDeviceStatusGetResponse.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bConsumersIdDeviceStatusGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**service_status** | **str** | | [optional] +**summary** | [**List[ManaV2B2bExtranetStatusSummary]**](ManaV2B2bExtranetStatusSummary.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_device_status_get_response import V1ExtranetB2bConsumersIdDeviceStatusGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bConsumersIdDeviceStatusGetResponse from a JSON string +v1_extranet_b2b_consumers_id_device_status_get_response_instance = V1ExtranetB2bConsumersIdDeviceStatusGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bConsumersIdDeviceStatusGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_consumers_id_device_status_get_response_dict = v1_extranet_b2b_consumers_id_device_status_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bConsumersIdDeviceStatusGetResponse from a dict +v1_extranet_b2b_consumers_id_device_status_get_response_from_dict = V1ExtranetB2bConsumersIdDeviceStatusGetResponse.from_dict(v1_extranet_b2b_consumers_id_device_status_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/V1ExtranetB2bConsumersIdPrefixesPutRequest.md b/docs/V1ExtranetB2bConsumersIdPrefixesPutRequest.md new file mode 100644 index 00000000..b2e90b52 --- /dev/null +++ b/docs/V1ExtranetB2bConsumersIdPrefixesPutRequest.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bConsumersIdPrefixesPutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nat_translation_mode** | [**ManaV2ExtranetNatTranslationMode**](ManaV2ExtranetNatTranslationMode.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_request import V1ExtranetB2bConsumersIdPrefixesPutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bConsumersIdPrefixesPutRequest from a JSON string +v1_extranet_b2b_consumers_id_prefixes_put_request_instance = V1ExtranetB2bConsumersIdPrefixesPutRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bConsumersIdPrefixesPutRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_consumers_id_prefixes_put_request_dict = v1_extranet_b2b_consumers_id_prefixes_put_request_instance.to_dict() +# create an instance of V1ExtranetB2bConsumersIdPrefixesPutRequest from a dict +v1_extranet_b2b_consumers_id_prefixes_put_request_from_dict = V1ExtranetB2bConsumersIdPrefixesPutRequest.from_dict(v1_extranet_b2b_consumers_id_prefixes_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/V1ExtranetB2bConsumersIdPrefixesPutResponse.md b/docs/V1ExtranetB2bConsumersIdPrefixesPutResponse.md new file mode 100644 index 00000000..7a755368 --- /dev/null +++ b/docs/V1ExtranetB2bConsumersIdPrefixesPutResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bConsumersIdPrefixesPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_activity_id** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_response import V1ExtranetB2bConsumersIdPrefixesPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bConsumersIdPrefixesPutResponse from a JSON string +v1_extranet_b2b_consumers_id_prefixes_put_response_instance = V1ExtranetB2bConsumersIdPrefixesPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bConsumersIdPrefixesPutResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_consumers_id_prefixes_put_response_dict = v1_extranet_b2b_consumers_id_prefixes_put_response_instance.to_dict() +# create an instance of V1ExtranetB2bConsumersIdPrefixesPutResponse from a dict +v1_extranet_b2b_consumers_id_prefixes_put_response_from_dict = V1ExtranetB2bConsumersIdPrefixesPutResponse.from_dict(v1_extranet_b2b_consumers_id_prefixes_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/V1ExtranetB2bConsumersIdPutRequest.md b/docs/V1ExtranetB2bConsumersIdPutRequest.md new file mode 100644 index 00000000..237d830f --- /dev/null +++ b/docs/V1ExtranetB2bConsumersIdPutRequest.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bConsumersIdPutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**policy** | [**ManaV2ExtranetServiceConsumerPolicy**](ManaV2ExtranetServiceConsumerPolicy.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_request import V1ExtranetB2bConsumersIdPutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bConsumersIdPutRequest from a JSON string +v1_extranet_b2b_consumers_id_put_request_instance = V1ExtranetB2bConsumersIdPutRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bConsumersIdPutRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_consumers_id_put_request_dict = v1_extranet_b2b_consumers_id_put_request_instance.to_dict() +# create an instance of V1ExtranetB2bConsumersIdPutRequest from a dict +v1_extranet_b2b_consumers_id_put_request_from_dict = V1ExtranetB2bConsumersIdPutRequest.from_dict(v1_extranet_b2b_consumers_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/V1ExtranetB2bConsumersIdPutResponse.md b/docs/V1ExtranetB2bConsumersIdPutResponse.md new file mode 100644 index 00000000..1ac86684 --- /dev/null +++ b/docs/V1ExtranetB2bConsumersIdPutResponse.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bConsumersIdPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**policy** | [**ManaV2ExtranetServiceConsumerPolicy**](ManaV2ExtranetServiceConsumerPolicy.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_response import V1ExtranetB2bConsumersIdPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bConsumersIdPutResponse from a JSON string +v1_extranet_b2b_consumers_id_put_response_instance = V1ExtranetB2bConsumersIdPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bConsumersIdPutResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_consumers_id_put_response_dict = v1_extranet_b2b_consumers_id_put_response_instance.to_dict() +# create an instance of V1ExtranetB2bConsumersIdPutResponse from a dict +v1_extranet_b2b_consumers_id_put_response_from_dict = V1ExtranetB2bConsumersIdPutResponse.from_dict(v1_extranet_b2b_consumers_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/V1ExtranetB2bCustomersIdDeleteResponse.md b/docs/V1ExtranetB2bCustomersIdDeleteResponse.md new file mode 100644 index 00000000..0108ee24 --- /dev/null +++ b/docs/V1ExtranetB2bCustomersIdDeleteResponse.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bCustomersIdDeleteResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**activity_id** | **str** | | [optional] +**consumer_activity_id** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_customers_id_delete_response import V1ExtranetB2bCustomersIdDeleteResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bCustomersIdDeleteResponse from a JSON string +v1_extranet_b2b_customers_id_delete_response_instance = V1ExtranetB2bCustomersIdDeleteResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bCustomersIdDeleteResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_customers_id_delete_response_dict = v1_extranet_b2b_customers_id_delete_response_instance.to_dict() +# create an instance of V1ExtranetB2bCustomersIdDeleteResponse from a dict +v1_extranet_b2b_customers_id_delete_response_from_dict = V1ExtranetB2bCustomersIdDeleteResponse.from_dict(v1_extranet_b2b_customers_id_delete_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/V1ExtranetB2bCustomersIdDetailsGetResponse.md b/docs/V1ExtranetB2bCustomersIdDetailsGetResponse.md new file mode 100644 index 00000000..d465793b --- /dev/null +++ b/docs/V1ExtranetB2bCustomersIdDetailsGetResponse.md @@ -0,0 +1,33 @@ +# V1ExtranetB2bCustomersIdDetailsGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**admin_emails** | **List[str]** | | [optional] +**name** | **str** | | [optional] +**num_sites** | **int** | | [optional] +**status** | **str** | | [optional] +**type** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_customers_id_details_get_response import V1ExtranetB2bCustomersIdDetailsGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bCustomersIdDetailsGetResponse from a JSON string +v1_extranet_b2b_customers_id_details_get_response_instance = V1ExtranetB2bCustomersIdDetailsGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bCustomersIdDetailsGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_customers_id_details_get_response_dict = v1_extranet_b2b_customers_id_details_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bCustomersIdDetailsGetResponse from a dict +v1_extranet_b2b_customers_id_details_get_response_from_dict = V1ExtranetB2bCustomersIdDetailsGetResponse.from_dict(v1_extranet_b2b_customers_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/V1ExtranetB2bCustomersIdMatchesSummaryGetResponse.md b/docs/V1ExtranetB2bCustomersIdMatchesSummaryGetResponse.md new file mode 100644 index 00000000..bacdebdf --- /dev/null +++ b/docs/V1ExtranetB2bCustomersIdMatchesSummaryGetResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bCustomersIdMatchesSummaryGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**matches** | [**List[ManaV2ExtranetServiceCustomerMatchSummary]**](ManaV2ExtranetServiceCustomerMatchSummary.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_customers_id_matches_summary_get_response import V1ExtranetB2bCustomersIdMatchesSummaryGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bCustomersIdMatchesSummaryGetResponse from a JSON string +v1_extranet_b2b_customers_id_matches_summary_get_response_instance = V1ExtranetB2bCustomersIdMatchesSummaryGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bCustomersIdMatchesSummaryGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_customers_id_matches_summary_get_response_dict = v1_extranet_b2b_customers_id_matches_summary_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bCustomersIdMatchesSummaryGetResponse from a dict +v1_extranet_b2b_customers_id_matches_summary_get_response_from_dict = V1ExtranetB2bCustomersIdMatchesSummaryGetResponse.from_dict(v1_extranet_b2b_customers_id_matches_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/V1ExtranetB2bCustomersIdPutRequest.md b/docs/V1ExtranetB2bCustomersIdPutRequest.md new file mode 100644 index 00000000..65eb499f --- /dev/null +++ b/docs/V1ExtranetB2bCustomersIdPutRequest.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bCustomersIdPutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**invite** | [**ManaV2ExtranetServiceCustomerInvite**](ManaV2ExtranetServiceCustomerInvite.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_request import V1ExtranetB2bCustomersIdPutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bCustomersIdPutRequest from a JSON string +v1_extranet_b2b_customers_id_put_request_instance = V1ExtranetB2bCustomersIdPutRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bCustomersIdPutRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_customers_id_put_request_dict = v1_extranet_b2b_customers_id_put_request_instance.to_dict() +# create an instance of V1ExtranetB2bCustomersIdPutRequest from a dict +v1_extranet_b2b_customers_id_put_request_from_dict = V1ExtranetB2bCustomersIdPutRequest.from_dict(v1_extranet_b2b_customers_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/V1ExtranetB2bCustomersIdPutResponse.md b/docs/V1ExtranetB2bCustomersIdPutResponse.md new file mode 100644 index 00000000..e8c118a7 --- /dev/null +++ b/docs/V1ExtranetB2bCustomersIdPutResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bCustomersIdPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**invite** | [**ManaV2ExtranetServiceCustomerInvite**](ManaV2ExtranetServiceCustomerInvite.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_response import V1ExtranetB2bCustomersIdPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bCustomersIdPutResponse from a JSON string +v1_extranet_b2b_customers_id_put_response_instance = V1ExtranetB2bCustomersIdPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bCustomersIdPutResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_customers_id_put_response_dict = v1_extranet_b2b_customers_id_put_response_instance.to_dict() +# create an instance of V1ExtranetB2bCustomersIdPutResponse from a dict +v1_extranet_b2b_customers_id_put_response_from_dict = V1ExtranetB2bCustomersIdPutResponse.from_dict(v1_extranet_b2b_customers_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/V1ExtranetB2bCustomersPostRequest.md b/docs/V1ExtranetB2bCustomersPostRequest.md new file mode 100644 index 00000000..c0d9a690 --- /dev/null +++ b/docs/V1ExtranetB2bCustomersPostRequest.md @@ -0,0 +1,31 @@ +# V1ExtranetB2bCustomersPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**invite** | [**ManaV2ExtranetServiceCustomerInvite**](ManaV2ExtranetServiceCustomerInvite.md) | | +**name** | **str** | Partner display name (required) | +**type** | **str** | Graphiant peer vs guest (non-Graphiant) partner (required) | + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_customers_post_request import V1ExtranetB2bCustomersPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bCustomersPostRequest from a JSON string +v1_extranet_b2b_customers_post_request_instance = V1ExtranetB2bCustomersPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bCustomersPostRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_customers_post_request_dict = v1_extranet_b2b_customers_post_request_instance.to_dict() +# create an instance of V1ExtranetB2bCustomersPostRequest from a dict +v1_extranet_b2b_customers_post_request_from_dict = V1ExtranetB2bCustomersPostRequest.from_dict(v1_extranet_b2b_customers_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/V1ExtranetB2bCustomersPostResponse.md b/docs/V1ExtranetB2bCustomersPostResponse.md new file mode 100644 index 00000000..b236918a --- /dev/null +++ b/docs/V1ExtranetB2bCustomersPostResponse.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bCustomersPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**invite** | [**ManaV2ExtranetServiceCustomerInvite**](ManaV2ExtranetServiceCustomerInvite.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_customers_post_response import V1ExtranetB2bCustomersPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bCustomersPostResponse from a JSON string +v1_extranet_b2b_customers_post_response_instance = V1ExtranetB2bCustomersPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bCustomersPostResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_customers_post_response_dict = v1_extranet_b2b_customers_post_response_instance.to_dict() +# create an instance of V1ExtranetB2bCustomersPostResponse from a dict +v1_extranet_b2b_customers_post_response_from_dict = V1ExtranetB2bCustomersPostResponse.from_dict(v1_extranet_b2b_customers_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/V1ExtranetB2bCustomersSummaryGetResponse.md b/docs/V1ExtranetB2bCustomersSummaryGetResponse.md new file mode 100644 index 00000000..3d20c4a5 --- /dev/null +++ b/docs/V1ExtranetB2bCustomersSummaryGetResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bCustomersSummaryGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customers** | [**List[ManaV2ExtranetServiceCustomerSummary]**](ManaV2ExtranetServiceCustomerSummary.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_customers_summary_get_response import V1ExtranetB2bCustomersSummaryGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bCustomersSummaryGetResponse from a JSON string +v1_extranet_b2b_customers_summary_get_response_instance = V1ExtranetB2bCustomersSummaryGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bCustomersSummaryGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_customers_summary_get_response_dict = v1_extranet_b2b_customers_summary_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bCustomersSummaryGetResponse from a dict +v1_extranet_b2b_customers_summary_get_response_from_dict = V1ExtranetB2bCustomersSummaryGetResponse.from_dict(v1_extranet_b2b_customers_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/V1ExtranetB2bMatchesCustomersPostRequest.md b/docs/V1ExtranetB2bMatchesCustomersPostRequest.md new file mode 100644 index 00000000..0c2297c0 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesCustomersPostRequest.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesCustomersPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customers** | [**List[ManaV2ExtranetServiceProducerCustomer]**](ManaV2ExtranetServiceProducerCustomer.md) | | [optional] +**service_id** | **int** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_request import V1ExtranetB2bMatchesCustomersPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesCustomersPostRequest from a JSON string +v1_extranet_b2b_matches_customers_post_request_instance = V1ExtranetB2bMatchesCustomersPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesCustomersPostRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_customers_post_request_dict = v1_extranet_b2b_matches_customers_post_request_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesCustomersPostRequest from a dict +v1_extranet_b2b_matches_customers_post_request_from_dict = V1ExtranetB2bMatchesCustomersPostRequest.from_dict(v1_extranet_b2b_matches_customers_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/V1ExtranetB2bMatchesCustomersPostResponse.md b/docs/V1ExtranetB2bMatchesCustomersPostResponse.md new file mode 100644 index 00000000..ca9c6f18 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesCustomersPostResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bMatchesCustomersPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customers** | [**List[ManaV2ExtranetServiceProducerCustomer]**](ManaV2ExtranetServiceProducerCustomer.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_response import V1ExtranetB2bMatchesCustomersPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesCustomersPostResponse from a JSON string +v1_extranet_b2b_matches_customers_post_response_instance = V1ExtranetB2bMatchesCustomersPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesCustomersPostResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_customers_post_response_dict = v1_extranet_b2b_matches_customers_post_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesCustomersPostResponse from a dict +v1_extranet_b2b_matches_customers_post_response_from_dict = V1ExtranetB2bMatchesCustomersPostResponse.from_dict(v1_extranet_b2b_matches_customers_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/V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest.md b/docs/V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest.md new file mode 100644 index 00000000..e9d3f08b --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**policy** | [**ManaV2ExtranetServiceConsumerPolicy**](ManaV2ExtranetServiceConsumerPolicy.md) | | [optional] +**service_id** | **int** | Producer service id being consumed | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_request import V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest from a JSON string +v1_extranet_b2b_matches_match_id_consumer_check_post_request_instance = V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_consumer_check_post_request_dict = v1_extranet_b2b_matches_match_id_consumer_check_post_request_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest from a dict +v1_extranet_b2b_matches_match_id_consumer_check_post_request_from_dict = V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest.from_dict(v1_extranet_b2b_matches_match_id_consumer_check_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/V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse.md b/docs/V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse.md new file mode 100644 index 00000000..dd773e2d --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse.md @@ -0,0 +1,31 @@ +# V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_activity_id** | **str** | | [optional] +**id** | **int** | | [optional] +**policy** | [**ManaV2ExtranetServiceConsumerPolicy**](ManaV2ExtranetServiceConsumerPolicy.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_response import V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse from a JSON string +v1_extranet_b2b_matches_match_id_consumer_check_post_response_instance = V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_consumer_check_post_response_dict = v1_extranet_b2b_matches_match_id_consumer_check_post_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse from a dict +v1_extranet_b2b_matches_match_id_consumer_check_post_response_from_dict = V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse.from_dict(v1_extranet_b2b_matches_match_id_consumer_check_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/V1ExtranetB2bMatchesMatchIdConsumerPostRequest.md b/docs/V1ExtranetB2bMatchesMatchIdConsumerPostRequest.md new file mode 100644 index 00000000..538af3d3 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdConsumerPostRequest.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesMatchIdConsumerPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**policy** | [**ManaV2ExtranetServiceConsumerPolicy**](ManaV2ExtranetServiceConsumerPolicy.md) | | [optional] +**service_id** | **int** | Producer service id being consumed | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_request import V1ExtranetB2bMatchesMatchIdConsumerPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdConsumerPostRequest from a JSON string +v1_extranet_b2b_matches_match_id_consumer_post_request_instance = V1ExtranetB2bMatchesMatchIdConsumerPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdConsumerPostRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_consumer_post_request_dict = v1_extranet_b2b_matches_match_id_consumer_post_request_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdConsumerPostRequest from a dict +v1_extranet_b2b_matches_match_id_consumer_post_request_from_dict = V1ExtranetB2bMatchesMatchIdConsumerPostRequest.from_dict(v1_extranet_b2b_matches_match_id_consumer_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/V1ExtranetB2bMatchesMatchIdConsumerPostResponse.md b/docs/V1ExtranetB2bMatchesMatchIdConsumerPostResponse.md new file mode 100644 index 00000000..377738f8 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdConsumerPostResponse.md @@ -0,0 +1,31 @@ +# V1ExtranetB2bMatchesMatchIdConsumerPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_activity_id** | **str** | | [optional] +**id** | **int** | | [optional] +**policy** | [**ManaV2ExtranetServiceConsumerPolicy**](ManaV2ExtranetServiceConsumerPolicy.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_response import V1ExtranetB2bMatchesMatchIdConsumerPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdConsumerPostResponse from a JSON string +v1_extranet_b2b_matches_match_id_consumer_post_response_instance = V1ExtranetB2bMatchesMatchIdConsumerPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdConsumerPostResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_consumer_post_response_dict = v1_extranet_b2b_matches_match_id_consumer_post_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdConsumerPostResponse from a dict +v1_extranet_b2b_matches_match_id_consumer_post_response_from_dict = V1ExtranetB2bMatchesMatchIdConsumerPostResponse.from_dict(v1_extranet_b2b_matches_match_id_consumer_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/V1ExtranetB2bMatchesMatchIdDeleteResponse.md b/docs/V1ExtranetB2bMatchesMatchIdDeleteResponse.md new file mode 100644 index 00000000..74debdf2 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdDeleteResponse.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesMatchIdDeleteResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**activity_id** | **str** | | [optional] +**consumer_activity_id** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_delete_response import V1ExtranetB2bMatchesMatchIdDeleteResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdDeleteResponse from a JSON string +v1_extranet_b2b_matches_match_id_delete_response_instance = V1ExtranetB2bMatchesMatchIdDeleteResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdDeleteResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_delete_response_dict = v1_extranet_b2b_matches_match_id_delete_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdDeleteResponse from a dict +v1_extranet_b2b_matches_match_id_delete_response_from_dict = V1ExtranetB2bMatchesMatchIdDeleteResponse.from_dict(v1_extranet_b2b_matches_match_id_delete_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/V1ExtranetB2bMatchesMatchIdDetailsGetResponse.md b/docs/V1ExtranetB2bMatchesMatchIdDetailsGetResponse.md new file mode 100644 index 00000000..341a28a6 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdDetailsGetResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bMatchesMatchIdDetailsGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**details** | [**List[ManaV2B2bExtranetMatchConsumerDetails]**](ManaV2B2bExtranetMatchConsumerDetails.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_details_get_response import V1ExtranetB2bMatchesMatchIdDetailsGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdDetailsGetResponse from a JSON string +v1_extranet_b2b_matches_match_id_details_get_response_instance = V1ExtranetB2bMatchesMatchIdDetailsGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdDetailsGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_details_get_response_dict = v1_extranet_b2b_matches_match_id_details_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdDetailsGetResponse from a dict +v1_extranet_b2b_matches_match_id_details_get_response_from_dict = V1ExtranetB2bMatchesMatchIdDetailsGetResponse.from_dict(v1_extranet_b2b_matches_match_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/V1ExtranetB2bMatchesMatchIdGetResponse.md b/docs/V1ExtranetB2bMatchesMatchIdGetResponse.md new file mode 100644 index 00000000..96c0fb2d --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdGetResponse.md @@ -0,0 +1,33 @@ +# V1ExtranetB2bMatchesMatchIdGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_name** | **str** | | [optional] +**match** | [**ManaV2B2bExtranetMatch**](ManaV2B2bExtranetMatch.md) | | [optional] +**match_id** | **int** | | [optional] +**service_name** | **str** | | [optional] +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_get_response import V1ExtranetB2bMatchesMatchIdGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdGetResponse from a JSON string +v1_extranet_b2b_matches_match_id_get_response_instance = V1ExtranetB2bMatchesMatchIdGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_get_response_dict = v1_extranet_b2b_matches_match_id_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdGetResponse from a dict +v1_extranet_b2b_matches_match_id_get_response_from_dict = V1ExtranetB2bMatchesMatchIdGetResponse.from_dict(v1_extranet_b2b_matches_match_id_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/V1ExtranetB2bMatchesMatchIdPutRequest.md b/docs/V1ExtranetB2bMatchesMatchIdPutRequest.md new file mode 100644 index 00000000..026440e8 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdPutRequest.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bMatchesMatchIdPutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**match** | [**ManaV2B2bExtranetMatch**](ManaV2B2bExtranetMatch.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_request import V1ExtranetB2bMatchesMatchIdPutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdPutRequest from a JSON string +v1_extranet_b2b_matches_match_id_put_request_instance = V1ExtranetB2bMatchesMatchIdPutRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdPutRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_put_request_dict = v1_extranet_b2b_matches_match_id_put_request_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdPutRequest from a dict +v1_extranet_b2b_matches_match_id_put_request_from_dict = V1ExtranetB2bMatchesMatchIdPutRequest.from_dict(v1_extranet_b2b_matches_match_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/V1ExtranetB2bMatchesMatchIdPutResponse.md b/docs/V1ExtranetB2bMatchesMatchIdPutResponse.md new file mode 100644 index 00000000..815bbca1 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdPutResponse.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesMatchIdPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**activity_id** | **str** | | [optional] +**match** | [**ManaV2B2bExtranetMatch**](ManaV2B2bExtranetMatch.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_response import V1ExtranetB2bMatchesMatchIdPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdPutResponse from a JSON string +v1_extranet_b2b_matches_match_id_put_response_instance = V1ExtranetB2bMatchesMatchIdPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdPutResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_put_response_dict = v1_extranet_b2b_matches_match_id_put_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdPutResponse from a dict +v1_extranet_b2b_matches_match_id_put_response_from_dict = V1ExtranetB2bMatchesMatchIdPutResponse.from_dict(v1_extranet_b2b_matches_match_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/V1ExtranetB2bMatchesMatchIdStatusPutRequest.md b/docs/V1ExtranetB2bMatchesMatchIdStatusPutRequest.md new file mode 100644 index 00000000..4526e8ad --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdStatusPutRequest.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bMatchesMatchIdStatusPutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_request import V1ExtranetB2bMatchesMatchIdStatusPutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdStatusPutRequest from a JSON string +v1_extranet_b2b_matches_match_id_status_put_request_instance = V1ExtranetB2bMatchesMatchIdStatusPutRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdStatusPutRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_status_put_request_dict = v1_extranet_b2b_matches_match_id_status_put_request_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdStatusPutRequest from a dict +v1_extranet_b2b_matches_match_id_status_put_request_from_dict = V1ExtranetB2bMatchesMatchIdStatusPutRequest.from_dict(v1_extranet_b2b_matches_match_id_status_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/V1ExtranetB2bMatchesMatchIdStatusPutResponse.md b/docs/V1ExtranetB2bMatchesMatchIdStatusPutResponse.md new file mode 100644 index 00000000..092c5da4 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesMatchIdStatusPutResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bMatchesMatchIdStatusPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_response import V1ExtranetB2bMatchesMatchIdStatusPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesMatchIdStatusPutResponse from a JSON string +v1_extranet_b2b_matches_match_id_status_put_response_instance = V1ExtranetB2bMatchesMatchIdStatusPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesMatchIdStatusPutResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_match_id_status_put_response_dict = v1_extranet_b2b_matches_match_id_status_put_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesMatchIdStatusPutResponse from a dict +v1_extranet_b2b_matches_match_id_status_put_response_from_dict = V1ExtranetB2bMatchesMatchIdStatusPutResponse.from_dict(v1_extranet_b2b_matches_match_id_status_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/V1ExtranetB2bMatchesPausePutRequest.md b/docs/V1ExtranetB2bMatchesPausePutRequest.md new file mode 100644 index 00000000..cadf908d --- /dev/null +++ b/docs/V1ExtranetB2bMatchesPausePutRequest.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesPausePutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **int** | | [optional] +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_request import V1ExtranetB2bMatchesPausePutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesPausePutRequest from a JSON string +v1_extranet_b2b_matches_pause_put_request_instance = V1ExtranetB2bMatchesPausePutRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesPausePutRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_pause_put_request_dict = v1_extranet_b2b_matches_pause_put_request_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesPausePutRequest from a dict +v1_extranet_b2b_matches_pause_put_request_from_dict = V1ExtranetB2bMatchesPausePutRequest.from_dict(v1_extranet_b2b_matches_pause_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/V1ExtranetB2bMatchesPausePutResponse.md b/docs/V1ExtranetB2bMatchesPausePutResponse.md new file mode 100644 index 00000000..6ae8786a --- /dev/null +++ b/docs/V1ExtranetB2bMatchesPausePutResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bMatchesPausePutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_response import V1ExtranetB2bMatchesPausePutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesPausePutResponse from a JSON string +v1_extranet_b2b_matches_pause_put_response_instance = V1ExtranetB2bMatchesPausePutResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesPausePutResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_pause_put_response_dict = v1_extranet_b2b_matches_pause_put_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesPausePutResponse from a dict +v1_extranet_b2b_matches_pause_put_response_from_dict = V1ExtranetB2bMatchesPausePutResponse.from_dict(v1_extranet_b2b_matches_pause_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/V1ExtranetB2bMatchesPostRequest.md b/docs/V1ExtranetB2bMatchesPostRequest.md new file mode 100644 index 00000000..55c2c81a --- /dev/null +++ b/docs/V1ExtranetB2bMatchesPostRequest.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **int** | | [optional] +**match** | [**ManaV2B2bExtranetMatch**](ManaV2B2bExtranetMatch.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_post_request import V1ExtranetB2bMatchesPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesPostRequest from a JSON string +v1_extranet_b2b_matches_post_request_instance = V1ExtranetB2bMatchesPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesPostRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_post_request_dict = v1_extranet_b2b_matches_post_request_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesPostRequest from a dict +v1_extranet_b2b_matches_post_request_from_dict = V1ExtranetB2bMatchesPostRequest.from_dict(v1_extranet_b2b_matches_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/V1ExtranetB2bMatchesPostResponse.md b/docs/V1ExtranetB2bMatchesPostResponse.md new file mode 100644 index 00000000..06ed6db4 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesPostResponse.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**match_id** | **int** | | [optional] +**matches** | [**List[ManaV2B2bExtranetMatch]**](ManaV2B2bExtranetMatch.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_post_response import V1ExtranetB2bMatchesPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesPostResponse from a JSON string +v1_extranet_b2b_matches_post_response_instance = V1ExtranetB2bMatchesPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesPostResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_post_response_dict = v1_extranet_b2b_matches_post_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesPostResponse from a dict +v1_extranet_b2b_matches_post_response_from_dict = V1ExtranetB2bMatchesPostResponse.from_dict(v1_extranet_b2b_matches_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/V1ExtranetB2bMatchesReviewPostRequest.md b/docs/V1ExtranetB2bMatchesReviewPostRequest.md new file mode 100644 index 00000000..f088f57b --- /dev/null +++ b/docs/V1ExtranetB2bMatchesReviewPostRequest.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesReviewPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **int** | | [optional] +**match** | [**ManaV2B2bExtranetMatch**](ManaV2B2bExtranetMatch.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_request import V1ExtranetB2bMatchesReviewPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesReviewPostRequest from a JSON string +v1_extranet_b2b_matches_review_post_request_instance = V1ExtranetB2bMatchesReviewPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesReviewPostRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_review_post_request_dict = v1_extranet_b2b_matches_review_post_request_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesReviewPostRequest from a dict +v1_extranet_b2b_matches_review_post_request_from_dict = V1ExtranetB2bMatchesReviewPostRequest.from_dict(v1_extranet_b2b_matches_review_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/V1ExtranetB2bMatchesReviewPostResponse.md b/docs/V1ExtranetB2bMatchesReviewPostResponse.md new file mode 100644 index 00000000..f204e7d0 --- /dev/null +++ b/docs/V1ExtranetB2bMatchesReviewPostResponse.md @@ -0,0 +1,30 @@ +# V1ExtranetB2bMatchesReviewPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**match_id** | **int** | | [optional] +**matches** | [**List[ManaV2B2bExtranetMatch]**](ManaV2B2bExtranetMatch.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_response import V1ExtranetB2bMatchesReviewPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bMatchesReviewPostResponse from a JSON string +v1_extranet_b2b_matches_review_post_response_instance = V1ExtranetB2bMatchesReviewPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bMatchesReviewPostResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_matches_review_post_response_dict = v1_extranet_b2b_matches_review_post_response_instance.to_dict() +# create an instance of V1ExtranetB2bMatchesReviewPostResponse from a dict +v1_extranet_b2b_matches_review_post_response_from_dict = V1ExtranetB2bMatchesReviewPostResponse.from_dict(v1_extranet_b2b_matches_review_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/V1ExtranetB2bProducerIdCustomersGetResponse.md b/docs/V1ExtranetB2bProducerIdCustomersGetResponse.md new file mode 100644 index 00000000..89468bef --- /dev/null +++ b/docs/V1ExtranetB2bProducerIdCustomersGetResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bProducerIdCustomersGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customers** | [**List[ManaV2ExtranetServiceProducerCustomer]**](ManaV2ExtranetServiceProducerCustomer.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_id_customers_get_response import V1ExtranetB2bProducerIdCustomersGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerIdCustomersGetResponse from a JSON string +v1_extranet_b2b_producer_id_customers_get_response_instance = V1ExtranetB2bProducerIdCustomersGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerIdCustomersGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_id_customers_get_response_dict = v1_extranet_b2b_producer_id_customers_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bProducerIdCustomersGetResponse from a dict +v1_extranet_b2b_producer_id_customers_get_response_from_dict = V1ExtranetB2bProducerIdCustomersGetResponse.from_dict(v1_extranet_b2b_producer_id_customers_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/V1ExtranetB2bProducerIdDeviceStatusGetResponse.md b/docs/V1ExtranetB2bProducerIdDeviceStatusGetResponse.md new file mode 100644 index 00000000..80552335 --- /dev/null +++ b/docs/V1ExtranetB2bProducerIdDeviceStatusGetResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bProducerIdDeviceStatusGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**summary** | [**List[ManaV2B2bExtranetStatusSummary]**](ManaV2B2bExtranetStatusSummary.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_id_device_status_get_response import V1ExtranetB2bProducerIdDeviceStatusGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerIdDeviceStatusGetResponse from a JSON string +v1_extranet_b2b_producer_id_device_status_get_response_instance = V1ExtranetB2bProducerIdDeviceStatusGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerIdDeviceStatusGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_id_device_status_get_response_dict = v1_extranet_b2b_producer_id_device_status_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bProducerIdDeviceStatusGetResponse from a dict +v1_extranet_b2b_producer_id_device_status_get_response_from_dict = V1ExtranetB2bProducerIdDeviceStatusGetResponse.from_dict(v1_extranet_b2b_producer_id_device_status_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/V1ExtranetB2bProducerIdGetResponse.md b/docs/V1ExtranetB2bProducerIdGetResponse.md new file mode 100644 index 00000000..18e2b847 --- /dev/null +++ b/docs/V1ExtranetB2bProducerIdGetResponse.md @@ -0,0 +1,31 @@ +# V1ExtranetB2bProducerIdGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | | [optional] +**policy** | [**ManaV2ExtranetServicePolicyResponse**](ManaV2ExtranetServicePolicyResponse.md) | | [optional] +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_id_get_response import V1ExtranetB2bProducerIdGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerIdGetResponse from a JSON string +v1_extranet_b2b_producer_id_get_response_instance = V1ExtranetB2bProducerIdGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerIdGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_id_get_response_dict = v1_extranet_b2b_producer_id_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bProducerIdGetResponse from a dict +v1_extranet_b2b_producer_id_get_response_from_dict = V1ExtranetB2bProducerIdGetResponse.from_dict(v1_extranet_b2b_producer_id_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/V1ExtranetB2bProducerIdPutRequest.md b/docs/V1ExtranetB2bProducerIdPutRequest.md new file mode 100644 index 00000000..92983962 --- /dev/null +++ b/docs/V1ExtranetB2bProducerIdPutRequest.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bProducerIdPutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**policy** | [**ManaV2ExtranetServiceProducerPolicy**](ManaV2ExtranetServiceProducerPolicy.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_request import V1ExtranetB2bProducerIdPutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerIdPutRequest from a JSON string +v1_extranet_b2b_producer_id_put_request_instance = V1ExtranetB2bProducerIdPutRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerIdPutRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_id_put_request_dict = v1_extranet_b2b_producer_id_put_request_instance.to_dict() +# create an instance of V1ExtranetB2bProducerIdPutRequest from a dict +v1_extranet_b2b_producer_id_put_request_from_dict = V1ExtranetB2bProducerIdPutRequest.from_dict(v1_extranet_b2b_producer_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/V1ExtranetB2bProducerIdPutResponse.md b/docs/V1ExtranetB2bProducerIdPutResponse.md new file mode 100644 index 00000000..7e918b46 --- /dev/null +++ b/docs/V1ExtranetB2bProducerIdPutResponse.md @@ -0,0 +1,32 @@ +# V1ExtranetB2bProducerIdPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**activity_id** | **str** | | [optional] +**consumer_activity_id** | **str** | | [optional] +**id** | **int** | | [optional] +**policy** | [**ManaV2ExtranetServicePolicyResponse**](ManaV2ExtranetServicePolicyResponse.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_response import V1ExtranetB2bProducerIdPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerIdPutResponse from a JSON string +v1_extranet_b2b_producer_id_put_response_instance = V1ExtranetB2bProducerIdPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerIdPutResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_id_put_response_dict = v1_extranet_b2b_producer_id_put_response_instance.to_dict() +# create an instance of V1ExtranetB2bProducerIdPutResponse from a dict +v1_extranet_b2b_producer_id_put_response_from_dict = V1ExtranetB2bProducerIdPutResponse.from_dict(v1_extranet_b2b_producer_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/V1ExtranetB2bProducerIdStatusPutRequest.md b/docs/V1ExtranetB2bProducerIdStatusPutRequest.md new file mode 100644 index 00000000..6d6f7b23 --- /dev/null +++ b/docs/V1ExtranetB2bProducerIdStatusPutRequest.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bProducerIdStatusPutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_request import V1ExtranetB2bProducerIdStatusPutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerIdStatusPutRequest from a JSON string +v1_extranet_b2b_producer_id_status_put_request_instance = V1ExtranetB2bProducerIdStatusPutRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerIdStatusPutRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_id_status_put_request_dict = v1_extranet_b2b_producer_id_status_put_request_instance.to_dict() +# create an instance of V1ExtranetB2bProducerIdStatusPutRequest from a dict +v1_extranet_b2b_producer_id_status_put_request_from_dict = V1ExtranetB2bProducerIdStatusPutRequest.from_dict(v1_extranet_b2b_producer_id_status_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/V1ExtranetB2bProducerIdStatusPutResponse.md b/docs/V1ExtranetB2bProducerIdStatusPutResponse.md new file mode 100644 index 00000000..b2ec6b9a --- /dev/null +++ b/docs/V1ExtranetB2bProducerIdStatusPutResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bProducerIdStatusPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_response import V1ExtranetB2bProducerIdStatusPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerIdStatusPutResponse from a JSON string +v1_extranet_b2b_producer_id_status_put_response_instance = V1ExtranetB2bProducerIdStatusPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerIdStatusPutResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_id_status_put_response_dict = v1_extranet_b2b_producer_id_status_put_response_instance.to_dict() +# create an instance of V1ExtranetB2bProducerIdStatusPutResponse from a dict +v1_extranet_b2b_producer_id_status_put_response_from_dict = V1ExtranetB2bProducerIdStatusPutResponse.from_dict(v1_extranet_b2b_producer_id_status_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/V1ExtranetB2bProducerPostRequest.md b/docs/V1ExtranetB2bProducerPostRequest.md new file mode 100644 index 00000000..0e0b33d2 --- /dev/null +++ b/docs/V1ExtranetB2bProducerPostRequest.md @@ -0,0 +1,31 @@ +# V1ExtranetB2bProducerPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**policy** | [**ManaV2ExtranetServiceProducerPolicy**](ManaV2ExtranetServiceProducerPolicy.md) | | +**service_name** | **str** | (required) | +**service_type** | **str** | Branded extranet service type (peering_service, client_to_server, …) (required) | + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_post_request import V1ExtranetB2bProducerPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerPostRequest from a JSON string +v1_extranet_b2b_producer_post_request_instance = V1ExtranetB2bProducerPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerPostRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_post_request_dict = v1_extranet_b2b_producer_post_request_instance.to_dict() +# create an instance of V1ExtranetB2bProducerPostRequest from a dict +v1_extranet_b2b_producer_post_request_from_dict = V1ExtranetB2bProducerPostRequest.from_dict(v1_extranet_b2b_producer_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/V1ExtranetB2bProducerPostResponse.md b/docs/V1ExtranetB2bProducerPostResponse.md new file mode 100644 index 00000000..9a764283 --- /dev/null +++ b/docs/V1ExtranetB2bProducerPostResponse.md @@ -0,0 +1,31 @@ +# V1ExtranetB2bProducerPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**activity_id** | **str** | | [optional] +**id** | **int** | | [optional] +**policy** | [**ManaV2ExtranetServicePolicyResponse**](ManaV2ExtranetServicePolicyResponse.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_post_response import V1ExtranetB2bProducerPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerPostResponse from a JSON string +v1_extranet_b2b_producer_post_response_instance = V1ExtranetB2bProducerPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerPostResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_post_response_dict = v1_extranet_b2b_producer_post_response_instance.to_dict() +# create an instance of V1ExtranetB2bProducerPostResponse from a dict +v1_extranet_b2b_producer_post_response_from_dict = V1ExtranetB2bProducerPostResponse.from_dict(v1_extranet_b2b_producer_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/V1ExtranetB2bProducerReviewPostRequest.md b/docs/V1ExtranetB2bProducerReviewPostRequest.md new file mode 100644 index 00000000..993bedf9 --- /dev/null +++ b/docs/V1ExtranetB2bProducerReviewPostRequest.md @@ -0,0 +1,31 @@ +# V1ExtranetB2bProducerReviewPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**policy** | [**ManaV2ExtranetServiceProducerPolicy**](ManaV2ExtranetServiceProducerPolicy.md) | | +**service_name** | **str** | (required) | +**service_type** | **str** | Branded extranet service type (peering_service, client_to_server, …) (required) | + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_request import V1ExtranetB2bProducerReviewPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerReviewPostRequest from a JSON string +v1_extranet_b2b_producer_review_post_request_instance = V1ExtranetB2bProducerReviewPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerReviewPostRequest.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_review_post_request_dict = v1_extranet_b2b_producer_review_post_request_instance.to_dict() +# create an instance of V1ExtranetB2bProducerReviewPostRequest from a dict +v1_extranet_b2b_producer_review_post_request_from_dict = V1ExtranetB2bProducerReviewPostRequest.from_dict(v1_extranet_b2b_producer_review_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/V1ExtranetB2bProducerReviewPostResponse.md b/docs/V1ExtranetB2bProducerReviewPostResponse.md new file mode 100644 index 00000000..56c56ef4 --- /dev/null +++ b/docs/V1ExtranetB2bProducerReviewPostResponse.md @@ -0,0 +1,31 @@ +# V1ExtranetB2bProducerReviewPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**activity_id** | **str** | | [optional] +**id** | **int** | | [optional] +**policy** | [**ManaV2ExtranetServicePolicyResponse**](ManaV2ExtranetServicePolicyResponse.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_response import V1ExtranetB2bProducerReviewPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bProducerReviewPostResponse from a JSON string +v1_extranet_b2b_producer_review_post_response_instance = V1ExtranetB2bProducerReviewPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bProducerReviewPostResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_producer_review_post_response_dict = v1_extranet_b2b_producer_review_post_response_instance.to_dict() +# create an instance of V1ExtranetB2bProducerReviewPostResponse from a dict +v1_extranet_b2b_producer_review_post_response_from_dict = V1ExtranetB2bProducerReviewPostResponse.from_dict(v1_extranet_b2b_producer_review_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/V1ExtranetB2bServicesSummaryGetResponse.md b/docs/V1ExtranetB2bServicesSummaryGetResponse.md new file mode 100644 index 00000000..1263cf7e --- /dev/null +++ b/docs/V1ExtranetB2bServicesSummaryGetResponse.md @@ -0,0 +1,29 @@ +# V1ExtranetB2bServicesSummaryGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**services** | [**List[ManaV2ExtranetServiceSummary]**](ManaV2ExtranetServiceSummary.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranet_b2b_services_summary_get_response import V1ExtranetB2bServicesSummaryGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetB2bServicesSummaryGetResponse from a JSON string +v1_extranet_b2b_services_summary_get_response_instance = V1ExtranetB2bServicesSummaryGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetB2bServicesSummaryGetResponse.to_json()) + +# convert the object into a dict +v1_extranet_b2b_services_summary_get_response_dict = v1_extranet_b2b_services_summary_get_response_instance.to_dict() +# create an instance of V1ExtranetB2bServicesSummaryGetResponse from a dict +v1_extranet_b2b_services_summary_get_response_from_dict = V1ExtranetB2bServicesSummaryGetResponse.from_dict(v1_extranet_b2b_services_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/V1InvitationEmailPostRequest.md b/docs/V1InvitationEmailPostRequest.md index 6d16b888..252e6b16 100644 --- a/docs/V1InvitationEmailPostRequest.md +++ b/docs/V1InvitationEmailPostRequest.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **match_id** | **int** | (required) | **service_id** | **int** | (required) | **service_name** | **str** | (required) | +**service_type** | **str** | Extranet service type URL segment (e.g. peering_service, client_to_server) | [optional] ## Example diff --git a/graphiant_sdk/__init__.py b/graphiant_sdk/__init__.py index d1c22fb9..398f27b5 100644 --- a/graphiant_sdk/__init__.py +++ b/graphiant_sdk/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "26.6.0" +__version__ = "26.7.0" # Define package exports __all__ = [ @@ -172,6 +172,9 @@ "ManaV2AwsGatewayDetails", "ManaV2AwsTransitGateway", "ManaV2AzureGatewayDetails", + "ManaV2B2BExtranetMatchConsumerDetailsCustomer", + "ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix", + "ManaV2B2BExtranetMatchConsumerDetailsService", "ManaV2B2BExtranetServiceCustomerMatchDetailsCustomer", "ManaV2B2BExtranetServiceCustomerMatchDetailsProducerPrefix", "ManaV2B2BExtranetServiceCustomerMatchDetailsService", @@ -182,6 +185,8 @@ "ManaV2B2bExtranetConsumersSummary", "ManaV2B2bExtranetCustomerMatchServicesSummary", "ManaV2B2bExtranetCustomerServicesSummary", + "ManaV2B2bExtranetMatch", + "ManaV2B2bExtranetMatchConsumerDetails", "ManaV2B2bExtranetMatchServiceToCustomer", "ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy", "ManaV2B2bExtranetPeeringServiceCustomerInvite", @@ -270,13 +275,28 @@ "ManaV2EnterprisePrefixSetInput", "ManaV2EnterprisePrefixSetInputEntry", "ManaV2ExtranetAutoReverseRoutes", + "ManaV2ExtranetConsumerLanPrefixes", "ManaV2ExtranetConsumerLanSegmentPolicy", "ManaV2ExtranetConsumerLanSegmentPolicyResponse", "ManaV2ExtranetConsumerNatRule", "ManaV2ExtranetDeviceStatus", "ManaV2ExtranetManualReverseRoutes", + "ManaV2ExtranetNatTranslationCentralized", + "ManaV2ExtranetNatTranslationDecentralized", + "ManaV2ExtranetNatTranslationDevicePrefixes", + "ManaV2ExtranetNatTranslationMode", + "ManaV2ExtranetNatTranslationPeerToPeer", + "ManaV2ExtranetNatTranslationPeerToPeerPrefix", "ManaV2ExtranetPolicy", "ManaV2ExtranetPolicyInput", + "ManaV2ExtranetServiceConsumerPolicy", + "ManaV2ExtranetServiceCustomerInvite", + "ManaV2ExtranetServiceCustomerMatchSummary", + "ManaV2ExtranetServiceCustomerSummary", + "ManaV2ExtranetServicePolicyResponse", + "ManaV2ExtranetServiceProducerCustomer", + "ManaV2ExtranetServiceProducerPolicy", + "ManaV2ExtranetServiceSummary", "ManaV2FirewallZonePair", "ManaV2ForwardingPolicy", "ManaV2ForwardingPolicyConfig", @@ -421,6 +441,7 @@ "ManaV2NullableNtpConfig", "ManaV2NullableOspfAdminDistanceValue", "ManaV2NullableOspfAreaConfig", + "ManaV2NullableOspfAuthenticationConfig", "ManaV2NullableOspfDeadIntervalValue", "ManaV2NullableOspfHelloIntervalValue", "ManaV2NullableOspfInterfaceConfig", @@ -478,6 +499,7 @@ "ManaV2OspFv3Process", "ManaV2OspfArea", "ManaV2OspfAreaConfig", + "ManaV2OspfAuthentication", "ManaV2OspfInterface", "ManaV2OspfInterfaceConfig", "ManaV2OspfProcessConfig", @@ -780,9 +802,12 @@ "V1AuthErrorPostResponse", "V1AuthGcsPostRequest", "V1AuthGetResponse", + "V1AuthLoginCallbackPost500Response", "V1AuthLoginPostRequest", "V1AuthLoginPostResponse", "V1AuthLoginPreGetResponse", + "V1AuthLoginSamlGet401Response", + "V1AuthLoginSamlGet500Response", "V1AuthLoginTempPostRequest", "V1AuthMfaPatchRequest", "V1AuthMfaPost500Response", @@ -792,7 +817,11 @@ "V1AuthPatchRequest", "V1AuthPutRequest", "V1AuthRefreshGet200Response", + "V1AuthRefreshGet403Response", + "V1AuthRefreshGet422Response", "V1AuthRefreshGetEntryPointResponse", + "V1AuthSessionGet403Response", + "V1AuthSessionGet422Response", "V1AuthUserGetResponse", "V1BackboneHealthDeviceDeviceIdPostRequest", "V1BackboneHealthDeviceDeviceIdPostResponse", @@ -1000,6 +1029,40 @@ "V1EnterprisesPatchRequest", "V1EnterprisesPatchRequestTokenExpiry", "V1EnterprisesPutRequest", + "V1ExtranetB2bConsumersCustomerIdGetResponse", + "V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig", + "V1ExtranetB2bConsumersIdDeviceStatusGetResponse", + "V1ExtranetB2bConsumersIdPrefixesPutRequest", + "V1ExtranetB2bConsumersIdPrefixesPutResponse", + "V1ExtranetB2bConsumersIdPutRequest", + "V1ExtranetB2bConsumersIdPutResponse", + "V1ExtranetB2bCustomersIdDeleteResponse", + "V1ExtranetB2bCustomersIdDetailsGetResponse", + "V1ExtranetB2bCustomersIdMatchesSummaryGetResponse", + "V1ExtranetB2bCustomersIdPutRequest", + "V1ExtranetB2bCustomersIdPutResponse", + "V1ExtranetB2bCustomersPostRequest", + "V1ExtranetB2bCustomersPostResponse", + "V1ExtranetB2bCustomersSummaryGetResponse", + "V1ExtranetB2bMatchesCustomersPostRequest", + "V1ExtranetB2bMatchesCustomersPostResponse", + "V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest", + "V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse", + "V1ExtranetB2bMatchesMatchIdConsumerPostRequest", + "V1ExtranetB2bMatchesMatchIdConsumerPostResponse", + "V1ExtranetB2bMatchesMatchIdDeleteResponse", + "V1ExtranetB2bMatchesMatchIdDetailsGetResponse", + "V1ExtranetB2bMatchesMatchIdGetResponse", + "V1ExtranetB2bMatchesMatchIdPutRequest", + "V1ExtranetB2bMatchesMatchIdPutResponse", + "V1ExtranetB2bMatchesMatchIdStatusPutRequest", + "V1ExtranetB2bMatchesMatchIdStatusPutResponse", + "V1ExtranetB2bMatchesPausePutRequest", + "V1ExtranetB2bMatchesPausePutResponse", + "V1ExtranetB2bMatchesPostRequest", + "V1ExtranetB2bMatchesPostResponse", + "V1ExtranetB2bMatchesReviewPostRequest", + "V1ExtranetB2bMatchesReviewPostResponse", "V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest", "V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse", "V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest", @@ -1012,6 +1075,18 @@ "V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse", "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest", "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse", + "V1ExtranetB2bProducerIdCustomersGetResponse", + "V1ExtranetB2bProducerIdDeviceStatusGetResponse", + "V1ExtranetB2bProducerIdGetResponse", + "V1ExtranetB2bProducerIdPutRequest", + "V1ExtranetB2bProducerIdPutResponse", + "V1ExtranetB2bProducerIdStatusPutRequest", + "V1ExtranetB2bProducerIdStatusPutResponse", + "V1ExtranetB2bProducerPostRequest", + "V1ExtranetB2bProducerPostResponse", + "V1ExtranetB2bProducerReviewPostRequest", + "V1ExtranetB2bProducerReviewPostResponse", + "V1ExtranetB2bServicesSummaryGetResponse", "V1ExtranetSitesUsageTopPostRequest", "V1ExtranetSitesUsageTopPostResponse", "V1ExtranetSitesUsageTopPostResponseSiteUsage", @@ -1613,6 +1688,9 @@ from graphiant_sdk.models.mana_v2_aws_gateway_details import ManaV2AwsGatewayDetails as ManaV2AwsGatewayDetails from graphiant_sdk.models.mana_v2_aws_transit_gateway import ManaV2AwsTransitGateway as ManaV2AwsTransitGateway from graphiant_sdk.models.mana_v2_azure_gateway_details import ManaV2AzureGatewayDetails as ManaV2AzureGatewayDetails +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_customer import ManaV2B2BExtranetMatchConsumerDetailsCustomer as ManaV2B2BExtranetMatchConsumerDetailsCustomer +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix import ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix as ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_service import ManaV2B2BExtranetMatchConsumerDetailsService as ManaV2B2BExtranetMatchConsumerDetailsService from graphiant_sdk.models.mana_v2_b2_b_extranet_service_customer_match_details_customer import ManaV2B2BExtranetServiceCustomerMatchDetailsCustomer as ManaV2B2BExtranetServiceCustomerMatchDetailsCustomer from graphiant_sdk.models.mana_v2_b2_b_extranet_service_customer_match_details_producer_prefix import ManaV2B2BExtranetServiceCustomerMatchDetailsProducerPrefix as ManaV2B2BExtranetServiceCustomerMatchDetailsProducerPrefix from graphiant_sdk.models.mana_v2_b2_b_extranet_service_customer_match_details_service import ManaV2B2BExtranetServiceCustomerMatchDetailsService as ManaV2B2BExtranetServiceCustomerMatchDetailsService @@ -1623,6 +1701,8 @@ from graphiant_sdk.models.mana_v2_b2b_extranet_consumers_summary import ManaV2B2bExtranetConsumersSummary as ManaV2B2bExtranetConsumersSummary from graphiant_sdk.models.mana_v2_b2b_extranet_customer_match_services_summary import ManaV2B2bExtranetCustomerMatchServicesSummary as ManaV2B2bExtranetCustomerMatchServicesSummary from graphiant_sdk.models.mana_v2_b2b_extranet_customer_services_summary import ManaV2B2bExtranetCustomerServicesSummary as ManaV2B2bExtranetCustomerServicesSummary +from graphiant_sdk.models.mana_v2_b2b_extranet_match import ManaV2B2bExtranetMatch as ManaV2B2bExtranetMatch +from graphiant_sdk.models.mana_v2_b2b_extranet_match_consumer_details import ManaV2B2bExtranetMatchConsumerDetails as ManaV2B2bExtranetMatchConsumerDetails from graphiant_sdk.models.mana_v2_b2b_extranet_match_service_to_customer import ManaV2B2bExtranetMatchServiceToCustomer as ManaV2B2bExtranetMatchServiceToCustomer from graphiant_sdk.models.mana_v2_b2b_extranet_peering_service_consumer_lan_segment_policy import ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy as ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy from graphiant_sdk.models.mana_v2_b2b_extranet_peering_service_customer_invite import ManaV2B2bExtranetPeeringServiceCustomerInvite as ManaV2B2bExtranetPeeringServiceCustomerInvite @@ -1711,13 +1791,28 @@ from graphiant_sdk.models.mana_v2_enterprise_prefix_set_input import ManaV2EnterprisePrefixSetInput as ManaV2EnterprisePrefixSetInput from graphiant_sdk.models.mana_v2_enterprise_prefix_set_input_entry import ManaV2EnterprisePrefixSetInputEntry as ManaV2EnterprisePrefixSetInputEntry from graphiant_sdk.models.mana_v2_extranet_auto_reverse_routes import ManaV2ExtranetAutoReverseRoutes as ManaV2ExtranetAutoReverseRoutes +from graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes import ManaV2ExtranetConsumerLanPrefixes as ManaV2ExtranetConsumerLanPrefixes from graphiant_sdk.models.mana_v2_extranet_consumer_lan_segment_policy import ManaV2ExtranetConsumerLanSegmentPolicy as ManaV2ExtranetConsumerLanSegmentPolicy from graphiant_sdk.models.mana_v2_extranet_consumer_lan_segment_policy_response import ManaV2ExtranetConsumerLanSegmentPolicyResponse as ManaV2ExtranetConsumerLanSegmentPolicyResponse from graphiant_sdk.models.mana_v2_extranet_consumer_nat_rule import ManaV2ExtranetConsumerNatRule as ManaV2ExtranetConsumerNatRule from graphiant_sdk.models.mana_v2_extranet_device_status import ManaV2ExtranetDeviceStatus as ManaV2ExtranetDeviceStatus from graphiant_sdk.models.mana_v2_extranet_manual_reverse_routes import ManaV2ExtranetManualReverseRoutes as ManaV2ExtranetManualReverseRoutes +from graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized import ManaV2ExtranetNatTranslationCentralized as ManaV2ExtranetNatTranslationCentralized +from graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized import ManaV2ExtranetNatTranslationDecentralized as ManaV2ExtranetNatTranslationDecentralized +from graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes import ManaV2ExtranetNatTranslationDevicePrefixes as ManaV2ExtranetNatTranslationDevicePrefixes +from graphiant_sdk.models.mana_v2_extranet_nat_translation_mode import ManaV2ExtranetNatTranslationMode as ManaV2ExtranetNatTranslationMode +from graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer import ManaV2ExtranetNatTranslationPeerToPeer as ManaV2ExtranetNatTranslationPeerToPeer +from graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer_prefix import ManaV2ExtranetNatTranslationPeerToPeerPrefix as ManaV2ExtranetNatTranslationPeerToPeerPrefix from graphiant_sdk.models.mana_v2_extranet_policy import ManaV2ExtranetPolicy as ManaV2ExtranetPolicy from graphiant_sdk.models.mana_v2_extranet_policy_input import ManaV2ExtranetPolicyInput as ManaV2ExtranetPolicyInput +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy as ManaV2ExtranetServiceConsumerPolicy +from graphiant_sdk.models.mana_v2_extranet_service_customer_invite import ManaV2ExtranetServiceCustomerInvite as ManaV2ExtranetServiceCustomerInvite +from graphiant_sdk.models.mana_v2_extranet_service_customer_match_summary import ManaV2ExtranetServiceCustomerMatchSummary as ManaV2ExtranetServiceCustomerMatchSummary +from graphiant_sdk.models.mana_v2_extranet_service_customer_summary import ManaV2ExtranetServiceCustomerSummary as ManaV2ExtranetServiceCustomerSummary +from graphiant_sdk.models.mana_v2_extranet_service_policy_response import ManaV2ExtranetServicePolicyResponse as ManaV2ExtranetServicePolicyResponse +from graphiant_sdk.models.mana_v2_extranet_service_producer_customer import ManaV2ExtranetServiceProducerCustomer as ManaV2ExtranetServiceProducerCustomer +from graphiant_sdk.models.mana_v2_extranet_service_producer_policy import ManaV2ExtranetServiceProducerPolicy as ManaV2ExtranetServiceProducerPolicy +from graphiant_sdk.models.mana_v2_extranet_service_summary import ManaV2ExtranetServiceSummary as ManaV2ExtranetServiceSummary from graphiant_sdk.models.mana_v2_firewall_zone_pair import ManaV2FirewallZonePair as ManaV2FirewallZonePair from graphiant_sdk.models.mana_v2_forwarding_policy import ManaV2ForwardingPolicy as ManaV2ForwardingPolicy from graphiant_sdk.models.mana_v2_forwarding_policy_config import ManaV2ForwardingPolicyConfig as ManaV2ForwardingPolicyConfig @@ -1862,6 +1957,7 @@ from graphiant_sdk.models.mana_v2_nullable_ntp_config import ManaV2NullableNtpConfig as ManaV2NullableNtpConfig from graphiant_sdk.models.mana_v2_nullable_ospf_admin_distance_value import ManaV2NullableOspfAdminDistanceValue as ManaV2NullableOspfAdminDistanceValue from graphiant_sdk.models.mana_v2_nullable_ospf_area_config import ManaV2NullableOspfAreaConfig as ManaV2NullableOspfAreaConfig +from graphiant_sdk.models.mana_v2_nullable_ospf_authentication_config import ManaV2NullableOspfAuthenticationConfig as ManaV2NullableOspfAuthenticationConfig from graphiant_sdk.models.mana_v2_nullable_ospf_dead_interval_value import ManaV2NullableOspfDeadIntervalValue as ManaV2NullableOspfDeadIntervalValue from graphiant_sdk.models.mana_v2_nullable_ospf_hello_interval_value import ManaV2NullableOspfHelloIntervalValue as ManaV2NullableOspfHelloIntervalValue from graphiant_sdk.models.mana_v2_nullable_ospf_interface_config import ManaV2NullableOspfInterfaceConfig as ManaV2NullableOspfInterfaceConfig @@ -1919,6 +2015,7 @@ from graphiant_sdk.models.mana_v2_osp_fv3_process import ManaV2OspFv3Process as ManaV2OspFv3Process from graphiant_sdk.models.mana_v2_ospf_area import ManaV2OspfArea as ManaV2OspfArea from graphiant_sdk.models.mana_v2_ospf_area_config import ManaV2OspfAreaConfig as ManaV2OspfAreaConfig +from graphiant_sdk.models.mana_v2_ospf_authentication import ManaV2OspfAuthentication as ManaV2OspfAuthentication from graphiant_sdk.models.mana_v2_ospf_interface import ManaV2OspfInterface as ManaV2OspfInterface from graphiant_sdk.models.mana_v2_ospf_interface_config import ManaV2OspfInterfaceConfig as ManaV2OspfInterfaceConfig from graphiant_sdk.models.mana_v2_ospf_process_config import ManaV2OspfProcessConfig as ManaV2OspfProcessConfig @@ -2221,9 +2318,12 @@ from graphiant_sdk.models.v1_auth_error_post_response import V1AuthErrorPostResponse as V1AuthErrorPostResponse from graphiant_sdk.models.v1_auth_gcs_post_request import V1AuthGcsPostRequest as V1AuthGcsPostRequest from graphiant_sdk.models.v1_auth_get_response import V1AuthGetResponse as V1AuthGetResponse +from graphiant_sdk.models.v1_auth_login_callback_post500_response import V1AuthLoginCallbackPost500Response as V1AuthLoginCallbackPost500Response from graphiant_sdk.models.v1_auth_login_post_request import V1AuthLoginPostRequest as V1AuthLoginPostRequest from graphiant_sdk.models.v1_auth_login_post_response import V1AuthLoginPostResponse as V1AuthLoginPostResponse from graphiant_sdk.models.v1_auth_login_pre_get_response import V1AuthLoginPreGetResponse as V1AuthLoginPreGetResponse +from graphiant_sdk.models.v1_auth_login_saml_get401_response import V1AuthLoginSamlGet401Response as V1AuthLoginSamlGet401Response +from graphiant_sdk.models.v1_auth_login_saml_get500_response import V1AuthLoginSamlGet500Response as V1AuthLoginSamlGet500Response from graphiant_sdk.models.v1_auth_login_temp_post_request import V1AuthLoginTempPostRequest as V1AuthLoginTempPostRequest from graphiant_sdk.models.v1_auth_mfa_patch_request import V1AuthMfaPatchRequest as V1AuthMfaPatchRequest from graphiant_sdk.models.v1_auth_mfa_post500_response import V1AuthMfaPost500Response as V1AuthMfaPost500Response @@ -2233,7 +2333,11 @@ from graphiant_sdk.models.v1_auth_patch_request import V1AuthPatchRequest as V1AuthPatchRequest from graphiant_sdk.models.v1_auth_put_request import V1AuthPutRequest as V1AuthPutRequest from graphiant_sdk.models.v1_auth_refresh_get200_response import V1AuthRefreshGet200Response as V1AuthRefreshGet200Response +from graphiant_sdk.models.v1_auth_refresh_get403_response import V1AuthRefreshGet403Response as V1AuthRefreshGet403Response +from graphiant_sdk.models.v1_auth_refresh_get422_response import V1AuthRefreshGet422Response as V1AuthRefreshGet422Response from graphiant_sdk.models.v1_auth_refresh_get_entry_point_response import V1AuthRefreshGetEntryPointResponse as V1AuthRefreshGetEntryPointResponse +from graphiant_sdk.models.v1_auth_session_get403_response import V1AuthSessionGet403Response as V1AuthSessionGet403Response +from graphiant_sdk.models.v1_auth_session_get422_response import V1AuthSessionGet422Response as V1AuthSessionGet422Response from graphiant_sdk.models.v1_auth_user_get_response import V1AuthUserGetResponse as V1AuthUserGetResponse from graphiant_sdk.models.v1_backbone_health_device_device_id_post_request import V1BackboneHealthDeviceDeviceIdPostRequest as V1BackboneHealthDeviceDeviceIdPostRequest from graphiant_sdk.models.v1_backbone_health_device_device_id_post_response import V1BackboneHealthDeviceDeviceIdPostResponse as V1BackboneHealthDeviceDeviceIdPostResponse @@ -2441,6 +2545,40 @@ from graphiant_sdk.models.v1_enterprises_patch_request import V1EnterprisesPatchRequest as V1EnterprisesPatchRequest from graphiant_sdk.models.v1_enterprises_patch_request_token_expiry import V1EnterprisesPatchRequestTokenExpiry as V1EnterprisesPatchRequestTokenExpiry from graphiant_sdk.models.v1_enterprises_put_request import V1EnterprisesPutRequest as V1EnterprisesPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response import V1ExtranetB2bConsumersCustomerIdGetResponse as V1ExtranetB2bConsumersCustomerIdGetResponse +from graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config import V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig as V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_device_status_get_response import V1ExtranetB2bConsumersIdDeviceStatusGetResponse as V1ExtranetB2bConsumersIdDeviceStatusGetResponse +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_request import V1ExtranetB2bConsumersIdPrefixesPutRequest as V1ExtranetB2bConsumersIdPrefixesPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_response import V1ExtranetB2bConsumersIdPrefixesPutResponse as V1ExtranetB2bConsumersIdPrefixesPutResponse +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_request import V1ExtranetB2bConsumersIdPutRequest as V1ExtranetB2bConsumersIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_response import V1ExtranetB2bConsumersIdPutResponse as V1ExtranetB2bConsumersIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_delete_response import V1ExtranetB2bCustomersIdDeleteResponse as V1ExtranetB2bCustomersIdDeleteResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_details_get_response import V1ExtranetB2bCustomersIdDetailsGetResponse as V1ExtranetB2bCustomersIdDetailsGetResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_matches_summary_get_response import V1ExtranetB2bCustomersIdMatchesSummaryGetResponse as V1ExtranetB2bCustomersIdMatchesSummaryGetResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_request import V1ExtranetB2bCustomersIdPutRequest as V1ExtranetB2bCustomersIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_response import V1ExtranetB2bCustomersIdPutResponse as V1ExtranetB2bCustomersIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_post_request import V1ExtranetB2bCustomersPostRequest as V1ExtranetB2bCustomersPostRequest +from graphiant_sdk.models.v1_extranet_b2b_customers_post_response import V1ExtranetB2bCustomersPostResponse as V1ExtranetB2bCustomersPostResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_summary_get_response import V1ExtranetB2bCustomersSummaryGetResponse as V1ExtranetB2bCustomersSummaryGetResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_request import V1ExtranetB2bMatchesCustomersPostRequest as V1ExtranetB2bMatchesCustomersPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_response import V1ExtranetB2bMatchesCustomersPostResponse as V1ExtranetB2bMatchesCustomersPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_request import V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest as V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_response import V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse as V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_request import V1ExtranetB2bMatchesMatchIdConsumerPostRequest as V1ExtranetB2bMatchesMatchIdConsumerPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_response import V1ExtranetB2bMatchesMatchIdConsumerPostResponse as V1ExtranetB2bMatchesMatchIdConsumerPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_delete_response import V1ExtranetB2bMatchesMatchIdDeleteResponse as V1ExtranetB2bMatchesMatchIdDeleteResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_details_get_response import V1ExtranetB2bMatchesMatchIdDetailsGetResponse as V1ExtranetB2bMatchesMatchIdDetailsGetResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_get_response import V1ExtranetB2bMatchesMatchIdGetResponse as V1ExtranetB2bMatchesMatchIdGetResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_request import V1ExtranetB2bMatchesMatchIdPutRequest as V1ExtranetB2bMatchesMatchIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_response import V1ExtranetB2bMatchesMatchIdPutResponse as V1ExtranetB2bMatchesMatchIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_request import V1ExtranetB2bMatchesMatchIdStatusPutRequest as V1ExtranetB2bMatchesMatchIdStatusPutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_response import V1ExtranetB2bMatchesMatchIdStatusPutResponse as V1ExtranetB2bMatchesMatchIdStatusPutResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_request import V1ExtranetB2bMatchesPausePutRequest as V1ExtranetB2bMatchesPausePutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_response import V1ExtranetB2bMatchesPausePutResponse as V1ExtranetB2bMatchesPausePutResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_post_request import V1ExtranetB2bMatchesPostRequest as V1ExtranetB2bMatchesPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_post_response import V1ExtranetB2bMatchesPostResponse as V1ExtranetB2bMatchesPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_request import V1ExtranetB2bMatchesReviewPostRequest as V1ExtranetB2bMatchesReviewPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_response import V1ExtranetB2bMatchesReviewPostResponse as V1ExtranetB2bMatchesReviewPostResponse from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest as V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_response import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse as V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest as V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest @@ -2453,6 +2591,18 @@ 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_b2b_producer_id_customers_get_response import V1ExtranetB2bProducerIdCustomersGetResponse as V1ExtranetB2bProducerIdCustomersGetResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_device_status_get_response import V1ExtranetB2bProducerIdDeviceStatusGetResponse as V1ExtranetB2bProducerIdDeviceStatusGetResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_get_response import V1ExtranetB2bProducerIdGetResponse as V1ExtranetB2bProducerIdGetResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_request import V1ExtranetB2bProducerIdPutRequest as V1ExtranetB2bProducerIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_response import V1ExtranetB2bProducerIdPutResponse as V1ExtranetB2bProducerIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_request import V1ExtranetB2bProducerIdStatusPutRequest as V1ExtranetB2bProducerIdStatusPutRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_response import V1ExtranetB2bProducerIdStatusPutResponse as V1ExtranetB2bProducerIdStatusPutResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_post_request import V1ExtranetB2bProducerPostRequest as V1ExtranetB2bProducerPostRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_post_response import V1ExtranetB2bProducerPostResponse as V1ExtranetB2bProducerPostResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_request import V1ExtranetB2bProducerReviewPostRequest as V1ExtranetB2bProducerReviewPostRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_response import V1ExtranetB2bProducerReviewPostResponse as V1ExtranetB2bProducerReviewPostResponse +from graphiant_sdk.models.v1_extranet_b2b_services_summary_get_response import V1ExtranetB2bServicesSummaryGetResponse as V1ExtranetB2bServicesSummaryGetResponse 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 diff --git a/graphiant_sdk/api/default_api.py b/graphiant_sdk/api/default_api.py index cee5591e..91b55a5f 100644 --- a/graphiant_sdk/api/default_api.py +++ b/graphiant_sdk/api/default_api.py @@ -231,6 +231,39 @@ from graphiant_sdk.models.v1_enterprises_managed_get_response import V1EnterprisesManagedGetResponse from graphiant_sdk.models.v1_enterprises_patch_request import V1EnterprisesPatchRequest from graphiant_sdk.models.v1_enterprises_put_request import V1EnterprisesPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response import V1ExtranetB2bConsumersCustomerIdGetResponse +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_device_status_get_response import V1ExtranetB2bConsumersIdDeviceStatusGetResponse +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_request import V1ExtranetB2bConsumersIdPrefixesPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_response import V1ExtranetB2bConsumersIdPrefixesPutResponse +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_request import V1ExtranetB2bConsumersIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_response import V1ExtranetB2bConsumersIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_delete_response import V1ExtranetB2bCustomersIdDeleteResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_details_get_response import V1ExtranetB2bCustomersIdDetailsGetResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_matches_summary_get_response import V1ExtranetB2bCustomersIdMatchesSummaryGetResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_request import V1ExtranetB2bCustomersIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_response import V1ExtranetB2bCustomersIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_post_request import V1ExtranetB2bCustomersPostRequest +from graphiant_sdk.models.v1_extranet_b2b_customers_post_response import V1ExtranetB2bCustomersPostResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_summary_get_response import V1ExtranetB2bCustomersSummaryGetResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_request import V1ExtranetB2bMatchesCustomersPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_response import V1ExtranetB2bMatchesCustomersPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_request import V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_response import V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_request import V1ExtranetB2bMatchesMatchIdConsumerPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_response import V1ExtranetB2bMatchesMatchIdConsumerPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_delete_response import V1ExtranetB2bMatchesMatchIdDeleteResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_details_get_response import V1ExtranetB2bMatchesMatchIdDetailsGetResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_get_response import V1ExtranetB2bMatchesMatchIdGetResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_request import V1ExtranetB2bMatchesMatchIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_response import V1ExtranetB2bMatchesMatchIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_request import V1ExtranetB2bMatchesMatchIdStatusPutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_response import V1ExtranetB2bMatchesMatchIdStatusPutResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_request import V1ExtranetB2bMatchesPausePutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_response import V1ExtranetB2bMatchesPausePutResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_post_request import V1ExtranetB2bMatchesPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_post_response import V1ExtranetB2bMatchesPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_request import V1ExtranetB2bMatchesReviewPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_response import V1ExtranetB2bMatchesReviewPostResponse from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_response import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest @@ -243,6 +276,18 @@ 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_b2b_producer_id_customers_get_response import V1ExtranetB2bProducerIdCustomersGetResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_device_status_get_response import V1ExtranetB2bProducerIdDeviceStatusGetResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_get_response import V1ExtranetB2bProducerIdGetResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_request import V1ExtranetB2bProducerIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_response import V1ExtranetB2bProducerIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_request import V1ExtranetB2bProducerIdStatusPutRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_response import V1ExtranetB2bProducerIdStatusPutResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_post_request import V1ExtranetB2bProducerPostRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_post_response import V1ExtranetB2bProducerPostResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_request import V1ExtranetB2bProducerReviewPostRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_response import V1ExtranetB2bProducerReviewPostResponse +from graphiant_sdk.models.v1_extranet_b2b_services_summary_get_response import V1ExtranetB2bServicesSummaryGetResponse 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 @@ -5483,7 +5528,7 @@ def v1_auth_login_callback_post( _response_types_map: Dict[str, Optional[str]] = { '302': None, '401': "V1AuthErrorPostResponse", - '500': "V1AuthMfaPost500Response", + '500': "V1AuthLoginCallbackPost500Response", } response_data = self.api_client.call_api( *_param, @@ -5555,7 +5600,7 @@ def v1_auth_login_callback_post_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '302': None, '401': "V1AuthErrorPostResponse", - '500': "V1AuthMfaPost500Response", + '500': "V1AuthLoginCallbackPost500Response", } response_data = self.api_client.call_api( *_param, @@ -5627,7 +5672,7 @@ def v1_auth_login_callback_post_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '302': None, '401': "V1AuthErrorPostResponse", - '500': "V1AuthMfaPost500Response", + '500': "V1AuthLoginCallbackPost500Response", } response_data = self.api_client.call_api( *_param, @@ -6331,8 +6376,8 @@ def v1_auth_login_saml_get( _response_types_map: Dict[str, Optional[str]] = { '200': None, - '401': "V1AuthMfaPost500Response", - '500': "V1AuthMfaPost500Response", + '401': "V1AuthLoginSamlGet401Response", + '500': "V1AuthLoginSamlGet500Response", } response_data = self.api_client.call_api( *_param, @@ -6403,8 +6448,8 @@ def v1_auth_login_saml_get_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': None, - '401': "V1AuthMfaPost500Response", - '500': "V1AuthMfaPost500Response", + '401': "V1AuthLoginSamlGet401Response", + '500': "V1AuthLoginSamlGet500Response", } response_data = self.api_client.call_api( *_param, @@ -6475,8 +6520,8 @@ def v1_auth_login_saml_get_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': None, - '401': "V1AuthMfaPost500Response", - '500': "V1AuthMfaPost500Response", + '401': "V1AuthLoginSamlGet401Response", + '500': "V1AuthLoginSamlGet500Response", } response_data = self.api_client.call_api( *_param, @@ -8808,8 +8853,8 @@ def v1_auth_refresh_get( _response_types_map: Dict[str, Optional[str]] = { '200': "V1AuthRefreshGet200Response", - '403': "V1AuthMfaPost500Response", - '422': "V1AuthMfaPost500Response", + '403': "V1AuthRefreshGet403Response", + '422': "V1AuthRefreshGet422Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -8881,8 +8926,8 @@ def v1_auth_refresh_get_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "V1AuthRefreshGet200Response", - '403': "V1AuthMfaPost500Response", - '422': "V1AuthMfaPost500Response", + '403': "V1AuthRefreshGet403Response", + '422': "V1AuthRefreshGet422Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -8954,8 +8999,8 @@ def v1_auth_refresh_get_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "V1AuthRefreshGet200Response", - '403': "V1AuthMfaPost500Response", - '422': "V1AuthMfaPost500Response", + '403': "V1AuthRefreshGet403Response", + '422': "V1AuthRefreshGet422Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9092,8 +9137,8 @@ def v1_auth_session_get( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthMfaPost500Response", - '422': "V1AuthMfaPost500Response", + '403': "V1AuthSessionGet403Response", + '422': "V1AuthSessionGet422Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9165,8 +9210,8 @@ def v1_auth_session_get_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthMfaPost500Response", - '422': "V1AuthMfaPost500Response", + '403': "V1AuthSessionGet403Response", + '422': "V1AuthSessionGet422Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9238,8 +9283,8 @@ def v1_auth_session_get_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthMfaPost500Response", - '422': "V1AuthMfaPost500Response", + '403': "V1AuthSessionGet403Response", + '422': "V1AuthSessionGet422Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9372,8 +9417,8 @@ def v1_auth_session_root_get( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthMfaPost500Response", - '422': "V1AuthMfaPost500Response", + '403': "V1AuthSessionGet403Response", + '422': "V1AuthSessionGet422Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9441,8 +9486,8 @@ def v1_auth_session_root_get_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthMfaPost500Response", - '422': "V1AuthMfaPost500Response", + '403': "V1AuthSessionGet403Response", + '422': "V1AuthSessionGet422Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9510,8 +9555,8 @@ def v1_auth_session_root_get_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthMfaPost500Response", - '422': "V1AuthMfaPost500Response", + '403': "V1AuthSessionGet403Response", + '422': "V1AuthSessionGet422Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -51956,10 +52001,11 @@ def _v1_enterprises_put_serialize( @validate_call - def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post( + def v1_extranet_b2b_consumers_customer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest, + customer_id: Annotated[StrictInt, Field(description="Partner customer id")], + service_id: Annotated[Optional[StrictInt], Field(description="Producer service id")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -51972,15 +52018,17 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse: - """v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post + ) -> V1ExtranetB2bConsumersCustomerIdGetResponse: + """v1_extranet_b2b_consumers_customer_id_get - Get b2b extranet peering service sites usage stats + Get extranet service consumer subscription :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest + :param customer_id: Partner customer id (required) + :type customer_id: int + :param service_id: Producer 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 @@ -52003,9 +52051,10 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( + _param = self._v1_extranet_b2b_consumers_customer_id_get_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request=v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request, + customer_id=customer_id, + service_id=service_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52013,7 +52062,7 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse", + '200': "V1ExtranetB2bConsumersCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -52027,10 +52076,11 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post( @validate_call - def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_with_http_info( + def v1_extranet_b2b_consumers_customer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest, + customer_id: Annotated[StrictInt, Field(description="Partner customer id")], + service_id: Annotated[Optional[StrictInt], Field(description="Producer service id")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52043,15 +52093,17 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_with_http_in _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse]: - """v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post + ) -> ApiResponse[V1ExtranetB2bConsumersCustomerIdGetResponse]: + """v1_extranet_b2b_consumers_customer_id_get - Get b2b extranet peering service sites usage stats + Get extranet service consumer subscription :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest + :param customer_id: Partner customer id (required) + :type customer_id: int + :param service_id: Producer 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 @@ -52074,9 +52126,10 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_with_http_in :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( + _param = self._v1_extranet_b2b_consumers_customer_id_get_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request=v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request, + customer_id=customer_id, + service_id=service_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52084,7 +52137,7 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_with_http_in ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse", + '200': "V1ExtranetB2bConsumersCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -52098,10 +52151,11 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_with_http_in @validate_call - def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_without_preload_content( + def v1_extranet_b2b_consumers_customer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest, + customer_id: Annotated[StrictInt, Field(description="Partner customer id")], + service_id: Annotated[Optional[StrictInt], Field(description="Producer service id")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52115,14 +52169,16 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_without_prel _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post + """v1_extranet_b2b_consumers_customer_id_get - Get b2b extranet peering service sites usage stats + Get extranet service consumer subscription :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest + :param customer_id: Partner customer id (required) + :type customer_id: int + :param service_id: Producer 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 @@ -52145,9 +52201,10 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_without_prel :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( + _param = self._v1_extranet_b2b_consumers_customer_id_get_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request=v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request, + customer_id=customer_id, + service_id=service_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52155,7 +52212,7 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_without_prel ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse", + '200': "V1ExtranetB2bConsumersCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -52164,10 +52221,11 @@ def v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_without_prel return response_data.response - def _v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( + def _v1_extranet_b2b_consumers_customer_id_get_serialize( self, authorization, - v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request, + customer_id, + service_id, _request_auth, _content_type, _headers, @@ -52189,14 +52247,18 @@ def _v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_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 # process the form parameters # process the body parameter - if v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request is not None: - _body_params = v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request # set the HTTP header `Accept` @@ -52207,19 +52269,6 @@ def _v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_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] = [ @@ -52227,8 +52276,8 @@ def _v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranet-b2b-monitoring/peering-service/bandwidth-usage', + method='GET', + resource_path='/v1/extranet/b2b/consumers/{customerId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -52245,10 +52294,10 @@ def _v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( @validate_call - def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post( + def v1_extranet_b2b_consumers_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52261,15 +52310,15 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse: - """v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post + ) -> object: + """v1_extranet_b2b_consumers_id_delete - Get b2b extranet peering service top consumers usage stats + Delete an extranet service consumer subscription :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest + :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 @@ -52292,9 +52341,9 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_delete_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request=v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52302,7 +52351,7 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -52316,10 +52365,10 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post( @validate_call - def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_with_http_info( + def v1_extranet_b2b_consumers_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52332,15 +52381,15 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_with_htt _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse]: - """v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post + ) -> ApiResponse[object]: + """v1_extranet_b2b_consumers_id_delete - Get b2b extranet peering service top consumers usage stats + Delete an extranet service consumer subscription :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest + :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 @@ -52363,9 +52412,9 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_with_htt :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_delete_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request=v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52373,7 +52422,7 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_with_htt ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -52387,10 +52436,10 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_with_htt @validate_call - def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_without_preload_content( + def v1_extranet_b2b_consumers_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52404,14 +52453,14 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_without_ _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post + """v1_extranet_b2b_consumers_id_delete - Get b2b extranet peering service top consumers usage stats + Delete an extranet service consumer subscription :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest + :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 @@ -52434,9 +52483,9 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_without_ :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_delete_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request=v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52444,7 +52493,7 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_without_ ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -52453,10 +52502,10 @@ def v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_without_ return response_data.response - def _v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_serialize( + def _v1_extranet_b2b_consumers_id_delete_serialize( self, authorization, - v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request, + id, _request_auth, _content_type, _headers, @@ -52478,14 +52527,14 @@ def _v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_seriali _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_b2b_monitoring_peering_service_consumers_usage_top_post_request is not None: - _body_params = v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request # set the HTTP header `Accept` @@ -52496,19 +52545,6 @@ def _v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_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] = [ @@ -52516,8 +52552,8 @@ def _v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_seriali ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranet-b2b-monitoring/peering-service/consumers-usage/top', + method='DELETE', + resource_path='/v1/extranet/b2b/consumers/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -52534,10 +52570,10 @@ def _v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_seriali @validate_call - def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post( + def v1_extranet_b2b_consumers_id_device_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52550,15 +52586,15 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse: - """v1_extranet_b2b_monitoring_peering_service_consumption_overview_post + ) -> V1ExtranetB2bConsumersIdDeviceStatusGetResponse: + """v1_extranet_b2b_consumers_id_device_status_get - Get b2b extranet peering consumption overview + Get extranet consumer device rollout status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest + :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 @@ -52581,9 +52617,9 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_device_status_get_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request=v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52591,7 +52627,7 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse", + '200': "V1ExtranetB2bConsumersIdDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -52605,10 +52641,10 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post( @validate_call - def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_with_http_info( + def v1_extranet_b2b_consumers_id_device_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52621,15 +52657,15 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_with_ht _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse]: - """v1_extranet_b2b_monitoring_peering_service_consumption_overview_post + ) -> ApiResponse[V1ExtranetB2bConsumersIdDeviceStatusGetResponse]: + """v1_extranet_b2b_consumers_id_device_status_get - Get b2b extranet peering consumption overview + Get extranet consumer device rollout status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest + :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 @@ -52652,9 +52688,9 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_with_ht :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_device_status_get_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request=v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52662,7 +52698,7 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_with_ht ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse", + '200': "V1ExtranetB2bConsumersIdDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -52676,10 +52712,10 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_with_ht @validate_call - def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_without_preload_content( + def v1_extranet_b2b_consumers_id_device_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52693,14 +52729,14 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_without _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_b2b_monitoring_peering_service_consumption_overview_post + """v1_extranet_b2b_consumers_id_device_status_get - Get b2b extranet peering consumption overview + Get extranet consumer device rollout status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest + :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 @@ -52723,9 +52759,9 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_without :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_device_status_get_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request=v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52733,7 +52769,7 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_without ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse", + '200': "V1ExtranetB2bConsumersIdDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -52742,10 +52778,10 @@ def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_without return response_data.response - def _v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_serialize( + def _v1_extranet_b2b_consumers_id_device_status_get_serialize( self, authorization, - v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request, + id, _request_auth, _content_type, _headers, @@ -52767,14 +52803,14 @@ def _v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_serial _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_b2b_monitoring_peering_service_consumption_overview_post_request is not None: - _body_params = v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request # set the HTTP header `Accept` @@ -52785,19 +52821,6 @@ def _v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_serial ] ) - # 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] = [ @@ -52805,8 +52828,8 @@ def _v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_serial ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranet-b2b-monitoring/peering-service/consumption-overview', + method='GET', + resource_path='/v1/extranet/b2b/consumers/{id}/device-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -52823,10 +52846,11 @@ def _v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_serial @validate_call - def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post( + def v1_extranet_b2b_consumers_id_prefixes_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest, + id: Annotated[StrictInt, Field(description="Consumer subscription id")], + v1_extranet_b2b_consumers_id_prefixes_put_request: V1ExtranetB2bConsumersIdPrefixesPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52839,15 +52863,17 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse: - """v1_extranet_b2b_monitoring_peering_service_service_customer_list_post + ) -> V1ExtranetB2bConsumersIdPrefixesPutResponse: + """v1_extranet_b2b_consumers_id_prefixes_put - Get b2b extranet peering service customer list within a time window + Update extranet service consumer prefix NAT (peering preset) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest + :param id: Consumer subscription id (required) + :type id: int + :param v1_extranet_b2b_consumers_id_prefixes_put_request: (required) + :type v1_extranet_b2b_consumers_id_prefixes_put_request: V1ExtranetB2bConsumersIdPrefixesPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -52870,9 +52896,10 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_prefixes_put_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request=v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request, + id=id, + v1_extranet_b2b_consumers_id_prefixes_put_request=v1_extranet_b2b_consumers_id_prefixes_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52880,7 +52907,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse", + '200': "V1ExtranetB2bConsumersIdPrefixesPutResponse", } response_data = self.api_client.call_api( *_param, @@ -52894,10 +52921,11 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post( @validate_call - def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_with_http_info( + def v1_extranet_b2b_consumers_id_prefixes_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest, + id: Annotated[StrictInt, Field(description="Consumer subscription id")], + v1_extranet_b2b_consumers_id_prefixes_put_request: V1ExtranetB2bConsumersIdPrefixesPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52910,15 +52938,17 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_with_h _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse]: - """v1_extranet_b2b_monitoring_peering_service_service_customer_list_post + ) -> ApiResponse[V1ExtranetB2bConsumersIdPrefixesPutResponse]: + """v1_extranet_b2b_consumers_id_prefixes_put - Get b2b extranet peering service customer list within a time window + Update extranet service consumer prefix NAT (peering preset) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest + :param id: Consumer subscription id (required) + :type id: int + :param v1_extranet_b2b_consumers_id_prefixes_put_request: (required) + :type v1_extranet_b2b_consumers_id_prefixes_put_request: V1ExtranetB2bConsumersIdPrefixesPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -52941,9 +52971,10 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_with_h :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_prefixes_put_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request=v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request, + id=id, + v1_extranet_b2b_consumers_id_prefixes_put_request=v1_extranet_b2b_consumers_id_prefixes_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -52951,7 +52982,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_with_h ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse", + '200': "V1ExtranetB2bConsumersIdPrefixesPutResponse", } response_data = self.api_client.call_api( *_param, @@ -52965,10 +52996,11 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_with_h @validate_call - def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_without_preload_content( + def v1_extranet_b2b_consumers_id_prefixes_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest, + id: Annotated[StrictInt, Field(description="Consumer subscription id")], + v1_extranet_b2b_consumers_id_prefixes_put_request: V1ExtranetB2bConsumersIdPrefixesPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -52982,14 +53014,16 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_withou _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_b2b_monitoring_peering_service_service_customer_list_post + """v1_extranet_b2b_consumers_id_prefixes_put - Get b2b extranet peering service customer list within a time window + Update extranet service consumer prefix NAT (peering preset) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest + :param id: Consumer subscription id (required) + :type id: int + :param v1_extranet_b2b_consumers_id_prefixes_put_request: (required) + :type v1_extranet_b2b_consumers_id_prefixes_put_request: V1ExtranetB2bConsumersIdPrefixesPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53012,9 +53046,10 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_withou :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_prefixes_put_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request=v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request, + id=id, + v1_extranet_b2b_consumers_id_prefixes_put_request=v1_extranet_b2b_consumers_id_prefixes_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53022,7 +53057,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_withou ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse", + '200': "V1ExtranetB2bConsumersIdPrefixesPutResponse", } response_data = self.api_client.call_api( *_param, @@ -53031,10 +53066,11 @@ def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_withou return response_data.response - def _v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_serialize( + def _v1_extranet_b2b_consumers_id_prefixes_put_serialize( self, authorization, - v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request, + id, + v1_extranet_b2b_consumers_id_prefixes_put_request, _request_auth, _content_type, _headers, @@ -53056,14 +53092,16 @@ def _v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_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_extranet_b2b_monitoring_peering_service_service_customer_list_post_request is not None: - _body_params = v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request + if v1_extranet_b2b_consumers_id_prefixes_put_request is not None: + _body_params = v1_extranet_b2b_consumers_id_prefixes_put_request # set the HTTP header `Accept` @@ -53094,8 +53132,8 @@ def _v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_seria ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranet-b2b-monitoring/peering-service/service-customer-list', + method='PUT', + resource_path='/v1/extranet/b2b/consumers/{id}/prefixes', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -53112,10 +53150,11 @@ def _v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_seria @validate_call - def v1_extranet_b2b_monitoring_peering_service_service_health_post( + def v1_extranet_b2b_consumers_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest, + id: Annotated[StrictInt, Field(description="Consumer subscription id")], + v1_extranet_b2b_consumers_id_put_request: V1ExtranetB2bConsumersIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53128,15 +53167,17 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse: - """v1_extranet_b2b_monitoring_peering_service_service_health_post + ) -> V1ExtranetB2bConsumersIdPutResponse: + """v1_extranet_b2b_consumers_id_put - Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. + Update extranet service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_service_health_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest + :param id: Consumer subscription id (required) + :type id: int + :param v1_extranet_b2b_consumers_id_put_request: (required) + :type v1_extranet_b2b_consumers_id_put_request: V1ExtranetB2bConsumersIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53159,9 +53200,10 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_service_health_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_put_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_service_health_post_request=v1_extranet_b2b_monitoring_peering_service_service_health_post_request, + id=id, + v1_extranet_b2b_consumers_id_put_request=v1_extranet_b2b_consumers_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53169,7 +53211,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse", + '200': "V1ExtranetB2bConsumersIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -53183,10 +53225,11 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post( @validate_call - def v1_extranet_b2b_monitoring_peering_service_service_health_post_with_http_info( + def v1_extranet_b2b_consumers_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest, + id: Annotated[StrictInt, Field(description="Consumer subscription id")], + v1_extranet_b2b_consumers_id_put_request: V1ExtranetB2bConsumersIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53199,15 +53242,17 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_with_http_inf _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse]: - """v1_extranet_b2b_monitoring_peering_service_service_health_post + ) -> ApiResponse[V1ExtranetB2bConsumersIdPutResponse]: + """v1_extranet_b2b_consumers_id_put - Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. + Update extranet service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_service_health_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest + :param id: Consumer subscription id (required) + :type id: int + :param v1_extranet_b2b_consumers_id_put_request: (required) + :type v1_extranet_b2b_consumers_id_put_request: V1ExtranetB2bConsumersIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53230,9 +53275,10 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_with_http_inf :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_service_health_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_put_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_service_health_post_request=v1_extranet_b2b_monitoring_peering_service_service_health_post_request, + id=id, + v1_extranet_b2b_consumers_id_put_request=v1_extranet_b2b_consumers_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53240,7 +53286,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_with_http_inf ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse", + '200': "V1ExtranetB2bConsumersIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -53254,10 +53300,11 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_with_http_inf @validate_call - def v1_extranet_b2b_monitoring_peering_service_service_health_post_without_preload_content( + def v1_extranet_b2b_consumers_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest, + id: Annotated[StrictInt, Field(description="Consumer subscription id")], + v1_extranet_b2b_consumers_id_put_request: V1ExtranetB2bConsumersIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53271,14 +53318,16 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_without_prelo _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_b2b_monitoring_peering_service_service_health_post + """v1_extranet_b2b_consumers_id_put - Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. + Update extranet service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_service_health_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest + :param id: Consumer subscription id (required) + :type id: int + :param v1_extranet_b2b_consumers_id_put_request: (required) + :type v1_extranet_b2b_consumers_id_put_request: V1ExtranetB2bConsumersIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53301,9 +53350,10 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_without_prelo :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_service_health_post_serialize( + _param = self._v1_extranet_b2b_consumers_id_put_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_service_health_post_request=v1_extranet_b2b_monitoring_peering_service_service_health_post_request, + id=id, + v1_extranet_b2b_consumers_id_put_request=v1_extranet_b2b_consumers_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53311,7 +53361,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_without_prelo ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse", + '200': "V1ExtranetB2bConsumersIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -53320,10 +53370,11 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_without_prelo return response_data.response - def _v1_extranet_b2b_monitoring_peering_service_service_health_post_serialize( + def _v1_extranet_b2b_consumers_id_put_serialize( self, authorization, - v1_extranet_b2b_monitoring_peering_service_service_health_post_request, + id, + v1_extranet_b2b_consumers_id_put_request, _request_auth, _content_type, _headers, @@ -53345,14 +53396,16 @@ def _v1_extranet_b2b_monitoring_peering_service_service_health_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_b2b_monitoring_peering_service_service_health_post_request is not None: - _body_params = v1_extranet_b2b_monitoring_peering_service_service_health_post_request + if v1_extranet_b2b_consumers_id_put_request is not None: + _body_params = v1_extranet_b2b_consumers_id_put_request # set the HTTP header `Accept` @@ -53383,8 +53436,8 @@ def _v1_extranet_b2b_monitoring_peering_service_service_health_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranet-b2b-monitoring/peering-service/service-health', + method='PUT', + resource_path='/v1/extranet/b2b/consumers/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -53401,10 +53454,10 @@ def _v1_extranet_b2b_monitoring_peering_service_service_health_post_serialize( @validate_call - def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post( + def v1_extranet_b2b_customers_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53417,15 +53470,15 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse: - """v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post + ) -> V1ExtranetB2bCustomersIdDeleteResponse: + """v1_extranet_b2b_customers_id_delete - Get b2b extranet peering service overtime consumption + Delete an extranet service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest + :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 @@ -53448,9 +53501,9 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_serialize( + _param = self._v1_extranet_b2b_customers_id_delete_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request=v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53458,7 +53511,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse", + '200': "V1ExtranetB2bCustomersIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -53472,10 +53525,10 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post @validate_call - def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_with_http_info( + def v1_extranet_b2b_customers_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53488,15 +53541,15 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse]: - """v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post + ) -> ApiResponse[V1ExtranetB2bCustomersIdDeleteResponse]: + """v1_extranet_b2b_customers_id_delete - Get b2b extranet peering service overtime consumption + Delete an extranet service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest + :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 @@ -53519,9 +53572,9 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_serialize( + _param = self._v1_extranet_b2b_customers_id_delete_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request=v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53529,7 +53582,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse", + '200': "V1ExtranetB2bCustomersIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -53543,10 +53596,10 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post @validate_call - def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_without_preload_content( + def v1_extranet_b2b_customers_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53560,14 +53613,14 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post + """v1_extranet_b2b_customers_id_delete - Get b2b extranet peering service overtime consumption + Delete an extranet service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: (required) - :type v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest + :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 @@ -53590,9 +53643,9 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_serialize( + _param = self._v1_extranet_b2b_customers_id_delete_serialize( authorization=authorization, - v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request=v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53600,7 +53653,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse", + '200': "V1ExtranetB2bCustomersIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -53609,10 +53662,10 @@ def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post return response_data.response - def _v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_serialize( + def _v1_extranet_b2b_customers_id_delete_serialize( self, authorization, - v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request, + id, _request_auth, _content_type, _headers, @@ -53634,14 +53687,14 @@ def _v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_pos _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_b2b_monitoring_peering_service_service_overtime_consumption_post_request is not None: - _body_params = v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request # set the HTTP header `Accept` @@ -53652,19 +53705,6 @@ def _v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_pos ] ) - # 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] = [ @@ -53672,8 +53712,8 @@ def _v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_pos ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranet-b2b-monitoring/peering-service/service-overtime-consumption', + method='DELETE', + resource_path='/v1/extranet/b2b/customers/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -53690,10 +53730,10 @@ def _v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_pos @validate_call - def v1_extranet_sites_usage_top_post( + def v1_extranet_b2b_customers_id_details_get( 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)], @@ -53706,15 +53746,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 + ) -> V1ExtranetB2bCustomersIdDetailsGetResponse: + """v1_extranet_b2b_customers_id_details_get - Get extranet service top sites usage stats + Get an extranet service 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 @@ -53737,9 +53777,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_extranet_b2b_customers_id_details_get_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, @@ -53747,7 +53787,7 @@ def v1_extranet_sites_usage_top_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetSitesUsageTopPostResponse", + '200': "V1ExtranetB2bCustomersIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -53761,10 +53801,10 @@ def v1_extranet_sites_usage_top_post( @validate_call - def v1_extranet_sites_usage_top_post_with_http_info( + def v1_extranet_b2b_customers_id_details_get_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)], @@ -53777,15 +53817,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[V1ExtranetB2bCustomersIdDetailsGetResponse]: + """v1_extranet_b2b_customers_id_details_get - Get extranet service top sites usage stats + Get an extranet service 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 @@ -53808,9 +53848,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_extranet_b2b_customers_id_details_get_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, @@ -53818,7 +53858,7 @@ def v1_extranet_sites_usage_top_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetSitesUsageTopPostResponse", + '200': "V1ExtranetB2bCustomersIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -53832,10 +53872,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_extranet_b2b_customers_id_details_get_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)], @@ -53849,14 +53889,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_extranet_b2b_customers_id_details_get - Get extranet service top sites usage stats + Get an extranet service 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 @@ -53879,9 +53919,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_extranet_b2b_customers_id_details_get_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, @@ -53889,7 +53929,7 @@ def v1_extranet_sites_usage_top_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetSitesUsageTopPostResponse", + '200': "V1ExtranetB2bCustomersIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -53898,10 +53938,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_extranet_b2b_customers_id_details_get_serialize( self, authorization, - v1_extranet_sites_usage_top_post_request, + id, _request_auth, _content_type, _headers, @@ -53923,14 +53963,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` @@ -53941,19 +53981,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] = [ @@ -53961,8 +53988,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='GET', + resource_path='/v1/extranet/b2b/customers/{id}/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -53979,10 +54006,10 @@ def _v1_extranet_sites_usage_top_post_serialize( @validate_call - def v1_extranets_b2b_consumer_device_status_id_get( + def v1_extranet_b2b_customers_id_matches_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="Customer id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53995,14 +54022,14 @@ 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 + ) -> V1ExtranetB2bCustomersIdMatchesSummaryGetResponse: + """v1_extranet_b2b_customers_id_matches_summary_get - Get B2B extranet consumer status + Get matched services summary for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: Customer id (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -54026,7 +54053,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_extranet_b2b_customers_id_matches_summary_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -54036,7 +54063,7 @@ def v1_extranets_b2b_consumer_device_status_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", + '200': "V1ExtranetB2bCustomersIdMatchesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -54050,10 +54077,10 @@ 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_extranet_b2b_customers_id_matches_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="Customer id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54066,14 +54093,14 @@ 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[V1ExtranetB2bCustomersIdMatchesSummaryGetResponse]: + """v1_extranet_b2b_customers_id_matches_summary_get - Get B2B extranet consumer status + Get matched services summary for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: Customer id (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -54097,7 +54124,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_extranet_b2b_customers_id_matches_summary_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -54107,7 +54134,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", + '200': "V1ExtranetB2bCustomersIdMatchesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -54121,10 +54148,10 @@ 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_extranet_b2b_customers_id_matches_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="Customer id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54138,13 +54165,13 @@ 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_extranet_b2b_customers_id_matches_summary_get - Get B2B extranet consumer status + Get matched services summary for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: Customer id (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -54168,7 +54195,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_extranet_b2b_customers_id_matches_summary_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -54178,7 +54205,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", + '200': "V1ExtranetB2bCustomersIdMatchesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -54187,7 +54214,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_extranet_b2b_customers_id_matches_summary_get_serialize( self, authorization, id, @@ -54238,7 +54265,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/extranet/b2b/customers/{id}/matches/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -54255,10 +54282,11 @@ def _v1_extranets_b2b_consumer_device_status_id_get_serialize( @validate_call - def v1_extranets_b2b_consumer_id_delete( + def v1_extranet_b2b_customers_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + v1_extranet_b2b_customers_id_put_request: V1ExtranetB2bCustomersIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54271,15 +54299,17 @@ 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 + ) -> V1ExtranetB2bCustomersIdPutResponse: + """v1_extranet_b2b_customers_id_put - Delete a B2B extranet consumer + Update an extranet service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param v1_extranet_b2b_customers_id_put_request: (required) + :type v1_extranet_b2b_customers_id_put_request: V1ExtranetB2bCustomersIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54302,9 +54332,10 @@ 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_extranet_b2b_customers_id_put_serialize( authorization=authorization, id=id, + v1_extranet_b2b_customers_id_put_request=v1_extranet_b2b_customers_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54312,7 +54343,7 @@ def v1_extranets_b2b_consumer_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetB2bCustomersIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -54326,10 +54357,11 @@ def v1_extranets_b2b_consumer_id_delete( @validate_call - def v1_extranets_b2b_consumer_id_delete_with_http_info( + def v1_extranet_b2b_customers_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + v1_extranet_b2b_customers_id_put_request: V1ExtranetB2bCustomersIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54342,15 +54374,17 @@ 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[V1ExtranetB2bCustomersIdPutResponse]: + """v1_extranet_b2b_customers_id_put - Delete a B2B extranet consumer + Update an extranet service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param v1_extranet_b2b_customers_id_put_request: (required) + :type v1_extranet_b2b_customers_id_put_request: V1ExtranetB2bCustomersIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54373,9 +54407,10 @@ 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_extranet_b2b_customers_id_put_serialize( authorization=authorization, id=id, + v1_extranet_b2b_customers_id_put_request=v1_extranet_b2b_customers_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54383,7 +54418,7 @@ def v1_extranets_b2b_consumer_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetB2bCustomersIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -54397,10 +54432,11 @@ def v1_extranets_b2b_consumer_id_delete_with_http_info( @validate_call - def v1_extranets_b2b_consumer_id_delete_without_preload_content( + def v1_extranet_b2b_customers_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + v1_extranet_b2b_customers_id_put_request: V1ExtranetB2bCustomersIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54414,14 +54450,16 @@ 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_extranet_b2b_customers_id_put - Delete a B2B extranet consumer + Update an extranet service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param v1_extranet_b2b_customers_id_put_request: (required) + :type v1_extranet_b2b_customers_id_put_request: V1ExtranetB2bCustomersIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54444,9 +54482,10 @@ 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_extranet_b2b_customers_id_put_serialize( authorization=authorization, id=id, + v1_extranet_b2b_customers_id_put_request=v1_extranet_b2b_customers_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54454,7 +54493,7 @@ def v1_extranets_b2b_consumer_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetB2bCustomersIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -54463,10 +54502,11 @@ def v1_extranets_b2b_consumer_id_delete_without_preload_content( return response_data.response - def _v1_extranets_b2b_consumer_id_delete_serialize( + def _v1_extranet_b2b_customers_id_put_serialize( self, authorization, id, + v1_extranet_b2b_customers_id_put_request, _request_auth, _content_type, _headers, @@ -54496,6 +54536,8 @@ def _v1_extranets_b2b_consumer_id_delete_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranet_b2b_customers_id_put_request is not None: + _body_params = v1_extranet_b2b_customers_id_put_request # set the HTTP header `Accept` @@ -54506,6 +54548,19 @@ def _v1_extranets_b2b_consumer_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] = [ @@ -54513,8 +54568,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='PUT', + resource_path='/v1/extranet/b2b/customers/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -54531,10 +54586,11 @@ def _v1_extranets_b2b_consumer_id_delete_serialize( @validate_call - def v1_extranets_b2b_consumer_id_get( + def v1_extranet_b2b_customers_id_retry_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54547,15 +54603,17 @@ 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 + ) -> object: + """v1_extranet_b2b_customers_id_retry_post - Get a B2B extranet consumer + Retry extranet service customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :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 @@ -54578,9 +54636,10 @@ 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_extranet_b2b_customers_id_retry_post_serialize( authorization=authorization, id=id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54588,7 +54647,7 @@ def v1_extranets_b2b_consumer_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -54602,10 +54661,11 @@ def v1_extranets_b2b_consumer_id_get( @validate_call - def v1_extranets_b2b_consumer_id_get_with_http_info( + def v1_extranet_b2b_customers_id_retry_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54618,15 +54678,17 @@ 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[object]: + """v1_extranet_b2b_customers_id_retry_post - Get a B2B extranet consumer + Retry extranet service customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :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 @@ -54649,9 +54711,10 @@ 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_extranet_b2b_customers_id_retry_post_serialize( authorization=authorization, id=id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54659,7 +54722,7 @@ def v1_extranets_b2b_consumer_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -54673,10 +54736,11 @@ def v1_extranets_b2b_consumer_id_get_with_http_info( @validate_call - def v1_extranets_b2b_consumer_id_get_without_preload_content( + def v1_extranet_b2b_customers_id_retry_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54690,14 +54754,16 @@ 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_extranet_b2b_customers_id_retry_post - Get a B2B extranet consumer + Retry extranet service customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :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 @@ -54720,9 +54786,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_extranet_b2b_customers_id_retry_post_serialize( authorization=authorization, id=id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54730,7 +54797,7 @@ def v1_extranets_b2b_consumer_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -54739,10 +54806,11 @@ def v1_extranets_b2b_consumer_id_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_consumer_id_get_serialize( + def _v1_extranet_b2b_customers_id_retry_post_serialize( self, authorization, id, + body, _request_auth, _content_type, _headers, @@ -54772,6 +54840,8 @@ def _v1_extranets_b2b_consumer_id_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` @@ -54782,6 +54852,19 @@ def _v1_extranets_b2b_consumer_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] = [ @@ -54789,8 +54872,8 @@ def _v1_extranets_b2b_consumer_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b/consumer/{id}', + method='POST', + resource_path='/v1/extranet/b2b/customers/{id}/retry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -54807,10 +54890,10 @@ def _v1_extranets_b2b_consumer_id_get_serialize( @validate_call - def v1_extranets_b2b_consumer_post( + def v1_extranet_b2b_customers_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, + v1_extranet_b2b_customers_post_request: V1ExtranetB2bCustomersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54823,15 +54906,15 @@ def v1_extranets_b2b_consumer_post( _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 + ) -> V1ExtranetB2bCustomersPostResponse: + """v1_extranet_b2b_customers_post - Create a new B2B extranet consumer + Create an extranet service customer (partner directory entry) :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 v1_extranet_b2b_customers_post_request: (required) + :type v1_extranet_b2b_customers_post_request: V1ExtranetB2bCustomersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54854,9 +54937,9 @@ def v1_extranets_b2b_consumer_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_post_serialize( + _param = self._v1_extranet_b2b_customers_post_serialize( authorization=authorization, - v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, + v1_extranet_b2b_customers_post_request=v1_extranet_b2b_customers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54864,7 +54947,7 @@ def v1_extranets_b2b_consumer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerPostResponse", + '200': "V1ExtranetB2bCustomersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -54878,10 +54961,10 @@ def v1_extranets_b2b_consumer_post( @validate_call - def v1_extranets_b2b_consumer_post_with_http_info( + def v1_extranet_b2b_customers_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, + v1_extranet_b2b_customers_post_request: V1ExtranetB2bCustomersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54894,15 +54977,15 @@ 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[V1ExtranetB2bCustomersPostResponse]: + """v1_extranet_b2b_customers_post - Create a new B2B extranet consumer + Create an extranet service customer (partner directory entry) :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 v1_extranet_b2b_customers_post_request: (required) + :type v1_extranet_b2b_customers_post_request: V1ExtranetB2bCustomersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54925,9 +55008,9 @@ 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_extranet_b2b_customers_post_serialize( authorization=authorization, - v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, + v1_extranet_b2b_customers_post_request=v1_extranet_b2b_customers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54935,7 +55018,7 @@ def v1_extranets_b2b_consumer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerPostResponse", + '200': "V1ExtranetB2bCustomersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -54949,10 +55032,10 @@ def v1_extranets_b2b_consumer_post_with_http_info( @validate_call - def v1_extranets_b2b_consumer_post_without_preload_content( + def v1_extranet_b2b_customers_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, + v1_extranet_b2b_customers_post_request: V1ExtranetB2bCustomersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54966,14 +55049,14 @@ 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_extranet_b2b_customers_post - Create a new B2B extranet consumer + Create an extranet service customer (partner directory entry) :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 v1_extranet_b2b_customers_post_request: (required) + :type v1_extranet_b2b_customers_post_request: V1ExtranetB2bCustomersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54996,9 +55079,9 @@ 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_extranet_b2b_customers_post_serialize( authorization=authorization, - v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, + v1_extranet_b2b_customers_post_request=v1_extranet_b2b_customers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55006,7 +55089,7 @@ def v1_extranets_b2b_consumer_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerPostResponse", + '200': "V1ExtranetB2bCustomersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -55015,10 +55098,10 @@ def v1_extranets_b2b_consumer_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_consumer_post_serialize( + def _v1_extranet_b2b_customers_post_serialize( self, authorization, - v1_extranets_b2b_consumer_post_request, + v1_extranet_b2b_customers_post_request, _request_auth, _content_type, _headers, @@ -55046,8 +55129,8 @@ def _v1_extranets_b2b_consumer_post_serialize( _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_extranet_b2b_customers_post_request is not None: + _body_params = v1_extranet_b2b_customers_post_request # set the HTTP header `Accept` @@ -55079,7 +55162,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/extranet/b2b/customers', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -55096,7 +55179,7 @@ def _v1_extranets_b2b_consumer_post_serialize( @validate_call - def v1_extranets_b2b_consumer_summary_get( + def v1_extranet_b2b_customers_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -55111,10 +55194,10 @@ 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 + ) -> V1ExtranetB2bCustomersSummaryGetResponse: + """v1_extranet_b2b_customers_summary_get - Get B2B extranet consumers summary + List extranet service customers for the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -55140,7 +55223,7 @@ 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_extranet_b2b_customers_summary_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -55149,7 +55232,7 @@ def v1_extranets_b2b_consumer_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerSummaryGetResponse", + '200': "V1ExtranetB2bCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -55163,7 +55246,7 @@ def v1_extranets_b2b_consumer_summary_get( @validate_call - def v1_extranets_b2b_consumer_summary_get_with_http_info( + def v1_extranet_b2b_customers_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -55178,10 +55261,10 @@ 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[V1ExtranetB2bCustomersSummaryGetResponse]: + """v1_extranet_b2b_customers_summary_get - Get B2B extranet consumers summary + List extranet service customers for the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -55207,7 +55290,7 @@ 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_extranet_b2b_customers_summary_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -55216,7 +55299,7 @@ def v1_extranets_b2b_consumer_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerSummaryGetResponse", + '200': "V1ExtranetB2bCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -55230,7 +55313,7 @@ def v1_extranets_b2b_consumer_summary_get_with_http_info( @validate_call - def v1_extranets_b2b_consumer_summary_get_without_preload_content( + def v1_extranet_b2b_customers_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -55246,9 +55329,9 @@ 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_extranet_b2b_customers_summary_get - Get B2B extranet consumers summary + List extranet service customers for the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -55274,7 +55357,7 @@ 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_extranet_b2b_customers_summary_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -55283,7 +55366,7 @@ def v1_extranets_b2b_consumer_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerSummaryGetResponse", + '200': "V1ExtranetB2bCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -55292,7 +55375,7 @@ def v1_extranets_b2b_consumer_summary_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_consumer_summary_get_serialize( + def _v1_extranet_b2b_customers_summary_get_serialize( self, authorization, _request_auth, @@ -55340,7 +55423,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/extranet/b2b/customers/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -55357,10 +55440,10 @@ def _v1_extranets_b2b_consumer_summary_get_serialize( @validate_call - def v1_extranets_b2b_customer_id_delete( + def v1_extranet_b2b_matches_customers_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranet_b2b_matches_customers_post_request: V1ExtranetB2bMatchesCustomersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55373,15 +55456,15 @@ def v1_extranets_b2b_customer_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_customer_id_delete + ) -> V1ExtranetB2bMatchesCustomersPostResponse: + """v1_extranet_b2b_matches_customers_post - Delete a B2B extranet customer + Bulk subscribe customers to an extranet service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranet_b2b_matches_customers_post_request: (required) + :type v1_extranet_b2b_matches_customers_post_request: V1ExtranetB2bMatchesCustomersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55404,9 +55487,9 @@ 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_extranet_b2b_matches_customers_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_matches_customers_post_request=v1_extranet_b2b_matches_customers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55414,7 +55497,7 @@ def v1_extranets_b2b_customer_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetB2bMatchesCustomersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -55428,10 +55511,10 @@ def v1_extranets_b2b_customer_id_delete( @validate_call - def v1_extranets_b2b_customer_id_delete_with_http_info( + def v1_extranet_b2b_matches_customers_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranet_b2b_matches_customers_post_request: V1ExtranetB2bMatchesCustomersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55444,15 +55527,15 @@ def v1_extranets_b2b_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[object]: - """v1_extranets_b2b_customer_id_delete + ) -> ApiResponse[V1ExtranetB2bMatchesCustomersPostResponse]: + """v1_extranet_b2b_matches_customers_post - Delete a B2B extranet customer + Bulk subscribe customers to an extranet service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranet_b2b_matches_customers_post_request: (required) + :type v1_extranet_b2b_matches_customers_post_request: V1ExtranetB2bMatchesCustomersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55475,9 +55558,9 @@ 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_extranet_b2b_matches_customers_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_matches_customers_post_request=v1_extranet_b2b_matches_customers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55485,7 +55568,7 @@ def v1_extranets_b2b_customer_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetB2bMatchesCustomersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -55499,10 +55582,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_extranet_b2b_matches_customers_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranet_b2b_matches_customers_post_request: V1ExtranetB2bMatchesCustomersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55516,14 +55599,14 @@ 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_extranet_b2b_matches_customers_post - Delete a B2B extranet customer + Bulk subscribe customers to an extranet service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranet_b2b_matches_customers_post_request: (required) + :type v1_extranet_b2b_matches_customers_post_request: V1ExtranetB2bMatchesCustomersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55546,9 +55629,9 @@ 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_extranet_b2b_matches_customers_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_matches_customers_post_request=v1_extranet_b2b_matches_customers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55556,7 +55639,7 @@ def v1_extranets_b2b_customer_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetB2bMatchesCustomersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -55565,10 +55648,10 @@ def v1_extranets_b2b_customer_id_delete_without_preload_content( return response_data.response - def _v1_extranets_b2b_customer_id_delete_serialize( + def _v1_extranet_b2b_matches_customers_post_serialize( self, authorization, - id, + v1_extranet_b2b_matches_customers_post_request, _request_auth, _content_type, _headers, @@ -55590,14 +55673,14 @@ def _v1_extranets_b2b_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_extranet_b2b_matches_customers_post_request is not None: + _body_params = v1_extranet_b2b_matches_customers_post_request # set the HTTP header `Accept` @@ -55608,6 +55691,19 @@ def _v1_extranets_b2b_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] = [ @@ -55615,8 +55711,8 @@ def _v1_extranets_b2b_customer_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/extranets-b2b/customer/{id}', + method='POST', + resource_path='/v1/extranet/b2b/matches/customers', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -55633,10 +55729,11 @@ def _v1_extranets_b2b_customer_id_delete_serialize( @validate_call - def v1_extranets_b2b_customer_info_id_get( + def v1_extranet_b2b_matches_match_id_consumer_check_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], + v1_extranet_b2b_matches_match_id_consumer_check_post_request: V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55649,15 +55746,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 + ) -> V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse: + """v1_extranet_b2b_matches_match_id_consumer_check_post - Get B2B extranet application customer + Check extranet service consumer configuration :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param match_id: Match id (URL path :matchId) (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_consumer_check_post_request: (required) + :type v1_extranet_b2b_matches_match_id_consumer_check_post_request: V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55680,9 +55779,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_extranet_b2b_matches_match_id_consumer_check_post_serialize( authorization=authorization, - id=id, + match_id=match_id, + v1_extranet_b2b_matches_match_id_consumer_check_post_request=v1_extranet_b2b_matches_match_id_consumer_check_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55690,7 +55790,7 @@ def v1_extranets_b2b_customer_info_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse", } response_data = self.api_client.call_api( *_param, @@ -55704,10 +55804,11 @@ def v1_extranets_b2b_customer_info_id_get( @validate_call - def v1_extranets_b2b_customer_info_id_get_with_http_info( + def v1_extranet_b2b_matches_match_id_consumer_check_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], + v1_extranet_b2b_matches_match_id_consumer_check_post_request: V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55720,15 +55821,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[V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse]: + """v1_extranet_b2b_matches_match_id_consumer_check_post - Get B2B extranet application customer + Check extranet service consumer configuration :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param match_id: Match id (URL path :matchId) (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_consumer_check_post_request: (required) + :type v1_extranet_b2b_matches_match_id_consumer_check_post_request: V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55751,9 +55854,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_extranet_b2b_matches_match_id_consumer_check_post_serialize( authorization=authorization, - id=id, + match_id=match_id, + v1_extranet_b2b_matches_match_id_consumer_check_post_request=v1_extranet_b2b_matches_match_id_consumer_check_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55761,7 +55865,7 @@ def v1_extranets_b2b_customer_info_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse", } response_data = self.api_client.call_api( *_param, @@ -55775,10 +55879,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_extranet_b2b_matches_match_id_consumer_check_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], + v1_extranet_b2b_matches_match_id_consumer_check_post_request: V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55792,14 +55897,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_extranet_b2b_matches_match_id_consumer_check_post - Get B2B extranet application customer + Check extranet service consumer configuration :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param match_id: Match id (URL path :matchId) (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_consumer_check_post_request: (required) + :type v1_extranet_b2b_matches_match_id_consumer_check_post_request: V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55822,9 +55929,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_extranet_b2b_matches_match_id_consumer_check_post_serialize( authorization=authorization, - id=id, + match_id=match_id, + v1_extranet_b2b_matches_match_id_consumer_check_post_request=v1_extranet_b2b_matches_match_id_consumer_check_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55832,7 +55940,7 @@ def v1_extranets_b2b_customer_info_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse", } response_data = self.api_client.call_api( *_param, @@ -55841,10 +55949,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_extranet_b2b_matches_match_id_consumer_check_post_serialize( self, authorization, - id, + match_id, + v1_extranet_b2b_matches_match_id_consumer_check_post_request, _request_auth, _content_type, _headers, @@ -55866,14 +55975,16 @@ def _v1_extranets_b2b_customer_info_id_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: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranet_b2b_matches_match_id_consumer_check_post_request is not None: + _body_params = v1_extranet_b2b_matches_match_id_consumer_check_post_request # set the HTTP header `Accept` @@ -55884,6 +55995,19 @@ def _v1_extranets_b2b_customer_info_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] = [ @@ -55891,8 +56015,8 @@ 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}', + method='POST', + resource_path='/v1/extranet/b2b/matches/{matchId}/consumer/check', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -55909,9 +56033,11 @@ def _v1_extranets_b2b_customer_info_id_get_serialize( @validate_call - def v1_extranets_b2b_general_customers_summary_get( + def v1_extranet_b2b_matches_match_id_consumer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], + v1_extranet_b2b_matches_match_id_consumer_post_request: V1ExtranetB2bMatchesMatchIdConsumerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55924,13 +56050,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 + ) -> V1ExtranetB2bMatchesMatchIdConsumerPostResponse: + """v1_extranet_b2b_matches_match_id_consumer_post - Get summary for a B2B extranet peering services customers + Consumer accepts an extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param match_id: Match id (URL path :matchId) (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_consumer_post_request: (required) + :type v1_extranet_b2b_matches_match_id_consumer_post_request: V1ExtranetB2bMatchesMatchIdConsumerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55953,8 +56083,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_extranet_b2b_matches_match_id_consumer_post_serialize( authorization=authorization, + match_id=match_id, + v1_extranet_b2b_matches_match_id_consumer_post_request=v1_extranet_b2b_matches_match_id_consumer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55962,7 +56094,7 @@ def v1_extranets_b2b_general_customers_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdConsumerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -55976,9 +56108,11 @@ def v1_extranets_b2b_general_customers_summary_get( @validate_call - def v1_extranets_b2b_general_customers_summary_get_with_http_info( + def v1_extranet_b2b_matches_match_id_consumer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], + v1_extranet_b2b_matches_match_id_consumer_post_request: V1ExtranetB2bMatchesMatchIdConsumerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55991,13 +56125,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[V1ExtranetB2bMatchesMatchIdConsumerPostResponse]: + """v1_extranet_b2b_matches_match_id_consumer_post - Get summary for a B2B extranet peering services customers + Consumer accepts an extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param match_id: Match id (URL path :matchId) (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_consumer_post_request: (required) + :type v1_extranet_b2b_matches_match_id_consumer_post_request: V1ExtranetB2bMatchesMatchIdConsumerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56020,8 +56158,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_extranet_b2b_matches_match_id_consumer_post_serialize( authorization=authorization, + match_id=match_id, + v1_extranet_b2b_matches_match_id_consumer_post_request=v1_extranet_b2b_matches_match_id_consumer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56029,7 +56169,7 @@ def v1_extranets_b2b_general_customers_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdConsumerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -56043,9 +56183,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_extranet_b2b_matches_match_id_consumer_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], + v1_extranet_b2b_matches_match_id_consumer_post_request: V1ExtranetB2bMatchesMatchIdConsumerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56059,12 +56201,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_extranet_b2b_matches_match_id_consumer_post - Get summary for a B2B extranet peering services customers + Consumer accepts an extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param match_id: Match id (URL path :matchId) (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_consumer_post_request: (required) + :type v1_extranet_b2b_matches_match_id_consumer_post_request: V1ExtranetB2bMatchesMatchIdConsumerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56087,8 +56233,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_extranet_b2b_matches_match_id_consumer_post_serialize( authorization=authorization, + match_id=match_id, + v1_extranet_b2b_matches_match_id_consumer_post_request=v1_extranet_b2b_matches_match_id_consumer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56096,7 +56244,7 @@ def v1_extranets_b2b_general_customers_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdConsumerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -56105,9 +56253,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_extranet_b2b_matches_match_id_consumer_post_serialize( self, authorization, + match_id, + v1_extranet_b2b_matches_match_id_consumer_post_request, _request_auth, _content_type, _headers, @@ -56129,12 +56279,16 @@ def _v1_extranets_b2b_general_customers_summary_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 # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranet_b2b_matches_match_id_consumer_post_request is not None: + _body_params = v1_extranet_b2b_matches_match_id_consumer_post_request # set the HTTP header `Accept` @@ -56145,6 +56299,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] = [ @@ -56152,8 +56319,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='POST', + resource_path='/v1/extranet/b2b/matches/{matchId}/consumer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -56170,9 +56337,10 @@ def _v1_extranets_b2b_general_customers_summary_get_serialize( @validate_call - def v1_extranets_b2b_general_services_summary_get( + def v1_extranet_b2b_matches_match_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56185,13 +56353,15 @@ 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 + ) -> V1ExtranetB2bMatchesMatchIdDeleteResponse: + """v1_extranet_b2b_matches_match_id_delete - Get a summary for all the B2B extranet services + Delete an extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param match_id: Match id (URL path :matchId) (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 @@ -56214,8 +56384,9 @@ 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_extranet_b2b_matches_match_id_delete_serialize( authorization=authorization, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56223,7 +56394,7 @@ def v1_extranets_b2b_general_services_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -56237,9 +56408,10 @@ def v1_extranets_b2b_general_services_summary_get( @validate_call - def v1_extranets_b2b_general_services_summary_get_with_http_info( + def v1_extranet_b2b_matches_match_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56252,13 +56424,15 @@ 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[V1ExtranetB2bMatchesMatchIdDeleteResponse]: + """v1_extranet_b2b_matches_match_id_delete - Get a summary for all the B2B extranet services + Delete an extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param match_id: Match id (URL path :matchId) (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 @@ -56281,8 +56455,9 @@ 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_extranet_b2b_matches_match_id_delete_serialize( authorization=authorization, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56290,7 +56465,7 @@ def v1_extranets_b2b_general_services_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -56304,9 +56479,10 @@ 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_extranet_b2b_matches_match_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56320,12 +56496,14 @@ 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_extranet_b2b_matches_match_id_delete - Get a summary for all the B2B extranet services + Delete an extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param match_id: Match id (URL path :matchId) (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 @@ -56348,8 +56526,9 @@ 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_extranet_b2b_matches_match_id_delete_serialize( authorization=authorization, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56357,7 +56536,7 @@ def v1_extranets_b2b_general_services_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -56366,9 +56545,10 @@ 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_extranet_b2b_matches_match_id_delete_serialize( self, authorization, + match_id, _request_auth, _content_type, _headers, @@ -56390,6 +56570,8 @@ def _v1_extranets_b2b_general_services_summary_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 # process the header parameters if authorization is not None: @@ -56413,8 +56595,8 @@ 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', + method='DELETE', + resource_path='/v1/extranet/b2b/matches/{matchId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -56431,11 +56613,10 @@ def _v1_extranets_b2b_general_services_summary_get_serialize( @validate_call - def v1_extranets_b2b_id_customer_post( + def v1_extranet_b2b_matches_match_id_details_get( 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, + match_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56448,17 +56629,15 @@ 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 + ) -> V1ExtranetB2bMatchesMatchIdDetailsGetResponse: + """v1_extranet_b2b_matches_match_id_details_get - Create B2B extranet application customer invite + Get match details for consumer accept flow :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 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 @@ -56481,10 +56660,9 @@ 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_extranet_b2b_matches_match_id_details_get_serialize( authorization=authorization, - id=id, - v1_extranets_b2b_id_customer_post_request=v1_extranets_b2b_id_customer_post_request, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56492,7 +56670,7 @@ def v1_extranets_b2b_id_customer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerPostResponse", + '200': "V1ExtranetB2bMatchesMatchIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56506,11 +56684,10 @@ def v1_extranets_b2b_id_customer_post( @validate_call - def v1_extranets_b2b_id_customer_post_with_http_info( + def v1_extranet_b2b_matches_match_id_details_get_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, + match_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56523,17 +56700,15 @@ 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[V1ExtranetB2bMatchesMatchIdDetailsGetResponse]: + """v1_extranet_b2b_matches_match_id_details_get - Create B2B extranet application customer invite + Get match details for consumer accept flow :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 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 @@ -56556,10 +56731,9 @@ 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_extranet_b2b_matches_match_id_details_get_serialize( authorization=authorization, - id=id, - v1_extranets_b2b_id_customer_post_request=v1_extranets_b2b_id_customer_post_request, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56567,7 +56741,7 @@ def v1_extranets_b2b_id_customer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerPostResponse", + '200': "V1ExtranetB2bMatchesMatchIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56581,11 +56755,10 @@ def v1_extranets_b2b_id_customer_post_with_http_info( @validate_call - def v1_extranets_b2b_id_customer_post_without_preload_content( + def v1_extranet_b2b_matches_match_id_details_get_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, + match_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56599,16 +56772,14 @@ 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_extranet_b2b_matches_match_id_details_get - Create B2B extranet application customer invite + Get match details for consumer accept flow :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 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 @@ -56631,10 +56802,9 @@ 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_extranet_b2b_matches_match_id_details_get_serialize( authorization=authorization, - id=id, - v1_extranets_b2b_id_customer_post_request=v1_extranets_b2b_id_customer_post_request, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56642,7 +56812,7 @@ def v1_extranets_b2b_id_customer_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerPostResponse", + '200': "V1ExtranetB2bMatchesMatchIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56651,11 +56821,10 @@ def v1_extranets_b2b_id_customer_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_id_customer_post_serialize( + def _v1_extranet_b2b_matches_match_id_details_get_serialize( self, authorization, - id, - v1_extranets_b2b_id_customer_post_request, + match_id, _request_auth, _content_type, _headers, @@ -56677,16 +56846,14 @@ def _v1_extranets_b2b_id_customer_post_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_id_customer_post_request is not None: - _body_params = v1_extranets_b2b_id_customer_post_request # set the HTTP header `Accept` @@ -56697,19 +56864,6 @@ def _v1_extranets_b2b_id_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] = [ @@ -56717,8 +56871,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='GET', + resource_path='/v1/extranet/b2b/matches/{matchId}/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -56735,10 +56889,10 @@ def _v1_extranets_b2b_id_customer_post_serialize( @validate_call - def v1_extranets_b2b_id_customer_summary_get( + def v1_extranet_b2b_matches_match_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56751,15 +56905,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 + ) -> V1ExtranetB2bMatchesMatchIdGetResponse: + """v1_extranet_b2b_matches_match_id_get - Get B2B extranet application customers summary + Get extranet service match details :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param match_id: Match id (URL path :matchId) (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 @@ -56782,9 +56936,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_extranet_b2b_matches_match_id_get_serialize( authorization=authorization, - id=id, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56792,7 +56946,7 @@ def v1_extranets_b2b_id_customer_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56806,10 +56960,10 @@ def v1_extranets_b2b_id_customer_summary_get( @validate_call - def v1_extranets_b2b_id_customer_summary_get_with_http_info( + def v1_extranet_b2b_matches_match_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56822,15 +56976,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[V1ExtranetB2bMatchesMatchIdGetResponse]: + """v1_extranet_b2b_matches_match_id_get - Get B2B extranet application customers summary + Get extranet service match details :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param match_id: Match id (URL path :matchId) (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 @@ -56853,9 +57007,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_extranet_b2b_matches_match_id_get_serialize( authorization=authorization, - id=id, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56863,7 +57017,7 @@ def v1_extranets_b2b_id_customer_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56877,10 +57031,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_extranet_b2b_matches_match_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + match_id: Annotated[StrictInt, Field(description="Match id (URL path :matchId)")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56894,14 +57048,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_extranet_b2b_matches_match_id_get - Get B2B extranet application customers summary + Get extranet service match details :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param match_id: Match id (URL path :matchId) (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 @@ -56924,9 +57078,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_extranet_b2b_matches_match_id_get_serialize( authorization=authorization, - id=id, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56934,7 +57088,7 @@ def v1_extranets_b2b_id_customer_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56943,10 +57097,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_extranet_b2b_matches_match_id_get_serialize( self, authorization, - id, + match_id, _request_auth, _content_type, _headers, @@ -56968,8 +57122,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: @@ -56994,7 +57148,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/extranet/b2b/matches/{matchId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -57011,10 +57165,11 @@ def _v1_extranets_b2b_id_customer_summary_get_serialize( @validate_call - def v1_extranets_b2b_id_delete( + def v1_extranet_b2b_matches_match_id_put( 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="Match id (URL path :matchId)")], + v1_extranet_b2b_matches_match_id_put_request: V1ExtranetB2bMatchesMatchIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57027,15 +57182,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 + ) -> V1ExtranetB2bMatchesMatchIdPutResponse: + """v1_extranet_b2b_matches_match_id_put - Delete a B2B extranet producer + Update extranet service match :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: Match id (URL path :matchId) (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_put_request: (required) + :type v1_extranet_b2b_matches_match_id_put_request: V1ExtranetB2bMatchesMatchIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57058,9 +57215,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_extranet_b2b_matches_match_id_put_serialize( authorization=authorization, - id=id, + match_id=match_id, + v1_extranet_b2b_matches_match_id_put_request=v1_extranet_b2b_matches_match_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57068,7 +57226,7 @@ def v1_extranets_b2b_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetB2bMatchesMatchIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -57082,10 +57240,11 @@ def v1_extranets_b2b_id_delete( @validate_call - def v1_extranets_b2b_id_delete_with_http_info( + def v1_extranet_b2b_matches_match_id_put_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="Match id (URL path :matchId)")], + v1_extranet_b2b_matches_match_id_put_request: V1ExtranetB2bMatchesMatchIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57098,15 +57257,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[V1ExtranetB2bMatchesMatchIdPutResponse]: + """v1_extranet_b2b_matches_match_id_put - Delete a B2B extranet producer + Update extranet service match :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: Match id (URL path :matchId) (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_put_request: (required) + :type v1_extranet_b2b_matches_match_id_put_request: V1ExtranetB2bMatchesMatchIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57129,9 +57290,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_extranet_b2b_matches_match_id_put_serialize( authorization=authorization, - id=id, + match_id=match_id, + v1_extranet_b2b_matches_match_id_put_request=v1_extranet_b2b_matches_match_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57139,7 +57301,7 @@ def v1_extranets_b2b_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetB2bMatchesMatchIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -57153,10 +57315,11 @@ def v1_extranets_b2b_id_delete_with_http_info( @validate_call - def v1_extranets_b2b_id_delete_without_preload_content( + def v1_extranet_b2b_matches_match_id_put_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="Match id (URL path :matchId)")], + v1_extranet_b2b_matches_match_id_put_request: V1ExtranetB2bMatchesMatchIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57170,14 +57333,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_extranet_b2b_matches_match_id_put - Delete a B2B extranet producer + Update extranet service match :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: Match id (URL path :matchId) (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_put_request: (required) + :type v1_extranet_b2b_matches_match_id_put_request: V1ExtranetB2bMatchesMatchIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57200,9 +57365,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_extranet_b2b_matches_match_id_put_serialize( authorization=authorization, - id=id, + match_id=match_id, + v1_extranet_b2b_matches_match_id_put_request=v1_extranet_b2b_matches_match_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57210,7 +57376,7 @@ def v1_extranets_b2b_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetB2bMatchesMatchIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -57219,10 +57385,11 @@ def v1_extranets_b2b_id_delete_without_preload_content( return response_data.response - def _v1_extranets_b2b_id_delete_serialize( + def _v1_extranet_b2b_matches_match_id_put_serialize( self, authorization, - id, + match_id, + v1_extranet_b2b_matches_match_id_put_request, _request_auth, _content_type, _headers, @@ -57244,14 +57411,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_extranet_b2b_matches_match_id_put_request is not None: + _body_params = v1_extranet_b2b_matches_match_id_put_request # set the HTTP header `Accept` @@ -57262,6 +57431,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] = [ @@ -57269,8 +57451,8 @@ def _v1_extranets_b2b_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/extranets-b2b/{id}', + method='PUT', + resource_path='/v1/extranet/b2b/matches/{matchId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -57287,11 +57469,11 @@ def _v1_extranets_b2b_id_delete_serialize( @validate_call - def v1_extranets_b2b_id_producer_get( + def v1_extranet_b2b_matches_match_id_status_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - type: Optional[StrictStr] = None, + match_id: StrictInt, + v1_extranet_b2b_matches_match_id_status_put_request: V1ExtranetB2bMatchesMatchIdStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57304,17 +57486,17 @@ 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 + ) -> V1ExtranetB2bMatchesMatchIdStatusPutResponse: + """v1_extranet_b2b_matches_match_id_status_put - Get a B2B extranet producer + Pause or resume an extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param type: - :type type: str + :param match_id: (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_status_put_request: (required) + :type v1_extranet_b2b_matches_match_id_status_put_request: V1ExtranetB2bMatchesMatchIdStatusPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57337,10 +57519,10 @@ 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_extranet_b2b_matches_match_id_status_put_serialize( authorization=authorization, - id=id, - type=type, + match_id=match_id, + v1_extranet_b2b_matches_match_id_status_put_request=v1_extranet_b2b_matches_match_id_status_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57348,7 +57530,7 @@ def v1_extranets_b2b_id_producer_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdProducerGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -57362,11 +57544,11 @@ def v1_extranets_b2b_id_producer_get( @validate_call - def v1_extranets_b2b_id_producer_get_with_http_info( + def v1_extranet_b2b_matches_match_id_status_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - type: Optional[StrictStr] = None, + match_id: StrictInt, + v1_extranet_b2b_matches_match_id_status_put_request: V1ExtranetB2bMatchesMatchIdStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57379,17 +57561,17 @@ 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[V1ExtranetB2bMatchesMatchIdStatusPutResponse]: + """v1_extranet_b2b_matches_match_id_status_put - Get a B2B extranet producer + Pause or resume an extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param type: - :type type: str + :param match_id: (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_status_put_request: (required) + :type v1_extranet_b2b_matches_match_id_status_put_request: V1ExtranetB2bMatchesMatchIdStatusPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57412,10 +57594,10 @@ 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_extranet_b2b_matches_match_id_status_put_serialize( authorization=authorization, - id=id, - type=type, + match_id=match_id, + v1_extranet_b2b_matches_match_id_status_put_request=v1_extranet_b2b_matches_match_id_status_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57423,7 +57605,7 @@ def v1_extranets_b2b_id_producer_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdProducerGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -57437,11 +57619,11 @@ def v1_extranets_b2b_id_producer_get_with_http_info( @validate_call - def v1_extranets_b2b_id_producer_get_without_preload_content( + def v1_extranet_b2b_matches_match_id_status_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - type: Optional[StrictStr] = None, + match_id: StrictInt, + v1_extranet_b2b_matches_match_id_status_put_request: V1ExtranetB2bMatchesMatchIdStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57455,16 +57637,16 @@ 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_extranet_b2b_matches_match_id_status_put - Get a B2B extranet producer + Pause or resume an extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param type: - :type type: str + :param match_id: (required) + :type match_id: int + :param v1_extranet_b2b_matches_match_id_status_put_request: (required) + :type v1_extranet_b2b_matches_match_id_status_put_request: V1ExtranetB2bMatchesMatchIdStatusPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57487,10 +57669,10 @@ 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_extranet_b2b_matches_match_id_status_put_serialize( authorization=authorization, - id=id, - type=type, + match_id=match_id, + v1_extranet_b2b_matches_match_id_status_put_request=v1_extranet_b2b_matches_match_id_status_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57498,7 +57680,7 @@ def v1_extranets_b2b_id_producer_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdProducerGetResponse", + '200': "V1ExtranetB2bMatchesMatchIdStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -57507,11 +57689,11 @@ def v1_extranets_b2b_id_producer_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_id_producer_get_serialize( + def _v1_extranet_b2b_matches_match_id_status_put_serialize( self, authorization, - id, - type, + match_id, + v1_extranet_b2b_matches_match_id_status_put_request, _request_auth, _content_type, _headers, @@ -57533,18 +57715,16 @@ def _v1_extranets_b2b_id_producer_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 - if type is not None: - - _query_params.append(('type', type)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranet_b2b_matches_match_id_status_put_request is not None: + _body_params = v1_extranet_b2b_matches_match_id_status_put_request # set the HTTP header `Accept` @@ -57555,6 +57735,19 @@ def _v1_extranets_b2b_id_producer_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] = [ @@ -57562,8 +57755,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='PUT', + resource_path='/v1/extranet/b2b/matches/{matchId}/status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -57580,11 +57773,10 @@ def _v1_extranets_b2b_id_producer_get_serialize( @validate_call - def v1_extranets_b2b_id_put( + def v1_extranet_b2b_matches_pause_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, + v1_extranet_b2b_matches_pause_put_request: V1ExtranetB2bMatchesPausePutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57597,17 +57789,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 + ) -> V1ExtranetB2bMatchesPausePutResponse: + """v1_extranet_b2b_matches_pause_put - Update a B2B extranet producer + Pause extranet service matches via customer summary :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 v1_extranet_b2b_matches_pause_put_request: (required) + :type v1_extranet_b2b_matches_pause_put_request: V1ExtranetB2bMatchesPausePutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57630,10 +57820,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_extranet_b2b_matches_pause_put_serialize( authorization=authorization, - id=id, - v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, + v1_extranet_b2b_matches_pause_put_request=v1_extranet_b2b_matches_pause_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57641,7 +57830,7 @@ def v1_extranets_b2b_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdPutResponse", + '200': "V1ExtranetB2bMatchesPausePutResponse", } response_data = self.api_client.call_api( *_param, @@ -57655,11 +57844,10 @@ def v1_extranets_b2b_id_put( @validate_call - def v1_extranets_b2b_id_put_with_http_info( + def v1_extranet_b2b_matches_pause_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, + v1_extranet_b2b_matches_pause_put_request: V1ExtranetB2bMatchesPausePutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57672,17 +57860,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[V1ExtranetB2bMatchesPausePutResponse]: + """v1_extranet_b2b_matches_pause_put - Update a B2B extranet producer + Pause extranet service matches via customer summary :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 v1_extranet_b2b_matches_pause_put_request: (required) + :type v1_extranet_b2b_matches_pause_put_request: V1ExtranetB2bMatchesPausePutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57705,10 +57891,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_extranet_b2b_matches_pause_put_serialize( authorization=authorization, - id=id, - v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, + v1_extranet_b2b_matches_pause_put_request=v1_extranet_b2b_matches_pause_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57716,7 +57901,7 @@ def v1_extranets_b2b_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdPutResponse", + '200': "V1ExtranetB2bMatchesPausePutResponse", } response_data = self.api_client.call_api( *_param, @@ -57730,11 +57915,10 @@ def v1_extranets_b2b_id_put_with_http_info( @validate_call - def v1_extranets_b2b_id_put_without_preload_content( + def v1_extranet_b2b_matches_pause_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, + v1_extranet_b2b_matches_pause_put_request: V1ExtranetB2bMatchesPausePutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57748,16 +57932,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_extranet_b2b_matches_pause_put - Update a B2B extranet producer + Pause extranet service matches via customer summary :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 v1_extranet_b2b_matches_pause_put_request: (required) + :type v1_extranet_b2b_matches_pause_put_request: V1ExtranetB2bMatchesPausePutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57780,10 +57962,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_extranet_b2b_matches_pause_put_serialize( authorization=authorization, - id=id, - v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, + v1_extranet_b2b_matches_pause_put_request=v1_extranet_b2b_matches_pause_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57791,7 +57972,7 @@ def v1_extranets_b2b_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdPutResponse", + '200': "V1ExtranetB2bMatchesPausePutResponse", } response_data = self.api_client.call_api( *_param, @@ -57800,11 +57981,10 @@ def v1_extranets_b2b_id_put_without_preload_content( return response_data.response - def _v1_extranets_b2b_id_put_serialize( + def _v1_extranet_b2b_matches_pause_put_serialize( self, authorization, - id, - v1_extranets_b2b_id_put_request, + v1_extranet_b2b_matches_pause_put_request, _request_auth, _content_type, _headers, @@ -57826,16 +58006,14 @@ def _v1_extranets_b2b_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_b2b_id_put_request is not None: - _body_params = v1_extranets_b2b_id_put_request + if v1_extranet_b2b_matches_pause_put_request is not None: + _body_params = v1_extranet_b2b_matches_pause_put_request # set the HTTP header `Accept` @@ -57867,7 +58045,7 @@ def _v1_extranets_b2b_id_put_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/v1/extranets-b2b/{id}', + resource_path='/v1/extranet/b2b/matches/pause', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -57884,11 +58062,10 @@ def _v1_extranets_b2b_id_put_serialize( @validate_call - def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( + def v1_extranet_b2b_matches_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - customer_id: StrictInt, - service_id: Optional[StrictInt] = None, + v1_extranet_b2b_matches_post_request: V1ExtranetB2bMatchesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57901,17 +58078,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 + ) -> V1ExtranetB2bMatchesPostResponse: + """v1_extranet_b2b_matches_post - Get details of a service subscription for a customer + Match an extranet service to 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 v1_extranet_b2b_matches_post_request: (required) + :type v1_extranet_b2b_matches_post_request: V1ExtranetB2bMatchesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57934,10 +58109,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_extranet_b2b_matches_post_serialize( authorization=authorization, - customer_id=customer_id, - service_id=service_id, + v1_extranet_b2b_matches_post_request=v1_extranet_b2b_matches_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57945,7 +58119,7 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", + '200': "V1ExtranetB2bMatchesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -57959,11 +58133,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_extranet_b2b_matches_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - customer_id: StrictInt, - service_id: Optional[StrictInt] = None, + v1_extranet_b2b_matches_post_request: V1ExtranetB2bMatchesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57976,17 +58149,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[V1ExtranetB2bMatchesPostResponse]: + """v1_extranet_b2b_matches_post - Get details of a service subscription for a customer + Match an extranet service to 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 v1_extranet_b2b_matches_post_request: (required) + :type v1_extranet_b2b_matches_post_request: V1ExtranetB2bMatchesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58009,10 +58180,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_extranet_b2b_matches_post_serialize( authorization=authorization, - customer_id=customer_id, - service_id=service_id, + v1_extranet_b2b_matches_post_request=v1_extranet_b2b_matches_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58020,7 +58190,7 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_with_http ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", + '200': "V1ExtranetB2bMatchesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58034,11 +58204,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_extranet_b2b_matches_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - customer_id: StrictInt, - service_id: Optional[StrictInt] = None, + v1_extranet_b2b_matches_post_request: V1ExtranetB2bMatchesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58052,16 +58221,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_extranet_b2b_matches_post - Get details of a service subscription for a customer + Match an extranet service to 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 v1_extranet_b2b_matches_post_request: (required) + :type v1_extranet_b2b_matches_post_request: V1ExtranetB2bMatchesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58084,10 +58251,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_extranet_b2b_matches_post_serialize( authorization=authorization, - customer_id=customer_id, - service_id=service_id, + v1_extranet_b2b_matches_post_request=v1_extranet_b2b_matches_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58095,7 +58261,7 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_without_p ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", + '200': "V1ExtranetB2bMatchesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58104,11 +58270,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_extranet_b2b_matches_post_serialize( self, authorization, - customer_id, - service_id, + v1_extranet_b2b_matches_post_request, _request_auth, _content_type, _headers, @@ -58130,18 +58295,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_extranet_b2b_matches_post_request is not None: + _body_params = v1_extranet_b2b_matches_post_request # set the HTTP header `Accept` @@ -58152,6 +58313,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] = [ @@ -58159,8 +58333,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/extranet/b2b/matches', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -58177,11 +58351,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_extranet_b2b_matches_review_post( 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, + v1_extranet_b2b_matches_review_post_request: V1ExtranetB2bMatchesReviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58194,17 +58367,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 + ) -> V1ExtranetB2bMatchesReviewPostResponse: + """v1_extranet_b2b_matches_review_post - Update B2B extranet peering service consumer + Review extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: consumer id (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 v1_extranet_b2b_matches_review_post_request: (required) + :type v1_extranet_b2b_matches_review_post_request: V1ExtranetB2bMatchesReviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58227,10 +58398,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_extranet_b2b_matches_review_post_serialize( authorization=authorization, - id=id, - v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request, + v1_extranet_b2b_matches_review_post_request=v1_extranet_b2b_matches_review_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58238,7 +58408,7 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", + '200': "V1ExtranetB2bMatchesReviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58252,11 +58422,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_extranet_b2b_matches_review_post_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, + v1_extranet_b2b_matches_review_post_request: V1ExtranetB2bMatchesReviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58269,17 +58438,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[V1ExtranetB2bMatchesReviewPostResponse]: + """v1_extranet_b2b_matches_review_post - Update B2B extranet peering service consumer + Review extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: consumer id (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 v1_extranet_b2b_matches_review_post_request: (required) + :type v1_extranet_b2b_matches_review_post_request: V1ExtranetB2bMatchesReviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58302,10 +58469,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_extranet_b2b_matches_review_post_serialize( authorization=authorization, - id=id, - v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request, + v1_extranet_b2b_matches_review_post_request=v1_extranet_b2b_matches_review_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58313,7 +58479,7 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", + '200': "V1ExtranetB2bMatchesReviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58327,11 +58493,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_extranet_b2b_matches_review_post_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, + v1_extranet_b2b_matches_review_post_request: V1ExtranetB2bMatchesReviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58345,16 +58510,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_extranet_b2b_matches_review_post - Update B2B extranet peering service consumer + Review extranet service match :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: consumer id (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 v1_extranet_b2b_matches_review_post_request: (required) + :type v1_extranet_b2b_matches_review_post_request: V1ExtranetB2bMatchesReviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58377,10 +58540,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_extranet_b2b_matches_review_post_serialize( authorization=authorization, - id=id, - v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request, + v1_extranet_b2b_matches_review_post_request=v1_extranet_b2b_matches_review_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58388,7 +58550,7 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", + '200': "V1ExtranetB2bMatchesReviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58397,11 +58559,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_extranet_b2b_matches_review_post_serialize( self, authorization, - id, - v1_extranets_b2b_peering_consumer_id_prefixes_put_request, + v1_extranet_b2b_matches_review_post_request, _request_auth, _content_type, _headers, @@ -58423,16 +58584,14 @@ def _v1_extranets_b2b_peering_consumer_id_prefixes_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_b2b_peering_consumer_id_prefixes_put_request is not None: - _body_params = v1_extranets_b2b_peering_consumer_id_prefixes_put_request + if v1_extranet_b2b_matches_review_post_request is not None: + _body_params = v1_extranet_b2b_matches_review_post_request # set the HTTP header `Accept` @@ -58463,8 +58622,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='POST', + resource_path='/v1/extranet/b2b/matches/review', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -58481,10 +58640,10 @@ 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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, + v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58497,15 +58656,15 @@ 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 + ) -> V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse: + """v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post - Get details of a service match for a customer + Get b2b extranet peering service sites usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int + :param v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58528,9 +58687,9 @@ 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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( authorization=authorization, - match_id=match_id, + v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request=v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58538,7 +58697,7 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse", } response_data = self.api_client.call_api( *_param, @@ -58552,10 +58711,10 @@ 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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, + v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58568,15 +58727,15 @@ 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[V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse]: + """v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post - Get details of a service match for a customer + Get b2b extranet peering service sites usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int + :param v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58599,9 +58758,9 @@ 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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( authorization=authorization, - match_id=match_id, + v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request=v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58609,7 +58768,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': "V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse", } response_data = self.api_client.call_api( *_param, @@ -58623,10 +58782,10 @@ 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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, + v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58640,14 +58799,14 @@ 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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post - Get details of a service match for a customer + Get b2b extranet peering service sites usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int + :param v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request: V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58670,9 +58829,9 @@ 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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( authorization=authorization, - match_id=match_id, + v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request=v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58680,7 +58839,7 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_without_preload ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse", } response_data = self.api_client.call_api( *_param, @@ -58689,10 +58848,10 @@ 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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_serialize( self, authorization, - match_id, + v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request, _request_auth, _content_type, _headers, @@ -58714,14 +58873,14 @@ 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 # 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_b2b_monitoring_peering_service_bandwidth_usage_post_request is not None: + _body_params = v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request # set the HTTP header `Accept` @@ -58732,6 +58891,19 @@ def _v1_extranets_b2b_peering_consumer_match_id_match_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] = [ @@ -58739,8 +58911,8 @@ 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', + method='POST', + resource_path='/v1/extranet-b2b-monitoring/peering-service/bandwidth-usage', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -58757,11 +58929,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_extranet_b2b_monitoring_peering_service_consumers_usage_top_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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58774,17 +58945,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 + ) -> V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse: + """v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post - Create B2B extranet peering service consumer + Get b2b extranet peering service top consumers usage stats :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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58807,10 +58976,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_extranet_b2b_monitoring_peering_service_consumers_usage_top_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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request=v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58818,7 +58986,7 @@ def v1_extranets_b2b_peering_consumer_match_id_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58832,11 +59000,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_extranet_b2b_monitoring_peering_service_consumers_usage_top_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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58849,17 +59016,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[V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse]: + """v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post - Create B2B extranet peering service consumer + Get b2b extranet peering service top consumers usage stats :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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58882,10 +59047,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_extranet_b2b_monitoring_peering_service_consumers_usage_top_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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request=v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58893,7 +59057,7 @@ def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58907,11 +59071,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_extranet_b2b_monitoring_peering_service_consumers_usage_top_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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58925,16 +59088,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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post - Create B2B extranet peering service consumer + Get b2b extranet peering service top consumers usage stats :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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58957,10 +59118,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_extranet_b2b_monitoring_peering_service_consumers_usage_top_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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request=v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58968,7 +59128,7 @@ def v1_extranets_b2b_peering_consumer_match_id_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58977,11 +59137,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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_serialize( self, authorization, - match_id, - v1_extranets_b2b_peering_consumer_match_id_post_request, + v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request, _request_auth, _content_type, _headers, @@ -59003,16 +59162,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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request is not None: + _body_params = v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request # set the HTTP header `Accept` @@ -59044,7 +59201,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/extranet-b2b-monitoring/peering-service/consumers-usage/top', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -59061,10 +59218,10 @@ def _v1_extranets_b2b_peering_consumer_match_id_post_serialize( @validate_call - def v1_extranets_b2b_peering_customer_id_delete( + def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the peering service customer")], + v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59077,15 +59234,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 + ) -> V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse: + """v1_extranet_b2b_monitoring_peering_service_consumption_overview_post - Delete a B2B extranet peering service customer + Get b2b extranet peering consumption overview :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) - :type id: int + :param v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59108,9 +59265,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_extranet_b2b_monitoring_peering_service_consumption_overview_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request=v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59118,7 +59275,7 @@ def v1_extranets_b2b_peering_customer_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59132,10 +59289,10 @@ def v1_extranets_b2b_peering_customer_id_delete( @validate_call - def v1_extranets_b2b_peering_customer_id_delete_with_http_info( + def v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_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_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59148,15 +59305,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[V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse]: + """v1_extranet_b2b_monitoring_peering_service_consumption_overview_post - Delete a B2B extranet peering service customer + Get b2b extranet peering consumption overview :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) - :type id: int + :param v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59179,9 +59336,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_extranet_b2b_monitoring_peering_service_consumption_overview_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request=v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59189,7 +59346,7 @@ def v1_extranets_b2b_peering_customer_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59203,10 +59360,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_extranet_b2b_monitoring_peering_service_consumption_overview_post_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_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59220,14 +59377,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_extranet_b2b_monitoring_peering_service_consumption_overview_post - Delete a B2B extranet peering service customer + Get b2b extranet peering consumption overview :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) - :type id: int + :param v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request: V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59250,9 +59407,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_extranet_b2b_monitoring_peering_service_consumption_overview_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request=v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59260,7 +59417,7 @@ def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59269,10 +59426,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_extranet_b2b_monitoring_peering_service_consumption_overview_post_serialize( self, authorization, - id, + v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request, _request_auth, _content_type, _headers, @@ -59294,14 +59451,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_extranet_b2b_monitoring_peering_service_consumption_overview_post_request is not None: + _body_params = v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request # set the HTTP header `Accept` @@ -59312,6 +59469,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] = [ @@ -59319,8 +59489,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='POST', + resource_path='/v1/extranet-b2b-monitoring/peering-service/consumption-overview', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -59337,10 +59507,10 @@ def _v1_extranets_b2b_peering_customer_id_delete_serialize( @validate_call - def v1_extranets_b2b_peering_customer_id_get( + def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the peering service customer")], + v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59353,15 +59523,15 @@ 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 + ) -> V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse: + """v1_extranet_b2b_monitoring_peering_service_service_customer_list_post - Get a B2B extranet peering service customer + Get b2b extranet peering service customer list within a time window :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) - :type id: int + :param v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59384,9 +59554,9 @@ 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_extranet_b2b_monitoring_peering_service_service_customer_list_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request=v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59394,7 +59564,7 @@ def v1_extranets_b2b_peering_customer_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59408,10 +59578,10 @@ def v1_extranets_b2b_peering_customer_id_get( @validate_call - def v1_extranets_b2b_peering_customer_id_get_with_http_info( + def v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_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_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59424,15 +59594,15 @@ 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[V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse]: + """v1_extranet_b2b_monitoring_peering_service_service_customer_list_post - Get a B2B extranet peering service customer + Get b2b extranet peering service customer list within a time window :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) - :type id: int + :param v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59455,9 +59625,9 @@ 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_extranet_b2b_monitoring_peering_service_service_customer_list_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request=v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59465,7 +59635,7 @@ def v1_extranets_b2b_peering_customer_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59479,10 +59649,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_extranet_b2b_monitoring_peering_service_service_customer_list_post_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_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59496,14 +59666,14 @@ 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_extranet_b2b_monitoring_peering_service_service_customer_list_post - Get a B2B extranet peering service customer + Get b2b extranet peering service customer list within a time window :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) - :type id: int + :param v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59526,9 +59696,9 @@ 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_extranet_b2b_monitoring_peering_service_service_customer_list_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request=v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59536,7 +59706,7 @@ def v1_extranets_b2b_peering_customer_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59545,10 +59715,10 @@ 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_extranet_b2b_monitoring_peering_service_service_customer_list_post_serialize( self, authorization, - id, + v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request, _request_auth, _content_type, _headers, @@ -59570,14 +59740,14 @@ def _v1_extranets_b2b_peering_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 # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request is not None: + _body_params = v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request # set the HTTP header `Accept` @@ -59588,6 +59758,19 @@ def _v1_extranets_b2b_peering_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] = [ @@ -59595,8 +59778,8 @@ 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}', + method='POST', + resource_path='/v1/extranet-b2b-monitoring/peering-service/service-customer-list', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -59613,10 +59796,10 @@ def _v1_extranets_b2b_peering_customer_id_get_serialize( @validate_call - def v1_extranets_b2b_peering_customer_post( + def v1_extranet_b2b_monitoring_peering_service_service_health_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, + v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59629,15 +59812,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 + ) -> V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse: + """v1_extranet_b2b_monitoring_peering_service_service_health_post - Create a new B2B extranet peering service customer + Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. :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 v1_extranet_b2b_monitoring_peering_service_service_health_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59660,9 +59843,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_extranet_b2b_monitoring_peering_service_service_health_post_serialize( authorization=authorization, - v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, + v1_extranet_b2b_monitoring_peering_service_service_health_post_request=v1_extranet_b2b_monitoring_peering_service_service_health_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59670,7 +59853,7 @@ def v1_extranets_b2b_peering_customer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerPostResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59684,10 +59867,10 @@ def v1_extranets_b2b_peering_customer_post( @validate_call - def v1_extranets_b2b_peering_customer_post_with_http_info( + def v1_extranet_b2b_monitoring_peering_service_service_health_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, + v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59700,15 +59883,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[V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse]: + """v1_extranet_b2b_monitoring_peering_service_service_health_post - Create a new B2B extranet peering service customer + Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. :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 v1_extranet_b2b_monitoring_peering_service_service_health_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59731,9 +59914,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_extranet_b2b_monitoring_peering_service_service_health_post_serialize( authorization=authorization, - v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, + v1_extranet_b2b_monitoring_peering_service_service_health_post_request=v1_extranet_b2b_monitoring_peering_service_service_health_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59741,7 +59924,7 @@ def v1_extranets_b2b_peering_customer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerPostResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59755,10 +59938,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_extranet_b2b_monitoring_peering_service_service_health_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, + v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59772,14 +59955,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_extranet_b2b_monitoring_peering_service_service_health_post - Create a new B2B extranet peering service customer + Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. :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 v1_extranet_b2b_monitoring_peering_service_service_health_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_service_health_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59802,9 +59985,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_extranet_b2b_monitoring_peering_service_service_health_post_serialize( authorization=authorization, - v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, + v1_extranet_b2b_monitoring_peering_service_service_health_post_request=v1_extranet_b2b_monitoring_peering_service_service_health_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59812,7 +59995,7 @@ def v1_extranets_b2b_peering_customer_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerPostResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59821,10 +60004,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_extranet_b2b_monitoring_peering_service_service_health_post_serialize( self, authorization, - v1_extranets_b2b_peering_customer_post_request, + v1_extranet_b2b_monitoring_peering_service_service_health_post_request, _request_auth, _content_type, _headers, @@ -59852,8 +60035,8 @@ def _v1_extranets_b2b_peering_customer_post_serialize( _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 + if v1_extranet_b2b_monitoring_peering_service_service_health_post_request is not None: + _body_params = v1_extranet_b2b_monitoring_peering_service_service_health_post_request # set the HTTP header `Accept` @@ -59885,7 +60068,7 @@ def _v1_extranets_b2b_peering_customer_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets-b2b-peering/customer', + resource_path='/v1/extranet-b2b-monitoring/peering-service/service-health', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -59902,10 +60085,10 @@ def _v1_extranets_b2b_peering_customer_post_serialize( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_id_delete( + def v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post( 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")], + v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59918,15 +60101,15 @@ 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 + ) -> V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse: + """v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post - Unsubscribe a customer from a service + Get b2b extranet peering service overtime consumption :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID for the service to customer match to be deleted (required) - :type id: int + :param v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59949,9 +60132,9 @@ 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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request=v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59959,7 +60142,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59973,10 +60156,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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_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")], + v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59989,15 +60172,15 @@ 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[V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse]: + """v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post - Unsubscribe a customer from a service + Get b2b extranet peering service overtime consumption :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID for the service to customer match to be deleted (required) - :type id: int + :param v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60020,9 +60203,9 @@ 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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request=v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60030,7 +60213,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': "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -60044,10 +60227,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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_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")], + v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60061,14 +60244,14 @@ 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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post - Unsubscribe a customer from a service + Get b2b extranet peering service overtime consumption :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID for the service to customer match to be deleted (required) - :type id: int + :param v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: (required) + :type v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request: V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60091,9 +60274,9 @@ 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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_serialize( authorization=authorization, - id=id, + v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request=v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60101,7 +60284,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", + '200': "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -60110,10 +60293,10 @@ 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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_serialize( self, authorization, - id, + v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request, _request_auth, _content_type, _headers, @@ -60135,14 +60318,14 @@ def _v1_extranets_b2b_peering_match_service_to_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_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request is not None: + _body_params = v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request # set the HTTP header `Accept` @@ -60153,6 +60336,19 @@ def _v1_extranets_b2b_peering_match_service_to_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] = [ @@ -60160,8 +60356,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='POST', + resource_path='/v1/extranet-b2b-monitoring/peering-service/service-overtime-consumption', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -60178,11 +60374,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_extranet_b2b_producer_id_customers_get( 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")], + id: Annotated[StrictInt, Field(description="Producer service id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60195,17 +60390,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 + ) -> V1ExtranetB2bProducerIdCustomersGetResponse: + """v1_extranet_b2b_producer_id_customers_get - Get details for a service to customer subscription + List customers matched to an extranet producer service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Service id for which match details are requested (required) + :param id: Producer service id (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 @@ -60228,10 +60421,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_extranet_b2b_producer_id_customers_get_serialize( authorization=authorization, id=id, - customer_id=customer_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60239,7 +60431,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", + '200': "V1ExtranetB2bProducerIdCustomersGetResponse", } response_data = self.api_client.call_api( *_param, @@ -60253,11 +60445,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_extranet_b2b_producer_id_customers_get_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")], + id: Annotated[StrictInt, Field(description="Producer service id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60270,17 +60461,15 @@ 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[V1ExtranetB2bProducerIdCustomersGetResponse]: + """v1_extranet_b2b_producer_id_customers_get - Get details for a service to customer subscription + List customers matched to an extranet producer service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Service id for which match details are requested (required) + :param id: Producer service id (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 @@ -60303,10 +60492,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( + _param = self._v1_extranet_b2b_producer_id_customers_get_serialize( authorization=authorization, id=id, - customer_id=customer_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60314,7 +60502,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", + '200': "V1ExtranetB2bProducerIdCustomersGetResponse", } response_data = self.api_client.call_api( *_param, @@ -60328,11 +60516,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_with_http_info( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_id_get_without_preload_content( + def v1_extranet_b2b_producer_id_customers_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")], + id: Annotated[StrictInt, Field(description="Producer service id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60346,16 +60533,14 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_without_preload_co _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 + """v1_extranet_b2b_producer_id_customers_get - Get details for a service to customer subscription + List customers matched to an extranet producer service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Service id for which match details are requested (required) + :param id: Producer service id (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 @@ -60378,10 +60563,9 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_without_preload_co :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( + _param = self._v1_extranet_b2b_producer_id_customers_get_serialize( authorization=authorization, id=id, - customer_id=customer_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60389,7 +60573,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': "V1ExtranetB2bProducerIdCustomersGetResponse", } response_data = self.api_client.call_api( *_param, @@ -60398,11 +60582,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_extranet_b2b_producer_id_customers_get_serialize( self, authorization, id, - customer_id, _request_auth, _content_type, _headers, @@ -60427,10 +60610,6 @@ def _v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( 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 @@ -60454,7 +60633,7 @@ 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}', + resource_path='/v1/extranet/b2b/producer/{id}/customers', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -60471,10 +60650,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_extranet_b2b_producer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60487,15 +60666,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 + ) -> object: + """v1_extranet_b2b_producer_id_delete - Create B2B extranet configuration for matching a service to a customer + Delete an inter-enterprise extranet service :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 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 @@ -60518,9 +60697,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_extranet_b2b_producer_id_delete_serialize( authorization=authorization, - v1_extranets_b2b_peering_match_service_to_customer_post_request=v1_extranets_b2b_peering_match_service_to_customer_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60528,7 +60707,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -60542,10 +60721,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_extranet_b2b_producer_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60558,15 +60737,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[object]: + """v1_extranet_b2b_producer_id_delete - Create B2B extranet configuration for matching a service to a customer + Delete an inter-enterprise extranet service :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 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 @@ -60589,9 +60768,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_extranet_b2b_producer_id_delete_serialize( authorization=authorization, - v1_extranets_b2b_peering_match_service_to_customer_post_request=v1_extranets_b2b_peering_match_service_to_customer_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60599,7 +60778,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -60613,10 +60792,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_extranet_b2b_producer_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60630,14 +60809,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_extranet_b2b_producer_id_delete - Create B2B extranet configuration for matching a service to a customer + Delete an inter-enterprise extranet service :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 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 @@ -60660,9 +60839,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_extranet_b2b_producer_id_delete_serialize( authorization=authorization, - v1_extranets_b2b_peering_match_service_to_customer_post_request=v1_extranets_b2b_peering_match_service_to_customer_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60670,7 +60849,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_without_preload_cont ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -60679,10 +60858,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_extranet_b2b_producer_id_delete_serialize( self, authorization, - v1_extranets_b2b_peering_match_service_to_customer_post_request, + id, _request_auth, _content_type, _headers, @@ -60704,14 +60883,14 @@ def _v1_extranets_b2b_peering_match_service_to_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_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` @@ -60722,19 +60901,6 @@ def _v1_extranets_b2b_peering_match_service_to_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] = [ @@ -60742,8 +60908,8 @@ 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', + method='DELETE', + resource_path='/v1/extranet/b2b/producer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -60760,10 +60926,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_extranet_b2b_producer_id_device_status_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)], @@ -60776,15 +60942,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 + ) -> V1ExtranetB2bProducerIdDeviceStatusGetResponse: + """v1_extranet_b2b_producer_id_device_status_get - Pause B2B match service to customer + Get extranet producer device rollout 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 @@ -60807,9 +60973,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_extranet_b2b_producer_id_device_status_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, @@ -60817,7 +60983,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", + '200': "V1ExtranetB2bProducerIdDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -60831,10 +60997,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_extranet_b2b_producer_id_device_status_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)], @@ -60847,15 +61013,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[V1ExtranetB2bProducerIdDeviceStatusGetResponse]: + """v1_extranet_b2b_producer_id_device_status_get - Pause B2B match service to customer + Get extranet producer device rollout 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 @@ -60878,9 +61044,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_extranet_b2b_producer_id_device_status_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, @@ -60888,7 +61054,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': "V1ExtranetB2bProducerIdDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -60902,10 +61068,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_extranet_b2b_producer_id_device_status_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)], @@ -60919,14 +61085,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_extranet_b2b_producer_id_device_status_get - Pause B2B match service to customer + Get extranet producer device rollout 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 @@ -60949,9 +61115,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_extranet_b2b_producer_id_device_status_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, @@ -60959,7 +61125,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_withou ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", + '200': "V1ExtranetB2bProducerIdDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -60968,10 +61134,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_extranet_b2b_producer_id_device_status_get_serialize( self, authorization, - v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, + id, _request_auth, _content_type, _headers, @@ -60993,14 +61159,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` @@ -61011,19 +61177,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] = [ @@ -61031,8 +61184,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/extranet/b2b/producer/{id}/device-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -61049,10 +61202,10 @@ 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_extranet_b2b_producer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61065,14 +61218,14 @@ 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 + ) -> V1ExtranetB2bProducerIdGetResponse: + """v1_extranet_b2b_producer_id_get - Get B2B extranet services matching customers summary + Get an inter-enterprise extranet service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the customer (required) + :param id: (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -61096,7 +61249,7 @@ 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_extranet_b2b_producer_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -61106,7 +61259,7 @@ def v1_extranets_b2b_peering_match_services_summary_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", + '200': "V1ExtranetB2bProducerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61120,10 +61273,10 @@ 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_extranet_b2b_producer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61136,14 +61289,14 @@ 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[V1ExtranetB2bProducerIdGetResponse]: + """v1_extranet_b2b_producer_id_get - Get B2B extranet services matching customers summary + Get an inter-enterprise extranet service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the customer (required) + :param id: (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -61167,7 +61320,7 @@ 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_extranet_b2b_producer_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -61177,7 +61330,7 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", + '200': "V1ExtranetB2bProducerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61191,10 +61344,10 @@ 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_extranet_b2b_producer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61208,13 +61361,13 @@ 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_extranet_b2b_producer_id_get - Get B2B extranet services matching customers summary + Get an inter-enterprise extranet service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the customer (required) + :param id: (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -61238,7 +61391,7 @@ 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_extranet_b2b_producer_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -61248,7 +61401,7 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_without_preload_conte ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", + '200': "V1ExtranetB2bProducerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61257,7 +61410,7 @@ 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_extranet_b2b_producer_id_get_serialize( self, authorization, id, @@ -61308,7 +61461,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/extranet/b2b/producer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -61325,10 +61478,11 @@ def _v1_extranets_b2b_peering_match_services_summary_id_get_serialize( @validate_call - def v1_extranets_b2b_peering_producer_id_get( + def v1_extranet_b2b_producer_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the service")], + id: StrictInt, + v1_extranet_b2b_producer_id_put_request: V1ExtranetB2bProducerIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61341,15 +61495,17 @@ 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 + ) -> V1ExtranetB2bProducerIdPutResponse: + """v1_extranet_b2b_producer_id_put - Get B2B extranet peering service producer + Update an inter-enterprise extranet service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the service (required) + :param id: (required) :type id: int + :param v1_extranet_b2b_producer_id_put_request: (required) + :type v1_extranet_b2b_producer_id_put_request: V1ExtranetB2bProducerIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61372,9 +61528,10 @@ 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_extranet_b2b_producer_id_put_serialize( authorization=authorization, id=id, + v1_extranet_b2b_producer_id_put_request=v1_extranet_b2b_producer_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61382,7 +61539,7 @@ def v1_extranets_b2b_peering_producer_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", + '200': "V1ExtranetB2bProducerIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -61396,10 +61553,11 @@ def v1_extranets_b2b_peering_producer_id_get( @validate_call - def v1_extranets_b2b_peering_producer_id_get_with_http_info( + def v1_extranet_b2b_producer_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the service")], + id: StrictInt, + v1_extranet_b2b_producer_id_put_request: V1ExtranetB2bProducerIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61412,15 +61570,17 @@ 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[V1ExtranetB2bProducerIdPutResponse]: + """v1_extranet_b2b_producer_id_put - Get B2B extranet peering service producer + Update an inter-enterprise extranet service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the service (required) + :param id: (required) :type id: int + :param v1_extranet_b2b_producer_id_put_request: (required) + :type v1_extranet_b2b_producer_id_put_request: V1ExtranetB2bProducerIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61443,9 +61603,10 @@ 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_extranet_b2b_producer_id_put_serialize( authorization=authorization, id=id, + v1_extranet_b2b_producer_id_put_request=v1_extranet_b2b_producer_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61453,7 +61614,7 @@ def v1_extranets_b2b_peering_producer_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", + '200': "V1ExtranetB2bProducerIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -61467,10 +61628,11 @@ 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_extranet_b2b_producer_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the service")], + id: StrictInt, + v1_extranet_b2b_producer_id_put_request: V1ExtranetB2bProducerIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61484,14 +61646,16 @@ 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_extranet_b2b_producer_id_put - Get B2B extranet peering service producer + Update an inter-enterprise extranet service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the service (required) + :param id: (required) :type id: int + :param v1_extranet_b2b_producer_id_put_request: (required) + :type v1_extranet_b2b_producer_id_put_request: V1ExtranetB2bProducerIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61514,9 +61678,10 @@ 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_extranet_b2b_producer_id_put_serialize( authorization=authorization, id=id, + v1_extranet_b2b_producer_id_put_request=v1_extranet_b2b_producer_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61524,7 +61689,7 @@ def v1_extranets_b2b_peering_producer_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", + '200': "V1ExtranetB2bProducerIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -61533,10 +61698,11 @@ 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_extranet_b2b_producer_id_put_serialize( self, authorization, id, + v1_extranet_b2b_producer_id_put_request, _request_auth, _content_type, _headers, @@ -61566,6 +61732,8 @@ def _v1_extranets_b2b_peering_producer_id_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranet_b2b_producer_id_put_request is not None: + _body_params = v1_extranet_b2b_producer_id_put_request # set the HTTP header `Accept` @@ -61576,6 +61744,19 @@ def _v1_extranets_b2b_peering_producer_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] = [ @@ -61583,8 +61764,8 @@ 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}', + method='PUT', + resource_path='/v1/extranet/b2b/producer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -61601,10 +61782,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_extranet_b2b_producer_id_status_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], + id: StrictInt, + v1_extranet_b2b_producer_id_status_put_request: V1ExtranetB2bProducerIdStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61617,15 +61799,17 @@ 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 + ) -> V1ExtranetB2bProducerIdStatusPutResponse: + """v1_extranet_b2b_producer_id_status_put - Get B2B extranet customers summary + Pause or resume an inter-enterprise extranet service :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_extranet_b2b_producer_id_status_put_request: (required) + :type v1_extranet_b2b_producer_id_status_put_request: V1ExtranetB2bProducerIdStatusPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61648,9 +61832,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_extranet_b2b_producer_id_status_put_serialize( authorization=authorization, id=id, + v1_extranet_b2b_producer_id_status_put_request=v1_extranet_b2b_producer_id_status_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61658,7 +61843,7 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", + '200': "V1ExtranetB2bProducerIdStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -61672,10 +61857,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_extranet_b2b_producer_id_status_put_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_extranet_b2b_producer_id_status_put_request: V1ExtranetB2bProducerIdStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61688,15 +61874,17 @@ 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[V1ExtranetB2bProducerIdStatusPutResponse]: + """v1_extranet_b2b_producer_id_status_put - Get B2B extranet customers summary + Pause or resume an inter-enterprise extranet service :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_extranet_b2b_producer_id_status_put_request: (required) + :type v1_extranet_b2b_producer_id_status_put_request: V1ExtranetB2bProducerIdStatusPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61719,9 +61907,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_extranet_b2b_producer_id_status_put_serialize( authorization=authorization, id=id, + v1_extranet_b2b_producer_id_status_put_request=v1_extranet_b2b_producer_id_status_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61729,7 +61918,7 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_htt ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", + '200': "V1ExtranetB2bProducerIdStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -61743,10 +61932,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_extranet_b2b_producer_id_status_put_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_extranet_b2b_producer_id_status_put_request: V1ExtranetB2bProducerIdStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61760,14 +61950,16 @@ 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_extranet_b2b_producer_id_status_put - Get B2B extranet customers summary + Pause or resume an inter-enterprise extranet service :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_extranet_b2b_producer_id_status_put_request: (required) + :type v1_extranet_b2b_producer_id_status_put_request: V1ExtranetB2bProducerIdStatusPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61790,9 +61982,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_extranet_b2b_producer_id_status_put_serialize( authorization=authorization, id=id, + v1_extranet_b2b_producer_id_status_put_request=v1_extranet_b2b_producer_id_status_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61800,7 +61993,7 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_ ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", + '200': "V1ExtranetB2bProducerIdStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -61809,10 +62002,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_extranet_b2b_producer_id_status_put_serialize( self, authorization, id, + v1_extranet_b2b_producer_id_status_put_request, _request_auth, _content_type, _headers, @@ -61842,6 +62036,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_extranet_b2b_producer_id_status_put_request is not None: + _body_params = v1_extranet_b2b_producer_id_status_put_request # set the HTTP header `Accept` @@ -61852,6 +62048,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] = [ @@ -61859,8 +62068,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='PUT', + resource_path='/v1/extranet/b2b/producer/{id}/status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -61877,10 +62086,10 @@ def _v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_seriali @validate_call - def v1_extranets_b2b_peering_producer_post( + def v1_extranet_b2b_producer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + v1_extranet_b2b_producer_post_request: V1ExtranetB2bProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61893,15 +62102,15 @@ 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 + ) -> V1ExtranetB2bProducerPostResponse: + """v1_extranet_b2b_producer_post - Create a new B2B extranet peering service producer + Create an inter-enterprise extranet service (peering, client-to-server, …) :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 v1_extranet_b2b_producer_post_request: (required) + :type v1_extranet_b2b_producer_post_request: V1ExtranetB2bProducerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61924,9 +62133,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_extranet_b2b_producer_post_serialize( authorization=authorization, - v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + v1_extranet_b2b_producer_post_request=v1_extranet_b2b_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61934,7 +62143,7 @@ def v1_extranets_b2b_peering_producer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerPostResponse", + '200': "V1ExtranetB2bProducerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -61948,10 +62157,10 @@ def v1_extranets_b2b_peering_producer_post( @validate_call - def v1_extranets_b2b_peering_producer_post_with_http_info( + def v1_extranet_b2b_producer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + v1_extranet_b2b_producer_post_request: V1ExtranetB2bProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61964,15 +62173,15 @@ 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[V1ExtranetB2bProducerPostResponse]: + """v1_extranet_b2b_producer_post - Create a new B2B extranet peering service producer + Create an inter-enterprise extranet service (peering, client-to-server, …) :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 v1_extranet_b2b_producer_post_request: (required) + :type v1_extranet_b2b_producer_post_request: V1ExtranetB2bProducerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61995,9 +62204,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_extranet_b2b_producer_post_serialize( authorization=authorization, - v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + v1_extranet_b2b_producer_post_request=v1_extranet_b2b_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62005,7 +62214,7 @@ def v1_extranets_b2b_peering_producer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerPostResponse", + '200': "V1ExtranetB2bProducerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62019,10 +62228,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_extranet_b2b_producer_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + v1_extranet_b2b_producer_post_request: V1ExtranetB2bProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62036,14 +62245,14 @@ 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_extranet_b2b_producer_post - Create a new B2B extranet peering service producer + Create an inter-enterprise extranet service (peering, client-to-server, …) :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 v1_extranet_b2b_producer_post_request: (required) + :type v1_extranet_b2b_producer_post_request: V1ExtranetB2bProducerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62066,9 +62275,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_extranet_b2b_producer_post_serialize( authorization=authorization, - v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + v1_extranet_b2b_producer_post_request=v1_extranet_b2b_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62076,7 +62285,7 @@ def v1_extranets_b2b_peering_producer_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerPostResponse", + '200': "V1ExtranetB2bProducerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62085,10 +62294,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_extranet_b2b_producer_post_serialize( self, authorization, - v1_extranets_b2b_peering_producer_post_request, + v1_extranet_b2b_producer_post_request, _request_auth, _content_type, _headers, @@ -62116,8 +62325,8 @@ def _v1_extranets_b2b_peering_producer_post_serialize( _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 + if v1_extranet_b2b_producer_post_request is not None: + _body_params = v1_extranet_b2b_producer_post_request # set the HTTP header `Accept` @@ -62149,7 +62358,7 @@ def _v1_extranets_b2b_peering_producer_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets-b2b-peering/producer', + resource_path='/v1/extranet/b2b/producer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -62166,10 +62375,10 @@ def _v1_extranets_b2b_peering_producer_post_serialize( @validate_call - def v1_extranets_b2b_post( + def v1_extranet_b2b_producer_review_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, + v1_extranet_b2b_producer_review_post_request: V1ExtranetB2bProducerReviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62182,15 +62391,15 @@ 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 + ) -> V1ExtranetB2bProducerReviewPostResponse: + """v1_extranet_b2b_producer_review_post - Create a new B2B extranet producer + Review inter-enterprise extranet service configuration :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 v1_extranet_b2b_producer_review_post_request: (required) + :type v1_extranet_b2b_producer_review_post_request: V1ExtranetB2bProducerReviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62213,9 +62422,9 @@ def v1_extranets_b2b_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_post_serialize( + _param = self._v1_extranet_b2b_producer_review_post_serialize( authorization=authorization, - v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, + v1_extranet_b2b_producer_review_post_request=v1_extranet_b2b_producer_review_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62223,7 +62432,7 @@ def v1_extranets_b2b_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPostResponse", + '200': "V1ExtranetB2bProducerReviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62237,10 +62446,10 @@ def v1_extranets_b2b_post( @validate_call - def v1_extranets_b2b_post_with_http_info( + def v1_extranet_b2b_producer_review_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, + v1_extranet_b2b_producer_review_post_request: V1ExtranetB2bProducerReviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62253,15 +62462,15 @@ 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[V1ExtranetB2bProducerReviewPostResponse]: + """v1_extranet_b2b_producer_review_post - Create a new B2B extranet producer + Review inter-enterprise extranet service configuration :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 v1_extranet_b2b_producer_review_post_request: (required) + :type v1_extranet_b2b_producer_review_post_request: V1ExtranetB2bProducerReviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62284,9 +62493,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_extranet_b2b_producer_review_post_serialize( authorization=authorization, - v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, + v1_extranet_b2b_producer_review_post_request=v1_extranet_b2b_producer_review_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62294,7 +62503,7 @@ def v1_extranets_b2b_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPostResponse", + '200': "V1ExtranetB2bProducerReviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62308,10 +62517,10 @@ def v1_extranets_b2b_post_with_http_info( @validate_call - def v1_extranets_b2b_post_without_preload_content( + def v1_extranet_b2b_producer_review_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, + v1_extranet_b2b_producer_review_post_request: V1ExtranetB2bProducerReviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62325,14 +62534,14 @@ 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_extranet_b2b_producer_review_post - Create a new B2B extranet producer + Review inter-enterprise extranet service configuration :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 v1_extranet_b2b_producer_review_post_request: (required) + :type v1_extranet_b2b_producer_review_post_request: V1ExtranetB2bProducerReviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62355,9 +62564,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_extranet_b2b_producer_review_post_serialize( authorization=authorization, - v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, + v1_extranet_b2b_producer_review_post_request=v1_extranet_b2b_producer_review_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62365,7 +62574,7 @@ def v1_extranets_b2b_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPostResponse", + '200': "V1ExtranetB2bProducerReviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62374,10 +62583,10 @@ def v1_extranets_b2b_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_post_serialize( + def _v1_extranet_b2b_producer_review_post_serialize( self, authorization, - v1_extranets_b2b_post_request, + v1_extranet_b2b_producer_review_post_request, _request_auth, _content_type, _headers, @@ -62405,8 +62614,8 @@ def _v1_extranets_b2b_post_serialize( _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 + if v1_extranet_b2b_producer_review_post_request is not None: + _body_params = v1_extranet_b2b_producer_review_post_request # set the HTTP header `Accept` @@ -62438,7 +62647,7 @@ def _v1_extranets_b2b_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets-b2b', + resource_path='/v1/extranet/b2b/producer/review', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -62455,10 +62664,9 @@ def _v1_extranets_b2b_post_serialize( @validate_call - def v1_extranets_b2b_producer_device_status_id_get( + def v1_extranet_b2b_services_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62471,15 +62679,13 @@ 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 + ) -> V1ExtranetB2bServicesSummaryGetResponse: + """v1_extranet_b2b_services_summary_get - Get B2B extranet producer status + List inter-enterprise 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 @@ -62502,9 +62708,8 @@ 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_extranet_b2b_services_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62512,7 +62717,7 @@ def v1_extranets_b2b_producer_device_status_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + '200': "V1ExtranetB2bServicesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -62526,10 +62731,9 @@ 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_extranet_b2b_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)], @@ -62542,15 +62746,13 @@ 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[V1ExtranetB2bServicesSummaryGetResponse]: + """v1_extranet_b2b_services_summary_get - Get B2B extranet producer status + List inter-enterprise 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 @@ -62573,9 +62775,8 @@ 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_extranet_b2b_services_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62583,7 +62784,7 @@ def v1_extranets_b2b_producer_device_status_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + '200': "V1ExtranetB2bServicesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -62597,10 +62798,9 @@ 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_extranet_b2b_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)], @@ -62614,14 +62814,12 @@ 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_extranet_b2b_services_summary_get - Get B2B extranet producer status + List inter-enterprise 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 @@ -62644,9 +62842,8 @@ 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_extranet_b2b_services_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62654,7 +62851,7 @@ def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + '200': "V1ExtranetB2bServicesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -62663,10 +62860,9 @@ 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_extranet_b2b_services_summary_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -62688,8 +62884,6 @@ def _v1_extranets_b2b_producer_device_status_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: @@ -62714,7 +62908,7 @@ 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}', + resource_path='/v1/extranet/b2b/services/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -62731,9 +62925,10 @@ def _v1_extranets_b2b_producer_device_status_id_get_serialize( @validate_call - def v1_extranets_b2b_producers_summary_get( + def v1_extranet_sites_usage_top_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62746,13 +62941,15 @@ 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 + ) -> V1ExtranetSitesUsageTopPostResponse: + """v1_extranet_sites_usage_top_post - Get B2B extranet producers summary + Get extranet service top sites usage stats :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62775,8 +62972,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_extranet_sites_usage_top_post_serialize( authorization=authorization, + v1_extranet_sites_usage_top_post_request=v1_extranet_sites_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62784,7 +62982,7 @@ def v1_extranets_b2b_producers_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducersSummaryGetResponse", + '200': "V1ExtranetSitesUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62798,9 +62996,10 @@ def v1_extranets_b2b_producers_summary_get( @validate_call - def v1_extranets_b2b_producers_summary_get_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_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62813,13 +63012,15 @@ 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[V1ExtranetSitesUsageTopPostResponse]: + """v1_extranet_sites_usage_top_post - Get B2B extranet producers summary + Get extranet service top sites usage stats :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62842,8 +63043,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_extranet_sites_usage_top_post_serialize( authorization=authorization, + v1_extranet_sites_usage_top_post_request=v1_extranet_sites_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62851,7 +63053,7 @@ def v1_extranets_b2b_producers_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducersSummaryGetResponse", + '200': "V1ExtranetSitesUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62865,9 +63067,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_extranet_sites_usage_top_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62881,12 +63084,14 @@ 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_extranet_sites_usage_top_post - Get B2B extranet producers summary + Get extranet service top sites usage stats :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62909,8 +63114,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_extranet_sites_usage_top_post_serialize( authorization=authorization, + v1_extranet_sites_usage_top_post_request=v1_extranet_sites_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62918,7 +63124,7 @@ def v1_extranets_b2b_producers_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducersSummaryGetResponse", + '200': "V1ExtranetSitesUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62927,9 +63133,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_extranet_sites_usage_top_post_serialize( self, authorization, + v1_extranet_sites_usage_top_post_request, _request_auth, _content_type, _headers, @@ -62957,6 +63164,8 @@ def _v1_extranets_b2b_producers_summary_get_serialize( _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` @@ -62967,6 +63176,19 @@ def _v1_extranets_b2b_producers_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] = [ @@ -62974,8 +63196,8 @@ def _v1_extranets_b2b_producers_summary_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b/producers-summary', + method='POST', + resource_path='/v1/extranet/sites-usage/top', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -62992,9 +63214,10 @@ def _v1_extranets_b2b_producers_summary_get_serialize( @validate_call - def v1_extranets_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)], @@ -63007,12 +63230,15 @@ 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 + ) -> V1ExtranetsB2bConsumerDeviceStatusIdGetResponse: + """v1_extranets_b2b_consumer_device_status_id_get + 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 @@ -63035,8 +63261,9 @@ def v1_extranets_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_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, @@ -63044,7 +63271,7 @@ def v1_extranets_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsGetResponse", + '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63058,9 +63285,10 @@ def v1_extranets_get( @validate_call - def v1_extranets_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)], @@ -63073,12 +63301,15 @@ 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[V1ExtranetsB2bConsumerDeviceStatusIdGetResponse]: + """v1_extranets_b2b_consumer_device_status_id_get + 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 @@ -63101,8 +63332,9 @@ def v1_extranets_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_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, @@ -63110,7 +63342,7 @@ def v1_extranets_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsGetResponse", + '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63124,9 +63356,10 @@ def v1_extranets_get_with_http_info( @validate_call - def v1_extranets_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)], @@ -63140,11 +63373,14 @@ 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_b2b_consumer_device_status_id_get + 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 @@ -63167,8 +63403,9 @@ def v1_extranets_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_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, @@ -63176,7 +63413,7 @@ def v1_extranets_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsGetResponse", + '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63185,9 +63422,10 @@ def v1_extranets_get_without_preload_content( return response_data.response - def _v1_extranets_get_serialize( + def _v1_extranets_b2b_consumer_device_status_id_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -63209,6 +63447,8 @@ def _v1_extranets_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: @@ -63233,7 +63473,7 @@ def _v1_extranets_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets', + resource_path='/v1/extranets-b2b/consumer-device-status/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -63250,11 +63490,10 @@ def _v1_extranets_get_serialize( @validate_call - def v1_extranets_id_apply_post( + def v1_extranets_b2b_consumer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, - v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63267,16 +63506,15 @@ 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 + ) -> object: + """v1_extranets_b2b_consumer_id_delete + Delete a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :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 @@ -63299,10 +63537,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_b2b_consumer_id_delete_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, @@ -63310,7 +63547,7 @@ def v1_extranets_id_apply_post( ) _response_types_map: Dict[str, Optional[str]] = { - '202': "V1ExtranetsIdApplyPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -63324,11 +63561,10 @@ def v1_extranets_id_apply_post( @validate_call - def v1_extranets_id_apply_post_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, - v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63341,16 +63577,15 @@ 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[object]: + """v1_extranets_b2b_consumer_id_delete + Delete a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :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 @@ -63373,10 +63608,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_b2b_consumer_id_delete_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, @@ -63384,7 +63618,7 @@ def v1_extranets_id_apply_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '202': "V1ExtranetsIdApplyPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -63398,11 +63632,10 @@ def v1_extranets_id_apply_post_with_http_info( @validate_call - def v1_extranets_id_apply_post_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, - v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63416,15 +63649,14 @@ 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_b2b_consumer_id_delete + Delete a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :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 @@ -63447,10 +63679,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_b2b_consumer_id_delete_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, @@ -63458,7 +63689,7 @@ def v1_extranets_id_apply_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '202': "V1ExtranetsIdApplyPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -63467,11 +63698,10 @@ def v1_extranets_id_apply_post_without_preload_content( return response_data.response - def _v1_extranets_id_apply_post_serialize( + def _v1_extranets_b2b_consumer_id_delete_serialize( self, authorization, id, - v1_extranets_id_apply_post_request, _request_auth, _content_type, _headers, @@ -63501,8 +63731,6 @@ def _v1_extranets_id_apply_post_serialize( _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` @@ -63513,19 +63741,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] = [ @@ -63533,8 +63748,8 @@ def _v1_extranets_id_apply_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets/{id}/apply', + method='DELETE', + resource_path='/v1/extranets-b2b/consumer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -63551,7 +63766,7 @@ def _v1_extranets_id_apply_post_serialize( @validate_call - def v1_extranets_id_delete( + def v1_extranets_b2b_consumer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -63567,9 +63782,10 @@ 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 + ) -> V1ExtranetsB2bConsumerIdGetResponse: + """v1_extranets_b2b_consumer_id_get + Get a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63597,7 +63813,7 @@ def v1_extranets_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_delete_serialize( + _param = self._v1_extranets_b2b_consumer_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -63607,7 +63823,7 @@ def v1_extranets_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdDeleteResponse", + '200': "V1ExtranetsB2bConsumerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63621,7 +63837,7 @@ def v1_extranets_id_delete( @validate_call - def v1_extranets_id_delete_with_http_info( + def v1_extranets_b2b_consumer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -63637,9 +63853,10 @@ 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[V1ExtranetsB2bConsumerIdGetResponse]: + """v1_extranets_b2b_consumer_id_get + Get a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63667,7 +63884,7 @@ 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_b2b_consumer_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -63677,7 +63894,7 @@ def v1_extranets_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdDeleteResponse", + '200': "V1ExtranetsB2bConsumerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63691,7 +63908,7 @@ def v1_extranets_id_delete_with_http_info( @validate_call - def v1_extranets_id_delete_without_preload_content( + def v1_extranets_b2b_consumer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -63708,8 +63925,9 @@ 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_b2b_consumer_id_get + Get a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63737,7 +63955,7 @@ 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_b2b_consumer_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -63747,7 +63965,7 @@ def v1_extranets_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdDeleteResponse", + '200': "V1ExtranetsB2bConsumerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63756,7 +63974,7 @@ def v1_extranets_id_delete_without_preload_content( return response_data.response - def _v1_extranets_id_delete_serialize( + def _v1_extranets_b2b_consumer_id_get_serialize( self, authorization, id, @@ -63806,8 +64024,8 @@ def _v1_extranets_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/extranets/{id}', + method='GET', + resource_path='/v1/extranets-b2b/consumer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -63824,10 +64042,10 @@ def _v1_extranets_id_delete_serialize( @validate_call - def v1_extranets_id_get( + def v1_extranets_b2b_consumer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63840,14 +64058,15 @@ 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 + ) -> V1ExtranetsB2bConsumerPostResponse: + """v1_extranets_b2b_consumer_post + Create a new B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :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 @@ -63870,9 +64089,9 @@ def v1_extranets_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_get_serialize( + _param = self._v1_extranets_b2b_consumer_post_serialize( authorization=authorization, - id=id, + v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63880,7 +64099,7 @@ def v1_extranets_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdGetResponse", + '200': "V1ExtranetsB2bConsumerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -63894,10 +64113,10 @@ def v1_extranets_id_get( @validate_call - def v1_extranets_id_get_with_http_info( + def v1_extranets_b2b_consumer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63910,14 +64129,15 @@ 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[V1ExtranetsB2bConsumerPostResponse]: + """v1_extranets_b2b_consumer_post + Create a new B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :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 @@ -63940,9 +64160,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_b2b_consumer_post_serialize( authorization=authorization, - id=id, + v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63950,7 +64170,7 @@ def v1_extranets_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdGetResponse", + '200': "V1ExtranetsB2bConsumerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -63964,10 +64184,10 @@ def v1_extranets_id_get_with_http_info( @validate_call - def v1_extranets_id_get_without_preload_content( + def v1_extranets_b2b_consumer_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63981,13 +64201,14 @@ 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_b2b_consumer_post + Create a new B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :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 @@ -64010,9 +64231,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_b2b_consumer_post_serialize( authorization=authorization, - id=id, + v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64020,7 +64241,7 @@ def v1_extranets_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdGetResponse", + '200': "V1ExtranetsB2bConsumerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -64029,10 +64250,10 @@ def v1_extranets_id_get_without_preload_content( return response_data.response - def _v1_extranets_id_get_serialize( + def _v1_extranets_b2b_consumer_post_serialize( self, authorization, - id, + v1_extranets_b2b_consumer_post_request, _request_auth, _content_type, _headers, @@ -64054,14 +64275,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_b2b_consumer_post_request is not None: + _body_params = v1_extranets_b2b_consumer_post_request # set the HTTP header `Accept` @@ -64072,6 +64293,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] = [ @@ -64079,8 +64313,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-b2b/consumer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -64097,11 +64331,9 @@ def _v1_extranets_id_get_serialize( @validate_call - def v1_extranets_id_put( + def v1_extranets_b2b_consumer_summary_get( 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)], @@ -64114,16 +64346,13 @@ 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 + ) -> V1ExtranetsB2bConsumerSummaryGetResponse: + """v1_extranets_b2b_consumer_summary_get + Get B2B extranet consumers summary :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 @@ -64146,10 +64375,8 @@ def v1_extranets_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_put_serialize( + _param = self._v1_extranets_b2b_consumer_summary_get_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, @@ -64157,7 +64384,7 @@ def v1_extranets_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdPutResponse", + '200': "V1ExtranetsB2bConsumerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64171,11 +64398,9 @@ def v1_extranets_id_put( @validate_call - def v1_extranets_id_put_with_http_info( + def v1_extranets_b2b_consumer_summary_get_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)], @@ -64188,16 +64413,13 @@ 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[V1ExtranetsB2bConsumerSummaryGetResponse]: + """v1_extranets_b2b_consumer_summary_get + Get B2B extranet consumers summary :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 @@ -64220,10 +64442,8 @@ 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_b2b_consumer_summary_get_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, @@ -64231,7 +64451,7 @@ def v1_extranets_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdPutResponse", + '200': "V1ExtranetsB2bConsumerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64245,11 +64465,9 @@ def v1_extranets_id_put_with_http_info( @validate_call - def v1_extranets_id_put_without_preload_content( + def v1_extranets_b2b_consumer_summary_get_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)], @@ -64263,15 +64481,12 @@ 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_b2b_consumer_summary_get + Get B2B extranet consumers summary :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 @@ -64294,10 +64509,8 @@ 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_b2b_consumer_summary_get_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, @@ -64305,7 +64518,7 @@ def v1_extranets_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdPutResponse", + '200': "V1ExtranetsB2bConsumerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64314,11 +64527,9 @@ def v1_extranets_id_put_without_preload_content( return response_data.response - def _v1_extranets_id_put_serialize( + def _v1_extranets_b2b_consumer_summary_get_serialize( self, authorization, - id, - v1_extranets_id_put_request, _request_auth, _content_type, _headers, @@ -64340,16 +64551,12 @@ 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 # set the HTTP header `Accept` @@ -64360,19 +64567,6 @@ def _v1_extranets_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] = [ @@ -64380,8 +64574,8 @@ def _v1_extranets_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/extranets/{id}', + method='GET', + resource_path='/v1/extranets-b2b/consumer-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -64398,7 +64592,7 @@ def _v1_extranets_id_put_serialize( @validate_call - def v1_extranets_id_status_get( + def v1_extranets_b2b_customer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -64414,9 +64608,10 @@ 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 + ) -> object: + """v1_extranets_b2b_customer_id_delete + Delete a B2B extranet customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -64444,7 +64639,7 @@ 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_b2b_customer_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -64454,7 +64649,7 @@ def v1_extranets_id_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdStatusGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -64468,7 +64663,7 @@ def v1_extranets_id_status_get( @validate_call - def v1_extranets_id_status_get_with_http_info( + def v1_extranets_b2b_customer_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -64484,9 +64679,10 @@ 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[object]: + """v1_extranets_b2b_customer_id_delete + Delete a B2B extranet customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -64514,7 +64710,7 @@ 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_b2b_customer_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -64524,7 +64720,7 @@ def v1_extranets_id_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdStatusGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -64538,7 +64734,7 @@ def v1_extranets_id_status_get_with_http_info( @validate_call - def v1_extranets_id_status_get_without_preload_content( + def v1_extranets_b2b_customer_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -64555,8 +64751,9 @@ 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_b2b_customer_id_delete + Delete a B2B extranet customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -64584,7 +64781,7 @@ 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_b2b_customer_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -64594,7 +64791,7 @@ def v1_extranets_id_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdStatusGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -64603,7 +64800,7 @@ def v1_extranets_id_status_get_without_preload_content( return response_data.response - def _v1_extranets_id_status_get_serialize( + def _v1_extranets_b2b_customer_id_delete_serialize( self, authorization, id, @@ -64653,8 +64850,8 @@ def _v1_extranets_id_status_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets/{id}/status', + method='DELETE', + resource_path='/v1/extranets-b2b/customer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -64671,11 +64868,10 @@ def _v1_extranets_id_status_get_serialize( @validate_call - def v1_extranets_monitoring_lan_segments_get( + def v1_extranets_b2b_customer_info_id_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, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64688,16 +64884,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 + ) -> V1ExtranetsB2bCustomerInfoIdGetResponse: + """v1_extranets_b2b_customer_info_id_get + Get B2B extranet application customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet Service Id + :param id: (required) :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 @@ -64720,10 +64915,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_extranets_b2b_customer_info_id_get_serialize( authorization=authorization, id=id, - is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64731,7 +64925,7 @@ def v1_extranets_monitoring_lan_segments_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", + '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64745,11 +64939,10 @@ def v1_extranets_monitoring_lan_segments_get( @validate_call - def v1_extranets_monitoring_lan_segments_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: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, - is_provider: Optional[StrictBool] = None, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64762,16 +64955,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[V1ExtranetsB2bCustomerInfoIdGetResponse]: + """v1_extranets_b2b_customer_info_id_get + Get B2B extranet application customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet Service Id + :param id: (required) :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 @@ -64794,10 +64986,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_extranets_b2b_customer_info_id_get_serialize( authorization=authorization, id=id, - is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64805,7 +64996,7 @@ def v1_extranets_monitoring_lan_segments_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", + '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64819,11 +65010,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_extranets_b2b_customer_info_id_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, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64837,15 +65027,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_extranets_b2b_customer_info_id_get + Get B2B extranet application customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet Service Id + :param id: (required) :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 @@ -64868,10 +65057,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_extranets_b2b_customer_info_id_get_serialize( authorization=authorization, id=id, - is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64879,7 +65067,7 @@ def v1_extranets_monitoring_lan_segments_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", + '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64888,11 +65076,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_extranets_b2b_customer_info_id_get_serialize( self, authorization, id, - is_provider, _request_auth, _content_type, _headers, @@ -64914,15 +65101,9 @@ def _v1_extranets_monitoring_lan_segments_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)) - - if is_provider is not None: - - _query_params.append(('isProvider', is_provider)) - + _path_params['id'] = id + # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -64946,7 +65127,7 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-monitoring/lan-segments', + resource_path='/v1/extranets-b2b/customer-info/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -64963,10 +65144,9 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( @validate_call - def v1_extranets_monitoring_nat_usage_get( + def v1_extranets_b2b_general_customers_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Extranet Service Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64979,14 +65159,13 @@ 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 + ) -> V1ExtranetsB2bGeneralCustomersSummaryGetResponse: + """v1_extranets_b2b_general_customers_summary_get + Get summary for a B2B extranet peering services customers :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet 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 @@ -65009,9 +65188,8 @@ 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_extranets_b2b_general_customers_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65019,7 +65197,7 @@ def v1_extranets_monitoring_nat_usage_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringNatUsageGetResponse", + '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65033,10 +65211,9 @@ def v1_extranets_monitoring_nat_usage_get( @validate_call - def v1_extranets_monitoring_nat_usage_get_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: Annotated[StrictInt, Field(description="Extranet Service Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65049,14 +65226,13 @@ 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[V1ExtranetsB2bGeneralCustomersSummaryGetResponse]: + """v1_extranets_b2b_general_customers_summary_get + Get summary for a B2B extranet peering services customers :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet 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 @@ -65079,9 +65255,8 @@ 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_extranets_b2b_general_customers_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65089,7 +65264,7 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringNatUsageGetResponse", + '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65103,10 +65278,9 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( @validate_call - def v1_extranets_monitoring_nat_usage_get_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: Annotated[StrictInt, Field(description="Extranet Service Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65120,13 +65294,12 @@ 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_extranets_b2b_general_customers_summary_get + Get summary for a B2B extranet peering services customers :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet 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 @@ -65149,9 +65322,8 @@ 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_extranets_b2b_general_customers_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65159,7 +65331,7 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringNatUsageGetResponse", + '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65168,10 +65340,9 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( return response_data.response - def _v1_extranets_monitoring_nat_usage_get_serialize( + def _v1_extranets_b2b_general_customers_summary_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -65194,10 +65365,6 @@ 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 @@ -65221,7 +65388,7 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-monitoring/nat-usage', + resource_path='/v1/extranets-b2b-general/customers-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -65238,10 +65405,9 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( @validate_call - def v1_extranets_monitoring_traffic_security_policy_post( + def v1_extranets_b2b_general_services_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65254,15 +65420,13 @@ 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 + ) -> V1ExtranetsB2bGeneralServicesSummaryGetResponse: + """v1_extranets_b2b_general_services_summary_get - Get lists of traffic and security policies + Get a summary for all the B2B extranet services :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65285,9 +65449,8 @@ 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_extranets_b2b_general_services_summary_get_serialize( authorization=authorization, - 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, @@ -65295,7 +65458,7 @@ def v1_extranets_monitoring_traffic_security_policy_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", + '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65309,10 +65472,9 @@ def v1_extranets_monitoring_traffic_security_policy_post( @validate_call - def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( + def v1_extranets_b2b_general_services_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65325,15 +65487,13 @@ 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[V1ExtranetsB2bGeneralServicesSummaryGetResponse]: + """v1_extranets_b2b_general_services_summary_get - Get lists of traffic and security policies + Get a summary for all the B2B extranet services :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65356,9 +65516,8 @@ 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_extranets_b2b_general_services_summary_get_serialize( authorization=authorization, - 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, @@ -65366,7 +65525,7 @@ def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", + '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65380,10 +65539,9 @@ 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_extranets_b2b_general_services_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65397,14 +65555,12 @@ 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_extranets_b2b_general_services_summary_get - Get lists of traffic and security policies + Get a summary for all the B2B extranet services :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65427,9 +65583,8 @@ 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_extranets_b2b_general_services_summary_get_serialize( authorization=authorization, - 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, @@ -65437,7 +65592,7 @@ def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", + '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65446,10 +65601,9 @@ 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_extranets_b2b_general_services_summary_get_serialize( self, authorization, - v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth, _content_type, _headers, @@ -65477,8 +65631,6 @@ def _v1_extranets_monitoring_traffic_security_policy_post_serialize( _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` @@ -65489,19 +65641,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] = [ @@ -65509,8 +65648,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='GET', + resource_path='/v1/extranets-b2b-general/services-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -65527,10 +65666,11 @@ def _v1_extranets_monitoring_traffic_security_policy_post_serialize( @validate_call - def v1_extranets_post( + def v1_extranets_b2b_id_customer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_post_request: V1ExtranetsPostRequest, + 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)], @@ -65543,14 +65683,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 + ) -> V1ExtranetsB2bIdCustomerPostResponse: + """v1_extranets_b2b_id_customer_post + Create B2B extranet application customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_post_request: (required) - :type v1_extranets_post_request: V1ExtranetsPostRequest + :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 @@ -65573,9 +65716,10 @@ def v1_extranets_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_post_serialize( + _param = self._v1_extranets_b2b_id_customer_post_serialize( authorization=authorization, - v1_extranets_post_request=v1_extranets_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, @@ -65583,7 +65727,7 @@ def v1_extranets_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsPostResponse", + '200': "V1ExtranetsB2bIdCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65597,10 +65741,11 @@ def v1_extranets_post( @validate_call - def v1_extranets_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_post_request: V1ExtranetsPostRequest, + 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)], @@ -65613,14 +65758,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[V1ExtranetsB2bIdCustomerPostResponse]: + """v1_extranets_b2b_id_customer_post + Create B2B extranet application customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_post_request: (required) - :type v1_extranets_post_request: V1ExtranetsPostRequest + :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 @@ -65643,9 +65791,10 @@ def v1_extranets_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_post_serialize( + _param = self._v1_extranets_b2b_id_customer_post_serialize( authorization=authorization, - v1_extranets_post_request=v1_extranets_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, @@ -65653,7 +65802,7 @@ def v1_extranets_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsPostResponse", + '200': "V1ExtranetsB2bIdCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65667,10 +65816,11 @@ def v1_extranets_post_with_http_info( @validate_call - def v1_extranets_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_post_request: V1ExtranetsPostRequest, + 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)], @@ -65684,13 +65834,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_extranets_b2b_id_customer_post + Create B2B extranet application customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_post_request: (required) - :type v1_extranets_post_request: V1ExtranetsPostRequest + :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 @@ -65713,9 +65866,10 @@ def v1_extranets_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_post_serialize( + _param = self._v1_extranets_b2b_id_customer_post_serialize( authorization=authorization, - v1_extranets_post_request=v1_extranets_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, @@ -65723,7 +65877,7 @@ def v1_extranets_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsPostResponse", + '200': "V1ExtranetsB2bIdCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65732,10 +65886,11 @@ def v1_extranets_post_without_preload_content( return response_data.response - def _v1_extranets_post_serialize( + def _v1_extranets_b2b_id_customer_post_serialize( self, authorization, - v1_extranets_post_request, + id, + v1_extranets_b2b_id_customer_post_request, _request_auth, _content_type, _headers, @@ -65757,14 +65912,16 @@ def _v1_extranets_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_post_request is not None: - _body_params = v1_extranets_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` @@ -65796,7 +65953,7 @@ def _v1_extranets_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets', + resource_path='/v1/extranets-b2b/{id}/customer/', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -65813,10 +65970,10 @@ def _v1_extranets_post_serialize( @validate_call - def v1_extranets_resolve_policy_target_post( + def v1_extranets_b2b_id_customer_summary_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)], @@ -65829,14 +65986,15 @@ 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 + ) -> V1ExtranetsB2bIdCustomerSummaryGetResponse: + """v1_extranets_b2b_id_customer_summary_get + Get B2B extranet application customers summary :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 @@ -65859,9 +66017,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_extranets_b2b_id_customer_summary_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, @@ -65869,7 +66027,7 @@ def v1_extranets_resolve_policy_target_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsResolvePolicyTargetPostResponse", + '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65883,10 +66041,10 @@ def v1_extranets_resolve_policy_target_post( @validate_call - def v1_extranets_resolve_policy_target_post_with_http_info( + def v1_extranets_b2b_id_customer_summary_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)], @@ -65899,14 +66057,15 @@ 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[V1ExtranetsB2bIdCustomerSummaryGetResponse]: + """v1_extranets_b2b_id_customer_summary_get + Get B2B extranet application customers summary :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 @@ -65929,9 +66088,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_extranets_b2b_id_customer_summary_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, @@ -65939,7 +66098,7 @@ def v1_extranets_resolve_policy_target_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsResolvePolicyTargetPostResponse", + '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65953,10 +66112,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_extranets_b2b_id_customer_summary_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)], @@ -65970,13 +66129,14 @@ 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_extranets_b2b_id_customer_summary_get + Get B2B extranet application customers summary :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 @@ -65999,9 +66159,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_extranets_b2b_id_customer_summary_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, @@ -66009,7 +66169,7 @@ def v1_extranets_resolve_policy_target_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsResolvePolicyTargetPostResponse", + '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -66018,10 +66178,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_extranets_b2b_id_customer_summary_get_serialize( self, authorization, - v1_extranets_resolve_policy_target_post_request, + id, _request_auth, _content_type, _headers, @@ -66043,14 +66203,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` @@ -66061,19 +66221,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] = [ @@ -66081,8 +66228,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/extranets-b2b/{id}/customer-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -66099,10 +66246,10 @@ def _v1_extranets_resolve_policy_target_post_serialize( @validate_call - def v1_extranets_source_segments_post( + def v1_extranets_b2b_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, + id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66115,14 +66262,15 @@ 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 + ) -> object: + """v1_extranets_b2b_id_delete + Delete a B2B extranet producer :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 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 timeout. It can also be a pair (tuple) of @@ -66145,9 +66293,9 @@ def v1_extranets_source_segments_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_source_segments_post_serialize( + _param = self._v1_extranets_b2b_id_delete_serialize( authorization=authorization, - v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66155,7 +66303,7 @@ def v1_extranets_source_segments_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsSourceSegmentsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -66169,10 +66317,10 @@ def v1_extranets_source_segments_post( @validate_call - def v1_extranets_source_segments_post_with_http_info( + def v1_extranets_b2b_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, + id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66185,14 +66333,15 @@ 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[object]: + """v1_extranets_b2b_id_delete + Delete a B2B extranet producer :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 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 timeout. It can also be a pair (tuple) of @@ -66215,9 +66364,9 @@ 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_extranets_b2b_id_delete_serialize( authorization=authorization, - v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66225,7 +66374,7 @@ def v1_extranets_source_segments_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsSourceSegmentsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -66239,10 +66388,10 @@ def v1_extranets_source_segments_post_with_http_info( @validate_call - def v1_extranets_source_segments_post_without_preload_content( + def v1_extranets_b2b_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, + id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66256,13 +66405,14 @@ 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_extranets_b2b_id_delete + Delete a B2B extranet producer :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 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 timeout. It can also be a pair (tuple) of @@ -66285,9 +66435,9 @@ 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_extranets_b2b_id_delete_serialize( authorization=authorization, - v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66295,7 +66445,7 @@ def v1_extranets_source_segments_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsSourceSegmentsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -66304,10 +66454,10 @@ def v1_extranets_source_segments_post_without_preload_content( return response_data.response - def _v1_extranets_source_segments_post_serialize( + def _v1_extranets_b2b_id_delete_serialize( self, authorization, - v1_extranets_source_segments_post_request, + id, _request_auth, _content_type, _headers, @@ -66329,14 +66479,14 @@ def _v1_extranets_source_segments_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_source_segments_post_request is not None: - _body_params = v1_extranets_source_segments_post_request # set the HTTP header `Accept` @@ -66347,19 +66497,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] = [ @@ -66367,8 +66504,8 @@ def _v1_extranets_source_segments_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets/source-segments', + method='DELETE', + resource_path='/v1/extranets-b2b/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -66385,10 +66522,11 @@ def _v1_extranets_source_segments_post_serialize( @validate_call - def v1_flows_flow_table_post( + def v1_extranets_b2b_id_producer_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, + id: StrictInt, + type: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66401,15 +66539,17 @@ 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 + ) -> V1ExtranetsB2bIdProducerGetResponse: + """v1_extranets_b2b_id_producer_get - Get flow table for the app on the device + Get a B2B extranet producer :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 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 @@ -66432,9 +66572,10 @@ def v1_flows_flow_table_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_flow_table_post_serialize( + _param = self._v1_extranets_b2b_id_producer_get_serialize( authorization=authorization, - v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, + id=id, + type=type, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66442,7 +66583,7 @@ def v1_flows_flow_table_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsFlowTablePostResponse", + '200': "V1ExtranetsB2bIdProducerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -66456,10 +66597,11 @@ def v1_flows_flow_table_post( @validate_call - def v1_flows_flow_table_post_with_http_info( + def v1_extranets_b2b_id_producer_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, + id: StrictInt, + type: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66472,15 +66614,17 @@ 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[V1ExtranetsB2bIdProducerGetResponse]: + """v1_extranets_b2b_id_producer_get - Get flow table for the app on the device + Get a B2B extranet producer :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 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 @@ -66503,9 +66647,10 @@ 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_extranets_b2b_id_producer_get_serialize( authorization=authorization, - v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, + id=id, + type=type, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66513,7 +66658,7 @@ def v1_flows_flow_table_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsFlowTablePostResponse", + '200': "V1ExtranetsB2bIdProducerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -66527,10 +66672,11 @@ def v1_flows_flow_table_post_with_http_info( @validate_call - def v1_flows_flow_table_post_without_preload_content( + def v1_extranets_b2b_id_producer_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, + id: StrictInt, + type: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66544,14 +66690,16 @@ 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_extranets_b2b_id_producer_get - Get flow table for the app on the device + Get a B2B extranet producer :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 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 @@ -66574,9 +66722,10 @@ 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_extranets_b2b_id_producer_get_serialize( authorization=authorization, - v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, + id=id, + type=type, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66584,7 +66733,7 @@ def v1_flows_flow_table_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsFlowTablePostResponse", + '200': "V1ExtranetsB2bIdProducerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -66593,10 +66742,11 @@ def v1_flows_flow_table_post_without_preload_content( return response_data.response - def _v1_flows_flow_table_post_serialize( + def _v1_extranets_b2b_id_producer_get_serialize( self, authorization, - v1_flows_flow_table_post_request, + id, + type, _request_auth, _content_type, _headers, @@ -66618,14 +66768,18 @@ def _v1_flows_flow_table_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 type is not None: + + _query_params.append(('type', type)) + # 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` @@ -66636,19 +66790,6 @@ def _v1_flows_flow_table_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] = [ @@ -66656,8 +66797,8 @@ def _v1_flows_flow_table_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/flows/flow-table', + method='GET', + resource_path='/v1/extranets-b2b/{id}/producer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -66674,10 +66815,11 @@ def _v1_flows_flow_table_post_serialize( @validate_call - def v1_flows_topology_post( + def v1_extranets_b2b_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_topology_post_request: V1FlowsTopologyPostRequest, + 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)], @@ -66690,15 +66832,17 @@ 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 + ) -> V1ExtranetsB2bIdPutResponse: + """v1_extranets_b2b_id_put - Get flow based node and circuit topology for the device + Update a B2B extranet producer :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 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 @@ -66721,9 +66865,10 @@ def v1_flows_topology_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_topology_post_serialize( + _param = self._v1_extranets_b2b_id_put_serialize( authorization=authorization, - v1_flows_topology_post_request=v1_flows_topology_post_request, + id=id, + v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66731,7 +66876,7 @@ def v1_flows_topology_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsTopologyPostResponse", + '200': "V1ExtranetsB2bIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -66745,10 +66890,11 @@ def v1_flows_topology_post( @validate_call - def v1_flows_topology_post_with_http_info( + def v1_extranets_b2b_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_topology_post_request: V1FlowsTopologyPostRequest, + 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)], @@ -66761,15 +66907,17 @@ 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[V1ExtranetsB2bIdPutResponse]: + """v1_extranets_b2b_id_put - Get flow based node and circuit topology for the device + Update a B2B extranet producer :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 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 @@ -66792,9 +66940,10 @@ 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_extranets_b2b_id_put_serialize( authorization=authorization, - v1_flows_topology_post_request=v1_flows_topology_post_request, + id=id, + v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66802,7 +66951,7 @@ def v1_flows_topology_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsTopologyPostResponse", + '200': "V1ExtranetsB2bIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -66816,10 +66965,11 @@ def v1_flows_topology_post_with_http_info( @validate_call - def v1_flows_topology_post_without_preload_content( + def v1_extranets_b2b_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_topology_post_request: V1FlowsTopologyPostRequest, + 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)], @@ -66833,14 +66983,16 @@ 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_extranets_b2b_id_put - Get flow based node and circuit topology for the device + Update a B2B extranet producer :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 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 @@ -66863,9 +67015,10 @@ 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_extranets_b2b_id_put_serialize( authorization=authorization, - v1_flows_topology_post_request=v1_flows_topology_post_request, + id=id, + v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66873,7 +67026,7 @@ def v1_flows_topology_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsTopologyPostResponse", + '200': "V1ExtranetsB2bIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -66882,10 +67035,11 @@ def v1_flows_topology_post_without_preload_content( return response_data.response - def _v1_flows_topology_post_serialize( + def _v1_extranets_b2b_id_put_serialize( self, authorization, - v1_flows_topology_post_request, + id, + v1_extranets_b2b_id_put_request, _request_auth, _content_type, _headers, @@ -66907,14 +67061,16 @@ def _v1_flows_topology_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_flows_topology_post_request is not None: - _body_params = v1_flows_topology_post_request + if v1_extranets_b2b_id_put_request is not None: + _body_params = v1_extranets_b2b_id_put_request # set the HTTP header `Accept` @@ -66945,8 +67101,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/extranets-b2b/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -66963,10 +67119,11 @@ def _v1_flows_topology_post_serialize( @validate_call - def v1_gateways_delete( + def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictInt] = None, + customer_id: StrictInt, + service_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66979,14 +67136,17 @@ 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 + ) -> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse: + """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get + Get details of a service subscription for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: int + :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 @@ -67009,9 +67169,10 @@ def v1_gateways_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_delete_serialize( + _param = self._v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( authorization=authorization, - id=id, + customer_id=customer_id, + service_id=service_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67019,7 +67180,7 @@ def v1_gateways_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67033,10 +67194,11 @@ def v1_gateways_delete( @validate_call - def v1_gateways_delete_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 ")], - id: Optional[StrictInt] = None, + customer_id: StrictInt, + service_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67049,14 +67211,17 @@ 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[V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse]: + """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get + Get details of a service subscription for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: int + :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 @@ -67079,9 +67244,10 @@ def v1_gateways_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_delete_serialize( + _param = self._v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( authorization=authorization, - id=id, + customer_id=customer_id, + service_id=service_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67089,7 +67255,7 @@ def v1_gateways_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67103,10 +67269,11 @@ def v1_gateways_delete_with_http_info( @validate_call - def v1_gateways_delete_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 ")], - id: Optional[StrictInt] = None, + customer_id: StrictInt, + service_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67120,13 +67287,16 @@ 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_extranets_b2b_peering_consumer_customer_id_consumer_details_get + Get details of a service subscription for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: int + :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 @@ -67149,9 +67319,10 @@ def v1_gateways_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_delete_serialize( + _param = self._v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( authorization=authorization, - id=id, + customer_id=customer_id, + service_id=service_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67159,7 +67330,7 @@ def v1_gateways_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67168,10 +67339,11 @@ def v1_gateways_delete_without_preload_content( return response_data.response - def _v1_gateways_delete_serialize( + def _v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( self, authorization, - id, + customer_id, + service_id, _request_auth, _content_type, _headers, @@ -67193,10 +67365,12 @@ def _v1_gateways_delete_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 id is not None: + if service_id is not None: - _query_params.append(('id', id)) + _query_params.append(('serviceId', service_id)) # process the header parameters if authorization is not None: @@ -67220,8 +67394,8 @@ def _v1_gateways_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/gateways', + method='GET', + resource_path='/v1/extranets-b2b-peering/consumer/{customerId}/consumer-details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -67238,11 +67412,11 @@ def _v1_gateways_delete_serialize( @validate_call - def v1_gateways_guest_consumer_match_id_get( + def v1_extranets_b2b_peering_consumer_id_prefixes_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, - email: Optional[StrictStr] = None, + 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)], @@ -67255,17 +67429,17 @@ 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 + ) -> V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse: + """v1_extranets_b2b_peering_consumer_id_prefixes_put - Get Site to Site VPN information for a non-Graphiant guest consumer by their email + Update B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int - :param email: - :type email: str + :param id: consumer id (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 @@ -67288,10 +67462,10 @@ 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_extranets_b2b_peering_consumer_id_prefixes_put_serialize( authorization=authorization, - match_id=match_id, - email=email, + 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, @@ -67299,7 +67473,7 @@ def v1_gateways_guest_consumer_match_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysGuestConsumerMatchIdGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", } response_data = self.api_client.call_api( *_param, @@ -67313,11 +67487,11 @@ def v1_gateways_guest_consumer_match_id_get( @validate_call - def v1_gateways_guest_consumer_match_id_get_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 ")], - match_id: StrictInt, - email: Optional[StrictStr] = None, + 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)], @@ -67330,17 +67504,17 @@ 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[V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse]: + """v1_extranets_b2b_peering_consumer_id_prefixes_put - Get Site to Site VPN information for a non-Graphiant guest consumer by their email + Update B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int - :param email: - :type email: str + :param id: consumer id (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 @@ -67363,10 +67537,10 @@ 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_extranets_b2b_peering_consumer_id_prefixes_put_serialize( authorization=authorization, - match_id=match_id, - email=email, + 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, @@ -67374,7 +67548,7 @@ def v1_gateways_guest_consumer_match_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysGuestConsumerMatchIdGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", } response_data = self.api_client.call_api( *_param, @@ -67388,11 +67562,11 @@ 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_extranets_b2b_peering_consumer_id_prefixes_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, - email: Optional[StrictStr] = None, + 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)], @@ -67406,16 +67580,16 @@ 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_extranets_b2b_peering_consumer_id_prefixes_put - Get Site to Site VPN information for a non-Graphiant guest consumer by their email + Update B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int - :param email: - :type email: str + :param id: consumer id (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 @@ -67438,10 +67612,10 @@ 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_extranets_b2b_peering_consumer_id_prefixes_put_serialize( authorization=authorization, - match_id=match_id, - email=email, + 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, @@ -67449,7 +67623,7 @@ def v1_gateways_guest_consumer_match_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysGuestConsumerMatchIdGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", } response_data = self.api_client.call_api( *_param, @@ -67458,11 +67632,11 @@ 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_extranets_b2b_peering_consumer_id_prefixes_put_serialize( self, authorization, - match_id, - email, + id, + v1_extranets_b2b_peering_consumer_id_prefixes_put_request, _request_auth, _content_type, _headers, @@ -67484,18 +67658,16 @@ 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 + if id is not None: + _path_params['id'] = 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_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` @@ -67506,6 +67678,19 @@ def _v1_gateways_guest_consumer_match_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] = [ @@ -67513,8 +67698,8 @@ def _v1_gateways_guest_consumer_match_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/gateways/guest-consumer/{matchId}', + method='PUT', + resource_path='/v1/extranets-b2b-peering/consumer/{id}/prefixes', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -67531,10 +67716,10 @@ def _v1_gateways_guest_consumer_match_id_get_serialize( @validate_call - def v1_gateways_id_details_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)], @@ -67547,14 +67732,15 @@ 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 + ) -> V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse: + """v1_extranets_b2b_peering_consumer_match_id_match_details_get + 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 @@ -67577,9 +67763,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_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, @@ -67587,7 +67773,7 @@ def v1_gateways_id_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIdDetailsGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67601,10 +67787,10 @@ def v1_gateways_id_details_get( @validate_call - def v1_gateways_id_details_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)], @@ -67617,14 +67803,15 @@ 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[V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse]: + """v1_extranets_b2b_peering_consumer_match_id_match_details_get + 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 @@ -67647,9 +67834,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_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, @@ -67657,7 +67844,7 @@ def v1_gateways_id_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIdDetailsGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67671,10 +67858,10 @@ def v1_gateways_id_details_get_with_http_info( @validate_call - def v1_gateways_id_details_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)], @@ -67688,13 +67875,14 @@ 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_extranets_b2b_peering_consumer_match_id_match_details_get + 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 @@ -67717,9 +67905,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_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, @@ -67727,7 +67915,7 @@ def v1_gateways_id_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIdDetailsGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67736,10 +67924,10 @@ def v1_gateways_id_details_get_without_preload_content( return response_data.response - def _v1_gateways_id_details_get_serialize( + def _v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( self, authorization, - id, + match_id, _request_auth, _content_type, _headers, @@ -67761,8 +67949,8 @@ 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 + if match_id is not None: + _path_params['matchId'] = match_id # process the query parameters # process the header parameters if authorization is not None: @@ -67787,7 +67975,7 @@ def _v1_gateways_id_details_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/{id}/details', + resource_path='/v1/extranets-b2b-peering/consumer/{matchId}/match-details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -67804,12 +67992,11 @@ def _v1_gateways_id_details_get_serialize( @validate_call - def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( + def v1_extranets_b2b_peering_consumer_match_id_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - region_id: StrictInt, - vrf_id: StrictInt, - address_family: Optional[StrictStr] = None, + 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)], @@ -67822,19 +68009,17 @@ 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 + ) -> V1ExtranetsB2bPeeringConsumerMatchIdPostResponse: + """v1_extranets_b2b_peering_consumer_match_id_post - Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway + Create B2B extranet peering service consumer :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 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 @@ -67857,11 +68042,10 @@ 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_extranets_b2b_peering_consumer_match_id_post_serialize( authorization=authorization, - region_id=region_id, - vrf_id=vrf_id, - address_family=address_family, + 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, @@ -67869,7 +68053,7 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -67883,12 +68067,11 @@ 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_extranets_b2b_peering_consumer_match_id_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - region_id: StrictInt, - vrf_id: StrictInt, - address_family: Optional[StrictStr] = None, + 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)], @@ -67901,19 +68084,17 @@ 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[V1ExtranetsB2bPeeringConsumerMatchIdPostResponse]: + """v1_extranets_b2b_peering_consumer_match_id_post - Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway + Create B2B extranet peering service consumer :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 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 @@ -67936,11 +68117,10 @@ 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_extranets_b2b_peering_consumer_match_id_post_serialize( authorization=authorization, - region_id=region_id, - vrf_id=vrf_id, - address_family=address_family, + 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, @@ -67948,7 +68128,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': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -67962,12 +68142,11 @@ 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_extranets_b2b_peering_consumer_match_id_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - region_id: StrictInt, - vrf_id: StrictInt, - address_family: Optional[StrictStr] = None, + 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)], @@ -67981,18 +68160,16 @@ 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_extranets_b2b_peering_consumer_match_id_post - Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway + Create B2B extranet peering service consumer :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 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 @@ -68015,11 +68192,10 @@ 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_extranets_b2b_peering_consumer_match_id_post_serialize( authorization=authorization, - region_id=region_id, - vrf_id=vrf_id, - address_family=address_family, + 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, @@ -68027,7 +68203,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': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -68036,12 +68212,11 @@ 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_extranets_b2b_peering_consumer_match_id_post_serialize( self, authorization, - region_id, - vrf_id, - address_family, + match_id, + v1_extranets_b2b_peering_consumer_match_id_post_request, _request_auth, _content_type, _headers, @@ -68063,20 +68238,16 @@ 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 + if match_id is not None: + _path_params['matchId'] = match_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_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` @@ -68087,6 +68258,19 @@ def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_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] = [ @@ -68094,8 +68278,8 @@ 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', + method='POST', + resource_path='/v1/extranets-b2b-peering/consumer/{matchId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68112,10 +68296,10 @@ def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize @validate_call - def v1_gateways_post( + def v1_extranets_b2b_peering_customer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_post_request: V1GatewaysPostRequest, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68128,14 +68312,15 @@ 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 + ) -> V1ExtranetsB2bPeeringCustomerIdDeleteResponse: + """v1_extranets_b2b_peering_customer_id_delete + Delete a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_post_request: (required) - :type v1_gateways_post_request: V1GatewaysPostRequest + :param id: ID of the peering service 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 @@ -68158,9 +68343,9 @@ def v1_gateways_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_post_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_delete_serialize( authorization=authorization, - v1_gateways_post_request=v1_gateways_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68168,7 +68353,7 @@ def v1_gateways_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysPostResponse", + '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -68182,10 +68367,10 @@ def v1_gateways_post( @validate_call - def v1_gateways_post_with_http_info( + def v1_extranets_b2b_peering_customer_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_post_request: V1GatewaysPostRequest, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68198,14 +68383,15 @@ 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[V1ExtranetsB2bPeeringCustomerIdDeleteResponse]: + """v1_extranets_b2b_peering_customer_id_delete + Delete a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_post_request: (required) - :type v1_gateways_post_request: V1GatewaysPostRequest + :param id: ID of the peering service 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 @@ -68228,9 +68414,9 @@ def v1_gateways_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_post_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_delete_serialize( authorization=authorization, - v1_gateways_post_request=v1_gateways_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68238,7 +68424,7 @@ def v1_gateways_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysPostResponse", + '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -68252,10 +68438,10 @@ def v1_gateways_post_with_http_info( @validate_call - def v1_gateways_post_without_preload_content( + def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_post_request: V1GatewaysPostRequest, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68269,13 +68455,14 @@ 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_extranets_b2b_peering_customer_id_delete + Delete a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_post_request: (required) - :type v1_gateways_post_request: V1GatewaysPostRequest + :param id: ID of the peering service 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 @@ -68298,9 +68485,9 @@ def v1_gateways_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_post_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_delete_serialize( authorization=authorization, - v1_gateways_post_request=v1_gateways_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68308,7 +68495,7 @@ def v1_gateways_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysPostResponse", + '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -68317,10 +68504,10 @@ def v1_gateways_post_without_preload_content( return response_data.response - def _v1_gateways_post_serialize( + def _v1_extranets_b2b_peering_customer_id_delete_serialize( self, authorization, - v1_gateways_post_request, + id, _request_auth, _content_type, _headers, @@ -68342,14 +68529,14 @@ def _v1_gateways_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_gateways_post_request is not None: - _body_params = v1_gateways_post_request # set the HTTP header `Accept` @@ -68360,19 +68547,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] = [ @@ -68380,8 +68554,8 @@ def _v1_gateways_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/gateways', + method='DELETE', + resource_path='/v1/extranets-b2b-peering/customer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68398,10 +68572,10 @@ def _v1_gateways_post_serialize( @validate_call - def v1_gateways_put( + def v1_extranets_b2b_peering_customer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_put_request: V1GatewaysPutRequest, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68414,14 +68588,15 @@ def v1_gateways_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_gateways_put + ) -> V1ExtranetsB2bPeeringCustomerIdGetResponse: + """v1_extranets_b2b_peering_customer_id_get + Get a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_put_request: (required) - :type v1_gateways_put_request: V1GatewaysPutRequest + :param id: ID of the peering service 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 @@ -68444,9 +68619,9 @@ def v1_gateways_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_put_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_get_serialize( authorization=authorization, - v1_gateways_put_request=v1_gateways_put_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68454,7 +68629,7 @@ def v1_gateways_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68468,10 +68643,10 @@ def v1_gateways_put( @validate_call - def v1_gateways_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 ")], - v1_gateways_put_request: V1GatewaysPutRequest, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68484,14 +68659,15 @@ def v1_gateways_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_gateways_put + ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerIdGetResponse]: + """v1_extranets_b2b_peering_customer_id_get + Get a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_put_request: (required) - :type v1_gateways_put_request: V1GatewaysPutRequest + :param id: ID of the peering service 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 @@ -68514,9 +68690,9 @@ def v1_gateways_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_put_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_get_serialize( authorization=authorization, - v1_gateways_put_request=v1_gateways_put_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68524,7 +68700,7 @@ def v1_gateways_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68538,10 +68714,10 @@ def v1_gateways_put_with_http_info( @validate_call - def v1_gateways_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 ")], - v1_gateways_put_request: V1GatewaysPutRequest, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68555,13 +68731,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_extranets_b2b_peering_customer_id_get + Get a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_put_request: (required) - :type v1_gateways_put_request: V1GatewaysPutRequest + :param id: ID of the peering service 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 @@ -68584,9 +68761,9 @@ def v1_gateways_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_put_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_get_serialize( authorization=authorization, - v1_gateways_put_request=v1_gateways_put_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68594,7 +68771,7 @@ def v1_gateways_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68603,10 +68780,10 @@ def v1_gateways_put_without_preload_content( return response_data.response - def _v1_gateways_put_serialize( + def _v1_extranets_b2b_peering_customer_id_get_serialize( self, authorization, - v1_gateways_put_request, + id, _request_auth, _content_type, _headers, @@ -68628,14 +68805,14 @@ def _v1_gateways_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_gateways_put_request is not None: - _body_params = v1_gateways_put_request # set the HTTP header `Accept` @@ -68646,19 +68823,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] = [ @@ -68666,8 +68830,8 @@ def _v1_gateways_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/gateways', + method='GET', + resource_path='/v1/extranets-b2b-peering/customer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68684,9 +68848,10 @@ def _v1_gateways_put_serialize( @validate_call - def v1_gateways_reference_consumer_get( + def v1_extranets_b2b_peering_customer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68699,13 +68864,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 + ) -> V1ExtranetsB2bPeeringCustomerPostResponse: + """v1_extranets_b2b_peering_customer_post - 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 + Create a new B2B extranet peering service customer :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68728,8 +68895,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_extranets_b2b_peering_customer_post_serialize( authorization=authorization, + v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68737,7 +68905,7 @@ def v1_gateways_reference_consumer_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysReferenceConsumerGetResponse", + '200': "V1ExtranetsB2bPeeringCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -68751,9 +68919,10 @@ def v1_gateways_reference_consumer_get( @validate_call - def v1_gateways_reference_consumer_get_with_http_info( + def v1_extranets_b2b_peering_customer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68766,13 +68935,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[V1ExtranetsB2bPeeringCustomerPostResponse]: + """v1_extranets_b2b_peering_customer_post - 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 + Create a new B2B extranet peering service customer :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68795,8 +68966,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_extranets_b2b_peering_customer_post_serialize( authorization=authorization, + v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68804,7 +68976,7 @@ def v1_gateways_reference_consumer_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysReferenceConsumerGetResponse", + '200': "V1ExtranetsB2bPeeringCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -68818,9 +68990,10 @@ def v1_gateways_reference_consumer_get_with_http_info( @validate_call - def v1_gateways_reference_consumer_get_without_preload_content( + def v1_extranets_b2b_peering_customer_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68834,12 +69007,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_extranets_b2b_peering_customer_post - 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 + Create a new B2B extranet peering service customer :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68862,8 +69037,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_extranets_b2b_peering_customer_post_serialize( authorization=authorization, + v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68871,7 +69047,7 @@ def v1_gateways_reference_consumer_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysReferenceConsumerGetResponse", + '200': "V1ExtranetsB2bPeeringCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -68880,9 +69056,10 @@ def v1_gateways_reference_consumer_get_without_preload_content( return response_data.response - def _v1_gateways_reference_consumer_get_serialize( + def _v1_extranets_b2b_peering_customer_post_serialize( self, authorization, + v1_extranets_b2b_peering_customer_post_request, _request_auth, _content_type, _headers, @@ -68910,6 +69087,8 @@ def _v1_gateways_reference_consumer_get_serialize( _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` @@ -68920,6 +69099,19 @@ def _v1_gateways_reference_consumer_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] = [ @@ -68927,8 +69119,8 @@ def _v1_gateways_reference_consumer_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/gateways/reference-consumer', + method='POST', + resource_path='/v1/extranets-b2b-peering/customer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68945,9 +69137,10 @@ def _v1_gateways_reference_consumer_get_serialize( @validate_call - def v1_gateways_regions_get( + 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="ID for the service to customer match to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68960,12 +69153,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 + ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse: + """v1_extranets_b2b_peering_match_service_to_customer_id_delete + Unsubscribe a customer from a service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: ID for the service to customer match to be deleted (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 @@ -68988,8 +69184,9 @@ def v1_gateways_regions_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_regions_get_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68997,7 +69194,7 @@ def v1_gateways_regions_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysRegionsGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -69011,9 +69208,10 @@ def v1_gateways_regions_get( @validate_call - def v1_gateways_regions_get_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="ID for the service to customer match to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69026,12 +69224,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[V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse]: + """v1_extranets_b2b_peering_match_service_to_customer_id_delete + Unsubscribe a customer from a service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: ID for the service to customer match to be deleted (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 @@ -69054,8 +69255,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_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69063,7 +69265,7 @@ def v1_gateways_regions_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysRegionsGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -69077,9 +69279,10 @@ def v1_gateways_regions_get_with_http_info( @validate_call - def v1_gateways_regions_get_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="ID for the service to customer match to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69093,11 +69296,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_extranets_b2b_peering_match_service_to_customer_id_delete + Unsubscribe a customer from a service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: ID for the service to customer match to be deleted (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 @@ -69120,8 +69326,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_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69129,7 +69336,7 @@ def v1_gateways_regions_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysRegionsGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -69138,9 +69345,10 @@ def v1_gateways_regions_get_without_preload_content( return response_data.response - def _v1_gateways_regions_get_serialize( + def _v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -69162,6 +69370,8 @@ def _v1_gateways_regions_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: @@ -69185,8 +69395,8 @@ def _v1_gateways_regions_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/gateways/regions', + 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, @@ -69203,10 +69413,11 @@ def _v1_gateways_regions_get_serialize( @validate_call - def v1_gateways_status_post( + def v1_extranets_b2b_peering_match_service_to_customer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + 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)], @@ -69219,14 +69430,17 @@ def v1_gateways_status_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_gateways_status_post + ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse: + """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 v1_gateways_status_post_request: (required) - :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest + :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 @@ -69249,9 +69463,10 @@ def v1_gateways_status_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_status_post_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( authorization=authorization, - v1_gateways_status_post_request=v1_gateways_status_post_request, + id=id, + customer_id=customer_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69259,7 +69474,7 @@ def v1_gateways_status_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69273,10 +69488,11 @@ def v1_gateways_status_post( @validate_call - def v1_gateways_status_post_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 ")], - v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + 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)], @@ -69289,14 +69505,17 @@ def v1_gateways_status_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_gateways_status_post + ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse]: + """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 v1_gateways_status_post_request: (required) - :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest + :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 @@ -69319,9 +69538,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_extranets_b2b_peering_match_service_to_customer_id_get_serialize( authorization=authorization, - v1_gateways_status_post_request=v1_gateways_status_post_request, + id=id, + customer_id=customer_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69329,7 +69549,7 @@ def v1_gateways_status_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69343,10 +69563,11 @@ def v1_gateways_status_post_with_http_info( @validate_call - def v1_gateways_status_post_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 ")], - v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + 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)], @@ -69360,13 +69581,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_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 v1_gateways_status_post_request: (required) - :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest + :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 @@ -69389,9 +69613,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_extranets_b2b_peering_match_service_to_customer_id_get_serialize( authorization=authorization, - v1_gateways_status_post_request=v1_gateways_status_post_request, + id=id, + customer_id=customer_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69399,7 +69624,7 @@ def v1_gateways_status_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69408,10 +69633,11 @@ def v1_gateways_status_post_without_preload_content( return response_data.response - def _v1_gateways_status_post_serialize( + def _v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( self, authorization, - v1_gateways_status_post_request, + id, + customer_id, _request_auth, _content_type, _headers, @@ -69433,14 +69659,18 @@ def _v1_gateways_status_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 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_gateways_status_post_request is not None: - _body_params = v1_gateways_status_post_request # set the HTTP header `Accept` @@ -69451,19 +69681,6 @@ def _v1_gateways_status_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] = [ @@ -69471,8 +69688,8 @@ def _v1_gateways_status_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/gateways/status', + method='GET', + resource_path='/v1/extranets-b2b-peering/match/service-to-customer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -69489,9 +69706,10 @@ def _v1_gateways_status_post_serialize( @validate_call - def v1_gateways_summary_get( + def v1_extranets_b2b_peering_match_service_to_customer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69504,12 +69722,15 @@ 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 + ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse: + """v1_extranets_b2b_peering_match_service_to_customer_post + Create B2B extranet configuration for matching a service to a customer :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69532,8 +69753,9 @@ def v1_gateways_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_summary_get_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_post_serialize( authorization=authorization, + 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, @@ -69541,7 +69763,7 @@ def v1_gateways_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysSummaryGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -69555,9 +69777,10 @@ def v1_gateways_summary_get( @validate_call - def v1_gateways_summary_get_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 ")], + v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69570,12 +69793,15 @@ 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[V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse]: + """v1_extranets_b2b_peering_match_service_to_customer_post + Create B2B extranet configuration for matching a service to a customer :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69598,8 +69824,9 @@ 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_extranets_b2b_peering_match_service_to_customer_post_serialize( authorization=authorization, + 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, @@ -69607,7 +69834,7 @@ def v1_gateways_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysSummaryGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -69621,9 +69848,10 @@ def v1_gateways_summary_get_with_http_info( @validate_call - def v1_gateways_summary_get_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 ")], + v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69637,11 +69865,14 @@ 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_extranets_b2b_peering_match_service_to_customer_post + Create B2B extranet configuration for matching a service to a customer :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69664,8 +69895,9 @@ 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_extranets_b2b_peering_match_service_to_customer_post_serialize( authorization=authorization, + 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, @@ -69673,7 +69905,7 @@ def v1_gateways_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysSummaryGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -69682,9 +69914,10 @@ def v1_gateways_summary_get_without_preload_content( return response_data.response - def _v1_gateways_summary_get_serialize( + def _v1_extranets_b2b_peering_match_service_to_customer_post_serialize( self, authorization, + v1_extranets_b2b_peering_match_service_to_customer_post_request, _request_auth, _content_type, _headers, @@ -69712,6 +69945,8 @@ def _v1_gateways_summary_get_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 # set the HTTP header `Accept` @@ -69722,6 +69957,19 @@ def _v1_gateways_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] = [ @@ -69729,8 +69977,8 @@ def _v1_gateways_summary_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/gateways/summary', + method='POST', + resource_path='/v1/extranets-b2b-peering/match/service-to-customer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -69747,9 +69995,10 @@ def _v1_gateways_summary_get_serialize( @validate_call - def v1_global_apps_app_list_options_get( + def v1_extranets_b2b_peering_match_service_to_customer_service_status_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69762,13 +70011,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 + ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse: + """v1_extranets_b2b_peering_match_service_to_customer_service_status_put - Gets all apps and categories assignable to an app list for the the current enterprise + Pause B2B match service to customer :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69791,8 +70042,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_extranets_b2b_peering_match_service_to_customer_service_status_put_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, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69800,7 +70052,7 @@ def v1_global_apps_app_list_options_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListOptionsGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -69814,9 +70066,10 @@ def v1_global_apps_app_list_options_get( @validate_call - def v1_global_apps_app_list_options_get_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 ")], + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69829,13 +70082,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[V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse]: + """v1_extranets_b2b_peering_match_service_to_customer_service_status_put - Gets all apps and categories assignable to an app list for the the current enterprise + Pause B2B match service to customer :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69858,8 +70113,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_extranets_b2b_peering_match_service_to_customer_service_status_put_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, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69867,7 +70123,7 @@ def v1_global_apps_app_list_options_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListOptionsGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -69881,9 +70137,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_extranets_b2b_peering_match_service_to_customer_service_status_put_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, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69897,12 +70154,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_extranets_b2b_peering_match_service_to_customer_service_status_put - Gets all apps and categories assignable to an app list for the the current enterprise + Pause B2B match service to customer :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69925,8 +70184,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_extranets_b2b_peering_match_service_to_customer_service_status_put_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, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69934,7 +70194,7 @@ def v1_global_apps_app_list_options_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListOptionsGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -69943,9 +70203,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_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize( self, authorization, + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, _request_auth, _content_type, _headers, @@ -69973,6 +70234,8 @@ def _v1_global_apps_app_list_options_get_serialize( _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` @@ -69983,6 +70246,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] = [ @@ -69990,8 +70266,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='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, @@ -70008,10 +70284,10 @@ def _v1_global_apps_app_list_options_get_serialize( @validate_call - def v1_global_apps_app_lists_app_list_id_delete( + def v1_extranets_b2b_peering_match_services_summary_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70024,15 +70300,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 + ) -> V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse: + """v1_extranets_b2b_peering_match_services_summary_id_get - Delete an app list under the current enterprise + Get B2B extranet services matching customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :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 @@ -70055,9 +70331,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_extranets_b2b_peering_match_services_summary_id_get_serialize( authorization=authorization, - app_list_id=app_list_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70065,7 +70341,7 @@ def v1_global_apps_app_lists_app_list_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70079,10 +70355,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_extranets_b2b_peering_match_services_summary_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70095,15 +70371,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[V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse]: + """v1_extranets_b2b_peering_match_services_summary_id_get - Delete an app list under the current enterprise + Get B2B extranet services matching customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :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 @@ -70126,9 +70402,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_extranets_b2b_peering_match_services_summary_id_get_serialize( authorization=authorization, - app_list_id=app_list_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70136,7 +70412,7 @@ def v1_global_apps_app_lists_app_list_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70150,10 +70426,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_extranets_b2b_peering_match_services_summary_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70167,14 +70443,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_extranets_b2b_peering_match_services_summary_id_get - Delete an app list under the current enterprise + Get B2B extranet services matching customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :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 @@ -70197,9 +70473,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_extranets_b2b_peering_match_services_summary_id_get_serialize( authorization=authorization, - app_list_id=app_list_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70207,7 +70483,7 @@ def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70216,10 +70492,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_extranets_b2b_peering_match_services_summary_id_get_serialize( self, authorization, - app_list_id, + id, _request_auth, _content_type, _headers, @@ -70241,8 +70517,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 id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -70266,8 +70542,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/extranets-b2b-peering/match/services/summary/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70284,10 +70560,10 @@ 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_extranets_b2b_peering_producer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70300,15 +70576,15 @@ 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 + ) -> V1ExtranetsB2bPeeringProducerIdGetResponse: + """v1_extranets_b2b_peering_producer_id_get - Get all apps that are members of the provided app list + Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :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 @@ -70331,9 +70607,9 @@ 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_extranets_b2b_peering_producer_id_get_serialize( authorization=authorization, - app_list_id=app_list_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70341,7 +70617,7 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70355,10 +70631,10 @@ 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_extranets_b2b_peering_producer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70371,15 +70647,15 @@ 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[V1ExtranetsB2bPeeringProducerIdGetResponse]: + """v1_extranets_b2b_peering_producer_id_get - Get all apps that are members of the provided app list + Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :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 @@ -70402,9 +70678,9 @@ 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_extranets_b2b_peering_producer_id_get_serialize( authorization=authorization, - app_list_id=app_list_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70412,7 +70688,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': "V1ExtranetsB2bPeeringProducerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70426,10 +70702,10 @@ 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_extranets_b2b_peering_producer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70443,14 +70719,14 @@ 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_extranets_b2b_peering_producer_id_get - Get all apps that are members of the provided app list + Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :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 @@ -70473,9 +70749,9 @@ 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_extranets_b2b_peering_producer_id_get_serialize( authorization=authorization, - app_list_id=app_list_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70483,7 +70759,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': "V1ExtranetsB2bPeeringProducerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70492,10 +70768,10 @@ 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_extranets_b2b_peering_producer_id_get_serialize( self, authorization, - app_list_id, + id, _request_auth, _content_type, _headers, @@ -70517,8 +70793,8 @@ 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 + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -70543,7 +70819,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/extranets-b2b-peering/producer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70560,10 +70836,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_extranets_b2b_peering_producer_id_matching_customers_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70576,15 +70852,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 + ) -> V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse: + """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get - Get the configuration for an app list under the current enterprise + Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :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 @@ -70607,9 +70883,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_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( authorization=authorization, - app_list_id=app_list_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70617,7 +70893,7 @@ def v1_global_apps_app_lists_app_list_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdGetResponse", + '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70631,10 +70907,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_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70647,15 +70923,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[V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse]: + """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get - Get the configuration for an app list under the current enterprise + Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :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 @@ -70678,9 +70954,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_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( authorization=authorization, - app_list_id=app_list_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70688,7 +70964,7 @@ def v1_global_apps_app_lists_app_list_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdGetResponse", + '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70702,10 +70978,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_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70719,14 +70995,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_extranets_b2b_peering_producer_id_matching_customers_summary_get - Get the configuration for an app list under the current enterprise + Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :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 @@ -70749,9 +71025,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_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( authorization=authorization, - app_list_id=app_list_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70759,7 +71035,7 @@ def v1_global_apps_app_lists_app_list_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdGetResponse", + '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70768,10 +71044,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_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( self, authorization, - app_list_id, + id, _request_auth, _content_type, _headers, @@ -70793,8 +71069,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 id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -70819,7 +71095,7 @@ 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}', + resource_path='/v1/extranets-b2b-peering/producer/{id}/matching-customers-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70836,11 +71112,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_extranets_b2b_peering_producer_post( 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, + v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70853,17 +71128,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 + ) -> V1ExtranetsB2bPeeringProducerPostResponse: + """v1_extranets_b2b_peering_producer_post - Overwrite the configuration for an app list under the current enterprise + Create a new B2B extranet peering service producer :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 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 @@ -70886,10 +71159,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_extranets_b2b_peering_producer_post_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, + v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70897,7 +71169,7 @@ def v1_global_apps_app_lists_app_list_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringProducerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -70911,11 +71183,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_extranets_b2b_peering_producer_post_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, + v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70928,17 +71199,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[V1ExtranetsB2bPeeringProducerPostResponse]: + """v1_extranets_b2b_peering_producer_post - Overwrite the configuration for an app list under the current enterprise + Create a new B2B extranet peering service producer :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 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 @@ -70961,10 +71230,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_extranets_b2b_peering_producer_post_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, + v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70972,7 +71240,7 @@ def v1_global_apps_app_lists_app_list_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringProducerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -70986,11 +71254,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_extranets_b2b_peering_producer_post_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, + v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71004,16 +71271,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_extranets_b2b_peering_producer_post - Overwrite the configuration for an app list under the current enterprise + Create a new B2B extranet peering service producer :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 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 @@ -71036,10 +71301,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_extranets_b2b_peering_producer_post_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, + v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71047,7 +71311,7 @@ def v1_global_apps_app_lists_app_list_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringProducerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71056,11 +71320,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_extranets_b2b_peering_producer_post_serialize( self, authorization, - app_list_id, - v1_global_apps_app_lists_app_list_id_put_request, + v1_extranets_b2b_peering_producer_post_request, _request_auth, _content_type, _headers, @@ -71082,16 +71345,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 # 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 + 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` @@ -71122,8 +71383,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='POST', + resource_path='/v1/extranets-b2b-peering/producer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71140,9 +71401,10 @@ def _v1_global_apps_app_lists_app_list_id_put_serialize( @validate_call - def v1_global_apps_app_lists_get( + def v1_extranets_b2b_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71155,13 +71417,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 + ) -> V1ExtranetsB2bPostResponse: + """v1_extranets_b2b_post - Get all app lists for the current enterprise + 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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71184,8 +71448,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_extranets_b2b_post_serialize( authorization=authorization, + v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71193,7 +71458,7 @@ def v1_global_apps_app_lists_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsGetResponse", + '200': "V1ExtranetsB2bPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71207,9 +71472,10 @@ def v1_global_apps_app_lists_get( @validate_call - def v1_global_apps_app_lists_get_with_http_info( + def v1_extranets_b2b_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71222,13 +71488,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[V1ExtranetsB2bPostResponse]: + """v1_extranets_b2b_post - Get all app lists for the current enterprise + 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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71251,8 +71519,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_extranets_b2b_post_serialize( authorization=authorization, + v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71260,7 +71529,7 @@ def v1_global_apps_app_lists_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsGetResponse", + '200': "V1ExtranetsB2bPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71274,9 +71543,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_extranets_b2b_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71290,12 +71560,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_extranets_b2b_post - Get all app lists for the current enterprise + 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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71318,8 +71590,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_extranets_b2b_post_serialize( authorization=authorization, + v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71327,7 +71600,7 @@ def v1_global_apps_app_lists_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsGetResponse", + '200': "V1ExtranetsB2bPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71336,9 +71609,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_extranets_b2b_post_serialize( self, authorization, + v1_extranets_b2b_post_request, _request_auth, _content_type, _headers, @@ -71366,6 +71640,8 @@ def _v1_global_apps_app_lists_get_serialize( _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` @@ -71376,6 +71652,19 @@ def _v1_global_apps_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] = [ @@ -71383,8 +71672,8 @@ def _v1_global_apps_app_lists_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/app-lists', + method='POST', + resource_path='/v1/extranets-b2b', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71401,10 +71690,10 @@ def _v1_global_apps_app_lists_get_serialize( @validate_call - def v1_global_apps_app_lists_post( + def v1_extranets_b2b_producer_device_status_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71417,15 +71706,15 @@ 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 + ) -> V1ExtranetsB2bProducerDeviceStatusIdGetResponse: + """v1_extranets_b2b_producer_device_status_id_get - Create an app list under the current enterprise + Get B2B extranet producer status :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 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 @@ -71448,9 +71737,9 @@ 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_extranets_b2b_producer_device_status_id_get_serialize( authorization=authorization, - v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71458,7 +71747,7 @@ def v1_global_apps_app_lists_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsPostResponse", + '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71472,10 +71761,10 @@ def v1_global_apps_app_lists_post( @validate_call - def v1_global_apps_app_lists_post_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_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71488,15 +71777,15 @@ 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[V1ExtranetsB2bProducerDeviceStatusIdGetResponse]: + """v1_extranets_b2b_producer_device_status_id_get - Create an app list under the current enterprise + Get B2B extranet producer status :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 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 @@ -71519,9 +71808,9 @@ 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_extranets_b2b_producer_device_status_id_get_serialize( authorization=authorization, - v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71529,7 +71818,7 @@ def v1_global_apps_app_lists_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsPostResponse", + '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71543,10 +71832,10 @@ def v1_global_apps_app_lists_post_with_http_info( @validate_call - def v1_global_apps_app_lists_post_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_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71560,14 +71849,14 @@ 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_extranets_b2b_producer_device_status_id_get - Create an app list under the current enterprise + Get B2B extranet producer status :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 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 @@ -71590,9 +71879,9 @@ 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_extranets_b2b_producer_device_status_id_get_serialize( authorization=authorization, - v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71600,7 +71889,7 @@ def v1_global_apps_app_lists_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsPostResponse", + '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71609,10 +71898,10 @@ def v1_global_apps_app_lists_post_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_post_serialize( + def _v1_extranets_b2b_producer_device_status_id_get_serialize( self, authorization, - v1_global_apps_app_lists_post_request, + id, _request_auth, _content_type, _headers, @@ -71634,14 +71923,14 @@ def _v1_global_apps_app_lists_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_apps_app_lists_post_request is not None: - _body_params = v1_global_apps_app_lists_post_request # set the HTTP header `Accept` @@ -71652,19 +71941,6 @@ def _v1_global_apps_app_lists_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] = [ @@ -71672,8 +71948,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='GET', + resource_path='/v1/extranets-b2b/producer-device-status/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71690,10 +71966,9 @@ def _v1_global_apps_app_lists_post_serialize( @validate_call - def v1_global_apps_categories_category_id_apps_get( + def v1_extranets_b2b_producers_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71706,15 +71981,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 + ) -> V1ExtranetsB2bProducersSummaryGetResponse: + """v1_extranets_b2b_producers_summary_get - Get all Graphiant apps in an app category + Get B2B extranet producers summary :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 @@ -71737,9 +72010,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_extranets_b2b_producers_summary_get_serialize( authorization=authorization, - category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71747,7 +72019,7 @@ def v1_global_apps_categories_category_id_apps_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + '200': "V1ExtranetsB2bProducersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71761,10 +72033,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_extranets_b2b_producers_summary_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)], @@ -71777,15 +72048,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[V1ExtranetsB2bProducersSummaryGetResponse]: + """v1_extranets_b2b_producers_summary_get - Get all Graphiant apps in an app category + Get B2B extranet producers summary :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 @@ -71808,9 +72077,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_extranets_b2b_producers_summary_get_serialize( authorization=authorization, - category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71818,7 +72086,7 @@ def v1_global_apps_categories_category_id_apps_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + '200': "V1ExtranetsB2bProducersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71832,10 +72100,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_extranets_b2b_producers_summary_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)], @@ -71849,14 +72116,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_extranets_b2b_producers_summary_get - Get all Graphiant apps in an app category + Get B2B extranet producers summary :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 @@ -71879,9 +72144,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_extranets_b2b_producers_summary_get_serialize( authorization=authorization, - category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71889,7 +72153,7 @@ def v1_global_apps_categories_category_id_apps_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + '200': "V1ExtranetsB2bProducersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71898,10 +72162,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_extranets_b2b_producers_summary_get_serialize( self, authorization, - category_id, _request_auth, _content_type, _headers, @@ -71923,8 +72186,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: @@ -71949,7 +72210,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/extranets-b2b/producers-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71966,7 +72227,7 @@ def _v1_global_apps_categories_category_id_apps_get_serialize( @validate_call - def v1_global_apps_categories_get( + def v1_extranets_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -71981,10 +72242,9 @@ 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 + ) -> V1ExtranetsGetResponse: + """v1_extranets_get - Get all app categories holding Graphiant apps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -72010,7 +72270,7 @@ def v1_global_apps_categories_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_get_serialize( + _param = self._v1_extranets_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -72019,7 +72279,7 @@ def v1_global_apps_categories_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesGetResponse", + '200': "V1ExtranetsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72033,7 +72293,7 @@ def v1_global_apps_categories_get( @validate_call - def v1_global_apps_categories_get_with_http_info( + def v1_extranets_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -72048,10 +72308,9 @@ 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[V1ExtranetsGetResponse]: + """v1_extranets_get - Get all app categories holding Graphiant apps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -72077,7 +72336,7 @@ 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_extranets_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -72086,7 +72345,7 @@ def v1_global_apps_categories_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesGetResponse", + '200': "V1ExtranetsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72100,7 +72359,7 @@ def v1_global_apps_categories_get_with_http_info( @validate_call - def v1_global_apps_categories_get_without_preload_content( + def v1_extranets_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -72116,9 +72375,8 @@ 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_extranets_get - Get all app categories holding Graphiant apps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -72144,7 +72402,7 @@ 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_extranets_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -72153,7 +72411,7 @@ def v1_global_apps_categories_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesGetResponse", + '200': "V1ExtranetsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72162,7 +72420,7 @@ def v1_global_apps_categories_get_without_preload_content( return response_data.response - def _v1_global_apps_categories_get_serialize( + def _v1_extranets_get_serialize( self, authorization, _request_auth, @@ -72210,7 +72468,7 @@ def _v1_global_apps_categories_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/categories', + resource_path='/v1/extranets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72227,10 +72485,11 @@ def _v1_global_apps_categories_get_serialize( @validate_call - def v1_global_apps_custom_app_id_delete( + def v1_extranets_id_apply_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + id: StrictInt, + v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72243,15 +72502,16 @@ 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 + ) -> V1ExtranetsIdApplyPostResponse: + """v1_extranets_id_apply_post - Delete 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 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 @@ -72274,9 +72534,10 @@ 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_extranets_id_apply_post_serialize( authorization=authorization, - app_id=app_id, + id=id, + v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72284,7 +72545,7 @@ def v1_global_apps_custom_app_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '202': "V1ExtranetsIdApplyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -72298,10 +72559,11 @@ def v1_global_apps_custom_app_id_delete( @validate_call - def v1_global_apps_custom_app_id_delete_with_http_info( + def v1_extranets_id_apply_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + id: StrictInt, + v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72314,15 +72576,16 @@ 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[V1ExtranetsIdApplyPostResponse]: + """v1_extranets_id_apply_post - Delete 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 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 @@ -72345,9 +72608,10 @@ 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_extranets_id_apply_post_serialize( authorization=authorization, - app_id=app_id, + id=id, + v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72355,7 +72619,7 @@ def v1_global_apps_custom_app_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '202': "V1ExtranetsIdApplyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -72369,10 +72633,11 @@ 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_extranets_id_apply_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + id: StrictInt, + v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72386,14 +72651,15 @@ 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_extranets_id_apply_post - Delete 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 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 @@ -72416,9 +72682,10 @@ 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_extranets_id_apply_post_serialize( authorization=authorization, - app_id=app_id, + id=id, + v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72426,7 +72693,7 @@ def v1_global_apps_custom_app_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '202': "V1ExtranetsIdApplyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -72435,10 +72702,11 @@ 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_extranets_id_apply_post_serialize( self, authorization, - app_id, + id, + v1_extranets_id_apply_post_request, _request_auth, _content_type, _headers, @@ -72460,14 +72728,16 @@ 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 + 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_apply_post_request is not None: + _body_params = v1_extranets_id_apply_post_request # set the HTTP header `Accept` @@ -72478,6 +72748,19 @@ def _v1_global_apps_custom_app_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] = [ @@ -72485,8 +72768,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='POST', + resource_path='/v1/extranets/{id}/apply', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72503,10 +72786,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_extranets_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72519,15 +72802,14 @@ 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 + ) -> V1ExtranetsIdDeleteResponse: + """v1_extranets_id_delete - Get all app lists that contain the relevant global app :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_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 @@ -72550,9 +72832,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_extranets_id_delete_serialize( authorization=authorization, - app_id=app_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72560,7 +72842,7 @@ def v1_global_apps_custom_app_id_details_app_lists_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + '200': "V1ExtranetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -72574,10 +72856,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_extranets_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72590,15 +72872,14 @@ 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[V1ExtranetsIdDeleteResponse]: + """v1_extranets_id_delete - Get all app lists that contain the relevant global app :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_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 @@ -72621,9 +72902,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_extranets_id_delete_serialize( authorization=authorization, - app_id=app_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72631,7 +72912,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': "V1ExtranetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -72645,10 +72926,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_extranets_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72662,14 +72943,13 @@ 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_extranets_id_delete - Get all app lists that contain the relevant global app :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_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 @@ -72692,9 +72972,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_extranets_id_delete_serialize( authorization=authorization, - app_id=app_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72702,7 +72982,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': "V1ExtranetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -72711,10 +72991,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_extranets_id_delete_serialize( self, authorization, - app_id, + id, _request_auth, _content_type, _headers, @@ -72736,8 +73016,8 @@ 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 + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -72761,8 +73041,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='DELETE', + resource_path='/v1/extranets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72779,10 +73059,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_extranets_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72795,15 +73075,14 @@ 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 + ) -> V1ExtranetsIdGetResponse: + """v1_extranets_id_get - 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 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 @@ -72826,9 +73105,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_extranets_id_get_serialize( authorization=authorization, - app_id=app_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72836,7 +73115,7 @@ def v1_global_apps_custom_app_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdGetResponse", + '200': "V1ExtranetsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72850,10 +73129,10 @@ def v1_global_apps_custom_app_id_get( @validate_call - def v1_global_apps_custom_app_id_get_with_http_info( + def v1_extranets_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72866,15 +73145,14 @@ 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[V1ExtranetsIdGetResponse]: + """v1_extranets_id_get - 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 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 @@ -72897,9 +73175,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_extranets_id_get_serialize( authorization=authorization, - app_id=app_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72907,7 +73185,7 @@ def v1_global_apps_custom_app_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdGetResponse", + '200': "V1ExtranetsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72921,10 +73199,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_extranets_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72938,14 +73216,13 @@ 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_extranets_id_get - 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 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 @@ -72968,9 +73245,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_extranets_id_get_serialize( authorization=authorization, - app_id=app_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72978,7 +73255,7 @@ def v1_global_apps_custom_app_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdGetResponse", + '200': "V1ExtranetsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72987,10 +73264,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_extranets_id_get_serialize( self, authorization, - app_id, + id, _request_auth, _content_type, _headers, @@ -73012,8 +73289,8 @@ 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 + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -73038,7 +73315,7 @@ def _v1_global_apps_custom_app_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/custom/{appId}', + resource_path='/v1/extranets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73055,11 +73332,11 @@ def _v1_global_apps_custom_app_id_get_serialize( @validate_call - def v1_global_apps_custom_app_id_put( + def v1_extranets_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, - v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, + id: StrictInt, + v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73072,17 +73349,16 @@ 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 + ) -> V1ExtranetsIdPutResponse: + """v1_extranets_id_put - Overwrite 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 v1_global_apps_custom_app_id_put_request: (required) - :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest + :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 @@ -73105,10 +73381,10 @@ 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_extranets_id_put_serialize( authorization=authorization, - app_id=app_id, - v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, + id=id, + v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73116,7 +73392,7 @@ def v1_global_apps_custom_app_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -73130,11 +73406,11 @@ def v1_global_apps_custom_app_id_put( @validate_call - def v1_global_apps_custom_app_id_put_with_http_info( + def v1_extranets_id_put_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, + id: StrictInt, + v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73147,17 +73423,16 @@ 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[V1ExtranetsIdPutResponse]: + """v1_extranets_id_put - Overwrite 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 v1_global_apps_custom_app_id_put_request: (required) - :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest + :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 @@ -73180,10 +73455,10 @@ 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_extranets_id_put_serialize( authorization=authorization, - app_id=app_id, - v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, + id=id, + v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73191,7 +73466,7 @@ def v1_global_apps_custom_app_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -73205,11 +73480,11 @@ 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_extranets_id_put_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, + id: StrictInt, + v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73223,16 +73498,15 @@ 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_extranets_id_put - Overwrite 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 v1_global_apps_custom_app_id_put_request: (required) - :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest + :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 @@ -73255,10 +73529,10 @@ 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_extranets_id_put_serialize( authorization=authorization, - app_id=app_id, - v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, + id=id, + v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73266,7 +73540,7 @@ def v1_global_apps_custom_app_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -73275,11 +73549,11 @@ 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_extranets_id_put_serialize( self, authorization, - app_id, - v1_global_apps_custom_app_id_put_request, + id, + v1_extranets_id_put_request, _request_auth, _content_type, _headers, @@ -73301,16 +73575,16 @@ 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 + 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_apps_custom_app_id_put_request is not None: - _body_params = v1_global_apps_custom_app_id_put_request + if v1_extranets_id_put_request is not None: + _body_params = v1_extranets_id_put_request # set the HTTP header `Accept` @@ -73342,7 +73616,7 @@ def _v1_global_apps_custom_app_id_put_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/v1/global/apps/custom/{appId}', + resource_path='/v1/extranets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73359,9 +73633,10 @@ def _v1_global_apps_custom_app_id_put_serialize( @validate_call - def v1_global_apps_custom_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)], @@ -73374,13 +73649,14 @@ 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 + ) -> V1ExtranetsIdStatusGetResponse: + """v1_extranets_id_status_get - Get all global apps mapped by the current enterprise :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 @@ -73403,8 +73679,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_extranets_id_status_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73412,7 +73689,7 @@ def v1_global_apps_custom_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomGetResponse", + '200': "V1ExtranetsIdStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73426,9 +73703,10 @@ def v1_global_apps_custom_get( @validate_call - def v1_global_apps_custom_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)], @@ -73441,13 +73719,14 @@ 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[V1ExtranetsIdStatusGetResponse]: + """v1_extranets_id_status_get - Get all global apps mapped by the current enterprise :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 @@ -73470,8 +73749,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_extranets_id_status_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73479,7 +73759,7 @@ def v1_global_apps_custom_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomGetResponse", + '200': "V1ExtranetsIdStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73493,9 +73773,10 @@ def v1_global_apps_custom_get_with_http_info( @validate_call - def v1_global_apps_custom_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)], @@ -73509,12 +73790,13 @@ 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_extranets_id_status_get - Get all global apps mapped by the current enterprise :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 @@ -73537,8 +73819,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_extranets_id_status_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73546,7 +73829,7 @@ def v1_global_apps_custom_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomGetResponse", + '200': "V1ExtranetsIdStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73555,9 +73838,10 @@ def v1_global_apps_custom_get_without_preload_content( return response_data.response - def _v1_global_apps_custom_get_serialize( + def _v1_extranets_id_status_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -73579,6 +73863,8 @@ def _v1_global_apps_custom_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: @@ -73603,7 +73889,7 @@ def _v1_global_apps_custom_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/custom', + resource_path='/v1/extranets/{id}/status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73620,10 +73906,11 @@ def _v1_global_apps_custom_get_serialize( @validate_call - def v1_global_apps_custom_post( + def v1_extranets_monitoring_lan_segments_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, + id: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, + is_provider: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73636,15 +73923,16 @@ 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 + ) -> V1ExtranetsMonitoringLanSegmentsGetResponse: + """v1_extranets_monitoring_lan_segments_get - 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 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 @@ -73667,9 +73955,10 @@ def v1_global_apps_custom_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_post_serialize( + _param = self._v1_extranets_monitoring_lan_segments_get_serialize( authorization=authorization, - v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73677,7 +73966,7 @@ def v1_global_apps_custom_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomPostResponse", + '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73691,10 +73980,11 @@ def v1_global_apps_custom_post( @validate_call - def v1_global_apps_custom_post_with_http_info( + def v1_extranets_monitoring_lan_segments_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, + id: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, + is_provider: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73707,15 +73997,16 @@ 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[V1ExtranetsMonitoringLanSegmentsGetResponse]: + """v1_extranets_monitoring_lan_segments_get - 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 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 @@ -73738,9 +74029,10 @@ 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_extranets_monitoring_lan_segments_get_serialize( authorization=authorization, - v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73748,7 +74040,7 @@ def v1_global_apps_custom_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomPostResponse", + '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73762,10 +74054,11 @@ def v1_global_apps_custom_post_with_http_info( @validate_call - def v1_global_apps_custom_post_without_preload_content( + def v1_extranets_monitoring_lan_segments_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, + id: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, + is_provider: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73779,14 +74072,15 @@ 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_extranets_monitoring_lan_segments_get - 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 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 @@ -73809,9 +74103,10 @@ 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_extranets_monitoring_lan_segments_get_serialize( authorization=authorization, - v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73819,7 +74114,7 @@ def v1_global_apps_custom_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomPostResponse", + '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73828,10 +74123,11 @@ def v1_global_apps_custom_post_without_preload_content( return response_data.response - def _v1_global_apps_custom_post_serialize( + def _v1_extranets_monitoring_lan_segments_get_serialize( self, authorization, - v1_global_apps_custom_post_request, + id, + is_provider, _request_auth, _content_type, _headers, @@ -73854,13 +74150,19 @@ def _v1_global_apps_custom_post_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_global_apps_custom_post_request is not None: - _body_params = v1_global_apps_custom_post_request # set the HTTP header `Accept` @@ -73871,19 +74173,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] = [ @@ -73891,8 +74180,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/extranets-monitoring/lan-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73909,9 +74198,10 @@ def _v1_global_apps_custom_post_serialize( @validate_call - def v1_global_apps_graphiant_get( + def v1_extranets_monitoring_nat_usage_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Extranet Service Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73924,13 +74214,14 @@ 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 + ) -> V1ExtranetsMonitoringNatUsageGetResponse: + """v1_extranets_monitoring_nat_usage_get - Get all apps mapped by Graphiant :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Extranet 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 @@ -73953,8 +74244,9 @@ def v1_global_apps_graphiant_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_graphiant_get_serialize( + _param = self._v1_extranets_monitoring_nat_usage_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73962,7 +74254,7 @@ def v1_global_apps_graphiant_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsGraphiantGetResponse", + '200': "V1ExtranetsMonitoringNatUsageGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73976,9 +74268,10 @@ def v1_global_apps_graphiant_get( @validate_call - def v1_global_apps_graphiant_get_with_http_info( + def v1_extranets_monitoring_nat_usage_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Extranet Service Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73991,13 +74284,14 @@ 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[V1ExtranetsMonitoringNatUsageGetResponse]: + """v1_extranets_monitoring_nat_usage_get - Get all apps mapped by Graphiant :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Extranet 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 @@ -74020,8 +74314,9 @@ 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_extranets_monitoring_nat_usage_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74029,7 +74324,7 @@ def v1_global_apps_graphiant_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsGraphiantGetResponse", + '200': "V1ExtranetsMonitoringNatUsageGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74043,9 +74338,10 @@ def v1_global_apps_graphiant_get_with_http_info( @validate_call - def v1_global_apps_graphiant_get_without_preload_content( + def v1_extranets_monitoring_nat_usage_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Extranet Service Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74059,12 +74355,13 @@ 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_extranets_monitoring_nat_usage_get - Get all apps mapped by Graphiant :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Extranet 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 @@ -74087,8 +74384,9 @@ 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_extranets_monitoring_nat_usage_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74096,7 +74394,7 @@ def v1_global_apps_graphiant_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsGraphiantGetResponse", + '200': "V1ExtranetsMonitoringNatUsageGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74105,9 +74403,10 @@ def v1_global_apps_graphiant_get_without_preload_content( return response_data.response - def _v1_global_apps_graphiant_get_serialize( + def _v1_extranets_monitoring_nat_usage_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -74130,6 +74429,10 @@ def _v1_global_apps_graphiant_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 @@ -74153,7 +74456,7 @@ def _v1_global_apps_graphiant_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/graphiant', + resource_path='/v1/extranets-monitoring/nat-usage', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -74170,10 +74473,10 @@ def _v1_global_apps_graphiant_get_serialize( @validate_call - def v1_global_attached_edges_post( + def v1_extranets_monitoring_traffic_security_policy_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, + v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74186,15 +74489,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 + ) -> V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse: + """v1_extranets_monitoring_traffic_security_policy_post - Returns attached edges for global object + Get lists of traffic and security policies :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_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 @@ -74217,9 +74520,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_extranets_monitoring_traffic_security_policy_post_serialize( authorization=authorization, - v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, + 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, @@ -74227,7 +74530,7 @@ def v1_global_attached_edges_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAttachedEdgesPostResponse", + '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74241,10 +74544,10 @@ def v1_global_attached_edges_post( @validate_call - def v1_global_attached_edges_post_with_http_info( + def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, + v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74257,15 +74560,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[V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse]: + """v1_extranets_monitoring_traffic_security_policy_post - Returns attached edges for global object + Get lists of traffic and security policies :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_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 @@ -74288,9 +74591,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_extranets_monitoring_traffic_security_policy_post_serialize( authorization=authorization, - v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, + 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, @@ -74298,7 +74601,7 @@ def v1_global_attached_edges_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAttachedEdgesPostResponse", + '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74312,10 +74615,10 @@ def v1_global_attached_edges_post_with_http_info( @validate_call - def v1_global_attached_edges_post_without_preload_content( + def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, + v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74329,14 +74632,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_extranets_monitoring_traffic_security_policy_post - Returns attached edges for global object + Get lists of traffic and security policies :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_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 @@ -74359,9 +74662,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_extranets_monitoring_traffic_security_policy_post_serialize( authorization=authorization, - v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, + 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, @@ -74369,7 +74672,7 @@ def v1_global_attached_edges_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAttachedEdgesPostResponse", + '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74378,10 +74681,10 @@ def v1_global_attached_edges_post_without_preload_content( return response_data.response - def _v1_global_attached_edges_post_serialize( + def _v1_extranets_monitoring_traffic_security_policy_post_serialize( self, authorization, - v1_global_attached_edges_post_request, + v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth, _content_type, _headers, @@ -74409,8 +74712,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_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` @@ -74442,7 +74745,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/extranets-monitoring/traffic-security-policy', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -74459,10 +74762,10 @@ def _v1_global_attached_edges_post_serialize( @validate_call - def v1_global_config_patch( + def v1_extranets_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_patch_request: V1GlobalConfigPatchRequest, + v1_extranets_post_request: V1ExtranetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74475,15 +74778,14 @@ 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 + ) -> V1ExtranetsPostResponse: + """v1_extranets_post - Update global objects for an enterprise :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 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 @@ -74506,9 +74808,9 @@ def v1_global_config_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_patch_serialize( + _param = self._v1_extranets_post_serialize( authorization=authorization, - v1_global_config_patch_request=v1_global_config_patch_request, + v1_extranets_post_request=v1_extranets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74516,7 +74818,7 @@ def v1_global_config_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalConfigPatchResponse", + '200': "V1ExtranetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74530,10 +74832,10 @@ def v1_global_config_patch( @validate_call - def v1_global_config_patch_with_http_info( + def v1_extranets_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_patch_request: V1GlobalConfigPatchRequest, + v1_extranets_post_request: V1ExtranetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74546,15 +74848,14 @@ 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[V1ExtranetsPostResponse]: + """v1_extranets_post - Update global objects for an enterprise :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 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 @@ -74577,9 +74878,9 @@ 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_extranets_post_serialize( authorization=authorization, - v1_global_config_patch_request=v1_global_config_patch_request, + v1_extranets_post_request=v1_extranets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74587,7 +74888,7 @@ def v1_global_config_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalConfigPatchResponse", + '200': "V1ExtranetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74601,10 +74902,10 @@ def v1_global_config_patch_with_http_info( @validate_call - def v1_global_config_patch_without_preload_content( + def v1_extranets_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_patch_request: V1GlobalConfigPatchRequest, + v1_extranets_post_request: V1ExtranetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74618,14 +74919,13 @@ 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_extranets_post - Update global objects for an enterprise :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 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 @@ -74648,9 +74948,9 @@ 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_extranets_post_serialize( authorization=authorization, - v1_global_config_patch_request=v1_global_config_patch_request, + v1_extranets_post_request=v1_extranets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74658,7 +74958,7 @@ def v1_global_config_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalConfigPatchResponse", + '200': "V1ExtranetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74667,10 +74967,10 @@ def v1_global_config_patch_without_preload_content( return response_data.response - def _v1_global_config_patch_serialize( + def _v1_extranets_post_serialize( self, authorization, - v1_global_config_patch_request, + v1_extranets_post_request, _request_auth, _content_type, _headers, @@ -74698,8 +74998,8 @@ def _v1_global_config_patch_serialize( _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 + if v1_extranets_post_request is not None: + _body_params = v1_extranets_post_request # set the HTTP header `Accept` @@ -74730,8 +75030,8 @@ def _v1_global_config_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/global/config', + method='POST', + resource_path='/v1/extranets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -74748,9 +75048,10 @@ def _v1_global_config_patch_serialize( @validate_call - def v1_global_content_filters_get( + def v1_extranets_resolve_policy_target_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74763,13 +75064,14 @@ 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 + ) -> V1ExtranetsResolvePolicyTargetPostResponse: + """v1_extranets_resolve_policy_target_post - Get basic details for all content filter under the current enterprise :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74792,8 +75094,9 @@ def v1_global_content_filters_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_get_serialize( + _param = self._v1_extranets_resolve_policy_target_post_serialize( authorization=authorization, + v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74801,7 +75104,7 @@ def v1_global_content_filters_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGetResponse", + '200': "V1ExtranetsResolvePolicyTargetPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74815,9 +75118,10 @@ def v1_global_content_filters_get( @validate_call - def v1_global_content_filters_get_with_http_info( + def v1_extranets_resolve_policy_target_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74830,13 +75134,14 @@ 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[V1ExtranetsResolvePolicyTargetPostResponse]: + """v1_extranets_resolve_policy_target_post - Get basic details for all content filter under the current enterprise :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74859,8 +75164,9 @@ 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_extranets_resolve_policy_target_post_serialize( authorization=authorization, + v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74868,7 +75174,7 @@ def v1_global_content_filters_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGetResponse", + '200': "V1ExtranetsResolvePolicyTargetPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74882,9 +75188,10 @@ def v1_global_content_filters_get_with_http_info( @validate_call - def v1_global_content_filters_get_without_preload_content( + def v1_extranets_resolve_policy_target_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74898,12 +75205,13 @@ 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_extranets_resolve_policy_target_post - Get basic details for all content filter under the current enterprise :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 _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74926,8 +75234,9 @@ 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_extranets_resolve_policy_target_post_serialize( authorization=authorization, + v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74935,7 +75244,7 @@ def v1_global_content_filters_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGetResponse", + '200': "V1ExtranetsResolvePolicyTargetPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74944,9 +75253,10 @@ def v1_global_content_filters_get_without_preload_content( return response_data.response - def _v1_global_content_filters_get_serialize( + def _v1_extranets_resolve_policy_target_post_serialize( self, authorization, + v1_extranets_resolve_policy_target_post_request, _request_auth, _content_type, _headers, @@ -74974,6 +75284,8 @@ def _v1_global_content_filters_get_serialize( _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` @@ -74984,6 +75296,19 @@ def _v1_global_content_filters_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] = [ @@ -74991,8 +75316,8 @@ def _v1_global_content_filters_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/content-filters', + method='POST', + resource_path='/v1/extranets/resolve-policy-target', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75009,10 +75334,10 @@ def _v1_global_content_filters_get_serialize( @validate_call - def v1_global_content_filters_global_content_filter_id_delete( + def v1_extranets_source_segments_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 to remove.")], + v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75025,15 +75350,14 @@ 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 + ) -> V1ExtranetsSourceSegmentsPostResponse: + """v1_extranets_source_segments_post - 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 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 @@ -75056,9 +75380,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_extranets_source_segments_post_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75066,7 +75390,7 @@ def v1_global_content_filters_global_content_filter_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsSourceSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -75080,10 +75404,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_extranets_source_segments_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 to remove.")], + v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75096,15 +75420,14 @@ 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[V1ExtranetsSourceSegmentsPostResponse]: + """v1_extranets_source_segments_post - 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 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 @@ -75127,9 +75450,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_extranets_source_segments_post_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75137,7 +75460,7 @@ def v1_global_content_filters_global_content_filter_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsSourceSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -75151,10 +75474,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_extranets_source_segments_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 to remove.")], + v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75168,14 +75491,13 @@ 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_extranets_source_segments_post - 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 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 @@ -75198,9 +75520,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_extranets_source_segments_post_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75208,7 +75530,7 @@ def v1_global_content_filters_global_content_filter_id_delete_without_preload_co ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsSourceSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -75217,10 +75539,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_extranets_source_segments_post_serialize( self, authorization, - global_content_filter_id, + v1_extranets_source_segments_post_request, _request_auth, _content_type, _headers, @@ -75242,14 +75564,14 @@ 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 # 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` @@ -75260,6 +75582,19 @@ def _v1_global_content_filters_global_content_filter_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] = [ @@ -75267,8 +75602,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='POST', + resource_path='/v1/extranets/source-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75285,10 +75620,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_flows_flow_table_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_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75301,15 +75636,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 + ) -> V1FlowsFlowTablePostResponse: + """v1_flows_flow_table_post - Get the config for a content filter under the current enterprise + Get flow table for the app on the device :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_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 @@ -75332,9 +75667,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_flows_flow_table_post_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75342,7 +75677,7 @@ def v1_global_content_filters_global_content_filter_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", + '200': "V1FlowsFlowTablePostResponse", } response_data = self.api_client.call_api( *_param, @@ -75356,10 +75691,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_flows_flow_table_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_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75372,15 +75707,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[V1FlowsFlowTablePostResponse]: + """v1_flows_flow_table_post - Get the config for a content filter under the current enterprise + Get flow table for the app on the device :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_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 @@ -75403,9 +75738,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_flows_flow_table_post_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75413,7 +75748,7 @@ def v1_global_content_filters_global_content_filter_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", + '200': "V1FlowsFlowTablePostResponse", } response_data = self.api_client.call_api( *_param, @@ -75427,10 +75762,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_flows_flow_table_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_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75444,14 +75779,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_flows_flow_table_post - Get the config for a content filter under the current enterprise + Get flow table for the app on the device :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_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 @@ -75474,9 +75809,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_flows_flow_table_post_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75484,7 +75819,7 @@ def v1_global_content_filters_global_content_filter_id_get_without_preload_conte ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", + '200': "V1FlowsFlowTablePostResponse", } response_data = self.api_client.call_api( *_param, @@ -75493,10 +75828,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_flows_flow_table_post_serialize( self, authorization, - global_content_filter_id, + v1_flows_flow_table_post_request, _request_auth, _content_type, _headers, @@ -75518,14 +75853,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_flows_flow_table_post_request is not None: + _body_params = v1_flows_flow_table_post_request # set the HTTP header `Accept` @@ -75536,6 +75871,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] = [ @@ -75543,8 +75891,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/flows/flow-table', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75561,11 +75909,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_flows_topology_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 to replace with the supplied configuration.")], - v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest, + v1_flows_topology_post_request: V1FlowsTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75578,17 +75925,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 + ) -> V1FlowsTopologyPostResponse: + """v1_flows_topology_post - Overwrite a pre-existing content filter under the current enterprise + Get flow based node and circuit topology for the device :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 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 @@ -75611,10 +75956,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_flows_topology_post_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, + v1_flows_topology_post_request=v1_flows_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75622,7 +75966,7 @@ def v1_global_content_filters_global_content_filter_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1FlowsTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -75636,11 +75980,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_flows_topology_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 to replace with the supplied configuration.")], - v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest, + v1_flows_topology_post_request: V1FlowsTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75653,17 +75996,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[V1FlowsTopologyPostResponse]: + """v1_flows_topology_post - Overwrite a pre-existing content filter under the current enterprise + Get flow based node and circuit topology for the device :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 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 @@ -75686,10 +76027,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_flows_topology_post_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, + v1_flows_topology_post_request=v1_flows_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75697,7 +76037,7 @@ def v1_global_content_filters_global_content_filter_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1FlowsTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -75711,11 +76051,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_flows_topology_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 to replace with the supplied configuration.")], - v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest, + v1_flows_topology_post_request: V1FlowsTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75729,16 +76068,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_flows_topology_post - Overwrite a pre-existing content filter under the current enterprise + Get flow based node and circuit topology for the device :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 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 @@ -75761,10 +76098,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_flows_topology_post_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, + v1_flows_topology_post_request=v1_flows_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75772,7 +76108,7 @@ def v1_global_content_filters_global_content_filter_id_put_without_preload_conte ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1FlowsTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -75781,11 +76117,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_flows_topology_post_serialize( self, authorization, - global_content_filter_id, - v1_global_content_filters_global_content_filter_id_put_request, + v1_flows_topology_post_request, _request_auth, _content_type, _headers, @@ -75807,16 +76142,14 @@ 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 # 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 + if v1_flows_topology_post_request is not None: + _body_params = v1_flows_topology_post_request # set the HTTP header `Accept` @@ -75847,8 +76180,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='POST', + resource_path='/v1/flows/topology', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75865,10 +76198,10 @@ def _v1_global_content_filters_global_content_filter_id_put_serialize( @validate_call - def v1_global_content_filters_post( + def v1_gateways_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest, + id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75881,15 +76214,14 @@ 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 + ) -> object: + """v1_gateways_delete - Configure a new content filter under 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 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 @@ -75912,9 +76244,9 @@ def v1_global_content_filters_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_post_serialize( + _param = self._v1_gateways_delete_serialize( authorization=authorization, - v1_global_content_filters_post_request=v1_global_content_filters_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75922,7 +76254,7 @@ def v1_global_content_filters_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -75936,10 +76268,10 @@ def v1_global_content_filters_post( @validate_call - def v1_global_content_filters_post_with_http_info( + def v1_gateways_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest, + id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75952,15 +76284,14 @@ 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[object]: + """v1_gateways_delete - Configure a new content filter under 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 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 @@ -75983,9 +76314,9 @@ 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_gateways_delete_serialize( authorization=authorization, - v1_global_content_filters_post_request=v1_global_content_filters_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75993,7 +76324,7 @@ def v1_global_content_filters_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -76007,10 +76338,10 @@ def v1_global_content_filters_post_with_http_info( @validate_call - def v1_global_content_filters_post_without_preload_content( + def v1_gateways_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest, + id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76024,14 +76355,13 @@ 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_gateways_delete - Configure a new content filter under 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 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 @@ -76054,9 +76384,9 @@ 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_gateways_delete_serialize( authorization=authorization, - v1_global_content_filters_post_request=v1_global_content_filters_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76064,7 +76394,7 @@ def v1_global_content_filters_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -76073,10 +76403,10 @@ def v1_global_content_filters_post_without_preload_content( return response_data.response - def _v1_global_content_filters_post_serialize( + def _v1_gateways_delete_serialize( self, authorization, - v1_global_content_filters_post_request, + id, _request_auth, _content_type, _headers, @@ -76099,13 +76429,15 @@ def _v1_global_content_filters_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_global_content_filters_post_request is not None: - _body_params = v1_global_content_filters_post_request # set the HTTP header `Accept` @@ -76116,19 +76448,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] = [ @@ -76136,8 +76455,8 @@ def _v1_global_content_filters_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/content-filters', + method='DELETE', + resource_path='/v1/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76154,16 +76473,11 @@ def _v1_global_content_filters_post_serialize( @validate_call - def v1_global_device_status_get( + def v1_gateways_guest_consumer_match_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, + match_id: StrictInt, + email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76176,27 +76490,17 @@ 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 + ) -> V1GatewaysGuestConsumerMatchIdGetResponse: + """v1_gateways_guest_consumer_match_id_get - Get status on global collector attached to devices + 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 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 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 @@ -76219,15 +76523,10 @@ def v1_global_device_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_device_status_get_serialize( + _param = self._v1_gateways_guest_consumer_match_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, + match_id=match_id, + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76235,7 +76534,7 @@ def v1_global_device_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDeviceStatusGetResponse", + '200': "V1GatewaysGuestConsumerMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76249,16 +76548,11 @@ def v1_global_device_status_get( @validate_call - def v1_global_device_status_get_with_http_info( + def v1_gateways_guest_consumer_match_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, + match_id: StrictInt, + email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76271,27 +76565,17 @@ 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[V1GatewaysGuestConsumerMatchIdGetResponse]: + """v1_gateways_guest_consumer_match_id_get - Get status on global collector attached to devices + 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 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 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 @@ -76314,15 +76598,10 @@ 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_gateways_guest_consumer_match_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, + match_id=match_id, + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76330,7 +76609,7 @@ def v1_global_device_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDeviceStatusGetResponse", + '200': "V1GatewaysGuestConsumerMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76344,16 +76623,11 @@ def v1_global_device_status_get_with_http_info( @validate_call - def v1_global_device_status_get_without_preload_content( + def v1_gateways_guest_consumer_match_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, + match_id: StrictInt, + email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76367,26 +76641,16 @@ 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_gateways_guest_consumer_match_id_get - Get status on global collector attached to devices + 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 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 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 @@ -76409,15 +76673,10 @@ 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_gateways_guest_consumer_match_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, + match_id=match_id, + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76425,7 +76684,7 @@ def v1_global_device_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDeviceStatusGetResponse", + '200': "V1GatewaysGuestConsumerMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76434,16 +76693,11 @@ def v1_global_device_status_get_without_preload_content( return response_data.response - def _v1_global_device_status_get_serialize( + def _v1_gateways_guest_consumer_match_id_get_serialize( self, authorization, - ipfix_exported_id, - ntp_id, - prefix_set_id, - routing_policy_id, - snmp_id, - syslog_server_id, - traffic_policy_id, + match_id, + email, _request_auth, _content_type, _headers, @@ -76465,34 +76719,12 @@ def _v1_global_device_status_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 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: + if email is not None: - _query_params.append(('trafficPolicyId', traffic_policy_id)) + _query_params.append(('email', email)) # process the header parameters if authorization is not None: @@ -76517,7 +76749,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/gateways/guest-consumer/{matchId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76534,9 +76766,10 @@ def _v1_global_device_status_get_serialize( @validate_call - def v1_global_domain_categories_get( + def v1_gateways_id_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76549,13 +76782,14 @@ 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 + ) -> V1GatewaysIdDetailsGetResponse: + """v1_gateways_id_details_get - Get all domain categories from the DPI engine :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 @@ -76578,8 +76812,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_gateways_id_details_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76587,7 +76822,7 @@ def v1_global_domain_categories_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDomainCategoriesGetResponse", + '200': "V1GatewaysIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76601,9 +76836,10 @@ def v1_global_domain_categories_get( @validate_call - def v1_global_domain_categories_get_with_http_info( + def v1_gateways_id_details_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)], @@ -76616,13 +76852,14 @@ 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[V1GatewaysIdDetailsGetResponse]: + """v1_gateways_id_details_get - Get all domain categories from the DPI engine :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 @@ -76645,8 +76882,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_gateways_id_details_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76654,7 +76892,7 @@ def v1_global_domain_categories_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDomainCategoriesGetResponse", + '200': "V1GatewaysIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76668,9 +76906,10 @@ def v1_global_domain_categories_get_with_http_info( @validate_call - def v1_global_domain_categories_get_without_preload_content( + def v1_gateways_id_details_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)], @@ -76684,12 +76923,13 @@ 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_gateways_id_details_get - Get all domain categories from the DPI engine :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 @@ -76712,8 +76952,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_gateways_id_details_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76721,7 +76962,7 @@ def v1_global_domain_categories_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDomainCategoriesGetResponse", + '200': "V1GatewaysIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76730,9 +76971,10 @@ def v1_global_domain_categories_get_without_preload_content( return response_data.response - def _v1_global_domain_categories_get_serialize( + def _v1_gateways_id_details_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -76754,6 +76996,8 @@ def _v1_global_domain_categories_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: @@ -76778,7 +77022,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/gateways/{id}/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76795,10 +77039,12 @@ def _v1_global_domain_categories_get_serialize( @validate_call - def v1_global_ipfix_device_get( + def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + region_id: StrictInt, + vrf_id: StrictInt, + address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76811,15 +77057,19 @@ 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 + ) -> V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse: + """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get - Get global ipfix exporters objects that failed to attach for a device + Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :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 @@ -76842,9 +77092,11 @@ def v1_global_ipfix_device_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_device_get_serialize( + _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( authorization=authorization, - device_id=device_id, + region_id=region_id, + vrf_id=vrf_id, + address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76852,7 +77104,7 @@ def v1_global_ipfix_device_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixDeviceGetResponse", + '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76866,10 +77118,12 @@ def v1_global_ipfix_device_get( @validate_call - def v1_global_ipfix_device_get_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 ")], - device_id: Optional[StrictInt] = None, + region_id: StrictInt, + vrf_id: StrictInt, + address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76882,15 +77136,19 @@ 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[V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse]: + """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get - Get global ipfix exporters objects that failed to attach for a device + Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :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 @@ -76913,9 +77171,11 @@ 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_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( authorization=authorization, - device_id=device_id, + region_id=region_id, + vrf_id=vrf_id, + address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76923,7 +77183,7 @@ def v1_global_ipfix_device_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixDeviceGetResponse", + '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76937,10 +77197,12 @@ def v1_global_ipfix_device_get_with_http_info( @validate_call - def v1_global_ipfix_device_get_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 ")], - device_id: Optional[StrictInt] = None, + region_id: StrictInt, + vrf_id: StrictInt, + address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76954,14 +77216,18 @@ 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_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get - Get global ipfix exporters objects that failed to attach for a device + Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :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 @@ -76984,9 +77250,11 @@ 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_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( authorization=authorization, - device_id=device_id, + region_id=region_id, + vrf_id=vrf_id, + address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76994,7 +77262,7 @@ def v1_global_ipfix_device_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixDeviceGetResponse", + '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77003,10 +77271,12 @@ def v1_global_ipfix_device_get_without_preload_content( return response_data.response - def _v1_global_ipfix_device_get_serialize( + def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( self, authorization, - device_id, + region_id, + vrf_id, + address_family, _request_auth, _content_type, _headers, @@ -77028,10 +77298,14 @@ def _v1_global_ipfix_device_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 device_id is not None: + if address_family is not None: - _query_params.append(('deviceId', device_id)) + _query_params.append(('addressFamily', address_family)) # process the header parameters if authorization is not None: @@ -77056,7 +77330,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/gateways/ipsec/regions/{regionId}/vrfs/{vrfId}/inside-subnet', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77073,10 +77347,10 @@ def _v1_global_ipfix_device_get_serialize( @validate_call - def v1_global_ipfix_post( + def v1_gateways_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77089,15 +77363,14 @@ 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 + ) -> V1GatewaysPostResponse: + """v1_gateways_post - Get configured global ipfix exporters :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 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 @@ -77120,9 +77393,9 @@ def v1_global_ipfix_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_post_serialize( + _param = self._v1_gateways_post_serialize( authorization=authorization, - v1_global_ipfix_post_request=v1_global_ipfix_post_request, + v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77130,7 +77403,7 @@ def v1_global_ipfix_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixPostResponse", + '200': "V1GatewaysPostResponse", } response_data = self.api_client.call_api( *_param, @@ -77144,10 +77417,10 @@ def v1_global_ipfix_post( @validate_call - def v1_global_ipfix_post_with_http_info( + def v1_gateways_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77160,15 +77433,14 @@ 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[V1GatewaysPostResponse]: + """v1_gateways_post - Get configured global ipfix exporters :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 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 @@ -77191,9 +77463,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_gateways_post_serialize( authorization=authorization, - v1_global_ipfix_post_request=v1_global_ipfix_post_request, + v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77201,7 +77473,7 @@ def v1_global_ipfix_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixPostResponse", + '200': "V1GatewaysPostResponse", } response_data = self.api_client.call_api( *_param, @@ -77215,10 +77487,10 @@ def v1_global_ipfix_post_with_http_info( @validate_call - def v1_global_ipfix_post_without_preload_content( + def v1_gateways_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77232,14 +77504,13 @@ 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_gateways_post - Get configured global ipfix exporters :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 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 @@ -77262,9 +77533,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_gateways_post_serialize( authorization=authorization, - v1_global_ipfix_post_request=v1_global_ipfix_post_request, + v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77272,7 +77543,7 @@ def v1_global_ipfix_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixPostResponse", + '200': "V1GatewaysPostResponse", } response_data = self.api_client.call_api( *_param, @@ -77281,10 +77552,10 @@ def v1_global_ipfix_post_without_preload_content( return response_data.response - def _v1_global_ipfix_post_serialize( + def _v1_gateways_post_serialize( self, authorization, - v1_global_ipfix_post_request, + v1_gateways_post_request, _request_auth, _content_type, _headers, @@ -77312,8 +77583,8 @@ def _v1_global_ipfix_post_serialize( _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 + if v1_gateways_post_request is not None: + _body_params = v1_gateways_post_request # set the HTTP header `Accept` @@ -77345,7 +77616,7 @@ def _v1_global_ipfix_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/global/ipfix', + resource_path='/v1/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77362,10 +77633,10 @@ def _v1_global_ipfix_post_serialize( @validate_call - def v1_global_ipfix_site_get( + def v1_gateways_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + v1_gateways_put_request: V1GatewaysPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77378,15 +77649,14 @@ 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 + ) -> object: + """v1_gateways_put - Get configured global ipfix exporters for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :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 @@ -77409,9 +77679,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_gateways_put_serialize( authorization=authorization, - site_id=site_id, + v1_gateways_put_request=v1_gateways_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77419,7 +77689,7 @@ def v1_global_ipfix_site_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixSiteGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -77433,10 +77703,10 @@ def v1_global_ipfix_site_get( @validate_call - def v1_global_ipfix_site_get_with_http_info( + def v1_gateways_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + v1_gateways_put_request: V1GatewaysPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77449,15 +77719,14 @@ 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[object]: + """v1_gateways_put - Get configured global ipfix exporters for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :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 @@ -77480,9 +77749,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_gateways_put_serialize( authorization=authorization, - site_id=site_id, + v1_gateways_put_request=v1_gateways_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77490,7 +77759,7 @@ def v1_global_ipfix_site_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixSiteGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -77504,10 +77773,10 @@ def v1_global_ipfix_site_get_with_http_info( @validate_call - def v1_global_ipfix_site_get_without_preload_content( + def v1_gateways_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + v1_gateways_put_request: V1GatewaysPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77521,14 +77790,13 @@ 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_gateways_put - Get configured global ipfix exporters for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :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 @@ -77551,9 +77819,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_gateways_put_serialize( authorization=authorization, - site_id=site_id, + v1_gateways_put_request=v1_gateways_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77561,7 +77829,7 @@ def v1_global_ipfix_site_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixSiteGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -77570,10 +77838,10 @@ def v1_global_ipfix_site_get_without_preload_content( return response_data.response - def _v1_global_ipfix_site_get_serialize( + def _v1_gateways_put_serialize( self, authorization, - site_id, + v1_gateways_put_request, _request_auth, _content_type, _headers, @@ -77596,15 +77864,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_gateways_put_request is not None: + _body_params = v1_gateways_put_request # set the HTTP header `Accept` @@ -77615,6 +77881,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] = [ @@ -77622,8 +77901,8 @@ def _v1_global_ipfix_site_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/ipfix/site', + method='PUT', + resource_path='/v1/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77640,7 +77919,7 @@ def _v1_global_ipfix_site_get_serialize( @validate_call - def v1_global_ipsec_profile_get( + def v1_gateways_reference_consumer_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -77655,10 +77934,10 @@ 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 + ) -> V1GatewaysReferenceConsumerGetResponse: + """v1_gateways_reference_consumer_get - Get all the configured global IPsec Profiles for the current enterprise + 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 @@ -77684,7 +77963,7 @@ def v1_global_ipsec_profile_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_get_serialize( + _param = self._v1_gateways_reference_consumer_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -77693,7 +77972,7 @@ def v1_global_ipsec_profile_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileGetResponse", + '200': "V1GatewaysReferenceConsumerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77707,7 +77986,7 @@ def v1_global_ipsec_profile_get( @validate_call - def v1_global_ipsec_profile_get_with_http_info( + def v1_gateways_reference_consumer_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -77722,10 +78001,10 @@ 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[V1GatewaysReferenceConsumerGetResponse]: + """v1_gateways_reference_consumer_get - Get all the configured global IPsec Profiles for the current enterprise + 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 @@ -77751,7 +78030,7 @@ 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_gateways_reference_consumer_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -77760,7 +78039,7 @@ def v1_global_ipsec_profile_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileGetResponse", + '200': "V1GatewaysReferenceConsumerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77774,7 +78053,7 @@ def v1_global_ipsec_profile_get_with_http_info( @validate_call - def v1_global_ipsec_profile_get_without_preload_content( + def v1_gateways_reference_consumer_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -77790,9 +78069,9 @@ 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_gateways_reference_consumer_get - Get all the configured global IPsec Profiles for the current enterprise + 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 @@ -77818,7 +78097,7 @@ 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_gateways_reference_consumer_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -77827,7 +78106,7 @@ def v1_global_ipsec_profile_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileGetResponse", + '200': "V1GatewaysReferenceConsumerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77836,7 +78115,7 @@ def v1_global_ipsec_profile_get_without_preload_content( return response_data.response - def _v1_global_ipsec_profile_get_serialize( + def _v1_gateways_reference_consumer_get_serialize( self, authorization, _request_auth, @@ -77884,7 +78163,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/gateways/reference-consumer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77901,10 +78180,9 @@ def _v1_global_ipsec_profile_get_serialize( @validate_call - def v1_global_ipsec_profile_id_get( + def v1_gateways_regions_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77917,15 +78195,12 @@ 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 + ) -> V1GatewaysRegionsGetResponse: + """v1_gateways_regions_get - Get details of the configured global IPsec Profiles :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 @@ -77948,9 +78223,8 @@ 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_gateways_regions_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77958,7 +78232,7 @@ def v1_global_ipsec_profile_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileIdGetResponse", + '200': "V1GatewaysRegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77972,10 +78246,9 @@ def v1_global_ipsec_profile_id_get( @validate_call - def v1_global_ipsec_profile_id_get_with_http_info( + def v1_gateways_regions_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)], @@ -77988,15 +78261,12 @@ 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[V1GatewaysRegionsGetResponse]: + """v1_gateways_regions_get - Get details of the configured global IPsec Profiles :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 @@ -78019,9 +78289,8 @@ 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_gateways_regions_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78029,7 +78298,7 @@ def v1_global_ipsec_profile_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileIdGetResponse", + '200': "V1GatewaysRegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78043,10 +78312,9 @@ def v1_global_ipsec_profile_id_get_with_http_info( @validate_call - def v1_global_ipsec_profile_id_get_without_preload_content( + def v1_gateways_regions_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)], @@ -78060,14 +78328,11 @@ 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_gateways_regions_get - Get details of the configured global IPsec Profiles :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 @@ -78090,9 +78355,8 @@ 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_gateways_regions_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78100,7 +78364,7 @@ def v1_global_ipsec_profile_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileIdGetResponse", + '200': "V1GatewaysRegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78109,10 +78373,9 @@ def v1_global_ipsec_profile_id_get_without_preload_content( return response_data.response - def _v1_global_ipsec_profile_id_get_serialize( + def _v1_gateways_regions_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -78134,8 +78397,8980 @@ 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 + # 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/gateways/regions', + 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_gateways_status_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + _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: + """v1_gateways_status_post + + + :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 _request_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_gateways_status_post_serialize( + authorization=authorization, + v1_gateways_status_post_request=v1_gateways_status_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 v1_gateways_status_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + _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]: + """v1_gateways_status_post + + + :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 _request_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_gateways_status_post_serialize( + authorization=authorization, + v1_gateways_status_post_request=v1_gateways_status_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 v1_gateways_status_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + _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_gateways_status_post + + + :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 _request_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_gateways_status_post_serialize( + authorization=authorization, + v1_gateways_status_post_request=v1_gateways_status_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 _v1_gateways_status_post_serialize( + self, + authorization, + v1_gateways_status_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 v1_gateways_status_post_request is not None: + _body_params = v1_gateways_status_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='/v1/gateways/status', + 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_gateways_summary_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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, + ) -> V1GatewaysSummaryGetResponse: + """v1_gateways_summary_get + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_gateways_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': "V1GatewaysSummaryGetResponse", + } + 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_gateways_summary_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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[V1GatewaysSummaryGetResponse]: + """v1_gateways_summary_get + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_gateways_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': "V1GatewaysSummaryGetResponse", + } + 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_gateways_summary_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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_gateways_summary_get + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_gateways_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': "V1GatewaysSummaryGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_gateways_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/gateways/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_global_apps_app_list_options_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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, + ) -> 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 _request_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_global_apps_app_list_options_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': "V1GlobalAppsAppListOptionsGetResponse", + } + 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_global_apps_app_list_options_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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[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 _request_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_global_apps_app_list_options_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': "V1GlobalAppsAppListOptionsGetResponse", + } + 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_global_apps_app_list_options_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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_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 _request_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_global_apps_app_list_options_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': "V1GlobalAppsAppListOptionsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_app_list_options_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/global/apps/app-list-options', + 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_global_apps_app_lists_app_list_id_delete( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, + _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: + """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 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 + (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_global_apps_app_lists_app_list_id_delete_serialize( + authorization=authorization, + app_list_id=app_list_id, + _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 v1_global_apps_app_lists_app_list_id_delete_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)], + 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]: + """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 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 + (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_global_apps_app_lists_app_list_id_delete_serialize( + authorization=authorization, + app_list_id=app_list_id, + _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 v1_global_apps_app_lists_app_list_id_delete_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)], + 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_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 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 + (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_global_apps_app_lists_app_list_id_delete_serialize( + authorization=authorization, + app_list_id=app_list_id, + _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 _v1_global_apps_app_lists_app_list_id_delete_serialize( + self, + authorization, + app_list_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 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 + + + # 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='DELETE', + resource_path='/v1/global/apps/app-lists/{appListId}', + 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_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)], + 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, + ) -> V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse: + """v1_global_apps_app_lists_app_list_id_details_apps_get + + 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + } + 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_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)], + 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[V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse]: + """v1_global_apps_app_lists_app_list_id_details_apps_get + + 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + } + 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_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)], + 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_global_apps_app_lists_app_list_id_details_apps_get + + 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( + self, + authorization, + app_list_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 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 + + + # 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/global/apps/app-lists/{appListId}/details/apps', + 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_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)], + 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, + ) -> 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsAppListsAppListIdGetResponse", + } + 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_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)], + 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[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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsAppListsAppListIdGetResponse", + } + 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_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)], + 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_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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsAppListsAppListIdGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_app_lists_app_list_id_get_serialize( + self, + authorization, + app_list_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 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 + + + # 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/global/apps/app-lists/{appListId}', + 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_global_apps_app_lists_app_list_id_put( + 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, + _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: + """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 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 + (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_global_apps_app_lists_app_list_id_put_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, + _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 v1_global_apps_app_lists_app_list_id_put_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, + _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]: + """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 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 + (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_global_apps_app_lists_app_list_id_put_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, + _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 v1_global_apps_app_lists_app_list_id_put_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, + _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_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 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 + (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_global_apps_app_lists_app_list_id_put_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, + _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 _v1_global_apps_app_lists_app_list_id_put_serialize( + self, + authorization, + app_list_id, + v1_global_apps_app_lists_app_list_id_put_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 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_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` + 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='PUT', + resource_path='/v1/global/apps/app-lists/{appListId}', + 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_global_apps_app_lists_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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, + ) -> 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 + :param _request_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_global_apps_app_lists_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': "V1GlobalAppsAppListsGetResponse", + } + 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_global_apps_app_lists_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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[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 + :param _request_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_global_apps_app_lists_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': "V1GlobalAppsAppListsGetResponse", + } + 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_global_apps_app_lists_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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_global_apps_app_lists_get + + Get all app lists for the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_app_lists_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': "V1GlobalAppsAppListsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_app_lists_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/global/apps/app-lists', + 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_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)], + 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, + ) -> V1GlobalAppsAppListsPostResponse: + """v1_global_apps_app_lists_post + + 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsAppListsPostResponse", + } + 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_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)], + 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[V1GlobalAppsAppListsPostResponse]: + """v1_global_apps_app_lists_post + + 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsAppListsPostResponse", + } + 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_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)], + 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_global_apps_app_lists_post + + 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsAppListsPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_app_lists_post_serialize( + self, + authorization, + v1_global_apps_app_lists_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 v1_global_apps_app_lists_post_request is not None: + _body_params = v1_global_apps_app_lists_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='/v1/global/apps/app-lists', + 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_global_apps_categories_category_id_apps_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + category_id: StrictInt, + _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, + ) -> V1GlobalAppsCategoriesCategoryIdAppsGetResponse: + """v1_global_apps_categories_category_id_apps_get + + Get all Graphiant apps in an app category + + :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 + (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_global_apps_categories_category_id_apps_get_serialize( + authorization=authorization, + category_id=category_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + } + 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_global_apps_categories_category_id_apps_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)], + 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[V1GlobalAppsCategoriesCategoryIdAppsGetResponse]: + """v1_global_apps_categories_category_id_apps_get + + Get all Graphiant apps in an app category + + :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 + (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_global_apps_categories_category_id_apps_get_serialize( + authorization=authorization, + category_id=category_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + } + 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_global_apps_categories_category_id_apps_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)], + 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_global_apps_categories_category_id_apps_get + + Get all Graphiant apps in an app category + + :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 + (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_global_apps_categories_category_id_apps_get_serialize( + authorization=authorization, + category_id=category_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_categories_category_id_apps_get_serialize( + self, + authorization, + category_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 category_id is not None: + _path_params['categoryId'] = category_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/global/apps/categories/{categoryId}/apps', + 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_global_apps_categories_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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, + ) -> V1GlobalAppsCategoriesGetResponse: + """v1_global_apps_categories_get + + Get all app categories holding Graphiant apps + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_categories_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': "V1GlobalAppsCategoriesGetResponse", + } + 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_global_apps_categories_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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[V1GlobalAppsCategoriesGetResponse]: + """v1_global_apps_categories_get + + Get all app categories holding Graphiant apps + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_categories_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': "V1GlobalAppsCategoriesGetResponse", + } + 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_global_apps_categories_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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_global_apps_categories_get + + Get all app categories holding Graphiant apps + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_categories_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': "V1GlobalAppsCategoriesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_categories_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/global/apps/categories', + 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_global_apps_custom_app_id_delete( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_id: StrictInt, + _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: + """v1_global_apps_custom_app_id_delete + + Delete 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 + (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_global_apps_custom_app_id_delete_serialize( + authorization=authorization, + app_id=app_id, + _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 v1_global_apps_custom_app_id_delete_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)], + 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]: + """v1_global_apps_custom_app_id_delete + + Delete 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 + (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_global_apps_custom_app_id_delete_serialize( + authorization=authorization, + app_id=app_id, + _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 v1_global_apps_custom_app_id_delete_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)], + 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_global_apps_custom_app_id_delete + + Delete 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 + (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_global_apps_custom_app_id_delete_serialize( + authorization=authorization, + app_id=app_id, + _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 _v1_global_apps_custom_app_id_delete_serialize( + self, + authorization, + app_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 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 + + + # 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='DELETE', + resource_path='/v1/global/apps/custom/{appId}', + 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_global_apps_custom_app_id_details_app_lists_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_id: StrictInt, + _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, + ) -> V1GlobalAppsCustomAppIdDetailsAppListsGetResponse: + """v1_global_apps_custom_app_id_details_app_lists_get + + Get all app lists that contain the relevant global app + + :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 + (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_global_apps_custom_app_id_details_app_lists_get_serialize( + authorization=authorization, + app_id=app_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + } + 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_global_apps_custom_app_id_details_app_lists_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)], + 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[V1GlobalAppsCustomAppIdDetailsAppListsGetResponse]: + """v1_global_apps_custom_app_id_details_app_lists_get + + Get all app lists that contain the relevant global app + + :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 + (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_global_apps_custom_app_id_details_app_lists_get_serialize( + authorization=authorization, + app_id=app_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + } + 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_global_apps_custom_app_id_details_app_lists_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)], + 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_global_apps_custom_app_id_details_app_lists_get + + Get all app lists that contain the relevant global app + + :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 + (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_global_apps_custom_app_id_details_app_lists_get_serialize( + authorization=authorization, + app_id=app_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( + self, + authorization, + app_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 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 + + + # 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/global/apps/custom/{appId}/details/app-lists', + 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_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)], + 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, + ) -> V1GlobalAppsCustomAppIdGetResponse: + """v1_global_apps_custom_app_id_get + + 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 + (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_global_apps_custom_app_id_get_serialize( + authorization=authorization, + app_id=app_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCustomAppIdGetResponse", + } + 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_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)], + 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[V1GlobalAppsCustomAppIdGetResponse]: + """v1_global_apps_custom_app_id_get + + 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 + (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_global_apps_custom_app_id_get_serialize( + authorization=authorization, + app_id=app_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCustomAppIdGetResponse", + } + 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_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)], + 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_global_apps_custom_app_id_get + + 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 + (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_global_apps_custom_app_id_get_serialize( + authorization=authorization, + app_id=app_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCustomAppIdGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_custom_app_id_get_serialize( + self, + authorization, + app_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 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 + + + # 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/global/apps/custom/{appId}', + 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_global_apps_custom_app_id_put( + 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)], + 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: + """v1_global_apps_custom_app_id_put + + Overwrite 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 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 + (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_global_apps_custom_app_id_put_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, + _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 v1_global_apps_custom_app_id_put_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)], + 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]: + """v1_global_apps_custom_app_id_put + + Overwrite 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 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 + (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_global_apps_custom_app_id_put_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, + _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 v1_global_apps_custom_app_id_put_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)], + 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_global_apps_custom_app_id_put + + Overwrite 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 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 + (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_global_apps_custom_app_id_put_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, + _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 _v1_global_apps_custom_app_id_put_serialize( + self, + authorization, + app_id, + v1_global_apps_custom_app_id_put_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 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` + 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='PUT', + resource_path='/v1/global/apps/custom/{appId}', + 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_global_apps_custom_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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, + ) -> V1GlobalAppsCustomGetResponse: + """v1_global_apps_custom_get + + Get all global apps mapped by the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_custom_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': "V1GlobalAppsCustomGetResponse", + } + 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_global_apps_custom_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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[V1GlobalAppsCustomGetResponse]: + """v1_global_apps_custom_get + + Get all global apps mapped by the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_custom_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': "V1GlobalAppsCustomGetResponse", + } + 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_global_apps_custom_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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_global_apps_custom_get + + Get all global apps mapped by the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_custom_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': "V1GlobalAppsCustomGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_custom_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/global/apps/custom', + 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_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)], + 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, + ) -> V1GlobalAppsCustomPostResponse: + """v1_global_apps_custom_post + + 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCustomPostResponse", + } + 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_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)], + 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[V1GlobalAppsCustomPostResponse]: + """v1_global_apps_custom_post + + 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCustomPostResponse", + } + 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_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)], + 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_global_apps_custom_post + + 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 + (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_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAppsCustomPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_custom_post_serialize( + self, + authorization, + v1_global_apps_custom_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 v1_global_apps_custom_post_request is not None: + _body_params = v1_global_apps_custom_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='/v1/global/apps/custom', + 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_global_apps_graphiant_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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, + ) -> V1GlobalAppsGraphiantGetResponse: + """v1_global_apps_graphiant_get + + Get all apps mapped by Graphiant + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_graphiant_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': "V1GlobalAppsGraphiantGetResponse", + } + 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_global_apps_graphiant_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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[V1GlobalAppsGraphiantGetResponse]: + """v1_global_apps_graphiant_get + + Get all apps mapped by Graphiant + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_graphiant_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': "V1GlobalAppsGraphiantGetResponse", + } + 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_global_apps_graphiant_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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_global_apps_graphiant_get + + Get all apps mapped by Graphiant + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_apps_graphiant_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': "V1GlobalAppsGraphiantGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_apps_graphiant_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/global/apps/graphiant', + 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_global_attached_edges_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, + _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, + ) -> V1GlobalAttachedEdgesPostResponse: + """v1_global_attached_edges_post + + Returns attached edges for global object + + :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 _request_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_global_attached_edges_post_serialize( + authorization=authorization, + v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAttachedEdgesPostResponse", + } + 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_global_attached_edges_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, + _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[V1GlobalAttachedEdgesPostResponse]: + """v1_global_attached_edges_post + + Returns attached edges for global object + + :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 _request_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_global_attached_edges_post_serialize( + authorization=authorization, + v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAttachedEdgesPostResponse", + } + 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_global_attached_edges_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, + _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_global_attached_edges_post + + Returns attached edges for global object + + :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 _request_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_global_attached_edges_post_serialize( + authorization=authorization, + v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalAttachedEdgesPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_attached_edges_post_serialize( + self, + authorization, + v1_global_attached_edges_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 v1_global_attached_edges_post_request is not None: + _body_params = v1_global_attached_edges_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='/v1/global/attached-edges', + 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_global_config_patch( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_config_patch_request: V1GlobalConfigPatchRequest, + _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, + ) -> V1GlobalConfigPatchResponse: + """v1_global_config_patch + + Update global objects for an enterprise + + :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 _request_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_global_config_patch_serialize( + authorization=authorization, + v1_global_config_patch_request=v1_global_config_patch_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalConfigPatchResponse", + } + 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_global_config_patch_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_config_patch_request: V1GlobalConfigPatchRequest, + _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[V1GlobalConfigPatchResponse]: + """v1_global_config_patch + + Update global objects for an enterprise + + :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 _request_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_global_config_patch_serialize( + authorization=authorization, + v1_global_config_patch_request=v1_global_config_patch_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalConfigPatchResponse", + } + 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_global_config_patch_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_config_patch_request: V1GlobalConfigPatchRequest, + _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_global_config_patch + + Update global objects for an enterprise + + :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 _request_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_global_config_patch_serialize( + authorization=authorization, + v1_global_config_patch_request=v1_global_config_patch_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalConfigPatchResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_config_patch_serialize( + self, + authorization, + v1_global_config_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 + # 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` + 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='PATCH', + resource_path='/v1/global/config', + 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_global_content_filters_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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, + ) -> V1GlobalContentFiltersGetResponse: + """v1_global_content_filters_get + + Get basic details for all content filter under the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_content_filters_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': "V1GlobalContentFiltersGetResponse", + } + 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_global_content_filters_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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[V1GlobalContentFiltersGetResponse]: + """v1_global_content_filters_get + + Get basic details for all content filter under the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_content_filters_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': "V1GlobalContentFiltersGetResponse", + } + 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_global_content_filters_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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_global_content_filters_get + + Get basic details for all content filter under the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_content_filters_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': "V1GlobalContentFiltersGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_content_filters_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/global/content-filters', + 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_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)], + 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: + """v1_global_content_filters_global_content_filter_id_delete + + 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 + (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_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, + _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 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)], + 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]: + """v1_global_content_filters_global_content_filter_id_delete + + 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 + (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_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, + _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 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)], + 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_global_content_filters_global_content_filter_id_delete + + 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 + (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_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, + _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 _v1_global_content_filters_global_content_filter_id_delete_serialize( + self, + authorization, + global_content_filter_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 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 + + + # 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='DELETE', + resource_path='/v1/global/content-filters/{globalContentFilterId}', + 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_global_content_filters_global_content_filter_id_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 whose configuration should be returned.")], + _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, + ) -> V1GlobalContentFiltersGlobalContentFilterIdGetResponse: + """v1_global_content_filters_global_content_filter_id_get + + Get the config for 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 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 + (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_global_content_filters_global_content_filter_id_get_serialize( + authorization=authorization, + global_content_filter_id=global_content_filter_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", + } + 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_global_content_filters_global_content_filter_id_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 whose configuration should be returned.")], + _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[V1GlobalContentFiltersGlobalContentFilterIdGetResponse]: + """v1_global_content_filters_global_content_filter_id_get + + Get the config for 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 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 + (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_global_content_filters_global_content_filter_id_get_serialize( + authorization=authorization, + global_content_filter_id=global_content_filter_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", + } + 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_global_content_filters_global_content_filter_id_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 whose configuration should be returned.")], + _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_global_content_filters_global_content_filter_id_get + + Get the config for 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 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 + (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_global_content_filters_global_content_filter_id_get_serialize( + authorization=authorization, + global_content_filter_id=global_content_filter_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_content_filters_global_content_filter_id_get_serialize( + self, + authorization, + global_content_filter_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 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 + + + # 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/global/content-filters/{globalContentFilterId}', + 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_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)], + 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: + """v1_global_content_filters_global_content_filter_id_put + + 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 + (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_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, + _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 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)], + 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]: + """v1_global_content_filters_global_content_filter_id_put + + 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 + (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_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, + _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 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)], + 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_global_content_filters_global_content_filter_id_put + + 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 + (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_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, + _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 _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, + _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 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` + 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='PUT', + resource_path='/v1/global/content-filters/{globalContentFilterId}', + 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_global_content_filters_post( + 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)], + 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, + ) -> V1GlobalContentFiltersPostResponse: + """v1_global_content_filters_post + + Configure a new content filter under 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 + (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_global_content_filters_post_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalContentFiltersPostResponse", + } + 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_global_content_filters_post_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)], + 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[V1GlobalContentFiltersPostResponse]: + """v1_global_content_filters_post + + Configure a new content filter under 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 + (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_global_content_filters_post_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalContentFiltersPostResponse", + } + 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_global_content_filters_post_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)], + 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_global_content_filters_post + + Configure a new content filter under 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 + (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_global_content_filters_post_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, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalContentFiltersPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_content_filters_post_serialize( + self, + authorization, + v1_global_content_filters_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 v1_global_content_filters_post_request is not None: + _body_params = v1_global_content_filters_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='/v1/global/content-filters', + 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_global_device_status_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, + _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, + ) -> V1GlobalDeviceStatusGetResponse: + """v1_global_device_status_get + + Get status on global collector attached to devices + + :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 _request_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_global_device_status_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, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalDeviceStatusGetResponse", + } + 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_global_device_status_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, + _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[V1GlobalDeviceStatusGetResponse]: + """v1_global_device_status_get + + Get status on global collector attached to devices + + :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 _request_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_global_device_status_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, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalDeviceStatusGetResponse", + } + 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_global_device_status_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, + _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_global_device_status_get + + Get status on global collector attached to devices + + :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 _request_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_global_device_status_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, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalDeviceStatusGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_device_status_get_serialize( + self, + authorization, + ipfix_exported_id, + ntp_id, + prefix_set_id, + routing_policy_id, + snmp_id, + syslog_server_id, + traffic_policy_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 + # 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 + + + # 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/global/device-status', + 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_global_domain_categories_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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, + ) -> V1GlobalDomainCategoriesGetResponse: + """v1_global_domain_categories_get + + Get all domain categories from the DPI engine + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_domain_categories_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': "V1GlobalDomainCategoriesGetResponse", + } + 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_global_domain_categories_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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[V1GlobalDomainCategoriesGetResponse]: + """v1_global_domain_categories_get + + Get all domain categories from the DPI engine + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_domain_categories_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': "V1GlobalDomainCategoriesGetResponse", + } + 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_global_domain_categories_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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_global_domain_categories_get + + Get all domain categories from the DPI engine + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_domain_categories_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': "V1GlobalDomainCategoriesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_domain_categories_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/global/domain-categories', + 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_global_ipfix_device_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)], + 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, + ) -> V1GlobalIpfixDeviceGetResponse: + """v1_global_ipfix_device_get + + Get global ipfix exporters objects that failed to attach for a device + + :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 + (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_global_ipfix_device_get_serialize( + authorization=authorization, + device_id=device_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalIpfixDeviceGetResponse", + } + 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_global_ipfix_device_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)], + 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[V1GlobalIpfixDeviceGetResponse]: + """v1_global_ipfix_device_get + + Get global ipfix exporters objects that failed to attach for a device + + :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 + (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_global_ipfix_device_get_serialize( + authorization=authorization, + device_id=device_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalIpfixDeviceGetResponse", + } + 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_global_ipfix_device_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)], + 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_global_ipfix_device_get + + Get global ipfix exporters objects that failed to attach for a device + + :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 + (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_global_ipfix_device_get_serialize( + authorization=authorization, + device_id=device_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalIpfixDeviceGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_ipfix_device_get_serialize( + self, + authorization, + device_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 + # 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 + + + # 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/global/ipfix/device', + 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_global_ipfix_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + _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, + ) -> V1GlobalIpfixPostResponse: + """v1_global_ipfix_post + + Get configured global ipfix exporters + + :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 _request_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_global_ipfix_post_serialize( + authorization=authorization, + v1_global_ipfix_post_request=v1_global_ipfix_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalIpfixPostResponse", + } + 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_global_ipfix_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + _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[V1GlobalIpfixPostResponse]: + """v1_global_ipfix_post + + Get configured global ipfix exporters + + :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 _request_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_global_ipfix_post_serialize( + authorization=authorization, + v1_global_ipfix_post_request=v1_global_ipfix_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalIpfixPostResponse", + } + 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_global_ipfix_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + _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_global_ipfix_post + + Get configured global ipfix exporters + + :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 _request_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_global_ipfix_post_serialize( + authorization=authorization, + v1_global_ipfix_post_request=v1_global_ipfix_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalIpfixPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_ipfix_post_serialize( + self, + authorization, + v1_global_ipfix_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 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] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/global/ipfix', + 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_global_ipfix_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)], + 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, + ) -> V1GlobalIpfixSiteGetResponse: + """v1_global_ipfix_site_get + + Get configured global ipfix exporters for a site + + :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 + (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_global_ipfix_site_get_serialize( + authorization=authorization, + site_id=site_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalIpfixSiteGetResponse", + } + 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_global_ipfix_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)], + 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[V1GlobalIpfixSiteGetResponse]: + """v1_global_ipfix_site_get + + Get configured global ipfix exporters for a site + + :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 + (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_global_ipfix_site_get_serialize( + authorization=authorization, + site_id=site_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalIpfixSiteGetResponse", + } + 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_global_ipfix_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)], + 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_global_ipfix_site_get + + Get configured global ipfix exporters for a site + + :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 + (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_global_ipfix_site_get_serialize( + authorization=authorization, + site_id=site_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GlobalIpfixSiteGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_ipfix_site_get_serialize( + self, + authorization, + site_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 + # 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 + + + # 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/global/ipfix/site', + 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_global_ipsec_profile_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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, + ) -> V1GlobalIpsecProfileGetResponse: + """v1_global_ipsec_profile_get + + Get all the configured global IPsec Profiles for the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_ipsec_profile_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': "V1GlobalIpsecProfileGetResponse", + } + 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_global_ipsec_profile_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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[V1GlobalIpsecProfileGetResponse]: + """v1_global_ipsec_profile_get + + Get all the configured global IPsec Profiles for the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_ipsec_profile_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': "V1GlobalIpsecProfileGetResponse", + } + 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_global_ipsec_profile_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _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_global_ipsec_profile_get + + Get all the configured global IPsec Profiles for the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: 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_global_ipsec_profile_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': "V1GlobalIpsecProfileGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_ipsec_profile_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/global/ipsec-profile', + 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_global_ipsec_profile_id_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, + _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, + ) -> V1GlobalIpsecProfileIdGetResponse: + """v1_global_ipsec_profile_id_get + + Get details of the configured global IPsec Profiles + + :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 + (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_global_ipsec_profile_id_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': "V1GlobalIpsecProfileIdGetResponse", + } + 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_global_ipsec_profile_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)], + 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[V1GlobalIpsecProfileIdGetResponse]: + """v1_global_ipsec_profile_id_get + + Get details of the configured global IPsec Profiles + + :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 + (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_global_ipsec_profile_id_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': "V1GlobalIpsecProfileIdGetResponse", + } + 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_global_ipsec_profile_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)], + 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_global_ipsec_profile_id_get + + Get details of the configured global IPsec Profiles + + :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 + (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_global_ipsec_profile_id_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': "V1GlobalIpsecProfileIdGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_global_ipsec_profile_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: @@ -78456,6 +87691,7 @@ def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( def v1_global_lan_segments_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + filter_extranet_producers: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78475,6 +87711,8 @@ def v1_global_lan_segments_get( :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param filter_extranet_producers: + :type filter_extranet_producers: 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 @@ -78499,6 +87737,7 @@ def v1_global_lan_segments_get( _param = self._v1_global_lan_segments_get_serialize( authorization=authorization, + filter_extranet_producers=filter_extranet_producers, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78523,6 +87762,7 @@ def v1_global_lan_segments_get( def v1_global_lan_segments_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + filter_extranet_producers: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78542,6 +87782,8 @@ def v1_global_lan_segments_get_with_http_info( :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param filter_extranet_producers: + :type filter_extranet_producers: 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 @@ -78566,6 +87808,7 @@ def v1_global_lan_segments_get_with_http_info( _param = self._v1_global_lan_segments_get_serialize( authorization=authorization, + filter_extranet_producers=filter_extranet_producers, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78590,6 +87833,7 @@ def v1_global_lan_segments_get_with_http_info( def v1_global_lan_segments_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + filter_extranet_producers: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78609,6 +87853,8 @@ def v1_global_lan_segments_get_without_preload_content( :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param filter_extranet_producers: + :type filter_extranet_producers: 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 @@ -78633,6 +87879,7 @@ def v1_global_lan_segments_get_without_preload_content( _param = self._v1_global_lan_segments_get_serialize( authorization=authorization, + filter_extranet_producers=filter_extranet_producers, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78652,6 +87899,7 @@ def v1_global_lan_segments_get_without_preload_content( def _v1_global_lan_segments_get_serialize( self, authorization, + filter_extranet_producers, _request_auth, _content_type, _headers, @@ -78674,6 +87922,10 @@ def _v1_global_lan_segments_get_serialize( # process the path parameters # process the query parameters + if filter_extranet_producers is not None: + + _query_params.append(('filterExtranetProducers', filter_extranet_producers)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization diff --git a/graphiant_sdk/models/__init__.py b/graphiant_sdk/models/__init__.py index 06e8e929..e0a9003d 100644 --- a/graphiant_sdk/models/__init__.py +++ b/graphiant_sdk/models/__init__.py @@ -157,6 +157,9 @@ from graphiant_sdk.models.mana_v2_aws_gateway_details import ManaV2AwsGatewayDetails from graphiant_sdk.models.mana_v2_aws_transit_gateway import ManaV2AwsTransitGateway from graphiant_sdk.models.mana_v2_azure_gateway_details import ManaV2AzureGatewayDetails +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_customer import ManaV2B2BExtranetMatchConsumerDetailsCustomer +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix import ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_service import ManaV2B2BExtranetMatchConsumerDetailsService from graphiant_sdk.models.mana_v2_b2_b_extranet_service_customer_match_details_customer import ManaV2B2BExtranetServiceCustomerMatchDetailsCustomer from graphiant_sdk.models.mana_v2_b2_b_extranet_service_customer_match_details_producer_prefix import ManaV2B2BExtranetServiceCustomerMatchDetailsProducerPrefix from graphiant_sdk.models.mana_v2_b2_b_extranet_service_customer_match_details_service import ManaV2B2BExtranetServiceCustomerMatchDetailsService @@ -167,6 +170,8 @@ from graphiant_sdk.models.mana_v2_b2b_extranet_consumers_summary import ManaV2B2bExtranetConsumersSummary from graphiant_sdk.models.mana_v2_b2b_extranet_customer_match_services_summary import ManaV2B2bExtranetCustomerMatchServicesSummary from graphiant_sdk.models.mana_v2_b2b_extranet_customer_services_summary import ManaV2B2bExtranetCustomerServicesSummary +from graphiant_sdk.models.mana_v2_b2b_extranet_match import ManaV2B2bExtranetMatch +from graphiant_sdk.models.mana_v2_b2b_extranet_match_consumer_details import ManaV2B2bExtranetMatchConsumerDetails from graphiant_sdk.models.mana_v2_b2b_extranet_match_service_to_customer import ManaV2B2bExtranetMatchServiceToCustomer from graphiant_sdk.models.mana_v2_b2b_extranet_peering_service_consumer_lan_segment_policy import ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy from graphiant_sdk.models.mana_v2_b2b_extranet_peering_service_customer_invite import ManaV2B2bExtranetPeeringServiceCustomerInvite @@ -255,13 +260,28 @@ from graphiant_sdk.models.mana_v2_enterprise_prefix_set_input import ManaV2EnterprisePrefixSetInput from graphiant_sdk.models.mana_v2_enterprise_prefix_set_input_entry import ManaV2EnterprisePrefixSetInputEntry from graphiant_sdk.models.mana_v2_extranet_auto_reverse_routes import ManaV2ExtranetAutoReverseRoutes +from graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes import ManaV2ExtranetConsumerLanPrefixes from graphiant_sdk.models.mana_v2_extranet_consumer_lan_segment_policy import ManaV2ExtranetConsumerLanSegmentPolicy from graphiant_sdk.models.mana_v2_extranet_consumer_lan_segment_policy_response import ManaV2ExtranetConsumerLanSegmentPolicyResponse from graphiant_sdk.models.mana_v2_extranet_consumer_nat_rule import ManaV2ExtranetConsumerNatRule from graphiant_sdk.models.mana_v2_extranet_device_status import ManaV2ExtranetDeviceStatus from graphiant_sdk.models.mana_v2_extranet_manual_reverse_routes import ManaV2ExtranetManualReverseRoutes +from graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized import ManaV2ExtranetNatTranslationCentralized +from graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized import ManaV2ExtranetNatTranslationDecentralized +from graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes import ManaV2ExtranetNatTranslationDevicePrefixes +from graphiant_sdk.models.mana_v2_extranet_nat_translation_mode import ManaV2ExtranetNatTranslationMode +from graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer import ManaV2ExtranetNatTranslationPeerToPeer +from graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer_prefix import ManaV2ExtranetNatTranslationPeerToPeerPrefix from graphiant_sdk.models.mana_v2_extranet_policy import ManaV2ExtranetPolicy from graphiant_sdk.models.mana_v2_extranet_policy_input import ManaV2ExtranetPolicyInput +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy +from graphiant_sdk.models.mana_v2_extranet_service_customer_invite import ManaV2ExtranetServiceCustomerInvite +from graphiant_sdk.models.mana_v2_extranet_service_customer_match_summary import ManaV2ExtranetServiceCustomerMatchSummary +from graphiant_sdk.models.mana_v2_extranet_service_customer_summary import ManaV2ExtranetServiceCustomerSummary +from graphiant_sdk.models.mana_v2_extranet_service_policy_response import ManaV2ExtranetServicePolicyResponse +from graphiant_sdk.models.mana_v2_extranet_service_producer_customer import ManaV2ExtranetServiceProducerCustomer +from graphiant_sdk.models.mana_v2_extranet_service_producer_policy import ManaV2ExtranetServiceProducerPolicy +from graphiant_sdk.models.mana_v2_extranet_service_summary import ManaV2ExtranetServiceSummary from graphiant_sdk.models.mana_v2_firewall_zone_pair import ManaV2FirewallZonePair from graphiant_sdk.models.mana_v2_forwarding_policy import ManaV2ForwardingPolicy from graphiant_sdk.models.mana_v2_forwarding_policy_config import ManaV2ForwardingPolicyConfig @@ -406,6 +426,7 @@ from graphiant_sdk.models.mana_v2_nullable_ntp_config import ManaV2NullableNtpConfig from graphiant_sdk.models.mana_v2_nullable_ospf_admin_distance_value import ManaV2NullableOspfAdminDistanceValue from graphiant_sdk.models.mana_v2_nullable_ospf_area_config import ManaV2NullableOspfAreaConfig +from graphiant_sdk.models.mana_v2_nullable_ospf_authentication_config import ManaV2NullableOspfAuthenticationConfig from graphiant_sdk.models.mana_v2_nullable_ospf_dead_interval_value import ManaV2NullableOspfDeadIntervalValue from graphiant_sdk.models.mana_v2_nullable_ospf_hello_interval_value import ManaV2NullableOspfHelloIntervalValue from graphiant_sdk.models.mana_v2_nullable_ospf_interface_config import ManaV2NullableOspfInterfaceConfig @@ -463,6 +484,7 @@ from graphiant_sdk.models.mana_v2_osp_fv3_process import ManaV2OspFv3Process from graphiant_sdk.models.mana_v2_ospf_area import ManaV2OspfArea from graphiant_sdk.models.mana_v2_ospf_area_config import ManaV2OspfAreaConfig +from graphiant_sdk.models.mana_v2_ospf_authentication import ManaV2OspfAuthentication from graphiant_sdk.models.mana_v2_ospf_interface import ManaV2OspfInterface from graphiant_sdk.models.mana_v2_ospf_interface_config import ManaV2OspfInterfaceConfig from graphiant_sdk.models.mana_v2_ospf_process_config import ManaV2OspfProcessConfig @@ -765,9 +787,12 @@ from graphiant_sdk.models.v1_auth_error_post_response import V1AuthErrorPostResponse from graphiant_sdk.models.v1_auth_gcs_post_request import V1AuthGcsPostRequest from graphiant_sdk.models.v1_auth_get_response import V1AuthGetResponse +from graphiant_sdk.models.v1_auth_login_callback_post500_response import V1AuthLoginCallbackPost500Response from graphiant_sdk.models.v1_auth_login_post_request import V1AuthLoginPostRequest from graphiant_sdk.models.v1_auth_login_post_response import V1AuthLoginPostResponse from graphiant_sdk.models.v1_auth_login_pre_get_response import V1AuthLoginPreGetResponse +from graphiant_sdk.models.v1_auth_login_saml_get401_response import V1AuthLoginSamlGet401Response +from graphiant_sdk.models.v1_auth_login_saml_get500_response import V1AuthLoginSamlGet500Response from graphiant_sdk.models.v1_auth_login_temp_post_request import V1AuthLoginTempPostRequest from graphiant_sdk.models.v1_auth_mfa_patch_request import V1AuthMfaPatchRequest from graphiant_sdk.models.v1_auth_mfa_post500_response import V1AuthMfaPost500Response @@ -777,7 +802,11 @@ from graphiant_sdk.models.v1_auth_patch_request import V1AuthPatchRequest from graphiant_sdk.models.v1_auth_put_request import V1AuthPutRequest from graphiant_sdk.models.v1_auth_refresh_get200_response import V1AuthRefreshGet200Response +from graphiant_sdk.models.v1_auth_refresh_get403_response import V1AuthRefreshGet403Response +from graphiant_sdk.models.v1_auth_refresh_get422_response import V1AuthRefreshGet422Response from graphiant_sdk.models.v1_auth_refresh_get_entry_point_response import V1AuthRefreshGetEntryPointResponse +from graphiant_sdk.models.v1_auth_session_get403_response import V1AuthSessionGet403Response +from graphiant_sdk.models.v1_auth_session_get422_response import V1AuthSessionGet422Response from graphiant_sdk.models.v1_auth_user_get_response import V1AuthUserGetResponse from graphiant_sdk.models.v1_backbone_health_device_device_id_post_request import V1BackboneHealthDeviceDeviceIdPostRequest from graphiant_sdk.models.v1_backbone_health_device_device_id_post_response import V1BackboneHealthDeviceDeviceIdPostResponse @@ -985,6 +1014,40 @@ from graphiant_sdk.models.v1_enterprises_patch_request import V1EnterprisesPatchRequest from graphiant_sdk.models.v1_enterprises_patch_request_token_expiry import V1EnterprisesPatchRequestTokenExpiry from graphiant_sdk.models.v1_enterprises_put_request import V1EnterprisesPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response import V1ExtranetB2bConsumersCustomerIdGetResponse +from graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config import V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_device_status_get_response import V1ExtranetB2bConsumersIdDeviceStatusGetResponse +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_request import V1ExtranetB2bConsumersIdPrefixesPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_prefixes_put_response import V1ExtranetB2bConsumersIdPrefixesPutResponse +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_request import V1ExtranetB2bConsumersIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_response import V1ExtranetB2bConsumersIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_delete_response import V1ExtranetB2bCustomersIdDeleteResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_details_get_response import V1ExtranetB2bCustomersIdDetailsGetResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_matches_summary_get_response import V1ExtranetB2bCustomersIdMatchesSummaryGetResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_request import V1ExtranetB2bCustomersIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_customers_id_put_response import V1ExtranetB2bCustomersIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_post_request import V1ExtranetB2bCustomersPostRequest +from graphiant_sdk.models.v1_extranet_b2b_customers_post_response import V1ExtranetB2bCustomersPostResponse +from graphiant_sdk.models.v1_extranet_b2b_customers_summary_get_response import V1ExtranetB2bCustomersSummaryGetResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_request import V1ExtranetB2bMatchesCustomersPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_customers_post_response import V1ExtranetB2bMatchesCustomersPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_request import V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_check_post_response import V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_request import V1ExtranetB2bMatchesMatchIdConsumerPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_consumer_post_response import V1ExtranetB2bMatchesMatchIdConsumerPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_delete_response import V1ExtranetB2bMatchesMatchIdDeleteResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_details_get_response import V1ExtranetB2bMatchesMatchIdDetailsGetResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_get_response import V1ExtranetB2bMatchesMatchIdGetResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_request import V1ExtranetB2bMatchesMatchIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_put_response import V1ExtranetB2bMatchesMatchIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_request import V1ExtranetB2bMatchesMatchIdStatusPutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_match_id_status_put_response import V1ExtranetB2bMatchesMatchIdStatusPutResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_request import V1ExtranetB2bMatchesPausePutRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_pause_put_response import V1ExtranetB2bMatchesPausePutResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_post_request import V1ExtranetB2bMatchesPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_post_response import V1ExtranetB2bMatchesPostResponse +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_request import V1ExtranetB2bMatchesReviewPostRequest +from graphiant_sdk.models.v1_extranet_b2b_matches_review_post_response import V1ExtranetB2bMatchesReviewPostResponse from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_response import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest @@ -997,6 +1060,18 @@ 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_b2b_producer_id_customers_get_response import V1ExtranetB2bProducerIdCustomersGetResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_device_status_get_response import V1ExtranetB2bProducerIdDeviceStatusGetResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_get_response import V1ExtranetB2bProducerIdGetResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_request import V1ExtranetB2bProducerIdPutRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_response import V1ExtranetB2bProducerIdPutResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_request import V1ExtranetB2bProducerIdStatusPutRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_id_status_put_response import V1ExtranetB2bProducerIdStatusPutResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_post_request import V1ExtranetB2bProducerPostRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_post_response import V1ExtranetB2bProducerPostResponse +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_request import V1ExtranetB2bProducerReviewPostRequest +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_response import V1ExtranetB2bProducerReviewPostResponse +from graphiant_sdk.models.v1_extranet_b2b_services_summary_get_response import V1ExtranetB2bServicesSummaryGetResponse 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 diff --git a/graphiant_sdk/models/assurance_kpi_metric.py b/graphiant_sdk/models/assurance_kpi_metric.py index 655df055..6c865494 100644 --- a/graphiant_sdk/models/assurance_kpi_metric.py +++ b/graphiant_sdk/models/assurance_kpi_metric.py @@ -31,8 +31,9 @@ class AssuranceKpiMetric(BaseModel): 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"]}) + token_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="AI adoption token usage value", alias="tokenUsage", json_schema_extra={"examples": [123.45]}) 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"] + __properties: ClassVar[List[str]] = ["delta", "name", "percent", "tag", "tokenUsage", "value"] model_config = ConfigDict( validate_by_name=True, @@ -89,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "name": obj.get("name"), "percent": obj.get("percent"), "tag": obj.get("tag"), + "tokenUsage": obj.get("tokenUsage"), "value": obj.get("value") }) return _obj diff --git a/graphiant_sdk/models/assurance_user_definition.py b/graphiant_sdk/models/assurance_user_definition.py index fef796a9..178e8b7e 100644 --- a/graphiant_sdk/models/assurance_user_definition.py +++ b/graphiant_sdk/models/assurance_user_definition.py @@ -27,12 +27,14 @@ 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]}) + data_sent: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="tokens 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]}) + tokens_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="token usage (required)", alias="tokensUsage", json_schema_extra={"examples": [123.45]}) + tokens_usage_days: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="token usage per day (required)", alias="tokensUsageDays", 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"] + __properties: ClassVar[List[str]] = ["dataSent", "managed", "sessionsDay", "tokensUsage", "tokensUsageDays", "user", "vrf"] model_config = ConfigDict( validate_by_name=True, @@ -88,6 +90,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "dataSent": obj.get("dataSent"), "managed": obj.get("managed"), "sessionsDay": obj.get("sessionsDay"), + "tokensUsage": obj.get("tokensUsage"), + "tokensUsageDays": obj.get("tokensUsageDays"), "user": obj.get("user"), "vrf": obj.get("vrf") }) diff --git a/graphiant_sdk/models/mana_v2_b2_b_extranet_match_consumer_details_customer.py b/graphiant_sdk/models/mana_v2_b2_b_extranet_match_consumer_details_customer.py new file mode 100644 index 00000000..7865fbbc --- /dev/null +++ b/graphiant_sdk/models/mana_v2_b2_b_extranet_match_consumer_details_customer.py @@ -0,0 +1,95 @@ +# 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_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2B2BExtranetMatchConsumerDetailsCustomer(BaseModel): + """ + ManaV2B2BExtranetMatchConsumerDetailsCustomer + """ # noqa: E501 + admin_emails: Optional[List[StrictStr]] = Field(default=None, alias="adminEmails") + company_name: Optional[StrictStr] = Field(default=None, alias="companyName", json_schema_extra={"examples": ["example string"]}) + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + num_sites: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="numSites", json_schema_extra={"examples": [123]}) + __properties: ClassVar[List[str]] = ["adminEmails", "companyName", "id", "numSites"] + + 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 ManaV2B2BExtranetMatchConsumerDetailsCustomer 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 ManaV2B2BExtranetMatchConsumerDetailsCustomer from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "adminEmails": obj.get("adminEmails"), + "companyName": obj.get("companyName"), + "id": obj.get("id"), + "numSites": obj.get("numSites") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.py b/graphiant_sdk/models/mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.py new file mode 100644 index 00000000..9f294450 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.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, 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 ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix(BaseModel): + """ + ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix + """ # noqa: E501 + customer_translated_prefix: Optional[StrictStr] = Field(default=None, alias="customerTranslatedPrefix", json_schema_extra={"examples": ["example string"]}) + prefix: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + tag: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["customerTranslatedPrefix", "prefix", "tag"] + + 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 ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix 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 ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerTranslatedPrefix": obj.get("customerTranslatedPrefix"), + "prefix": obj.get("prefix"), + "tag": obj.get("tag") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_b2_b_extranet_match_consumer_details_service.py b/graphiant_sdk/models/mana_v2_b2_b_extranet_match_consumer_details_service.py new file mode 100644 index 00000000..42ed0879 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_b2_b_extranet_match_consumer_details_service.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, 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 ManaV2B2BExtranetMatchConsumerDetailsService(BaseModel): + """ + ManaV2B2BExtranetMatchConsumerDetailsService + """ # noqa: E501 + company_name: Optional[StrictStr] = Field(default=None, alias="companyName", json_schema_extra={"examples": ["example string"]}) + contact_email: Optional[List[StrictStr]] = Field(default=None, alias="contactEmail") + description: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + service_name: Optional[StrictStr] = Field(default=None, alias="serviceName", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["companyName", "contactEmail", "description", "id", "serviceName"] + + 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 ManaV2B2BExtranetMatchConsumerDetailsService 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 ManaV2B2BExtranetMatchConsumerDetailsService from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "companyName": obj.get("companyName"), + "contactEmail": obj.get("contactEmail"), + "description": obj.get("description"), + "id": obj.get("id"), + "serviceName": obj.get("serviceName") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_b2b_extranet_match.py b/graphiant_sdk/models/mana_v2_b2b_extranet_match.py new file mode 100644 index 00000000..19abb5e4 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_b2b_extranet_match.py @@ -0,0 +1,111 @@ +# 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_extensions import Annotated +from graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag import ManaV2B2bExtranetPrefixTag +from graphiant_sdk.models.mana_v2_extranet_nat_translation_mode import ManaV2ExtranetNatTranslationMode +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2B2bExtranetMatch(BaseModel): + """ + ManaV2B2bExtranetMatch + """ # noqa: E501 + consumer_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="consumerPrefixes") + lan_segment: Optional[StrictInt] = Field(default=None, alias="lanSegment", json_schema_extra={"examples": [1234567891011]}) + nat_translation_mode: Optional[ManaV2ExtranetNatTranslationMode] = Field(default=None, alias="natTranslationMode") + num_customers: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="Number of customers subscribed to the service", alias="numCustomers", json_schema_extra={"examples": [123]}) + service_id: Optional[StrictInt] = Field(default=None, description="Producer service id", alias="serviceId", json_schema_extra={"examples": [1234567891011]}) + service_prefixes: Optional[List[ManaV2B2bExtranetPrefixTag]] = Field(default=None, alias="servicePrefixes") + __properties: ClassVar[List[str]] = ["consumerPrefixes", "lanSegment", "natTranslationMode", "numCustomers", "serviceId", "servicePrefixes"] + + 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 ManaV2B2bExtranetMatch 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 nat_translation_mode + if self.nat_translation_mode: + _dict['natTranslationMode'] = self.nat_translation_mode.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in service_prefixes (list) + _items = [] + if self.service_prefixes: + for _item_service_prefixes in self.service_prefixes: + if _item_service_prefixes: + _items.append(_item_service_prefixes.to_dict()) + _dict['servicePrefixes'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2B2bExtranetMatch 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"), + "lanSegment": obj.get("lanSegment"), + "natTranslationMode": ManaV2ExtranetNatTranslationMode.from_dict(obj["natTranslationMode"]) if obj.get("natTranslationMode") is not None else None, + "numCustomers": obj.get("numCustomers"), + "serviceId": obj.get("serviceId"), + "servicePrefixes": [ManaV2B2bExtranetPrefixTag.from_dict(_item) for _item in obj["servicePrefixes"]] if obj.get("servicePrefixes") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_b2b_extranet_match_consumer_details.py b/graphiant_sdk/models/mana_v2_b2b_extranet_match_consumer_details.py new file mode 100644 index 00000000..ab212435 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_b2b_extranet_match_consumer_details.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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_customer import ManaV2B2BExtranetMatchConsumerDetailsCustomer +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix import ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix +from graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_service import ManaV2B2BExtranetMatchConsumerDetailsService +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2B2bExtranetMatchConsumerDetails(BaseModel): + """ + ManaV2B2bExtranetMatchConsumerDetails + """ # noqa: E501 + consumer_id: Optional[StrictInt] = Field(default=None, alias="consumerId", json_schema_extra={"examples": [1234567891011]}) + consumer_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="consumerPrefixes") + customer: Optional[ManaV2B2BExtranetMatchConsumerDetailsCustomer] = None + old_consumer_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="oldConsumerPrefixes") + old_service_prefixes: Optional[List[ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix]] = Field(default=None, alias="oldServicePrefixes") + service: Optional[ManaV2B2BExtranetMatchConsumerDetailsService] = None + service_prefixes: Optional[List[ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix]] = Field(default=None, alias="servicePrefixes") + __properties: ClassVar[List[str]] = ["consumerId", "consumerPrefixes", "customer", "oldConsumerPrefixes", "oldServicePrefixes", "service", "servicePrefixes"] + + 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 ManaV2B2bExtranetMatchConsumerDetails 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 customer + if self.customer: + _dict['customer'] = self.customer.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in old_service_prefixes (list) + _items = [] + if self.old_service_prefixes: + for _item_old_service_prefixes in self.old_service_prefixes: + if _item_old_service_prefixes: + _items.append(_item_old_service_prefixes.to_dict()) + _dict['oldServicePrefixes'] = _items + # override the default output from pydantic by calling `to_dict()` of service + if self.service: + _dict['service'] = self.service.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in service_prefixes (list) + _items = [] + if self.service_prefixes: + for _item_service_prefixes in self.service_prefixes: + if _item_service_prefixes: + _items.append(_item_service_prefixes.to_dict()) + _dict['servicePrefixes'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2B2bExtranetMatchConsumerDetails from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "consumerId": obj.get("consumerId"), + "consumerPrefixes": obj.get("consumerPrefixes"), + "customer": ManaV2B2BExtranetMatchConsumerDetailsCustomer.from_dict(obj["customer"]) if obj.get("customer") is not None else None, + "oldConsumerPrefixes": obj.get("oldConsumerPrefixes"), + "oldServicePrefixes": [ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.from_dict(_item) for _item in obj["oldServicePrefixes"]] if obj.get("oldServicePrefixes") is not None else None, + "service": ManaV2B2BExtranetMatchConsumerDetailsService.from_dict(obj["service"]) if obj.get("service") is not None else None, + "servicePrefixes": [ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix.from_dict(_item) for _item in obj["servicePrefixes"]] if obj.get("servicePrefixes") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_consumer_lan_prefixes.py b/graphiant_sdk/models/mana_v2_extranet_consumer_lan_prefixes.py new file mode 100644 index 00000000..8cc07800 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_consumer_lan_prefixes.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, 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 ManaV2ExtranetConsumerLanPrefixes(BaseModel): + """ + ManaV2ExtranetConsumerLanPrefixes + """ # noqa: E501 + consumer_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="consumerPrefixes") + service_prefix_dnat: Optional[Dict[str, StrictStr]] = Field(default=None, alias="servicePrefixDnat") + __properties: ClassVar[List[str]] = ["consumerPrefixes", "servicePrefixDnat"] + + 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 ManaV2ExtranetConsumerLanPrefixes 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 ManaV2ExtranetConsumerLanPrefixes 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"), + "servicePrefixDnat": obj.get("servicePrefixDnat") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_nat_translation_centralized.py b/graphiant_sdk/models/mana_v2_extranet_nat_translation_centralized.py new file mode 100644 index 00000000..249136b1 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_nat_translation_centralized.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 +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes import ManaV2ExtranetNatTranslationDevicePrefixes +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetNatTranslationCentralized(BaseModel): + """ + ManaV2ExtranetNatTranslationCentralized + """ # noqa: E501 + prefixes: Optional[Dict[str, ManaV2ExtranetNatTranslationDevicePrefixes]] = None + __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 ManaV2ExtranetNatTranslationCentralized 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 prefixes (dict) + _field_dict = {} + if self.prefixes: + for _key_prefixes in self.prefixes: + if self.prefixes[_key_prefixes]: + _field_dict[_key_prefixes] = self.prefixes[_key_prefixes].to_dict() + _dict['prefixes'] = _field_dict + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetNatTranslationCentralized from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "prefixes": dict( + (_k, ManaV2ExtranetNatTranslationDevicePrefixes.from_dict(_v)) + for _k, _v in obj["prefixes"].items() + ) + if obj.get("prefixes") is not None + else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_nat_translation_decentralized.py b/graphiant_sdk/models/mana_v2_extranet_nat_translation_decentralized.py new file mode 100644 index 00000000..ff11e723 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_nat_translation_decentralized.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 +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes import ManaV2ExtranetNatTranslationDevicePrefixes +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetNatTranslationDecentralized(BaseModel): + """ + ManaV2ExtranetNatTranslationDecentralized + """ # noqa: E501 + prefixes: Optional[Dict[str, ManaV2ExtranetNatTranslationDevicePrefixes]] = None + __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 ManaV2ExtranetNatTranslationDecentralized 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 prefixes (dict) + _field_dict = {} + if self.prefixes: + for _key_prefixes in self.prefixes: + if self.prefixes[_key_prefixes]: + _field_dict[_key_prefixes] = self.prefixes[_key_prefixes].to_dict() + _dict['prefixes'] = _field_dict + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetNatTranslationDecentralized from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "prefixes": dict( + (_k, ManaV2ExtranetNatTranslationDevicePrefixes.from_dict(_v)) + for _k, _v in obj["prefixes"].items() + ) + if obj.get("prefixes") is not None + else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_nat_translation_device_prefixes.py b/graphiant_sdk/models/mana_v2_extranet_nat_translation_device_prefixes.py new file mode 100644 index 00000000..2e1d9d12 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_nat_translation_device_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, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetNatTranslationDevicePrefixes(BaseModel): + """ + ManaV2ExtranetNatTranslationDevicePrefixes + """ # noqa: E501 + prefixes: Optional[List[StrictStr]] = None + __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 ManaV2ExtranetNatTranslationDevicePrefixes 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 ManaV2ExtranetNatTranslationDevicePrefixes 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_extranet_nat_translation_mode.py b/graphiant_sdk/models/mana_v2_extranet_nat_translation_mode.py new file mode 100644 index 00000000..110608d7 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_nat_translation_mode.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 +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized import ManaV2ExtranetNatTranslationCentralized +from graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized import ManaV2ExtranetNatTranslationDecentralized +from graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer import ManaV2ExtranetNatTranslationPeerToPeer +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetNatTranslationMode(BaseModel): + """ + ManaV2ExtranetNatTranslationMode + """ # noqa: E501 + centralized: Optional[ManaV2ExtranetNatTranslationCentralized] = None + decentralized: Optional[ManaV2ExtranetNatTranslationDecentralized] = None + peer_to_peer: Optional[ManaV2ExtranetNatTranslationPeerToPeer] = Field(default=None, alias="peerToPeer") + __properties: ClassVar[List[str]] = ["centralized", "decentralized", "peerToPeer"] + + 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 ManaV2ExtranetNatTranslationMode 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() + # override the default output from pydantic by calling `to_dict()` of peer_to_peer + if self.peer_to_peer: + _dict['peerToPeer'] = self.peer_to_peer.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetNatTranslationMode from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "centralized": ManaV2ExtranetNatTranslationCentralized.from_dict(obj["centralized"]) if obj.get("centralized") is not None else None, + "decentralized": ManaV2ExtranetNatTranslationDecentralized.from_dict(obj["decentralized"]) if obj.get("decentralized") is not None else None, + "peerToPeer": ManaV2ExtranetNatTranslationPeerToPeer.from_dict(obj["peerToPeer"]) if obj.get("peerToPeer") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_nat_translation_peer_to_peer.py b/graphiant_sdk/models/mana_v2_extranet_nat_translation_peer_to_peer.py new file mode 100644 index 00000000..c0ae8c98 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_nat_translation_peer_to_peer.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_extranet_nat_translation_peer_to_peer_prefix import ManaV2ExtranetNatTranslationPeerToPeerPrefix +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetNatTranslationPeerToPeer(BaseModel): + """ + ManaV2ExtranetNatTranslationPeerToPeer + """ # noqa: E501 + prefixes: Optional[List[ManaV2ExtranetNatTranslationPeerToPeerPrefix]] = None + __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 ManaV2ExtranetNatTranslationPeerToPeer 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 prefixes (list) + _items = [] + if self.prefixes: + for _item_prefixes in self.prefixes: + if _item_prefixes: + _items.append(_item_prefixes.to_dict()) + _dict['prefixes'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetNatTranslationPeerToPeer from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "prefixes": [ManaV2ExtranetNatTranslationPeerToPeerPrefix.from_dict(_item) for _item in obj["prefixes"]] if obj.get("prefixes") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_nat_translation_peer_to_peer_prefix.py b/graphiant_sdk/models/mana_v2_extranet_nat_translation_peer_to_peer_prefix.py new file mode 100644 index 00000000..67c12ec0 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_nat_translation_peer_to_peer_prefix.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, 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 ManaV2ExtranetNatTranslationPeerToPeerPrefix(BaseModel): + """ + ManaV2ExtranetNatTranslationPeerToPeerPrefix + """ # noqa: E501 + outside_nat_prefix: Optional[StrictStr] = Field(default=None, description="Optional outside address presented for prefix on the far side of the attachment; omit for no NAT on that prefix", alias="outsideNatPrefix", json_schema_extra={"examples": ["100.1.2.0/24"]}) + prefix: Optional[StrictStr] = Field(default=None, description="At match: customer export prefix. At consumer accept/update (peering): subscribed service prefix", json_schema_extra={"examples": ["10.1.2.0/24"]}) + __properties: ClassVar[List[str]] = ["outsideNatPrefix", "prefix"] + + 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 ManaV2ExtranetNatTranslationPeerToPeerPrefix 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 ManaV2ExtranetNatTranslationPeerToPeerPrefix from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "outsideNatPrefix": obj.get("outsideNatPrefix"), + "prefix": obj.get("prefix") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_service_consumer_policy.py b/graphiant_sdk/models/mana_v2_extranet_service_consumer_policy.py new file mode 100644 index 00000000..1fd5af6d --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_service_consumer_policy.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 +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_b2b_site_information import ManaV2B2bSiteInformation +from graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes import ManaV2ExtranetConsumerLanPrefixes +from graphiant_sdk.models.mana_v2_extranet_nat_translation_mode import ManaV2ExtranetNatTranslationMode +from graphiant_sdk.models.mana_v2_global_object_service_ops import ManaV2GlobalObjectServiceOps +from graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config import ManaV2GuestConsumerSiteToSiteVpnConfig +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetServiceConsumerPolicy(BaseModel): + """ + ManaV2ExtranetServiceConsumerPolicy + """ # noqa: E501 + consumer_lan_segments: Dict[str, ManaV2ExtranetConsumerLanPrefixes] = Field(alias="consumerLanSegments") + global_object_ops: Optional[Dict[str, ManaV2GlobalObjectServiceOps]] = Field(default=None, alias="globalObjectOps") + nat_translation_mode: Optional[ManaV2ExtranetNatTranslationMode] = Field(default=None, alias="natTranslationMode") + site_to_site_vpn: Optional[ManaV2GuestConsumerSiteToSiteVpnConfig] = Field(default=None, alias="siteToSiteVpn") + sites: Optional[List[ManaV2B2bSiteInformation]] = None + __properties: ClassVar[List[str]] = ["consumerLanSegments", "globalObjectOps", "natTranslationMode", "siteToSiteVpn", "sites"] + + 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 ManaV2ExtranetServiceConsumerPolicy 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 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 global_object_ops (dict) + _field_dict = {} + if self.global_object_ops: + for _key_global_object_ops in self.global_object_ops: + if self.global_object_ops[_key_global_object_ops]: + _field_dict[_key_global_object_ops] = self.global_object_ops[_key_global_object_ops].to_dict() + _dict['globalObjectOps'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of nat_translation_mode + if self.nat_translation_mode: + _dict['natTranslationMode'] = self.nat_translation_mode.to_dict() + # override the default output from pydantic by calling `to_dict()` of site_to_site_vpn + if self.site_to_site_vpn: + _dict['siteToSiteVpn'] = self.site_to_site_vpn.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in sites (list) + _items = [] + if self.sites: + for _item_sites in self.sites: + if _item_sites: + _items.append(_item_sites.to_dict()) + _dict['sites'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetServiceConsumerPolicy from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "consumerLanSegments": dict( + (_k, ManaV2ExtranetConsumerLanPrefixes.from_dict(_v)) + for _k, _v in obj["consumerLanSegments"].items() + ) + if obj.get("consumerLanSegments") is not None + else None, + "globalObjectOps": dict( + (_k, ManaV2GlobalObjectServiceOps.from_dict(_v)) + for _k, _v in obj["globalObjectOps"].items() + ) + if obj.get("globalObjectOps") is not None + else None, + "natTranslationMode": ManaV2ExtranetNatTranslationMode.from_dict(obj["natTranslationMode"]) if obj.get("natTranslationMode") is not None else None, + "siteToSiteVpn": ManaV2GuestConsumerSiteToSiteVpnConfig.from_dict(obj["siteToSiteVpn"]) if obj.get("siteToSiteVpn") is not None else None, + "sites": [ManaV2B2bSiteInformation.from_dict(_item) for _item in obj["sites"]] if obj.get("sites") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_service_customer_invite.py b/graphiant_sdk/models/mana_v2_extranet_service_customer_invite.py new file mode 100644 index 00000000..73501854 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_service_customer_invite.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 + + +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_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetServiceCustomerInvite(BaseModel): + """ + ManaV2ExtranetServiceCustomerInvite + """ # noqa: E501 + admin_emails: Optional[List[StrictStr]] = Field(default=None, alias="adminEmails") + maximum_number_of_sites: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="Maximum number of consumer sites", alias="maximumNumberOfSites", json_schema_extra={"examples": [123]}) + __properties: ClassVar[List[str]] = ["adminEmails", "maximumNumberOfSites"] + + 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 ManaV2ExtranetServiceCustomerInvite 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 ManaV2ExtranetServiceCustomerInvite from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "adminEmails": obj.get("adminEmails"), + "maximumNumberOfSites": obj.get("maximumNumberOfSites") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_service_customer_match_summary.py b/graphiant_sdk/models/mana_v2_extranet_service_customer_match_summary.py new file mode 100644 index 00000000..6768a172 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_service_customer_match_summary.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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from graphiant_sdk.models.google_protobuf_timestamp import GoogleProtobufTimestamp +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetServiceCustomerMatchSummary(BaseModel): + """ + ManaV2ExtranetServiceCustomerMatchSummary + """ # noqa: E501 + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + lan_segment: Optional[StrictInt] = Field(default=None, alias="lanSegment", json_schema_extra={"examples": [1234567891011]}) + matched_customers: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="matchedCustomers", json_schema_extra={"examples": [123]}) + name: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + service_type: Optional[StrictStr] = Field(default=None, alias="serviceType", json_schema_extra={"examples": ["ENUM_VALUE"]}) + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + updated_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="updatedAt") + __properties: ClassVar[List[str]] = ["id", "lanSegment", "matchedCustomers", "name", "serviceType", "status", "updatedAt"] + + 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 ManaV2ExtranetServiceCustomerMatchSummary 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 updated_at + if self.updated_at: + _dict['updatedAt'] = self.updated_at.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetServiceCustomerMatchSummary 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"), + "lanSegment": obj.get("lanSegment"), + "matchedCustomers": obj.get("matchedCustomers"), + "name": obj.get("name"), + "serviceType": obj.get("serviceType"), + "status": obj.get("status"), + "updatedAt": GoogleProtobufTimestamp.from_dict(obj["updatedAt"]) if obj.get("updatedAt") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_service_customer_summary.py b/graphiant_sdk/models/mana_v2_extranet_service_customer_summary.py new file mode 100644 index 00000000..456ad80c --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_service_customer_summary.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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from graphiant_sdk.models.google_protobuf_timestamp import GoogleProtobufTimestamp +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetServiceCustomerSummary(BaseModel): + """ + ManaV2ExtranetServiceCustomerSummary + """ # noqa: E501 + admin_emails: Optional[List[StrictStr]] = Field(default=None, alias="adminEmails") + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + matched_services: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="matchedServices", json_schema_extra={"examples": [123]}) + name: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + type: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + updated_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="updatedAt") + __properties: ClassVar[List[str]] = ["adminEmails", "id", "matchedServices", "name", "status", "type", "updatedAt"] + + 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 ManaV2ExtranetServiceCustomerSummary 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 updated_at + if self.updated_at: + _dict['updatedAt'] = self.updated_at.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetServiceCustomerSummary from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "adminEmails": obj.get("adminEmails"), + "id": obj.get("id"), + "matchedServices": obj.get("matchedServices"), + "name": obj.get("name"), + "status": obj.get("status"), + "type": obj.get("type"), + "updatedAt": GoogleProtobufTimestamp.from_dict(obj["updatedAt"]) if obj.get("updatedAt") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_service_policy_response.py b/graphiant_sdk/models/mana_v2_extranet_service_policy_response.py new file mode 100644 index 00000000..c4e39b7a --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_service_policy_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, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_service_producer_policy import ManaV2ExtranetServiceProducerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetServicePolicyResponse(BaseModel): + """ + ManaV2ExtranetServicePolicyResponse + """ # noqa: E501 + policy: Optional[ManaV2ExtranetServiceProducerPolicy] = None + service_name: Optional[StrictStr] = Field(default=None, alias="serviceName", json_schema_extra={"examples": ["example string"]}) + service_type: Optional[StrictStr] = Field(default=None, alias="serviceType", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["policy", "serviceName", "serviceType"] + + 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 ManaV2ExtranetServicePolicyResponse 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetServicePolicyResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "policy": ManaV2ExtranetServiceProducerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None, + "serviceName": obj.get("serviceName"), + "serviceType": obj.get("serviceType") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_service_producer_customer.py b/graphiant_sdk/models/mana_v2_extranet_service_producer_customer.py new file mode 100644 index 00000000..7a6563d7 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_service_producer_customer.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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from graphiant_sdk.models.google_protobuf_timestamp import GoogleProtobufTimestamp +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetServiceProducerCustomer(BaseModel): + """ + ManaV2ExtranetServiceProducerCustomer + """ # noqa: E501 + admin_emails: Optional[List[StrictStr]] = Field(default=None, alias="adminEmails") + customer_id: Optional[StrictStr] = Field(default=None, alias="customerId", json_schema_extra={"examples": ["example string"]}) + match_id: Optional[StrictInt] = Field(default=None, alias="matchId", json_schema_extra={"examples": [1234567891011]}) + matched_services: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="matchedServices", json_schema_extra={"examples": [123]}) + name: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + type: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + updated_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="updatedAt") + __properties: ClassVar[List[str]] = ["adminEmails", "customerId", "matchId", "matchedServices", "name", "status", "type", "updatedAt"] + + 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 ManaV2ExtranetServiceProducerCustomer 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 updated_at + if self.updated_at: + _dict['updatedAt'] = self.updated_at.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetServiceProducerCustomer from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "adminEmails": obj.get("adminEmails"), + "customerId": obj.get("customerId"), + "matchId": obj.get("matchId"), + "matchedServices": obj.get("matchedServices"), + "name": obj.get("name"), + "status": obj.get("status"), + "type": obj.get("type"), + "updatedAt": GoogleProtobufTimestamp.from_dict(obj["updatedAt"]) if obj.get("updatedAt") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_service_producer_policy.py b/graphiant_sdk/models/mana_v2_extranet_service_producer_policy.py new file mode 100644 index 00000000..59a618a7 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_service_producer_policy.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 + + +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_b2b_extranet_prefix_tag import ManaV2B2bExtranetPrefixTag +from graphiant_sdk.models.mana_v2_b2b_site_information import ManaV2B2bSiteInformation +from graphiant_sdk.models.mana_v2_extranet_nat_translation_mode import ManaV2ExtranetNatTranslationMode +from graphiant_sdk.models.mana_v2_global_object_service_ops import ManaV2GlobalObjectServiceOps +from graphiant_sdk.models.mana_v2_global_object_service_summaries import ManaV2GlobalObjectServiceSummaries +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetServiceProducerPolicy(BaseModel): + """ + ManaV2ExtranetServiceProducerPolicy + """ # noqa: E501 + description: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + global_object_device_summaries: Optional[Dict[str, ManaV2GlobalObjectServiceSummaries]] = Field(default=None, alias="globalObjectDeviceSummaries") + global_object_ops: Optional[Dict[str, ManaV2GlobalObjectServiceOps]] = Field(default=None, alias="globalObjectOps") + nat_translation_mode: Optional[ManaV2ExtranetNatTranslationMode] = Field(default=None, alias="natTranslationMode") + prefix_tags: Optional[List[ManaV2B2bExtranetPrefixTag]] = Field(default=None, alias="prefixTags") + service_lan_segment: Optional[StrictInt] = Field(default=None, description="LAN segment ID for the service", alias="serviceLanSegment", json_schema_extra={"examples": [1234567891011]}) + sites: Optional[List[ManaV2B2bSiteInformation]] = None + __properties: ClassVar[List[str]] = ["description", "globalObjectDeviceSummaries", "globalObjectOps", "natTranslationMode", "prefixTags", "serviceLanSegment", "sites"] + + 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 ManaV2ExtranetServiceProducerPolicy 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 global_object_device_summaries (dict) + _field_dict = {} + if self.global_object_device_summaries: + for _key_global_object_device_summaries in self.global_object_device_summaries: + if self.global_object_device_summaries[_key_global_object_device_summaries]: + _field_dict[_key_global_object_device_summaries] = self.global_object_device_summaries[_key_global_object_device_summaries].to_dict() + _dict['globalObjectDeviceSummaries'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of each value in global_object_ops (dict) + _field_dict = {} + if self.global_object_ops: + for _key_global_object_ops in self.global_object_ops: + if self.global_object_ops[_key_global_object_ops]: + _field_dict[_key_global_object_ops] = self.global_object_ops[_key_global_object_ops].to_dict() + _dict['globalObjectOps'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of nat_translation_mode + if self.nat_translation_mode: + _dict['natTranslationMode'] = self.nat_translation_mode.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in prefix_tags (list) + _items = [] + if self.prefix_tags: + for _item_prefix_tags in self.prefix_tags: + if _item_prefix_tags: + _items.append(_item_prefix_tags.to_dict()) + _dict['prefixTags'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in sites (list) + _items = [] + if self.sites: + for _item_sites in self.sites: + if _item_sites: + _items.append(_item_sites.to_dict()) + _dict['sites'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetServiceProducerPolicy from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "description": obj.get("description"), + "globalObjectDeviceSummaries": dict( + (_k, ManaV2GlobalObjectServiceSummaries.from_dict(_v)) + for _k, _v in obj["globalObjectDeviceSummaries"].items() + ) + if obj.get("globalObjectDeviceSummaries") is not None + else None, + "globalObjectOps": dict( + (_k, ManaV2GlobalObjectServiceOps.from_dict(_v)) + for _k, _v in obj["globalObjectOps"].items() + ) + if obj.get("globalObjectOps") is not None + else None, + "natTranslationMode": ManaV2ExtranetNatTranslationMode.from_dict(obj["natTranslationMode"]) if obj.get("natTranslationMode") is not None else None, + "prefixTags": [ManaV2B2bExtranetPrefixTag.from_dict(_item) for _item in obj["prefixTags"]] if obj.get("prefixTags") is not None else None, + "serviceLanSegment": obj.get("serviceLanSegment"), + "sites": [ManaV2B2bSiteInformation.from_dict(_item) for _item in obj["sites"]] if obj.get("sites") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_extranet_service_summary.py b/graphiant_sdk/models/mana_v2_extranet_service_summary.py new file mode 100644 index 00000000..5563bc72 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_extranet_service_summary.py @@ -0,0 +1,116 @@ +# 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 typing_extensions import Annotated +from graphiant_sdk.models.google_protobuf_timestamp import GoogleProtobufTimestamp +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ExtranetServiceSummary(BaseModel): + """ + ManaV2ExtranetServiceSummary + """ # noqa: E501 + created_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="createdAt") + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + is_publisher: Optional[StrictBool] = Field(default=None, description="True when this enterprise publishes the service; false when consuming a remote producer", alias="isPublisher", json_schema_extra={"examples": [True]}) + lan_segment: Optional[StrictInt] = Field(default=None, description="Service LAN segment when is_publisher and VRF exists", alias="lanSegment", json_schema_extra={"examples": [1234567891011]}) + last_updated: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="lastUpdated") + server_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="serverPrefixes") + service_name: Optional[StrictStr] = Field(default=None, alias="serviceName", json_schema_extra={"examples": ["example string"]}) + service_type: Optional[StrictStr] = Field(default=None, alias="serviceType", json_schema_extra={"examples": ["ENUM_VALUE"]}) + sites: Optional[List[StrictInt]] = None + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + total_customers: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="totalCustomers", json_schema_extra={"examples": [123]}) + __properties: ClassVar[List[str]] = ["createdAt", "id", "isPublisher", "lanSegment", "lastUpdated", "serverPrefixes", "serviceName", "serviceType", "sites", "status", "totalCustomers"] + + 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 ManaV2ExtranetServiceSummary 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 created_at + if self.created_at: + _dict['createdAt'] = self.created_at.to_dict() + # override the default output from pydantic by calling `to_dict()` of last_updated + if self.last_updated: + _dict['lastUpdated'] = self.last_updated.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ExtranetServiceSummary from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "createdAt": GoogleProtobufTimestamp.from_dict(obj["createdAt"]) if obj.get("createdAt") is not None else None, + "id": obj.get("id"), + "isPublisher": obj.get("isPublisher"), + "lanSegment": obj.get("lanSegment"), + "lastUpdated": GoogleProtobufTimestamp.from_dict(obj["lastUpdated"]) if obj.get("lastUpdated") is not None else None, + "serverPrefixes": obj.get("serverPrefixes"), + "serviceName": obj.get("serviceName"), + "serviceType": obj.get("serviceType"), + "sites": obj.get("sites"), + "status": obj.get("status"), + "totalCustomers": obj.get("totalCustomers") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_gateway_details.py b/graphiant_sdk/models/mana_v2_gateway_details.py index 43886a14..b08b9ad2 100644 --- a/graphiant_sdk/models/mana_v2_gateway_details.py +++ b/graphiant_sdk/models/mana_v2_gateway_details.py @@ -23,6 +23,7 @@ from graphiant_sdk.models.mana_v2_azure_gateway_details import ManaV2AzureGatewayDetails from graphiant_sdk.models.mana_v2_gcp_gateway_details import ManaV2GcpGatewayDetails 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_oci_gateway_details import ManaV2OciGatewayDetails from typing import Optional, Set from typing_extensions import Self @@ -37,11 +38,12 @@ class ManaV2GatewayDetails(BaseModel): description: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) gcp: Optional[ManaV2GcpGatewayDetails] = None ipsec_gateway: Optional[ManaV2IPsecGatewayDetails] = Field(default=None, alias="ipsecGateway") + ipsec_gateway_peers: Optional[ManaV2IPsecGatewayPeersConfig] = Field(default=None, alias="ipsecGatewayPeers") oci: Optional[ManaV2OciGatewayDetails] = None region_id: Optional[StrictInt] = Field(default=None, alias="regionId", json_schema_extra={"examples": [123]}) speed: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) vrf_id: Optional[StrictInt] = Field(default=None, alias="vrfId", json_schema_extra={"examples": [1234567891011]}) - __properties: ClassVar[List[str]] = ["aws", "azure", "description", "gcp", "ipsecGateway", "oci", "regionId", "speed", "vrfId"] + __properties: ClassVar[List[str]] = ["aws", "azure", "description", "gcp", "ipsecGateway", "ipsecGatewayPeers", "oci", "regionId", "speed", "vrfId"] model_config = ConfigDict( validate_by_name=True, @@ -94,6 +96,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of ipsec_gateway if self.ipsec_gateway: _dict['ipsecGateway'] = self.ipsec_gateway.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() # override the default output from pydantic by calling `to_dict()` of oci if self.oci: _dict['oci'] = self.oci.to_dict() @@ -114,6 +119,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "description": obj.get("description"), "gcp": ManaV2GcpGatewayDetails.from_dict(obj["gcp"]) if obj.get("gcp") is not None else None, "ipsecGateway": ManaV2IPsecGatewayDetails.from_dict(obj["ipsecGateway"]) if obj.get("ipsecGateway") is not None else None, + "ipsecGatewayPeers": ManaV2IPsecGatewayPeersConfig.from_dict(obj["ipsecGatewayPeers"]) if obj.get("ipsecGatewayPeers") is not None else None, "oci": ManaV2OciGatewayDetails.from_dict(obj["oci"]) if obj.get("oci") is not None else None, "regionId": obj.get("regionId"), "speed": obj.get("speed"), diff --git a/graphiant_sdk/models/mana_v2_nullable_ospf_authentication_config.py b/graphiant_sdk/models/mana_v2_nullable_ospf_authentication_config.py new file mode 100644 index 00000000..75b9b03c --- /dev/null +++ b/graphiant_sdk/models/mana_v2_nullable_ospf_authentication_config.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 +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 ManaV2NullableOspfAuthenticationConfig(BaseModel): + """ + ManaV2NullableOspfAuthenticationConfig + """ # noqa: E501 + authentication: Optional[Dict[str, Any]] = None + __properties: ClassVar[List[str]] = ["authentication"] + + 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 ManaV2NullableOspfAuthenticationConfig 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 ManaV2NullableOspfAuthenticationConfig from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "authentication": obj.get("authentication") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_ospf_authentication.py b/graphiant_sdk/models/mana_v2_ospf_authentication.py new file mode 100644 index 00000000..12a89042 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_ospf_authentication.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 + + +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_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2OspfAuthentication(BaseModel): + """ + ManaV2OspfAuthentication + """ # noqa: E501 + key: Optional[StrictStr] = Field(default=None, description="Shared secret for OSPFv2 MD5 authentication on this interface", json_schema_extra={"examples": ["example string"]}) + key_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="Identifier of the OSPFv2 MD5 authentication key configured on this interface", alias="keyId", json_schema_extra={"examples": [123]}) + __properties: ClassVar[List[str]] = ["key", "keyId"] + + 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 ManaV2OspfAuthentication 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 ManaV2OspfAuthentication from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "key": obj.get("key"), + "keyId": obj.get("keyId") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_ospf_interface.py b/graphiant_sdk/models/mana_v2_ospf_interface.py index d55d91a9..f1de8eb8 100644 --- a/graphiant_sdk/models/mana_v2_ospf_interface.py +++ b/graphiant_sdk/models/mana_v2_ospf_interface.py @@ -22,6 +22,7 @@ from typing_extensions import Annotated from graphiant_sdk.models.mana_v2_bfd_instance import ManaV2BfdInstance from graphiant_sdk.models.mana_v2_bfd_neighbor import ManaV2BfdNeighbor +from graphiant_sdk.models.mana_v2_ospf_authentication import ManaV2OspfAuthentication from typing import Optional, Set from typing_extensions import Self from pydantic_core import to_jsonable_python @@ -30,6 +31,7 @@ class ManaV2OspfInterface(BaseModel): """ ManaV2OspfInterface """ # noqa: E501 + authentication: Optional[ManaV2OspfAuthentication] = None bfd: Optional[ManaV2BfdInstance] = None bfd_neighbors: Optional[List[ManaV2BfdNeighbor]] = Field(default=None, alias="bfdNeighbors") cost: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, json_schema_extra={"examples": [123]}) @@ -47,7 +49,7 @@ class ManaV2OspfInterface(BaseModel): retransmit_interval: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="retransmitInterval", json_schema_extra={"examples": [123]}) retransmit_interval_value: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="retransmitIntervalValue", json_schema_extra={"examples": [123]}) type: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) - __properties: ClassVar[List[str]] = ["bfd", "bfdNeighbors", "cost", "deadInterval", "deadIntervalValue", "drPriority", "helloInterval", "helloIntervalValue", "id", "ifIndex", "interface", "maxTransmissionUnit", "mtuIgnore", "prefixSid", "retransmitInterval", "retransmitIntervalValue", "type"] + __properties: ClassVar[List[str]] = ["authentication", "bfd", "bfdNeighbors", "cost", "deadInterval", "deadIntervalValue", "drPriority", "helloInterval", "helloIntervalValue", "id", "ifIndex", "interface", "maxTransmissionUnit", "mtuIgnore", "prefixSid", "retransmitInterval", "retransmitIntervalValue", "type"] model_config = ConfigDict( validate_by_name=True, @@ -88,6 +90,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of authentication + if self.authentication: + _dict['authentication'] = self.authentication.to_dict() # override the default output from pydantic by calling `to_dict()` of bfd if self.bfd: _dict['bfd'] = self.bfd.to_dict() @@ -110,6 +115,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "authentication": ManaV2OspfAuthentication.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None, "bfd": ManaV2BfdInstance.from_dict(obj["bfd"]) if obj.get("bfd") is not None else None, "bfdNeighbors": [ManaV2BfdNeighbor.from_dict(_item) for _item in obj["bfdNeighbors"]] if obj.get("bfdNeighbors") is not None else None, "cost": obj.get("cost"), diff --git a/graphiant_sdk/models/mana_v2_ospf_interface_config.py b/graphiant_sdk/models/mana_v2_ospf_interface_config.py index 45ad2890..cb66ab6f 100644 --- a/graphiant_sdk/models/mana_v2_ospf_interface_config.py +++ b/graphiant_sdk/models/mana_v2_ospf_interface_config.py @@ -21,6 +21,7 @@ from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from graphiant_sdk.models.mana_v2_nullable_bfd_instance_config import ManaV2NullableBfdInstanceConfig +from graphiant_sdk.models.mana_v2_nullable_ospf_authentication_config import ManaV2NullableOspfAuthenticationConfig from graphiant_sdk.models.mana_v2_nullable_ospf_dead_interval_value import ManaV2NullableOspfDeadIntervalValue from graphiant_sdk.models.mana_v2_nullable_ospf_hello_interval_value import ManaV2NullableOspfHelloIntervalValue from graphiant_sdk.models.mana_v2_nullable_ospf_retransmit_interval_value import ManaV2NullableOspfRetransmitIntervalValue @@ -32,6 +33,7 @@ class ManaV2OspfInterfaceConfig(BaseModel): """ ManaV2OspfInterfaceConfig """ # noqa: E501 + authentication: Optional[ManaV2NullableOspfAuthenticationConfig] = None bfd: Optional[ManaV2NullableBfdInstanceConfig] = None cost: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, json_schema_extra={"examples": [123]}) dead_interval_value: Optional[ManaV2NullableOspfDeadIntervalValue] = Field(default=None, alias="deadIntervalValue") @@ -43,7 +45,7 @@ class ManaV2OspfInterfaceConfig(BaseModel): prefix_sid: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="prefixSid", json_schema_extra={"examples": [123]}) retransmit_interval_value: Optional[ManaV2NullableOspfRetransmitIntervalValue] = Field(default=None, alias="retransmitIntervalValue") type: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) - __properties: ClassVar[List[str]] = ["bfd", "cost", "deadIntervalValue", "drPriority", "helloIntervalValue", "interfaceName", "mtu", "mtuIgnore", "prefixSid", "retransmitIntervalValue", "type"] + __properties: ClassVar[List[str]] = ["authentication", "bfd", "cost", "deadIntervalValue", "drPriority", "helloIntervalValue", "interfaceName", "mtu", "mtuIgnore", "prefixSid", "retransmitIntervalValue", "type"] model_config = ConfigDict( validate_by_name=True, @@ -84,6 +86,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of authentication + if self.authentication: + _dict['authentication'] = self.authentication.to_dict() # override the default output from pydantic by calling `to_dict()` of bfd if self.bfd: _dict['bfd'] = self.bfd.to_dict() @@ -108,6 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "authentication": ManaV2NullableOspfAuthenticationConfig.from_dict(obj["authentication"]) if obj.get("authentication") is not None else None, "bfd": ManaV2NullableBfdInstanceConfig.from_dict(obj["bfd"]) if obj.get("bfd") is not None else None, "cost": obj.get("cost"), "deadIntervalValue": ManaV2NullableOspfDeadIntervalValue.from_dict(obj["deadIntervalValue"]) if obj.get("deadIntervalValue") is not None else None, diff --git a/graphiant_sdk/models/v1_auth_login_callback_post500_response.py b/graphiant_sdk/models/v1_auth_login_callback_post500_response.py index f41d95f0..985065ef 100644 --- a/graphiant_sdk/models/v1_auth_login_callback_post500_response.py +++ b/graphiant_sdk/models/v1_auth_login_callback_post500_response.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr +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 @@ -27,7 +27,7 @@ class V1AuthLoginCallbackPost500Response(BaseModel): """ V1AuthLoginCallbackPost500Response """ # noqa: E501 - error: Optional[StrictStr] = None + error: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["Invalid saml response"]}) __properties: ClassVar[List[str]] = ["error"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_auth_login_saml_get401_response.py b/graphiant_sdk/models/v1_auth_login_saml_get401_response.py index 6f733ed9..91105bea 100644 --- a/graphiant_sdk/models/v1_auth_login_saml_get401_response.py +++ b/graphiant_sdk/models/v1_auth_login_saml_get401_response.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr +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 @@ -27,7 +27,7 @@ class V1AuthLoginSamlGet401Response(BaseModel): """ V1AuthLoginSamlGet401Response """ # noqa: E501 - error: Optional[StrictStr] = None + error: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["Missing email query parameter"]}) __properties: ClassVar[List[str]] = ["error"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_auth_login_saml_get500_response.py b/graphiant_sdk/models/v1_auth_login_saml_get500_response.py index 2c951b67..2865e2fc 100644 --- a/graphiant_sdk/models/v1_auth_login_saml_get500_response.py +++ b/graphiant_sdk/models/v1_auth_login_saml_get500_response.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr +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 @@ -27,7 +27,7 @@ class V1AuthLoginSamlGet500Response(BaseModel): """ V1AuthLoginSamlGet500Response """ # noqa: E501 - error: Optional[StrictStr] = None + error: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["Invalid email"]}) __properties: ClassVar[List[str]] = ["error"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_auth_refresh_get403_response.py b/graphiant_sdk/models/v1_auth_refresh_get403_response.py index a83ec4aa..7540c813 100644 --- a/graphiant_sdk/models/v1_auth_refresh_get403_response.py +++ b/graphiant_sdk/models/v1_auth_refresh_get403_response.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr +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 @@ -27,7 +27,7 @@ class V1AuthRefreshGet403Response(BaseModel): """ V1AuthRefreshGet403Response """ # noqa: E501 - error: Optional[StrictStr] = None + error: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["Could not refresh token"]}) __properties: ClassVar[List[str]] = ["error"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_auth_refresh_get422_response.py b/graphiant_sdk/models/v1_auth_refresh_get422_response.py index af33ba01..d4baa7ad 100644 --- a/graphiant_sdk/models/v1_auth_refresh_get422_response.py +++ b/graphiant_sdk/models/v1_auth_refresh_get422_response.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr +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 @@ -27,7 +27,7 @@ class V1AuthRefreshGet422Response(BaseModel): """ V1AuthRefreshGet422Response """ # noqa: E501 - error: Optional[StrictStr] = None + error: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["error details"]}) __properties: ClassVar[List[str]] = ["error"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_auth_session_get403_response.py b/graphiant_sdk/models/v1_auth_session_get403_response.py index 6a9139fc..eb82510a 100644 --- a/graphiant_sdk/models/v1_auth_session_get403_response.py +++ b/graphiant_sdk/models/v1_auth_session_get403_response.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr +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 @@ -27,7 +27,7 @@ class V1AuthSessionGet403Response(BaseModel): """ V1AuthSessionGet403Response """ # noqa: E501 - error: Optional[StrictStr] = None + error: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["Token expired"]}) __properties: ClassVar[List[str]] = ["error"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_auth_session_get422_response.py b/graphiant_sdk/models/v1_auth_session_get422_response.py index 8e12561e..be3c3025 100644 --- a/graphiant_sdk/models/v1_auth_session_get422_response.py +++ b/graphiant_sdk/models/v1_auth_session_get422_response.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr +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 @@ -27,7 +27,7 @@ class V1AuthSessionGet422Response(BaseModel): """ V1AuthSessionGet422Response """ # noqa: E501 - error: Optional[StrictStr] = None + error: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["GRPC error details"]}) __properties: ClassVar[List[str]] = ["error"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_b2b_consumers_customer_id_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_consumers_customer_id_get_response.py new file mode 100644 index 00000000..3cf4c2b3 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_consumers_customer_id_get_response.py @@ -0,0 +1,137 @@ +# 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_b2b_extranet_match_consumer_details import ManaV2B2bExtranetMatchConsumerDetails +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy +from graphiant_sdk.models.mana_v2_global_object_service_summaries import ManaV2GlobalObjectServiceSummaries +from graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config import ManaV2GuestConsumerSiteToSiteVpnConfig +from graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config import V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bConsumersCustomerIdGetResponse(BaseModel): + """ + V1ExtranetB2bConsumersCustomerIdGetResponse + """ # noqa: E501 + global_object_device_summaries: Optional[Dict[str, ManaV2GlobalObjectServiceSummaries]] = Field(default=None, alias="globalObjectDeviceSummaries") + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + ipsec_tunnel_config: Optional[List[V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig]] = Field(default=None, alias="ipsecTunnelConfig") + match_details: Optional[ManaV2B2bExtranetMatchConsumerDetails] = Field(default=None, alias="matchDetails") + match_id: Optional[StrictInt] = Field(default=None, alias="matchId", json_schema_extra={"examples": [1234567891011]}) + peer_type: Optional[StrictStr] = Field(default=None, alias="peerType", json_schema_extra={"examples": ["ENUM_VALUE"]}) + policy: Optional[ManaV2ExtranetServiceConsumerPolicy] = None + site_to_site_vpn: Optional[ManaV2GuestConsumerSiteToSiteVpnConfig] = Field(default=None, alias="siteToSiteVpn") + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["globalObjectDeviceSummaries", "id", "ipsecTunnelConfig", "matchDetails", "matchId", "peerType", "policy", "siteToSiteVpn", "status"] + + 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 V1ExtranetB2bConsumersCustomerIdGetResponse 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 global_object_device_summaries (dict) + _field_dict = {} + if self.global_object_device_summaries: + for _key_global_object_device_summaries in self.global_object_device_summaries: + if self.global_object_device_summaries[_key_global_object_device_summaries]: + _field_dict[_key_global_object_device_summaries] = self.global_object_device_summaries[_key_global_object_device_summaries].to_dict() + _dict['globalObjectDeviceSummaries'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of each item in ipsec_tunnel_config (list) + _items = [] + if self.ipsec_tunnel_config: + for _item_ipsec_tunnel_config in self.ipsec_tunnel_config: + if _item_ipsec_tunnel_config: + _items.append(_item_ipsec_tunnel_config.to_dict()) + _dict['ipsecTunnelConfig'] = _items + # override the default output from pydantic by calling `to_dict()` of match_details + if self.match_details: + _dict['matchDetails'] = self.match_details.to_dict() + # override the default output from pydantic by calling `to_dict()` of policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + # override the default output from pydantic by calling `to_dict()` of site_to_site_vpn + if self.site_to_site_vpn: + _dict['siteToSiteVpn'] = self.site_to_site_vpn.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bConsumersCustomerIdGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "globalObjectDeviceSummaries": dict( + (_k, ManaV2GlobalObjectServiceSummaries.from_dict(_v)) + for _k, _v in obj["globalObjectDeviceSummaries"].items() + ) + if obj.get("globalObjectDeviceSummaries") is not None + else None, + "id": obj.get("id"), + "ipsecTunnelConfig": [V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig.from_dict(_item) for _item in obj["ipsecTunnelConfig"]] if obj.get("ipsecTunnelConfig") is not None else None, + "matchDetails": ManaV2B2bExtranetMatchConsumerDetails.from_dict(obj["matchDetails"]) if obj.get("matchDetails") is not None else None, + "matchId": obj.get("matchId"), + "peerType": obj.get("peerType"), + "policy": ManaV2ExtranetServiceConsumerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None, + "siteToSiteVpn": ManaV2GuestConsumerSiteToSiteVpnConfig.from_dict(obj["siteToSiteVpn"]) if obj.get("siteToSiteVpn") is not None else None, + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config.py b/graphiant_sdk/models/v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config.py new file mode 100644 index 00000000..2c6efe09 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config.py @@ -0,0 +1,151 @@ +# 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 typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig(BaseModel): + """ + V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig + """ # noqa: E501 + bgp_graphiant_asn: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="bgpGraphiantAsn", json_schema_extra={"examples": [123]}) + bgp_local_asn: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="bgpLocalAsn", json_schema_extra={"examples": [123]}) + bgp_neighbor_hold_time: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="bgpNeighborHoldTime", json_schema_extra={"examples": [123]}) + bgp_neighbor_ipv4: Optional[StrictStr] = Field(default=None, alias="bgpNeighborIpv4", json_schema_extra={"examples": ["example string"]}) + bgp_neighbor_ipv6: Optional[StrictStr] = Field(default=None, alias="bgpNeighborIpv6", json_schema_extra={"examples": ["example string"]}) + dpd_interval: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="dpdInterval", json_schema_extra={"examples": [123]}) + dpd_retries: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="dpdRetries", json_schema_extra={"examples": [123]}) + graphiant_destination_ip: Optional[StrictStr] = Field(default=None, alias="graphiantDestinationIp", json_schema_extra={"examples": ["example string"]}) + graphiant_ike_id: Optional[StrictStr] = Field(default=None, alias="graphiantIkeId", json_schema_extra={"examples": ["example string"]}) + graphiant_outer_tunnel_ip: Optional[StrictStr] = Field(default=None, alias="graphiantOuterTunnelIp", json_schema_extra={"examples": ["example string"]}) + graphiant_tunnel_ip: Optional[StrictStr] = Field(default=None, alias="graphiantTunnelIp", json_schema_extra={"examples": ["example string"]}) + graphiant_tunnel_ipv6: Optional[StrictStr] = Field(default=None, alias="graphiantTunnelIpv6", json_schema_extra={"examples": ["example string"]}) + ike_authentication_algorithm: Optional[StrictStr] = Field(default=None, alias="ikeAuthenticationAlgorithm", json_schema_extra={"examples": ["example string"]}) + ike_authentication_method: Optional[StrictStr] = Field(default=None, alias="ikeAuthenticationMethod", json_schema_extra={"examples": ["example string"]}) + ike_dh_algorithm: Optional[StrictStr] = Field(default=None, alias="ikeDhAlgorithm", json_schema_extra={"examples": ["example string"]}) + ike_encryption_algorithm: Optional[StrictStr] = Field(default=None, alias="ikeEncryptionAlgorithm", json_schema_extra={"examples": ["example string"]}) + ike_lifetime: Optional[StrictStr] = Field(default=None, alias="ikeLifetime", json_schema_extra={"examples": ["example string"]}) + ike_preshared_key: Optional[StrictStr] = Field(default=None, alias="ikePresharedKey", json_schema_extra={"examples": ["example string"]}) + ike_version: Optional[StrictInt] = Field(default=None, alias="ikeVersion", json_schema_extra={"examples": [123]}) + ipsec_authentication_algorithm: Optional[StrictStr] = Field(default=None, alias="ipsecAuthenticationAlgorithm", json_schema_extra={"examples": ["example string"]}) + ipsec_encryption_algorithm: Optional[StrictStr] = Field(default=None, alias="ipsecEncryptionAlgorithm", json_schema_extra={"examples": ["example string"]}) + ipsec_extended_sequence_number: Optional[StrictBool] = Field(default=None, alias="ipsecExtendedSequenceNumber", json_schema_extra={"examples": [True]}) + ipsec_lifetime: Optional[StrictStr] = Field(default=None, alias="ipsecLifetime", json_schema_extra={"examples": ["example string"]}) + ipsec_mode: Optional[StrictStr] = Field(default=None, alias="ipsecMode", json_schema_extra={"examples": ["example string"]}) + ipsec_pfs_algorithm: Optional[StrictStr] = Field(default=None, alias="ipsecPfsAlgorithm", json_schema_extra={"examples": ["example string"]}) + ipsec_protocol: Optional[StrictStr] = Field(default=None, alias="ipsecProtocol", json_schema_extra={"examples": ["example string"]}) + local_ike_id: Optional[StrictStr] = Field(default=None, alias="localIkeId", json_schema_extra={"examples": ["example string"]}) + local_outer_tunnel_ip: Optional[StrictStr] = Field(default=None, alias="localOuterTunnelIp", json_schema_extra={"examples": ["example string"]}) + local_tunnel_ip: Optional[StrictStr] = Field(default=None, alias="localTunnelIp", json_schema_extra={"examples": ["example string"]}) + local_tunnel_ipv6: Optional[StrictStr] = Field(default=None, alias="localTunnelIpv6", 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]}) + tunnel_mtu: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="tunnelMtu", json_schema_extra={"examples": [123]}) + __properties: ClassVar[List[str]] = ["bgpGraphiantAsn", "bgpLocalAsn", "bgpNeighborHoldTime", "bgpNeighborIpv4", "bgpNeighborIpv6", "dpdInterval", "dpdRetries", "graphiantDestinationIp", "graphiantIkeId", "graphiantOuterTunnelIp", "graphiantTunnelIp", "graphiantTunnelIpv6", "ikeAuthenticationAlgorithm", "ikeAuthenticationMethod", "ikeDhAlgorithm", "ikeEncryptionAlgorithm", "ikeLifetime", "ikePresharedKey", "ikeVersion", "ipsecAuthenticationAlgorithm", "ipsecEncryptionAlgorithm", "ipsecExtendedSequenceNumber", "ipsecLifetime", "ipsecMode", "ipsecPfsAlgorithm", "ipsecProtocol", "localIkeId", "localOuterTunnelIp", "localTunnelIp", "localTunnelIpv6", "tcpMss", "tunnelMtu"] + + 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 V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig 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 V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bgpGraphiantAsn": obj.get("bgpGraphiantAsn"), + "bgpLocalAsn": obj.get("bgpLocalAsn"), + "bgpNeighborHoldTime": obj.get("bgpNeighborHoldTime"), + "bgpNeighborIpv4": obj.get("bgpNeighborIpv4"), + "bgpNeighborIpv6": obj.get("bgpNeighborIpv6"), + "dpdInterval": obj.get("dpdInterval"), + "dpdRetries": obj.get("dpdRetries"), + "graphiantDestinationIp": obj.get("graphiantDestinationIp"), + "graphiantIkeId": obj.get("graphiantIkeId"), + "graphiantOuterTunnelIp": obj.get("graphiantOuterTunnelIp"), + "graphiantTunnelIp": obj.get("graphiantTunnelIp"), + "graphiantTunnelIpv6": obj.get("graphiantTunnelIpv6"), + "ikeAuthenticationAlgorithm": obj.get("ikeAuthenticationAlgorithm"), + "ikeAuthenticationMethod": obj.get("ikeAuthenticationMethod"), + "ikeDhAlgorithm": obj.get("ikeDhAlgorithm"), + "ikeEncryptionAlgorithm": obj.get("ikeEncryptionAlgorithm"), + "ikeLifetime": obj.get("ikeLifetime"), + "ikePresharedKey": obj.get("ikePresharedKey"), + "ikeVersion": obj.get("ikeVersion"), + "ipsecAuthenticationAlgorithm": obj.get("ipsecAuthenticationAlgorithm"), + "ipsecEncryptionAlgorithm": obj.get("ipsecEncryptionAlgorithm"), + "ipsecExtendedSequenceNumber": obj.get("ipsecExtendedSequenceNumber"), + "ipsecLifetime": obj.get("ipsecLifetime"), + "ipsecMode": obj.get("ipsecMode"), + "ipsecPfsAlgorithm": obj.get("ipsecPfsAlgorithm"), + "ipsecProtocol": obj.get("ipsecProtocol"), + "localIkeId": obj.get("localIkeId"), + "localOuterTunnelIp": obj.get("localOuterTunnelIp"), + "localTunnelIp": obj.get("localTunnelIp"), + "localTunnelIpv6": obj.get("localTunnelIpv6"), + "tcpMss": obj.get("tcpMss"), + "tunnelMtu": obj.get("tunnelMtu") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_consumers_id_device_status_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_consumers_id_device_status_get_response.py new file mode 100644 index 00000000..cc53173a --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_consumers_id_device_status_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, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_b2b_extranet_status_summary import ManaV2B2bExtranetStatusSummary +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bConsumersIdDeviceStatusGetResponse(BaseModel): + """ + V1ExtranetB2bConsumersIdDeviceStatusGetResponse + """ # noqa: E501 + service_status: Optional[StrictStr] = Field(default=None, alias="serviceStatus", json_schema_extra={"examples": ["ENUM_VALUE"]}) + summary: Optional[List[ManaV2B2bExtranetStatusSummary]] = None + __properties: ClassVar[List[str]] = ["serviceStatus", "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 V1ExtranetB2bConsumersIdDeviceStatusGetResponse 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 V1ExtranetB2bConsumersIdDeviceStatusGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "serviceStatus": obj.get("serviceStatus"), + "summary": [ManaV2B2bExtranetStatusSummary.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_extranet_b2b_consumers_id_prefixes_put_request.py b/graphiant_sdk/models/v1_extranet_b2b_consumers_id_prefixes_put_request.py new file mode 100644 index 00000000..d4e39f20 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_consumers_id_prefixes_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, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_nat_translation_mode import ManaV2ExtranetNatTranslationMode +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bConsumersIdPrefixesPutRequest(BaseModel): + """ + V1ExtranetB2bConsumersIdPrefixesPutRequest + """ # noqa: E501 + nat_translation_mode: Optional[ManaV2ExtranetNatTranslationMode] = Field(default=None, alias="natTranslationMode") + __properties: ClassVar[List[str]] = ["natTranslationMode"] + + 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 V1ExtranetB2bConsumersIdPrefixesPutRequest 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 nat_translation_mode + if self.nat_translation_mode: + _dict['natTranslationMode'] = self.nat_translation_mode.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bConsumersIdPrefixesPutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "natTranslationMode": ManaV2ExtranetNatTranslationMode.from_dict(obj["natTranslationMode"]) if obj.get("natTranslationMode") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_consumers_id_prefixes_put_response.py b/graphiant_sdk/models/v1_extranet_b2b_consumers_id_prefixes_put_response.py new file mode 100644 index 00000000..a31edfb1 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_consumers_id_prefixes_put_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 V1ExtranetB2bConsumersIdPrefixesPutResponse(BaseModel): + """ + V1ExtranetB2bConsumersIdPrefixesPutResponse + """ # noqa: E501 + consumer_activity_id: Optional[StrictStr] = Field(default=None, alias="consumerActivityId", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["consumerActivityId"] + + 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 V1ExtranetB2bConsumersIdPrefixesPutResponse 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 V1ExtranetB2bConsumersIdPrefixesPutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "consumerActivityId": obj.get("consumerActivityId") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_consumers_id_put_request.py b/graphiant_sdk/models/v1_extranet_b2b_consumers_id_put_request.py new file mode 100644 index 00000000..41e51d6f --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_consumers_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, Optional +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bConsumersIdPutRequest(BaseModel): + """ + V1ExtranetB2bConsumersIdPutRequest + """ # noqa: E501 + policy: Optional[ManaV2ExtranetServiceConsumerPolicy] = None + __properties: ClassVar[List[str]] = ["policy"] + + 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 V1ExtranetB2bConsumersIdPutRequest 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bConsumersIdPutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "policy": ManaV2ExtranetServiceConsumerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_consumers_id_put_response.py b/graphiant_sdk/models/v1_extranet_b2b_consumers_id_put_response.py new file mode 100644 index 00000000..bd9caf56 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_consumers_id_put_response.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, Optional +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bConsumersIdPutResponse(BaseModel): + """ + V1ExtranetB2bConsumersIdPutResponse + """ # noqa: E501 + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + policy: Optional[ManaV2ExtranetServiceConsumerPolicy] = None + __properties: ClassVar[List[str]] = ["id", "policy"] + + 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 V1ExtranetB2bConsumersIdPutResponse 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bConsumersIdPutResponse 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"), + "policy": ManaV2ExtranetServiceConsumerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_customers_id_delete_response.py b/graphiant_sdk/models/v1_extranet_b2b_customers_id_delete_response.py new file mode 100644 index 00000000..fb812612 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_customers_id_delete_response.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, 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 V1ExtranetB2bCustomersIdDeleteResponse(BaseModel): + """ + V1ExtranetB2bCustomersIdDeleteResponse + """ # noqa: E501 + activity_id: Optional[StrictStr] = Field(default=None, alias="activityId", json_schema_extra={"examples": ["example string"]}) + consumer_activity_id: Optional[StrictStr] = Field(default=None, alias="consumerActivityId", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["activityId", "consumerActivityId"] + + 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 V1ExtranetB2bCustomersIdDeleteResponse 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 V1ExtranetB2bCustomersIdDeleteResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "activityId": obj.get("activityId"), + "consumerActivityId": obj.get("consumerActivityId") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_customers_id_details_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_customers_id_details_get_response.py new file mode 100644 index 00000000..ee6eaa4b --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_customers_id_details_get_response.py @@ -0,0 +1,97 @@ +# 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_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bCustomersIdDetailsGetResponse(BaseModel): + """ + V1ExtranetB2bCustomersIdDetailsGetResponse + """ # noqa: E501 + admin_emails: Optional[List[StrictStr]] = Field(default=None, alias="adminEmails") + name: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + num_sites: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="numSites", json_schema_extra={"examples": [123]}) + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + type: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["adminEmails", "name", "numSites", "status", "type"] + + 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 V1ExtranetB2bCustomersIdDetailsGetResponse 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 V1ExtranetB2bCustomersIdDetailsGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "adminEmails": obj.get("adminEmails"), + "name": obj.get("name"), + "numSites": obj.get("numSites"), + "status": obj.get("status"), + "type": obj.get("type") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_customers_id_matches_summary_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_customers_id_matches_summary_get_response.py new file mode 100644 index 00000000..fcab2b6b --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_customers_id_matches_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_extranet_service_customer_match_summary import ManaV2ExtranetServiceCustomerMatchSummary +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bCustomersIdMatchesSummaryGetResponse(BaseModel): + """ + V1ExtranetB2bCustomersIdMatchesSummaryGetResponse + """ # noqa: E501 + matches: Optional[List[ManaV2ExtranetServiceCustomerMatchSummary]] = None + __properties: ClassVar[List[str]] = ["matches"] + + 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 V1ExtranetB2bCustomersIdMatchesSummaryGetResponse 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 matches (list) + _items = [] + if self.matches: + for _item_matches in self.matches: + if _item_matches: + _items.append(_item_matches.to_dict()) + _dict['matches'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bCustomersIdMatchesSummaryGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "matches": [ManaV2ExtranetServiceCustomerMatchSummary.from_dict(_item) for _item in obj["matches"]] if obj.get("matches") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_customers_id_put_request.py b/graphiant_sdk/models/v1_extranet_b2b_customers_id_put_request.py new file mode 100644 index 00000000..022436a7 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_customers_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, Optional +from graphiant_sdk.models.mana_v2_extranet_service_customer_invite import ManaV2ExtranetServiceCustomerInvite +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bCustomersIdPutRequest(BaseModel): + """ + V1ExtranetB2bCustomersIdPutRequest + """ # noqa: E501 + invite: Optional[ManaV2ExtranetServiceCustomerInvite] = None + __properties: ClassVar[List[str]] = ["invite"] + + 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 V1ExtranetB2bCustomersIdPutRequest 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 invite + if self.invite: + _dict['invite'] = self.invite.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bCustomersIdPutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "invite": ManaV2ExtranetServiceCustomerInvite.from_dict(obj["invite"]) if obj.get("invite") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_customers_id_put_response.py b/graphiant_sdk/models/v1_extranet_b2b_customers_id_put_response.py new file mode 100644 index 00000000..6de363b4 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_customers_id_put_response.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, Optional +from graphiant_sdk.models.mana_v2_extranet_service_customer_invite import ManaV2ExtranetServiceCustomerInvite +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bCustomersIdPutResponse(BaseModel): + """ + V1ExtranetB2bCustomersIdPutResponse + """ # noqa: E501 + invite: Optional[ManaV2ExtranetServiceCustomerInvite] = None + __properties: ClassVar[List[str]] = ["invite"] + + 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 V1ExtranetB2bCustomersIdPutResponse 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 invite + if self.invite: + _dict['invite'] = self.invite.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bCustomersIdPutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "invite": ManaV2ExtranetServiceCustomerInvite.from_dict(obj["invite"]) if obj.get("invite") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_customers_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_customers_post_request.py new file mode 100644 index 00000000..400bdb23 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_customers_post_request.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, StrictStr +from typing import Any, ClassVar, Dict, List +from graphiant_sdk.models.mana_v2_extranet_service_customer_invite import ManaV2ExtranetServiceCustomerInvite +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bCustomersPostRequest(BaseModel): + """ + V1ExtranetB2bCustomersPostRequest + """ # noqa: E501 + invite: ManaV2ExtranetServiceCustomerInvite + name: StrictStr = Field(description="Partner display name (required)", json_schema_extra={"examples": ["example string"]}) + type: StrictStr = Field(description="Graphiant peer vs guest (non-Graphiant) partner (required)", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["invite", "name", "type"] + + 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 V1ExtranetB2bCustomersPostRequest 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 invite + if self.invite: + _dict['invite'] = self.invite.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bCustomersPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "invite": ManaV2ExtranetServiceCustomerInvite.from_dict(obj["invite"]) if obj.get("invite") is not None else None, + "name": obj.get("name"), + "type": obj.get("type") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_customers_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_customers_post_response.py new file mode 100644 index 00000000..10726262 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_customers_post_response.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, Optional +from graphiant_sdk.models.mana_v2_extranet_service_customer_invite import ManaV2ExtranetServiceCustomerInvite +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bCustomersPostResponse(BaseModel): + """ + V1ExtranetB2bCustomersPostResponse + """ # noqa: E501 + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + invite: Optional[ManaV2ExtranetServiceCustomerInvite] = None + __properties: ClassVar[List[str]] = ["id", "invite"] + + 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 V1ExtranetB2bCustomersPostResponse 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 invite + if self.invite: + _dict['invite'] = self.invite.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bCustomersPostResponse 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"), + "invite": ManaV2ExtranetServiceCustomerInvite.from_dict(obj["invite"]) if obj.get("invite") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_customers_summary_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_customers_summary_get_response.py new file mode 100644 index 00000000..df60e280 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_customers_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_extranet_service_customer_summary import ManaV2ExtranetServiceCustomerSummary +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bCustomersSummaryGetResponse(BaseModel): + """ + V1ExtranetB2bCustomersSummaryGetResponse + """ # noqa: E501 + customers: Optional[List[ManaV2ExtranetServiceCustomerSummary]] = None + __properties: ClassVar[List[str]] = ["customers"] + + 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 V1ExtranetB2bCustomersSummaryGetResponse 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 customers (list) + _items = [] + if self.customers: + for _item_customers in self.customers: + if _item_customers: + _items.append(_item_customers.to_dict()) + _dict['customers'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bCustomersSummaryGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customers": [ManaV2ExtranetServiceCustomerSummary.from_dict(_item) for _item in obj["customers"]] if obj.get("customers") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_customers_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_matches_customers_post_request.py new file mode 100644 index 00000000..a6c5dab3 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_customers_post_request.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.mana_v2_extranet_service_producer_customer import ManaV2ExtranetServiceProducerCustomer +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesCustomersPostRequest(BaseModel): + """ + V1ExtranetB2bMatchesCustomersPostRequest + """ # noqa: E501 + customers: Optional[List[ManaV2ExtranetServiceProducerCustomer]] = None + service_id: Optional[StrictInt] = Field(default=None, alias="serviceId", json_schema_extra={"examples": [1234567891011]}) + __properties: ClassVar[List[str]] = ["customers", "serviceId"] + + 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 V1ExtranetB2bMatchesCustomersPostRequest 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 customers (list) + _items = [] + if self.customers: + for _item_customers in self.customers: + if _item_customers: + _items.append(_item_customers.to_dict()) + _dict['customers'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesCustomersPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customers": [ManaV2ExtranetServiceProducerCustomer.from_dict(_item) for _item in obj["customers"]] if obj.get("customers") is not None else None, + "serviceId": obj.get("serviceId") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_customers_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_customers_post_response.py new file mode 100644 index 00000000..0eb06e01 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_customers_post_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_extranet_service_producer_customer import ManaV2ExtranetServiceProducerCustomer +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesCustomersPostResponse(BaseModel): + """ + V1ExtranetB2bMatchesCustomersPostResponse + """ # noqa: E501 + customers: Optional[List[ManaV2ExtranetServiceProducerCustomer]] = None + __properties: ClassVar[List[str]] = ["customers"] + + 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 V1ExtranetB2bMatchesCustomersPostResponse 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 customers (list) + _items = [] + if self.customers: + for _item_customers in self.customers: + if _item_customers: + _items.append(_item_customers.to_dict()) + _dict['customers'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesCustomersPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customers": [ManaV2ExtranetServiceProducerCustomer.from_dict(_item) for _item in obj["customers"]] if obj.get("customers") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_check_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_check_post_request.py new file mode 100644 index 00000000..fc9a6936 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_check_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, Optional +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest + """ # noqa: E501 + policy: Optional[ManaV2ExtranetServiceConsumerPolicy] = None + service_id: Optional[StrictInt] = Field(default=None, description="Producer service id being consumed", alias="serviceId", json_schema_extra={"examples": [1234567891011]}) + __properties: ClassVar[List[str]] = ["policy", "serviceId"] + + 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 V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "policy": ManaV2ExtranetServiceConsumerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None, + "serviceId": obj.get("serviceId") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_check_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_check_post_response.py new file mode 100644 index 00000000..e5683012 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_check_post_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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse + """ # noqa: E501 + consumer_activity_id: Optional[StrictStr] = Field(default=None, alias="consumerActivityId", json_schema_extra={"examples": ["example string"]}) + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + policy: Optional[ManaV2ExtranetServiceConsumerPolicy] = None + __properties: ClassVar[List[str]] = ["consumerActivityId", "id", "policy"] + + 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 V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "consumerActivityId": obj.get("consumerActivityId"), + "id": obj.get("id"), + "policy": ManaV2ExtranetServiceConsumerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_post_request.py new file mode 100644 index 00000000..84a7f255 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_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, Optional +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesMatchIdConsumerPostRequest(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdConsumerPostRequest + """ # noqa: E501 + policy: Optional[ManaV2ExtranetServiceConsumerPolicy] = None + service_id: Optional[StrictInt] = Field(default=None, description="Producer service id being consumed", alias="serviceId", json_schema_extra={"examples": [1234567891011]}) + __properties: ClassVar[List[str]] = ["policy", "serviceId"] + + 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 V1ExtranetB2bMatchesMatchIdConsumerPostRequest 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesMatchIdConsumerPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "policy": ManaV2ExtranetServiceConsumerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None, + "serviceId": obj.get("serviceId") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_post_response.py new file mode 100644 index 00000000..c014271d --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_consumer_post_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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesMatchIdConsumerPostResponse(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdConsumerPostResponse + """ # noqa: E501 + consumer_activity_id: Optional[StrictStr] = Field(default=None, alias="consumerActivityId", json_schema_extra={"examples": ["example string"]}) + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + policy: Optional[ManaV2ExtranetServiceConsumerPolicy] = None + __properties: ClassVar[List[str]] = ["consumerActivityId", "id", "policy"] + + 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 V1ExtranetB2bMatchesMatchIdConsumerPostResponse 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesMatchIdConsumerPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "consumerActivityId": obj.get("consumerActivityId"), + "id": obj.get("id"), + "policy": ManaV2ExtranetServiceConsumerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_delete_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_delete_response.py new file mode 100644 index 00000000..1749e3df --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_delete_response.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, 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 V1ExtranetB2bMatchesMatchIdDeleteResponse(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdDeleteResponse + """ # noqa: E501 + activity_id: Optional[StrictStr] = Field(default=None, alias="activityId", json_schema_extra={"examples": ["example string"]}) + consumer_activity_id: Optional[StrictStr] = Field(default=None, alias="consumerActivityId", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["activityId", "consumerActivityId"] + + 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 V1ExtranetB2bMatchesMatchIdDeleteResponse 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 V1ExtranetB2bMatchesMatchIdDeleteResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "activityId": obj.get("activityId"), + "consumerActivityId": obj.get("consumerActivityId") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_details_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_details_get_response.py new file mode 100644 index 00000000..6f8b48e8 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_details_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_b2b_extranet_match_consumer_details import ManaV2B2bExtranetMatchConsumerDetails +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesMatchIdDetailsGetResponse(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdDetailsGetResponse + """ # noqa: E501 + details: Optional[List[ManaV2B2bExtranetMatchConsumerDetails]] = None + __properties: ClassVar[List[str]] = ["details"] + + 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 V1ExtranetB2bMatchesMatchIdDetailsGetResponse 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 details (list) + _items = [] + if self.details: + for _item_details in self.details: + if _item_details: + _items.append(_item_details.to_dict()) + _dict['details'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesMatchIdDetailsGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "details": [ManaV2B2bExtranetMatchConsumerDetails.from_dict(_item) for _item in obj["details"]] if obj.get("details") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_get_response.py new file mode 100644 index 00000000..069de0b3 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_get_response.py @@ -0,0 +1,100 @@ +# 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_b2b_extranet_match import ManaV2B2bExtranetMatch +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesMatchIdGetResponse(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdGetResponse + """ # noqa: E501 + customer_name: Optional[StrictStr] = Field(default=None, alias="customerName", json_schema_extra={"examples": ["example string"]}) + match: Optional[ManaV2B2bExtranetMatch] = None + match_id: Optional[StrictInt] = Field(default=None, alias="matchId", json_schema_extra={"examples": [1234567891011]}) + service_name: Optional[StrictStr] = Field(default=None, alias="serviceName", json_schema_extra={"examples": ["example string"]}) + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["customerName", "match", "matchId", "serviceName", "status"] + + 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 V1ExtranetB2bMatchesMatchIdGetResponse 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 match + if self.match: + _dict['match'] = self.match.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesMatchIdGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerName": obj.get("customerName"), + "match": ManaV2B2bExtranetMatch.from_dict(obj["match"]) if obj.get("match") is not None else None, + "matchId": obj.get("matchId"), + "serviceName": obj.get("serviceName"), + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_put_request.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_put_request.py new file mode 100644 index 00000000..c1f8b84e --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_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, Optional +from graphiant_sdk.models.mana_v2_b2b_extranet_match import ManaV2B2bExtranetMatch +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesMatchIdPutRequest(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdPutRequest + """ # noqa: E501 + match: Optional[ManaV2B2bExtranetMatch] = None + __properties: ClassVar[List[str]] = ["match"] + + 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 V1ExtranetB2bMatchesMatchIdPutRequest 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 match + if self.match: + _dict['match'] = self.match.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesMatchIdPutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "match": ManaV2B2bExtranetMatch.from_dict(obj["match"]) if obj.get("match") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_put_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_put_response.py new file mode 100644 index 00000000..d3224611 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_put_response.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 graphiant_sdk.models.mana_v2_b2b_extranet_match import ManaV2B2bExtranetMatch +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesMatchIdPutResponse(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdPutResponse + """ # noqa: E501 + activity_id: Optional[StrictStr] = Field(default=None, alias="activityId", json_schema_extra={"examples": ["example string"]}) + match: Optional[ManaV2B2bExtranetMatch] = None + __properties: ClassVar[List[str]] = ["activityId", "match"] + + 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 V1ExtranetB2bMatchesMatchIdPutResponse 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 match + if self.match: + _dict['match'] = self.match.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesMatchIdPutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "activityId": obj.get("activityId"), + "match": ManaV2B2bExtranetMatch.from_dict(obj["match"]) if obj.get("match") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_status_put_request.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_status_put_request.py new file mode 100644 index 00000000..1fee79e0 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_status_put_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, 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 V1ExtranetB2bMatchesMatchIdStatusPutRequest(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdStatusPutRequest + """ # noqa: E501 + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["status"] + + 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 V1ExtranetB2bMatchesMatchIdStatusPutRequest 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 V1ExtranetB2bMatchesMatchIdStatusPutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_status_put_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_status_put_response.py new file mode 100644 index 00000000..15dc1f54 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_match_id_status_put_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 V1ExtranetB2bMatchesMatchIdStatusPutResponse(BaseModel): + """ + V1ExtranetB2bMatchesMatchIdStatusPutResponse + """ # noqa: E501 + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["status"] + + 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 V1ExtranetB2bMatchesMatchIdStatusPutResponse 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 V1ExtranetB2bMatchesMatchIdStatusPutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_pause_put_request.py b/graphiant_sdk/models/v1_extranet_b2b_matches_pause_put_request.py new file mode 100644 index 00000000..6bbf33a9 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_pause_put_request.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 V1ExtranetB2bMatchesPausePutRequest(BaseModel): + """ + V1ExtranetB2bMatchesPausePutRequest + """ # noqa: E501 + customer_id: Optional[StrictInt] = Field(default=None, alias="customerId", json_schema_extra={"examples": [1234567891011]}) + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["customerId", "status"] + + 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 V1ExtranetB2bMatchesPausePutRequest 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 V1ExtranetB2bMatchesPausePutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerId": obj.get("customerId"), + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_pause_put_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_pause_put_response.py new file mode 100644 index 00000000..6a237463 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_pause_put_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 V1ExtranetB2bMatchesPausePutResponse(BaseModel): + """ + V1ExtranetB2bMatchesPausePutResponse + """ # noqa: E501 + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["status"] + + 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 V1ExtranetB2bMatchesPausePutResponse 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 V1ExtranetB2bMatchesPausePutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_matches_post_request.py new file mode 100644 index 00000000..6e9788dc --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_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, Optional +from graphiant_sdk.models.mana_v2_b2b_extranet_match import ManaV2B2bExtranetMatch +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesPostRequest(BaseModel): + """ + V1ExtranetB2bMatchesPostRequest + """ # noqa: E501 + customer_id: Optional[StrictInt] = Field(default=None, alias="customerId", json_schema_extra={"examples": [1234567891011]}) + match: Optional[ManaV2B2bExtranetMatch] = None + __properties: ClassVar[List[str]] = ["customerId", "match"] + + 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 V1ExtranetB2bMatchesPostRequest 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 match + if self.match: + _dict['match'] = self.match.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerId": obj.get("customerId"), + "match": ManaV2B2bExtranetMatch.from_dict(obj["match"]) if obj.get("match") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_post_response.py new file mode 100644 index 00000000..7ae03e07 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_post_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.mana_v2_b2b_extranet_match import ManaV2B2bExtranetMatch +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesPostResponse(BaseModel): + """ + V1ExtranetB2bMatchesPostResponse + """ # noqa: E501 + match_id: Optional[StrictInt] = Field(default=None, alias="matchId", json_schema_extra={"examples": [1234567891011]}) + matches: Optional[List[ManaV2B2bExtranetMatch]] = None + __properties: ClassVar[List[str]] = ["matchId", "matches"] + + 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 V1ExtranetB2bMatchesPostResponse 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 matches (list) + _items = [] + if self.matches: + for _item_matches in self.matches: + if _item_matches: + _items.append(_item_matches.to_dict()) + _dict['matches'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "matchId": obj.get("matchId"), + "matches": [ManaV2B2bExtranetMatch.from_dict(_item) for _item in obj["matches"]] if obj.get("matches") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_review_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_matches_review_post_request.py new file mode 100644 index 00000000..c7f9b3cb --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_review_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, Optional +from graphiant_sdk.models.mana_v2_b2b_extranet_match import ManaV2B2bExtranetMatch +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesReviewPostRequest(BaseModel): + """ + V1ExtranetB2bMatchesReviewPostRequest + """ # noqa: E501 + customer_id: Optional[StrictInt] = Field(default=None, alias="customerId", json_schema_extra={"examples": [1234567891011]}) + match: Optional[ManaV2B2bExtranetMatch] = None + __properties: ClassVar[List[str]] = ["customerId", "match"] + + 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 V1ExtranetB2bMatchesReviewPostRequest 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 match + if self.match: + _dict['match'] = self.match.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesReviewPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerId": obj.get("customerId"), + "match": ManaV2B2bExtranetMatch.from_dict(obj["match"]) if obj.get("match") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_matches_review_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_matches_review_post_response.py new file mode 100644 index 00000000..0c525ec8 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_matches_review_post_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.mana_v2_b2b_extranet_match import ManaV2B2bExtranetMatch +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bMatchesReviewPostResponse(BaseModel): + """ + V1ExtranetB2bMatchesReviewPostResponse + """ # noqa: E501 + match_id: Optional[StrictInt] = Field(default=None, alias="matchId", json_schema_extra={"examples": [1234567891011]}) + matches: Optional[List[ManaV2B2bExtranetMatch]] = None + __properties: ClassVar[List[str]] = ["matchId", "matches"] + + 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 V1ExtranetB2bMatchesReviewPostResponse 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 matches (list) + _items = [] + if self.matches: + for _item_matches in self.matches: + if _item_matches: + _items.append(_item_matches.to_dict()) + _dict['matches'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bMatchesReviewPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "matchId": obj.get("matchId"), + "matches": [ManaV2B2bExtranetMatch.from_dict(_item) for _item in obj["matches"]] if obj.get("matches") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_id_customers_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_producer_id_customers_get_response.py new file mode 100644 index 00000000..701af047 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_id_customers_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_extranet_service_producer_customer import ManaV2ExtranetServiceProducerCustomer +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bProducerIdCustomersGetResponse(BaseModel): + """ + V1ExtranetB2bProducerIdCustomersGetResponse + """ # noqa: E501 + customers: Optional[List[ManaV2ExtranetServiceProducerCustomer]] = None + __properties: ClassVar[List[str]] = ["customers"] + + 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 V1ExtranetB2bProducerIdCustomersGetResponse 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 customers (list) + _items = [] + if self.customers: + for _item_customers in self.customers: + if _item_customers: + _items.append(_item_customers.to_dict()) + _dict['customers'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bProducerIdCustomersGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customers": [ManaV2ExtranetServiceProducerCustomer.from_dict(_item) for _item in obj["customers"]] if obj.get("customers") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_id_device_status_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_producer_id_device_status_get_response.py new file mode 100644 index 00000000..b2083f2b --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_id_device_status_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_b2b_extranet_status_summary import ManaV2B2bExtranetStatusSummary +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bProducerIdDeviceStatusGetResponse(BaseModel): + """ + V1ExtranetB2bProducerIdDeviceStatusGetResponse + """ # noqa: E501 + summary: Optional[List[ManaV2B2bExtranetStatusSummary]] = 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 V1ExtranetB2bProducerIdDeviceStatusGetResponse 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 V1ExtranetB2bProducerIdDeviceStatusGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "summary": [ManaV2B2bExtranetStatusSummary.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_extranet_b2b_producer_id_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_producer_id_get_response.py new file mode 100644 index 00000000..a8365af2 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_id_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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_service_policy_response import ManaV2ExtranetServicePolicyResponse +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bProducerIdGetResponse(BaseModel): + """ + V1ExtranetB2bProducerIdGetResponse + """ # noqa: E501 + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + policy: Optional[ManaV2ExtranetServicePolicyResponse] = None + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["id", "policy", "status"] + + 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 V1ExtranetB2bProducerIdGetResponse 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bProducerIdGetResponse 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"), + "policy": ManaV2ExtranetServicePolicyResponse.from_dict(obj["policy"]) if obj.get("policy") is not None else None, + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_id_put_request.py b/graphiant_sdk/models/v1_extranet_b2b_producer_id_put_request.py new file mode 100644 index 00000000..4fdb6677 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_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, Optional +from graphiant_sdk.models.mana_v2_extranet_service_producer_policy import ManaV2ExtranetServiceProducerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bProducerIdPutRequest(BaseModel): + """ + V1ExtranetB2bProducerIdPutRequest + """ # noqa: E501 + policy: Optional[ManaV2ExtranetServiceProducerPolicy] = None + __properties: ClassVar[List[str]] = ["policy"] + + 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 V1ExtranetB2bProducerIdPutRequest 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bProducerIdPutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "policy": ManaV2ExtranetServiceProducerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_id_put_response.py b/graphiant_sdk/models/v1_extranet_b2b_producer_id_put_response.py new file mode 100644 index 00000000..76d8d355 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_id_put_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, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_service_policy_response import ManaV2ExtranetServicePolicyResponse +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bProducerIdPutResponse(BaseModel): + """ + V1ExtranetB2bProducerIdPutResponse + """ # noqa: E501 + activity_id: Optional[StrictStr] = Field(default=None, alias="activityId", json_schema_extra={"examples": ["example string"]}) + consumer_activity_id: Optional[StrictStr] = Field(default=None, alias="consumerActivityId", json_schema_extra={"examples": ["example string"]}) + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + policy: Optional[ManaV2ExtranetServicePolicyResponse] = None + __properties: ClassVar[List[str]] = ["activityId", "consumerActivityId", "id", "policy"] + + 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 V1ExtranetB2bProducerIdPutResponse 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bProducerIdPutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "activityId": obj.get("activityId"), + "consumerActivityId": obj.get("consumerActivityId"), + "id": obj.get("id"), + "policy": ManaV2ExtranetServicePolicyResponse.from_dict(obj["policy"]) if obj.get("policy") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_id_status_put_request.py b/graphiant_sdk/models/v1_extranet_b2b_producer_id_status_put_request.py new file mode 100644 index 00000000..a254b275 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_id_status_put_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, 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 V1ExtranetB2bProducerIdStatusPutRequest(BaseModel): + """ + V1ExtranetB2bProducerIdStatusPutRequest + """ # noqa: E501 + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["status"] + + 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 V1ExtranetB2bProducerIdStatusPutRequest 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 V1ExtranetB2bProducerIdStatusPutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_id_status_put_response.py b/graphiant_sdk/models/v1_extranet_b2b_producer_id_status_put_response.py new file mode 100644 index 00000000..f6419896 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_id_status_put_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 V1ExtranetB2bProducerIdStatusPutResponse(BaseModel): + """ + V1ExtranetB2bProducerIdStatusPutResponse + """ # noqa: E501 + status: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["status"] + + 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 V1ExtranetB2bProducerIdStatusPutResponse 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 V1ExtranetB2bProducerIdStatusPutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_producer_post_request.py new file mode 100644 index 00000000..489499cf --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_post_request.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, StrictStr +from typing import Any, ClassVar, Dict, List +from graphiant_sdk.models.mana_v2_extranet_service_producer_policy import ManaV2ExtranetServiceProducerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bProducerPostRequest(BaseModel): + """ + V1ExtranetB2bProducerPostRequest + """ # noqa: E501 + policy: ManaV2ExtranetServiceProducerPolicy + service_name: StrictStr = Field(description=" (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + service_type: StrictStr = Field(description="Branded extranet service type (peering_service, client_to_server, …) (required)", alias="serviceType", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["policy", "serviceName", "serviceType"] + + 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 V1ExtranetB2bProducerPostRequest 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bProducerPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "policy": ManaV2ExtranetServiceProducerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None, + "serviceName": obj.get("serviceName"), + "serviceType": obj.get("serviceType") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_producer_post_response.py new file mode 100644 index 00000000..7f14a3c7 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_post_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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_service_policy_response import ManaV2ExtranetServicePolicyResponse +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bProducerPostResponse(BaseModel): + """ + V1ExtranetB2bProducerPostResponse + """ # noqa: E501 + activity_id: Optional[StrictStr] = Field(default=None, alias="activityId", json_schema_extra={"examples": ["example string"]}) + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + policy: Optional[ManaV2ExtranetServicePolicyResponse] = None + __properties: ClassVar[List[str]] = ["activityId", "id", "policy"] + + 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 V1ExtranetB2bProducerPostResponse 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bProducerPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "activityId": obj.get("activityId"), + "id": obj.get("id"), + "policy": ManaV2ExtranetServicePolicyResponse.from_dict(obj["policy"]) if obj.get("policy") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_request.py new file mode 100644 index 00000000..9b126a2f --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_request.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, StrictStr +from typing import Any, ClassVar, Dict, List +from graphiant_sdk.models.mana_v2_extranet_service_producer_policy import ManaV2ExtranetServiceProducerPolicy +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bProducerReviewPostRequest(BaseModel): + """ + V1ExtranetB2bProducerReviewPostRequest + """ # noqa: E501 + policy: ManaV2ExtranetServiceProducerPolicy + service_name: StrictStr = Field(description=" (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + service_type: StrictStr = Field(description="Branded extranet service type (peering_service, client_to_server, …) (required)", alias="serviceType", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["policy", "serviceName", "serviceType"] + + 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 V1ExtranetB2bProducerReviewPostRequest 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bProducerReviewPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "policy": ManaV2ExtranetServiceProducerPolicy.from_dict(obj["policy"]) if obj.get("policy") is not None else None, + "serviceName": obj.get("serviceName"), + "serviceType": obj.get("serviceType") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_response.py new file mode 100644 index 00000000..db2c1218 --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_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, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_extranet_service_policy_response import ManaV2ExtranetServicePolicyResponse +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bProducerReviewPostResponse(BaseModel): + """ + V1ExtranetB2bProducerReviewPostResponse + """ # noqa: E501 + activity_id: Optional[StrictStr] = Field(default=None, alias="activityId", json_schema_extra={"examples": ["example string"]}) + id: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) + policy: Optional[ManaV2ExtranetServicePolicyResponse] = None + __properties: ClassVar[List[str]] = ["activityId", "id", "policy"] + + 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 V1ExtranetB2bProducerReviewPostResponse 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 policy + if self.policy: + _dict['policy'] = self.policy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bProducerReviewPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "activityId": obj.get("activityId"), + "id": obj.get("id"), + "policy": ManaV2ExtranetServicePolicyResponse.from_dict(obj["policy"]) if obj.get("policy") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranet_b2b_services_summary_get_response.py b/graphiant_sdk/models/v1_extranet_b2b_services_summary_get_response.py new file mode 100644 index 00000000..e011416b --- /dev/null +++ b/graphiant_sdk/models/v1_extranet_b2b_services_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_extranet_service_summary import ManaV2ExtranetServiceSummary +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ExtranetB2bServicesSummaryGetResponse(BaseModel): + """ + V1ExtranetB2bServicesSummaryGetResponse + """ # noqa: E501 + services: Optional[List[ManaV2ExtranetServiceSummary]] = None + __properties: ClassVar[List[str]] = ["services"] + + 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 V1ExtranetB2bServicesSummaryGetResponse 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 services (list) + _items = [] + if self.services: + for _item_services in self.services: + if _item_services: + _items.append(_item_services.to_dict()) + _dict['services'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetB2bServicesSummaryGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "services": [ManaV2ExtranetServiceSummary.from_dict(_item) for _item in obj["services"]] if obj.get("services") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_invitation_email_post_request.py b/graphiant_sdk/models/v1_invitation_email_post_request.py index 5b113e76..62648ec2 100644 --- a/graphiant_sdk/models/v1_invitation_email_post_request.py +++ b/graphiant_sdk/models/v1_invitation_email_post_request.py @@ -34,7 +34,8 @@ class V1InvitationEmailPostRequest(BaseModel): match_id: StrictInt = Field(description=" (required)", alias="matchId", json_schema_extra={"examples": [1234567891011]}) service_id: StrictInt = Field(description=" (required)", alias="serviceId", json_schema_extra={"examples": [1234567891011]}) service_name: StrictStr = Field(description=" (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) - __properties: ClassVar[List[str]] = ["adminEmail", "customerId", "customerName", "isGraphiant", "matchId", "serviceId", "serviceName"] + service_type: Optional[StrictStr] = Field(default=None, description="Extranet service type URL segment (e.g. peering_service, client_to_server)", alias="serviceType", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["adminEmail", "customerId", "customerName", "isGraphiant", "matchId", "serviceId", "serviceName", "serviceType"] model_config = ConfigDict( validate_by_name=True, @@ -93,7 +94,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "isGraphiant": obj.get("isGraphiant"), "matchId": obj.get("matchId"), "serviceId": obj.get("serviceId"), - "serviceName": obj.get("serviceName") + "serviceName": obj.get("serviceName"), + "serviceType": obj.get("serviceType") }) return _obj diff --git a/pyproject.toml b/pyproject.toml index d3541558..487da27d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphiant_sdk" -version = "26.6.0" +version = "26.7.0" description = "Graphiant APIs" authors = [ {name = "OpenAPI Generator Community",email = "team@openapitools.org"}, diff --git a/setup.cfg b/setup.cfg index dcfd9725..11433ee8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [flake8] -max-line-length=127 +max-line-length=99 diff --git a/setup.py b/setup.py index 60f80010..dd4ee424 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "graphiant_sdk" -VERSION = "26.6.0" +VERSION = "26.7.0" PYTHON_REQUIRES = ">= 3.10" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/test/test_mana_v2_b2_b_extranet_match_consumer_details_customer.py b/test/test_mana_v2_b2_b_extranet_match_consumer_details_customer.py new file mode 100644 index 00000000..6d540183 --- /dev/null +++ b/test/test_mana_v2_b2_b_extranet_match_consumer_details_customer.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_b2_b_extranet_match_consumer_details_customer import ManaV2B2BExtranetMatchConsumerDetailsCustomer + +class TestManaV2B2BExtranetMatchConsumerDetailsCustomer(unittest.TestCase): + """ManaV2B2BExtranetMatchConsumerDetailsCustomer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2B2BExtranetMatchConsumerDetailsCustomer: + """Test ManaV2B2BExtranetMatchConsumerDetailsCustomer + 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 `ManaV2B2BExtranetMatchConsumerDetailsCustomer` + """ + model = ManaV2B2BExtranetMatchConsumerDetailsCustomer() + if include_optional: + return ManaV2B2BExtranetMatchConsumerDetailsCustomer( + admin_emails = [ + 'example string' + ], + company_name = 'example string', + id = 1234567891011, + num_sites = 123 + ) + else: + return ManaV2B2BExtranetMatchConsumerDetailsCustomer( + ) + """ + + def testManaV2B2BExtranetMatchConsumerDetailsCustomer(self): + """Test ManaV2B2BExtranetMatchConsumerDetailsCustomer""" + # 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_b2_b_extranet_match_consumer_details_producer_prefix.py b/test/test_mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.py new file mode 100644 index 00000000..da813242 --- /dev/null +++ b/test/test_mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.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_b2_b_extranet_match_consumer_details_producer_prefix import ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix + +class TestManaV2B2BExtranetMatchConsumerDetailsProducerPrefix(unittest.TestCase): + """ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix: + """Test ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix + 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 `ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix` + """ + model = ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix() + if include_optional: + return ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix( + customer_translated_prefix = 'example string', + prefix = 'example string', + tag = 'example string' + ) + else: + return ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix( + ) + """ + + def testManaV2B2BExtranetMatchConsumerDetailsProducerPrefix(self): + """Test ManaV2B2BExtranetMatchConsumerDetailsProducerPrefix""" + # 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_b2_b_extranet_match_consumer_details_service.py b/test/test_mana_v2_b2_b_extranet_match_consumer_details_service.py new file mode 100644 index 00000000..0fb1c2e9 --- /dev/null +++ b/test/test_mana_v2_b2_b_extranet_match_consumer_details_service.py @@ -0,0 +1,57 @@ +# 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_b2_b_extranet_match_consumer_details_service import ManaV2B2BExtranetMatchConsumerDetailsService + +class TestManaV2B2BExtranetMatchConsumerDetailsService(unittest.TestCase): + """ManaV2B2BExtranetMatchConsumerDetailsService unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2B2BExtranetMatchConsumerDetailsService: + """Test ManaV2B2BExtranetMatchConsumerDetailsService + 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 `ManaV2B2BExtranetMatchConsumerDetailsService` + """ + model = ManaV2B2BExtranetMatchConsumerDetailsService() + if include_optional: + return ManaV2B2BExtranetMatchConsumerDetailsService( + company_name = 'example string', + contact_email = [ + 'example string' + ], + description = 'example string', + id = 1234567891011, + service_name = 'example string' + ) + else: + return ManaV2B2BExtranetMatchConsumerDetailsService( + ) + """ + + def testManaV2B2BExtranetMatchConsumerDetailsService(self): + """Test ManaV2B2BExtranetMatchConsumerDetailsService""" + # 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_b2b_extranet_match.py b/test/test_mana_v2_b2b_extranet_match.py new file mode 100644 index 00000000..b1191866 --- /dev/null +++ b/test/test_mana_v2_b2b_extranet_match.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_b2b_extranet_match import ManaV2B2bExtranetMatch + +class TestManaV2B2bExtranetMatch(unittest.TestCase): + """ManaV2B2bExtranetMatch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2B2bExtranetMatch: + """Test ManaV2B2bExtranetMatch + 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 `ManaV2B2bExtranetMatch` + """ + model = ManaV2B2bExtranetMatch() + if include_optional: + return ManaV2B2bExtranetMatch( + consumer_prefixes = [ + 'example string' + ], + lan_segment = 1234567891011, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + num_customers = 123, + service_id = 1234567891011, + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ] + ) + else: + return ManaV2B2bExtranetMatch( + ) + """ + + def testManaV2B2bExtranetMatch(self): + """Test ManaV2B2bExtranetMatch""" + # 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_b2b_extranet_match_consumer_details.py b/test/test_mana_v2_b2b_extranet_match_consumer_details.py new file mode 100644 index 00000000..d998e09c --- /dev/null +++ b/test/test_mana_v2_b2b_extranet_match_consumer_details.py @@ -0,0 +1,84 @@ +# 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_b2b_extranet_match_consumer_details import ManaV2B2bExtranetMatchConsumerDetails + +class TestManaV2B2bExtranetMatchConsumerDetails(unittest.TestCase): + """ManaV2B2bExtranetMatchConsumerDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2B2bExtranetMatchConsumerDetails: + """Test ManaV2B2bExtranetMatchConsumerDetails + 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 `ManaV2B2bExtranetMatchConsumerDetails` + """ + model = ManaV2B2bExtranetMatchConsumerDetails() + if include_optional: + return ManaV2B2bExtranetMatchConsumerDetails( + consumer_id = 1234567891011, + consumer_prefixes = [ + 'example string' + ], + customer = graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_customer.manaV2B2BExtranetMatchConsumerDetailsCustomer( + admin_emails = [ + 'example string' + ], + company_name = 'example string', + id = 1234567891011, + num_sites = 123, ), + old_consumer_prefixes = [ + 'example string' + ], + old_service_prefixes = [ + graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.manaV2B2BExtranetMatchConsumerDetailsProducerPrefix( + customer_translated_prefix = 'example string', + prefix = 'example string', + tag = 'example string', ) + ], + service = graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_service.manaV2B2BExtranetMatchConsumerDetailsService( + company_name = 'example string', + contact_email = [ + 'example string' + ], + description = 'example string', + id = 1234567891011, + service_name = 'example string', ), + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.manaV2B2BExtranetMatchConsumerDetailsProducerPrefix( + customer_translated_prefix = 'example string', + prefix = 'example string', + tag = 'example string', ) + ] + ) + else: + return ManaV2B2bExtranetMatchConsumerDetails( + ) + """ + + def testManaV2B2bExtranetMatchConsumerDetails(self): + """Test ManaV2B2bExtranetMatchConsumerDetails""" + # 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_extranet_consumer_lan_prefixes.py b/test/test_mana_v2_extranet_consumer_lan_prefixes.py new file mode 100644 index 00000000..6b424cb4 --- /dev/null +++ b/test/test_mana_v2_extranet_consumer_lan_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_extranet_consumer_lan_prefixes import ManaV2ExtranetConsumerLanPrefixes + +class TestManaV2ExtranetConsumerLanPrefixes(unittest.TestCase): + """ManaV2ExtranetConsumerLanPrefixes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetConsumerLanPrefixes: + """Test ManaV2ExtranetConsumerLanPrefixes + 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 `ManaV2ExtranetConsumerLanPrefixes` + """ + model = ManaV2ExtranetConsumerLanPrefixes() + if include_optional: + return ManaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + } + ) + else: + return ManaV2ExtranetConsumerLanPrefixes( + ) + """ + + def testManaV2ExtranetConsumerLanPrefixes(self): + """Test ManaV2ExtranetConsumerLanPrefixes""" + # 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_extranet_nat_translation_centralized.py b/test/test_mana_v2_extranet_nat_translation_centralized.py new file mode 100644 index 00000000..dbb978de --- /dev/null +++ b/test/test_mana_v2_extranet_nat_translation_centralized.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_extranet_nat_translation_centralized import ManaV2ExtranetNatTranslationCentralized + +class TestManaV2ExtranetNatTranslationCentralized(unittest.TestCase): + """ManaV2ExtranetNatTranslationCentralized unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetNatTranslationCentralized: + """Test ManaV2ExtranetNatTranslationCentralized + 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 `ManaV2ExtranetNatTranslationCentralized` + """ + model = ManaV2ExtranetNatTranslationCentralized() + if include_optional: + return ManaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + } + ) + else: + return ManaV2ExtranetNatTranslationCentralized( + ) + """ + + def testManaV2ExtranetNatTranslationCentralized(self): + """Test ManaV2ExtranetNatTranslationCentralized""" + # 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_extranet_nat_translation_decentralized.py b/test/test_mana_v2_extranet_nat_translation_decentralized.py new file mode 100644 index 00000000..1b1ca930 --- /dev/null +++ b/test/test_mana_v2_extranet_nat_translation_decentralized.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_extranet_nat_translation_decentralized import ManaV2ExtranetNatTranslationDecentralized + +class TestManaV2ExtranetNatTranslationDecentralized(unittest.TestCase): + """ManaV2ExtranetNatTranslationDecentralized unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetNatTranslationDecentralized: + """Test ManaV2ExtranetNatTranslationDecentralized + 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 `ManaV2ExtranetNatTranslationDecentralized` + """ + model = ManaV2ExtranetNatTranslationDecentralized() + if include_optional: + return ManaV2ExtranetNatTranslationDecentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + } + ) + else: + return ManaV2ExtranetNatTranslationDecentralized( + ) + """ + + def testManaV2ExtranetNatTranslationDecentralized(self): + """Test ManaV2ExtranetNatTranslationDecentralized""" + # 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_extranet_nat_translation_device_prefixes.py b/test/test_mana_v2_extranet_nat_translation_device_prefixes.py new file mode 100644 index 00000000..0fbab4e5 --- /dev/null +++ b/test/test_mana_v2_extranet_nat_translation_device_prefixes.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_extranet_nat_translation_device_prefixes import ManaV2ExtranetNatTranslationDevicePrefixes + +class TestManaV2ExtranetNatTranslationDevicePrefixes(unittest.TestCase): + """ManaV2ExtranetNatTranslationDevicePrefixes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetNatTranslationDevicePrefixes: + """Test ManaV2ExtranetNatTranslationDevicePrefixes + 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 `ManaV2ExtranetNatTranslationDevicePrefixes` + """ + model = ManaV2ExtranetNatTranslationDevicePrefixes() + if include_optional: + return ManaV2ExtranetNatTranslationDevicePrefixes( + prefixes = [ + 'example string' + ] + ) + else: + return ManaV2ExtranetNatTranslationDevicePrefixes( + ) + """ + + def testManaV2ExtranetNatTranslationDevicePrefixes(self): + """Test ManaV2ExtranetNatTranslationDevicePrefixes""" + # 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_extranet_nat_translation_mode.py b/test/test_mana_v2_extranet_nat_translation_mode.py new file mode 100644 index 00000000..efc724e9 --- /dev/null +++ b/test/test_mana_v2_extranet_nat_translation_mode.py @@ -0,0 +1,64 @@ +# 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_extranet_nat_translation_mode import ManaV2ExtranetNatTranslationMode + +class TestManaV2ExtranetNatTranslationMode(unittest.TestCase): + """ManaV2ExtranetNatTranslationMode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetNatTranslationMode: + """Test ManaV2ExtranetNatTranslationMode + 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 `ManaV2ExtranetNatTranslationMode` + """ + model = ManaV2ExtranetNatTranslationMode() + if include_optional: + return ManaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer( + prefixes = [ + graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer_prefix.manaV2ExtranetNatTranslationPeerToPeerPrefix( + outside_nat_prefix = '100.1.2.0/24', + prefix = '10.1.2.0/24', ) + ], ) + ) + else: + return ManaV2ExtranetNatTranslationMode( + ) + """ + + def testManaV2ExtranetNatTranslationMode(self): + """Test ManaV2ExtranetNatTranslationMode""" + # 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_extranet_nat_translation_peer_to_peer.py b/test/test_mana_v2_extranet_nat_translation_peer_to_peer.py new file mode 100644 index 00000000..a2405552 --- /dev/null +++ b/test/test_mana_v2_extranet_nat_translation_peer_to_peer.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.mana_v2_extranet_nat_translation_peer_to_peer import ManaV2ExtranetNatTranslationPeerToPeer + +class TestManaV2ExtranetNatTranslationPeerToPeer(unittest.TestCase): + """ManaV2ExtranetNatTranslationPeerToPeer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetNatTranslationPeerToPeer: + """Test ManaV2ExtranetNatTranslationPeerToPeer + 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 `ManaV2ExtranetNatTranslationPeerToPeer` + """ + model = ManaV2ExtranetNatTranslationPeerToPeer() + if include_optional: + return ManaV2ExtranetNatTranslationPeerToPeer( + prefixes = [ + graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer_prefix.manaV2ExtranetNatTranslationPeerToPeerPrefix( + outside_nat_prefix = '100.1.2.0/24', + prefix = '10.1.2.0/24', ) + ] + ) + else: + return ManaV2ExtranetNatTranslationPeerToPeer( + ) + """ + + def testManaV2ExtranetNatTranslationPeerToPeer(self): + """Test ManaV2ExtranetNatTranslationPeerToPeer""" + # 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_extranet_nat_translation_peer_to_peer_prefix.py b/test/test_mana_v2_extranet_nat_translation_peer_to_peer_prefix.py new file mode 100644 index 00000000..545d7980 --- /dev/null +++ b/test/test_mana_v2_extranet_nat_translation_peer_to_peer_prefix.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.mana_v2_extranet_nat_translation_peer_to_peer_prefix import ManaV2ExtranetNatTranslationPeerToPeerPrefix + +class TestManaV2ExtranetNatTranslationPeerToPeerPrefix(unittest.TestCase): + """ManaV2ExtranetNatTranslationPeerToPeerPrefix unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetNatTranslationPeerToPeerPrefix: + """Test ManaV2ExtranetNatTranslationPeerToPeerPrefix + 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 `ManaV2ExtranetNatTranslationPeerToPeerPrefix` + """ + model = ManaV2ExtranetNatTranslationPeerToPeerPrefix() + if include_optional: + return ManaV2ExtranetNatTranslationPeerToPeerPrefix( + outside_nat_prefix = '100.1.2.0/24', + prefix = '10.1.2.0/24' + ) + else: + return ManaV2ExtranetNatTranslationPeerToPeerPrefix( + ) + """ + + def testManaV2ExtranetNatTranslationPeerToPeerPrefix(self): + """Test ManaV2ExtranetNatTranslationPeerToPeerPrefix""" + # 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_extranet_service_consumer_policy.py b/test/test_mana_v2_extranet_service_consumer_policy.py new file mode 100644 index 00000000..a856df62 --- /dev/null +++ b/test/test_mana_v2_extranet_service_consumer_policy.py @@ -0,0 +1,150 @@ +# 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_extranet_service_consumer_policy import ManaV2ExtranetServiceConsumerPolicy + +class TestManaV2ExtranetServiceConsumerPolicy(unittest.TestCase): + """ManaV2ExtranetServiceConsumerPolicy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetServiceConsumerPolicy: + """Test ManaV2ExtranetServiceConsumerPolicy + 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 `ManaV2ExtranetServiceConsumerPolicy` + """ + model = ManaV2ExtranetServiceConsumerPolicy() + if include_optional: + return ManaV2ExtranetServiceConsumerPolicy( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes.manaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + }, ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + site_to_site_vpn = graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config.manaV2GuestConsumerSiteToSiteVpnConfig( + emails = [ + 'example string' + ], + ipsec_gateway_details = graphiant_sdk.models.mana_v2_i_psec_gateway_details.manaV2IPsecGatewayDetails( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = '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' + ], ), ), + 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', ), + ipsec_gateway_peers = graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config.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, + vpn_profile = 'example string', ) + ], ), + region_id = 123, ), + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ] + ) + else: + return ManaV2ExtranetServiceConsumerPolicy( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes.manaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + }, ) + }, + ) + """ + + def testManaV2ExtranetServiceConsumerPolicy(self): + """Test ManaV2ExtranetServiceConsumerPolicy""" + # 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_extranet_service_customer_invite.py b/test/test_mana_v2_extranet_service_customer_invite.py new file mode 100644 index 00000000..e535b409 --- /dev/null +++ b/test/test_mana_v2_extranet_service_customer_invite.py @@ -0,0 +1,54 @@ +# 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_extranet_service_customer_invite import ManaV2ExtranetServiceCustomerInvite + +class TestManaV2ExtranetServiceCustomerInvite(unittest.TestCase): + """ManaV2ExtranetServiceCustomerInvite unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetServiceCustomerInvite: + """Test ManaV2ExtranetServiceCustomerInvite + 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 `ManaV2ExtranetServiceCustomerInvite` + """ + model = ManaV2ExtranetServiceCustomerInvite() + if include_optional: + return ManaV2ExtranetServiceCustomerInvite( + admin_emails = [ + 'example string' + ], + maximum_number_of_sites = 123 + ) + else: + return ManaV2ExtranetServiceCustomerInvite( + ) + """ + + def testManaV2ExtranetServiceCustomerInvite(self): + """Test ManaV2ExtranetServiceCustomerInvite""" + # 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_extranet_service_customer_match_summary.py b/test/test_mana_v2_extranet_service_customer_match_summary.py new file mode 100644 index 00000000..077b3940 --- /dev/null +++ b/test/test_mana_v2_extranet_service_customer_match_summary.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.mana_v2_extranet_service_customer_match_summary import ManaV2ExtranetServiceCustomerMatchSummary + +class TestManaV2ExtranetServiceCustomerMatchSummary(unittest.TestCase): + """ManaV2ExtranetServiceCustomerMatchSummary unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetServiceCustomerMatchSummary: + """Test ManaV2ExtranetServiceCustomerMatchSummary + 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 `ManaV2ExtranetServiceCustomerMatchSummary` + """ + model = ManaV2ExtranetServiceCustomerMatchSummary() + if include_optional: + return ManaV2ExtranetServiceCustomerMatchSummary( + id = 1234567891011, + lan_segment = 1234567891011, + matched_customers = 123, + name = 'example string', + service_type = 'ENUM_VALUE', + status = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ) + ) + else: + return ManaV2ExtranetServiceCustomerMatchSummary( + ) + """ + + def testManaV2ExtranetServiceCustomerMatchSummary(self): + """Test ManaV2ExtranetServiceCustomerMatchSummary""" + # 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_extranet_service_customer_summary.py b/test/test_mana_v2_extranet_service_customer_summary.py new file mode 100644 index 00000000..32e93774 --- /dev/null +++ b/test/test_mana_v2_extranet_service_customer_summary.py @@ -0,0 +1,61 @@ +# 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_extranet_service_customer_summary import ManaV2ExtranetServiceCustomerSummary + +class TestManaV2ExtranetServiceCustomerSummary(unittest.TestCase): + """ManaV2ExtranetServiceCustomerSummary unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetServiceCustomerSummary: + """Test ManaV2ExtranetServiceCustomerSummary + 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 `ManaV2ExtranetServiceCustomerSummary` + """ + model = ManaV2ExtranetServiceCustomerSummary() + if include_optional: + return ManaV2ExtranetServiceCustomerSummary( + admin_emails = [ + 'example string' + ], + id = 1234567891011, + matched_services = 123, + name = 'example string', + status = 'ENUM_VALUE', + type = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ) + ) + else: + return ManaV2ExtranetServiceCustomerSummary( + ) + """ + + def testManaV2ExtranetServiceCustomerSummary(self): + """Test ManaV2ExtranetServiceCustomerSummary""" + # 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_extranet_service_policy_response.py b/test/test_mana_v2_extranet_service_policy_response.py new file mode 100644 index 00000000..9cdc80d6 --- /dev/null +++ b/test/test_mana_v2_extranet_service_policy_response.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 + + +import unittest + +from graphiant_sdk.models.mana_v2_extranet_service_policy_response import ManaV2ExtranetServicePolicyResponse + +class TestManaV2ExtranetServicePolicyResponse(unittest.TestCase): + """ManaV2ExtranetServicePolicyResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetServicePolicyResponse: + """Test ManaV2ExtranetServicePolicyResponse + 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 `ManaV2ExtranetServicePolicyResponse` + """ + model = ManaV2ExtranetServicePolicyResponse() + if include_optional: + return ManaV2ExtranetServicePolicyResponse( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_name = 'example string', + service_type = 'ENUM_VALUE' + ) + else: + return ManaV2ExtranetServicePolicyResponse( + ) + """ + + def testManaV2ExtranetServicePolicyResponse(self): + """Test ManaV2ExtranetServicePolicyResponse""" + # 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_extranet_service_producer_customer.py b/test/test_mana_v2_extranet_service_producer_customer.py new file mode 100644 index 00000000..398b216f --- /dev/null +++ b/test/test_mana_v2_extranet_service_producer_customer.py @@ -0,0 +1,62 @@ +# 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_extranet_service_producer_customer import ManaV2ExtranetServiceProducerCustomer + +class TestManaV2ExtranetServiceProducerCustomer(unittest.TestCase): + """ManaV2ExtranetServiceProducerCustomer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetServiceProducerCustomer: + """Test ManaV2ExtranetServiceProducerCustomer + 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 `ManaV2ExtranetServiceProducerCustomer` + """ + model = ManaV2ExtranetServiceProducerCustomer() + if include_optional: + return ManaV2ExtranetServiceProducerCustomer( + admin_emails = [ + 'example string' + ], + customer_id = 'example string', + match_id = 1234567891011, + matched_services = 123, + name = 'example string', + status = 'ENUM_VALUE', + type = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ) + ) + else: + return ManaV2ExtranetServiceProducerCustomer( + ) + """ + + def testManaV2ExtranetServiceProducerCustomer(self): + """Test ManaV2ExtranetServiceProducerCustomer""" + # 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_extranet_service_producer_policy.py b/test/test_mana_v2_extranet_service_producer_policy.py new file mode 100644 index 00000000..2c0ffc60 --- /dev/null +++ b/test/test_mana_v2_extranet_service_producer_policy.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 + + +import unittest + +from graphiant_sdk.models.mana_v2_extranet_service_producer_policy import ManaV2ExtranetServiceProducerPolicy + +class TestManaV2ExtranetServiceProducerPolicy(unittest.TestCase): + """ManaV2ExtranetServiceProducerPolicy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetServiceProducerPolicy: + """Test ManaV2ExtranetServiceProducerPolicy + 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 `ManaV2ExtranetServiceProducerPolicy` + """ + model = ManaV2ExtranetServiceProducerPolicy() + if include_optional: + return ManaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ] + ) + else: + return ManaV2ExtranetServiceProducerPolicy( + ) + """ + + def testManaV2ExtranetServiceProducerPolicy(self): + """Test ManaV2ExtranetServiceProducerPolicy""" + # 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_extranet_service_summary.py b/test/test_mana_v2_extranet_service_summary.py new file mode 100644 index 00000000..708fad81 --- /dev/null +++ b/test/test_mana_v2_extranet_service_summary.py @@ -0,0 +1,69 @@ +# 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_extranet_service_summary import ManaV2ExtranetServiceSummary + +class TestManaV2ExtranetServiceSummary(unittest.TestCase): + """ManaV2ExtranetServiceSummary unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ExtranetServiceSummary: + """Test ManaV2ExtranetServiceSummary + 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 `ManaV2ExtranetServiceSummary` + """ + model = ManaV2ExtranetServiceSummary() + if include_optional: + return ManaV2ExtranetServiceSummary( + created_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + id = 1234567891011, + is_publisher = True, + lan_segment = 1234567891011, + last_updated = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + server_prefixes = [ + 'example string' + ], + service_name = 'example string', + service_type = 'ENUM_VALUE', + sites = [ + 1234567891011 + ], + status = 'ENUM_VALUE', + total_customers = 123 + ) + else: + return ManaV2ExtranetServiceSummary( + ) + """ + + def testManaV2ExtranetServiceSummary(self): + """Test ManaV2ExtranetServiceSummary""" + # 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_nullable_ospf_authentication_config.py b/test/test_mana_v2_nullable_ospf_authentication_config.py new file mode 100644 index 00000000..ab4ac5ad --- /dev/null +++ b/test/test_mana_v2_nullable_ospf_authentication_config.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_nullable_ospf_authentication_config import ManaV2NullableOspfAuthenticationConfig + +class TestManaV2NullableOspfAuthenticationConfig(unittest.TestCase): + """ManaV2NullableOspfAuthenticationConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2NullableOspfAuthenticationConfig: + """Test ManaV2NullableOspfAuthenticationConfig + 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 `ManaV2NullableOspfAuthenticationConfig` + """ + model = ManaV2NullableOspfAuthenticationConfig() + if include_optional: + return ManaV2NullableOspfAuthenticationConfig( + authentication = None + ) + else: + return ManaV2NullableOspfAuthenticationConfig( + ) + """ + + def testManaV2NullableOspfAuthenticationConfig(self): + """Test ManaV2NullableOspfAuthenticationConfig""" + # 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_ospf_authentication.py b/test/test_mana_v2_ospf_authentication.py new file mode 100644 index 00000000..61b225d5 --- /dev/null +++ b/test/test_mana_v2_ospf_authentication.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.mana_v2_ospf_authentication import ManaV2OspfAuthentication + +class TestManaV2OspfAuthentication(unittest.TestCase): + """ManaV2OspfAuthentication unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2OspfAuthentication: + """Test ManaV2OspfAuthentication + 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 `ManaV2OspfAuthentication` + """ + model = ManaV2OspfAuthentication() + if include_optional: + return ManaV2OspfAuthentication( + key = 'example string', + key_id = 123 + ) + else: + return ManaV2OspfAuthentication( + ) + """ + + def testManaV2OspfAuthentication(self): + """Test ManaV2OspfAuthentication""" + # 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_extranet_b2b_consumers_customer_id_get_response.py b/test/test_v1_extranet_b2b_consumers_customer_id_get_response.py new file mode 100644 index 00000000..6d6e05a9 --- /dev/null +++ b/test/test_v1_extranet_b2b_consumers_customer_id_get_response.py @@ -0,0 +1,291 @@ +# 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_extranet_b2b_consumers_customer_id_get_response import V1ExtranetB2bConsumersCustomerIdGetResponse + +class TestV1ExtranetB2bConsumersCustomerIdGetResponse(unittest.TestCase): + """V1ExtranetB2bConsumersCustomerIdGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bConsumersCustomerIdGetResponse: + """Test V1ExtranetB2bConsumersCustomerIdGetResponse + 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 `V1ExtranetB2bConsumersCustomerIdGetResponse` + """ + model = V1ExtranetB2bConsumersCustomerIdGetResponse() + if include_optional: + return V1ExtranetB2bConsumersCustomerIdGetResponse( + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + id = 1234567891011, + ipsec_tunnel_config = [ + graphiant_sdk.models.v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config.v1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig( + bgp_graphiant_asn = 123, + bgp_local_asn = 123, + bgp_neighbor_hold_time = 123, + bgp_neighbor_ipv4 = 'example string', + bgp_neighbor_ipv6 = 'example string', + dpd_interval = 123, + dpd_retries = 123, + graphiant_destination_ip = 'example string', + graphiant_ike_id = 'example string', + graphiant_outer_tunnel_ip = 'example string', + graphiant_tunnel_ip = 'example string', + graphiant_tunnel_ipv6 = 'example string', + ike_authentication_algorithm = 'example string', + ike_authentication_method = 'example string', + ike_dh_algorithm = 'example string', + ike_encryption_algorithm = 'example string', + ike_lifetime = 'example string', + ike_preshared_key = 'example string', + ike_version = 123, + ipsec_authentication_algorithm = 'example string', + ipsec_encryption_algorithm = 'example string', + ipsec_extended_sequence_number = True, + ipsec_lifetime = 'example string', + ipsec_mode = 'example string', + ipsec_pfs_algorithm = 'example string', + ipsec_protocol = 'example string', + local_ike_id = 'example string', + local_outer_tunnel_ip = 'example string', + local_tunnel_ip = 'example string', + local_tunnel_ipv6 = 'example string', + tcp_mss = 123, + tunnel_mtu = 123, ) + ], + match_details = graphiant_sdk.models.mana_v2_b2b_extranet_match_consumer_details.manaV2B2bExtranetMatchConsumerDetails( + consumer_id = 1234567891011, + consumer_prefixes = [ + 'example string' + ], + customer = graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_customer.manaV2B2BExtranetMatchConsumerDetailsCustomer( + admin_emails = [ + 'example string' + ], + company_name = 'example string', + id = 1234567891011, + num_sites = 123, ), + old_consumer_prefixes = [ + 'example string' + ], + old_service_prefixes = [ + graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.manaV2B2BExtranetMatchConsumerDetailsProducerPrefix( + customer_translated_prefix = 'example string', + prefix = 'example string', + tag = 'example string', ) + ], + service = graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_service.manaV2B2BExtranetMatchConsumerDetailsService( + company_name = 'example string', + contact_email = [ + 'example string' + ], + description = 'example string', + id = 1234567891011, + service_name = 'example string', ), + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.manaV2B2BExtranetMatchConsumerDetailsProducerPrefix( + customer_translated_prefix = 'example string', + prefix = 'example string', + tag = 'example string', ) + ], ), + match_id = 1234567891011, + peer_type = 'ENUM_VALUE', + policy = graphiant_sdk.models.mana_v2_extranet_service_consumer_policy.manaV2ExtranetServiceConsumerPolicy( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes.manaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + }, ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + site_to_site_vpn = graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config.manaV2GuestConsumerSiteToSiteVpnConfig( + emails = [ + 'example string' + ], + ipsec_gateway_details = graphiant_sdk.models.mana_v2_i_psec_gateway_details.manaV2IPsecGatewayDetails( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = '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' + ], ), ), + 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', ), + ipsec_gateway_peers = graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config.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, + vpn_profile = 'example string', ) + ], ), + region_id = 123, ), + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + site_to_site_vpn = graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config.manaV2GuestConsumerSiteToSiteVpnConfig( + emails = [ + 'example string' + ], + ipsec_gateway_details = graphiant_sdk.models.mana_v2_i_psec_gateway_details.manaV2IPsecGatewayDetails( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = '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' + ], ), ), + 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', ), + ipsec_gateway_peers = graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config.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, + vpn_profile = 'example string', ) + ], ), + region_id = 123, ), + status = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bConsumersCustomerIdGetResponse( + ) + """ + + def testV1ExtranetB2bConsumersCustomerIdGetResponse(self): + """Test V1ExtranetB2bConsumersCustomerIdGetResponse""" + # 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_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config.py b/test/test_v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config.py new file mode 100644 index 00000000..484a4cc2 --- /dev/null +++ b/test/test_v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config.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.v1_extranet_b2b_consumers_customer_id_get_response_ipsec_vpn_tunnel_config import V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig + +class TestV1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig(unittest.TestCase): + """V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig: + """Test V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig + 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 `V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig` + """ + model = V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig() + if include_optional: + return V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig( + bgp_graphiant_asn = 123, + bgp_local_asn = 123, + bgp_neighbor_hold_time = 123, + bgp_neighbor_ipv4 = 'example string', + bgp_neighbor_ipv6 = 'example string', + dpd_interval = 123, + dpd_retries = 123, + graphiant_destination_ip = 'example string', + graphiant_ike_id = 'example string', + graphiant_outer_tunnel_ip = 'example string', + graphiant_tunnel_ip = 'example string', + graphiant_tunnel_ipv6 = 'example string', + ike_authentication_algorithm = 'example string', + ike_authentication_method = 'example string', + ike_dh_algorithm = 'example string', + ike_encryption_algorithm = 'example string', + ike_lifetime = 'example string', + ike_preshared_key = 'example string', + ike_version = 123, + ipsec_authentication_algorithm = 'example string', + ipsec_encryption_algorithm = 'example string', + ipsec_extended_sequence_number = True, + ipsec_lifetime = 'example string', + ipsec_mode = 'example string', + ipsec_pfs_algorithm = 'example string', + ipsec_protocol = 'example string', + local_ike_id = 'example string', + local_outer_tunnel_ip = 'example string', + local_tunnel_ip = 'example string', + local_tunnel_ipv6 = 'example string', + tcp_mss = 123, + tunnel_mtu = 123 + ) + else: + return V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig( + ) + """ + + def testV1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig(self): + """Test V1ExtranetB2bConsumersCustomerIdGetResponseIpsecVpnTunnelConfig""" + # 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_extranet_b2b_consumers_id_device_status_get_response.py b/test/test_v1_extranet_b2b_consumers_id_device_status_get_response.py new file mode 100644 index 00000000..93af6d69 --- /dev/null +++ b/test/test_v1_extranet_b2b_consumers_id_device_status_get_response.py @@ -0,0 +1,61 @@ +# 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_extranet_b2b_consumers_id_device_status_get_response import V1ExtranetB2bConsumersIdDeviceStatusGetResponse + +class TestV1ExtranetB2bConsumersIdDeviceStatusGetResponse(unittest.TestCase): + """V1ExtranetB2bConsumersIdDeviceStatusGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bConsumersIdDeviceStatusGetResponse: + """Test V1ExtranetB2bConsumersIdDeviceStatusGetResponse + 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 `V1ExtranetB2bConsumersIdDeviceStatusGetResponse` + """ + model = V1ExtranetB2bConsumersIdDeviceStatusGetResponse() + if include_optional: + return V1ExtranetB2bConsumersIdDeviceStatusGetResponse( + service_status = 'ENUM_VALUE', + summary = [ + graphiant_sdk.models.mana_v2_b2b_extranet_status_summary.manaV2B2bExtranetStatusSummary( + created_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + device_id = 1234567891011, + device_status = 'ENUM_VALUE', + location = 1234567891011, + status = 'ENUM_VALUE', ) + ] + ) + else: + return V1ExtranetB2bConsumersIdDeviceStatusGetResponse( + ) + """ + + def testV1ExtranetB2bConsumersIdDeviceStatusGetResponse(self): + """Test V1ExtranetB2bConsumersIdDeviceStatusGetResponse""" + # 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_extranet_b2b_consumers_id_prefixes_put_request.py b/test/test_v1_extranet_b2b_consumers_id_prefixes_put_request.py new file mode 100644 index 00000000..74296bf5 --- /dev/null +++ b/test/test_v1_extranet_b2b_consumers_id_prefixes_put_request.py @@ -0,0 +1,57 @@ +# 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_extranet_b2b_consumers_id_prefixes_put_request import V1ExtranetB2bConsumersIdPrefixesPutRequest + +class TestV1ExtranetB2bConsumersIdPrefixesPutRequest(unittest.TestCase): + """V1ExtranetB2bConsumersIdPrefixesPutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bConsumersIdPrefixesPutRequest: + """Test V1ExtranetB2bConsumersIdPrefixesPutRequest + 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 `V1ExtranetB2bConsumersIdPrefixesPutRequest` + """ + model = V1ExtranetB2bConsumersIdPrefixesPutRequest() + if include_optional: + return V1ExtranetB2bConsumersIdPrefixesPutRequest( + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ) + ) + else: + return V1ExtranetB2bConsumersIdPrefixesPutRequest( + ) + """ + + def testV1ExtranetB2bConsumersIdPrefixesPutRequest(self): + """Test V1ExtranetB2bConsumersIdPrefixesPutRequest""" + # 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_extranet_b2b_consumers_id_prefixes_put_response.py b/test/test_v1_extranet_b2b_consumers_id_prefixes_put_response.py new file mode 100644 index 00000000..27b91d65 --- /dev/null +++ b/test/test_v1_extranet_b2b_consumers_id_prefixes_put_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.v1_extranet_b2b_consumers_id_prefixes_put_response import V1ExtranetB2bConsumersIdPrefixesPutResponse + +class TestV1ExtranetB2bConsumersIdPrefixesPutResponse(unittest.TestCase): + """V1ExtranetB2bConsumersIdPrefixesPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bConsumersIdPrefixesPutResponse: + """Test V1ExtranetB2bConsumersIdPrefixesPutResponse + 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 `V1ExtranetB2bConsumersIdPrefixesPutResponse` + """ + model = V1ExtranetB2bConsumersIdPrefixesPutResponse() + if include_optional: + return V1ExtranetB2bConsumersIdPrefixesPutResponse( + consumer_activity_id = 'example string' + ) + else: + return V1ExtranetB2bConsumersIdPrefixesPutResponse( + ) + """ + + def testV1ExtranetB2bConsumersIdPrefixesPutResponse(self): + """Test V1ExtranetB2bConsumersIdPrefixesPutResponse""" + # 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_extranet_b2b_consumers_id_put_request.py b/test/test_v1_extranet_b2b_consumers_id_put_request.py new file mode 100644 index 00000000..0d364ed0 --- /dev/null +++ b/test/test_v1_extranet_b2b_consumers_id_put_request.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 + + +import unittest + +from graphiant_sdk.models.v1_extranet_b2b_consumers_id_put_request import V1ExtranetB2bConsumersIdPutRequest + +class TestV1ExtranetB2bConsumersIdPutRequest(unittest.TestCase): + """V1ExtranetB2bConsumersIdPutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bConsumersIdPutRequest: + """Test V1ExtranetB2bConsumersIdPutRequest + 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 `V1ExtranetB2bConsumersIdPutRequest` + """ + model = V1ExtranetB2bConsumersIdPutRequest() + if include_optional: + return V1ExtranetB2bConsumersIdPutRequest( + policy = graphiant_sdk.models.mana_v2_extranet_service_consumer_policy.manaV2ExtranetServiceConsumerPolicy( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes.manaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + }, ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + site_to_site_vpn = graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config.manaV2GuestConsumerSiteToSiteVpnConfig( + emails = [ + 'example string' + ], + ipsec_gateway_details = graphiant_sdk.models.mana_v2_i_psec_gateway_details.manaV2IPsecGatewayDetails( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = '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' + ], ), ), + 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', ), + ipsec_gateway_peers = graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config.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, + vpn_profile = 'example string', ) + ], ), + region_id = 123, ), + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ) + ) + else: + return V1ExtranetB2bConsumersIdPutRequest( + ) + """ + + def testV1ExtranetB2bConsumersIdPutRequest(self): + """Test V1ExtranetB2bConsumersIdPutRequest""" + # 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_extranet_b2b_consumers_id_put_response.py b/test/test_v1_extranet_b2b_consumers_id_put_response.py new file mode 100644 index 00000000..5f417fc4 --- /dev/null +++ b/test/test_v1_extranet_b2b_consumers_id_put_response.py @@ -0,0 +1,143 @@ +# 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_extranet_b2b_consumers_id_put_response import V1ExtranetB2bConsumersIdPutResponse + +class TestV1ExtranetB2bConsumersIdPutResponse(unittest.TestCase): + """V1ExtranetB2bConsumersIdPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bConsumersIdPutResponse: + """Test V1ExtranetB2bConsumersIdPutResponse + 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 `V1ExtranetB2bConsumersIdPutResponse` + """ + model = V1ExtranetB2bConsumersIdPutResponse() + if include_optional: + return V1ExtranetB2bConsumersIdPutResponse( + id = 1234567891011, + policy = graphiant_sdk.models.mana_v2_extranet_service_consumer_policy.manaV2ExtranetServiceConsumerPolicy( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes.manaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + }, ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + site_to_site_vpn = graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config.manaV2GuestConsumerSiteToSiteVpnConfig( + emails = [ + 'example string' + ], + ipsec_gateway_details = graphiant_sdk.models.mana_v2_i_psec_gateway_details.manaV2IPsecGatewayDetails( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = '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' + ], ), ), + 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', ), + ipsec_gateway_peers = graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config.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, + vpn_profile = 'example string', ) + ], ), + region_id = 123, ), + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ) + ) + else: + return V1ExtranetB2bConsumersIdPutResponse( + ) + """ + + def testV1ExtranetB2bConsumersIdPutResponse(self): + """Test V1ExtranetB2bConsumersIdPutResponse""" + # 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_extranet_b2b_customers_id_delete_response.py b/test/test_v1_extranet_b2b_customers_id_delete_response.py new file mode 100644 index 00000000..28d98b00 --- /dev/null +++ b/test/test_v1_extranet_b2b_customers_id_delete_response.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_extranet_b2b_customers_id_delete_response import V1ExtranetB2bCustomersIdDeleteResponse + +class TestV1ExtranetB2bCustomersIdDeleteResponse(unittest.TestCase): + """V1ExtranetB2bCustomersIdDeleteResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bCustomersIdDeleteResponse: + """Test V1ExtranetB2bCustomersIdDeleteResponse + 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 `V1ExtranetB2bCustomersIdDeleteResponse` + """ + model = V1ExtranetB2bCustomersIdDeleteResponse() + if include_optional: + return V1ExtranetB2bCustomersIdDeleteResponse( + activity_id = 'example string', + consumer_activity_id = 'example string' + ) + else: + return V1ExtranetB2bCustomersIdDeleteResponse( + ) + """ + + def testV1ExtranetB2bCustomersIdDeleteResponse(self): + """Test V1ExtranetB2bCustomersIdDeleteResponse""" + # 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_extranet_b2b_customers_id_details_get_response.py b/test/test_v1_extranet_b2b_customers_id_details_get_response.py new file mode 100644 index 00000000..8cd9679c --- /dev/null +++ b/test/test_v1_extranet_b2b_customers_id_details_get_response.py @@ -0,0 +1,57 @@ +# 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_extranet_b2b_customers_id_details_get_response import V1ExtranetB2bCustomersIdDetailsGetResponse + +class TestV1ExtranetB2bCustomersIdDetailsGetResponse(unittest.TestCase): + """V1ExtranetB2bCustomersIdDetailsGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bCustomersIdDetailsGetResponse: + """Test V1ExtranetB2bCustomersIdDetailsGetResponse + 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 `V1ExtranetB2bCustomersIdDetailsGetResponse` + """ + model = V1ExtranetB2bCustomersIdDetailsGetResponse() + if include_optional: + return V1ExtranetB2bCustomersIdDetailsGetResponse( + admin_emails = [ + 'example string' + ], + name = 'example string', + num_sites = 123, + status = 'ENUM_VALUE', + type = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bCustomersIdDetailsGetResponse( + ) + """ + + def testV1ExtranetB2bCustomersIdDetailsGetResponse(self): + """Test V1ExtranetB2bCustomersIdDetailsGetResponse""" + # 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_extranet_b2b_customers_id_matches_summary_get_response.py b/test/test_v1_extranet_b2b_customers_id_matches_summary_get_response.py new file mode 100644 index 00000000..dd2271eb --- /dev/null +++ b/test/test_v1_extranet_b2b_customers_id_matches_summary_get_response.py @@ -0,0 +1,62 @@ +# 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_extranet_b2b_customers_id_matches_summary_get_response import V1ExtranetB2bCustomersIdMatchesSummaryGetResponse + +class TestV1ExtranetB2bCustomersIdMatchesSummaryGetResponse(unittest.TestCase): + """V1ExtranetB2bCustomersIdMatchesSummaryGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bCustomersIdMatchesSummaryGetResponse: + """Test V1ExtranetB2bCustomersIdMatchesSummaryGetResponse + 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 `V1ExtranetB2bCustomersIdMatchesSummaryGetResponse` + """ + model = V1ExtranetB2bCustomersIdMatchesSummaryGetResponse() + if include_optional: + return V1ExtranetB2bCustomersIdMatchesSummaryGetResponse( + matches = [ + graphiant_sdk.models.mana_v2_extranet_service_customer_match_summary.manaV2ExtranetServiceCustomerMatchSummary( + id = 1234567891011, + lan_segment = 1234567891011, + matched_customers = 123, + name = 'example string', + service_type = 'ENUM_VALUE', + status = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), ) + ] + ) + else: + return V1ExtranetB2bCustomersIdMatchesSummaryGetResponse( + ) + """ + + def testV1ExtranetB2bCustomersIdMatchesSummaryGetResponse(self): + """Test V1ExtranetB2bCustomersIdMatchesSummaryGetResponse""" + # 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_extranet_b2b_customers_id_put_request.py b/test/test_v1_extranet_b2b_customers_id_put_request.py new file mode 100644 index 00000000..b6ee2d58 --- /dev/null +++ b/test/test_v1_extranet_b2b_customers_id_put_request.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_extranet_b2b_customers_id_put_request import V1ExtranetB2bCustomersIdPutRequest + +class TestV1ExtranetB2bCustomersIdPutRequest(unittest.TestCase): + """V1ExtranetB2bCustomersIdPutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bCustomersIdPutRequest: + """Test V1ExtranetB2bCustomersIdPutRequest + 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 `V1ExtranetB2bCustomersIdPutRequest` + """ + model = V1ExtranetB2bCustomersIdPutRequest() + if include_optional: + return V1ExtranetB2bCustomersIdPutRequest( + invite = graphiant_sdk.models.mana_v2_extranet_service_customer_invite.manaV2ExtranetServiceCustomerInvite( + admin_emails = [ + 'example string' + ], + maximum_number_of_sites = 123, ) + ) + else: + return V1ExtranetB2bCustomersIdPutRequest( + ) + """ + + def testV1ExtranetB2bCustomersIdPutRequest(self): + """Test V1ExtranetB2bCustomersIdPutRequest""" + # 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_extranet_b2b_customers_id_put_response.py b/test/test_v1_extranet_b2b_customers_id_put_response.py new file mode 100644 index 00000000..ef015558 --- /dev/null +++ b/test/test_v1_extranet_b2b_customers_id_put_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_extranet_b2b_customers_id_put_response import V1ExtranetB2bCustomersIdPutResponse + +class TestV1ExtranetB2bCustomersIdPutResponse(unittest.TestCase): + """V1ExtranetB2bCustomersIdPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bCustomersIdPutResponse: + """Test V1ExtranetB2bCustomersIdPutResponse + 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 `V1ExtranetB2bCustomersIdPutResponse` + """ + model = V1ExtranetB2bCustomersIdPutResponse() + if include_optional: + return V1ExtranetB2bCustomersIdPutResponse( + invite = graphiant_sdk.models.mana_v2_extranet_service_customer_invite.manaV2ExtranetServiceCustomerInvite( + admin_emails = [ + 'example string' + ], + maximum_number_of_sites = 123, ) + ) + else: + return V1ExtranetB2bCustomersIdPutResponse( + ) + """ + + def testV1ExtranetB2bCustomersIdPutResponse(self): + """Test V1ExtranetB2bCustomersIdPutResponse""" + # 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_extranet_b2b_customers_post_request.py b/test/test_v1_extranet_b2b_customers_post_request.py new file mode 100644 index 00000000..9353df49 --- /dev/null +++ b/test/test_v1_extranet_b2b_customers_post_request.py @@ -0,0 +1,64 @@ +# 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_extranet_b2b_customers_post_request import V1ExtranetB2bCustomersPostRequest + +class TestV1ExtranetB2bCustomersPostRequest(unittest.TestCase): + """V1ExtranetB2bCustomersPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bCustomersPostRequest: + """Test V1ExtranetB2bCustomersPostRequest + 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 `V1ExtranetB2bCustomersPostRequest` + """ + model = V1ExtranetB2bCustomersPostRequest() + if include_optional: + return V1ExtranetB2bCustomersPostRequest( + invite = graphiant_sdk.models.mana_v2_extranet_service_customer_invite.manaV2ExtranetServiceCustomerInvite( + admin_emails = [ + 'example string' + ], + maximum_number_of_sites = 123, ), + name = 'example string', + type = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bCustomersPostRequest( + invite = graphiant_sdk.models.mana_v2_extranet_service_customer_invite.manaV2ExtranetServiceCustomerInvite( + admin_emails = [ + 'example string' + ], + maximum_number_of_sites = 123, ), + name = 'example string', + type = 'ENUM_VALUE', + ) + """ + + def testV1ExtranetB2bCustomersPostRequest(self): + """Test V1ExtranetB2bCustomersPostRequest""" + # 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_extranet_b2b_customers_post_response.py b/test/test_v1_extranet_b2b_customers_post_response.py new file mode 100644 index 00000000..0f69f174 --- /dev/null +++ b/test/test_v1_extranet_b2b_customers_post_response.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.v1_extranet_b2b_customers_post_response import V1ExtranetB2bCustomersPostResponse + +class TestV1ExtranetB2bCustomersPostResponse(unittest.TestCase): + """V1ExtranetB2bCustomersPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bCustomersPostResponse: + """Test V1ExtranetB2bCustomersPostResponse + 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 `V1ExtranetB2bCustomersPostResponse` + """ + model = V1ExtranetB2bCustomersPostResponse() + if include_optional: + return V1ExtranetB2bCustomersPostResponse( + id = 1234567891011, + invite = graphiant_sdk.models.mana_v2_extranet_service_customer_invite.manaV2ExtranetServiceCustomerInvite( + admin_emails = [ + 'example string' + ], + maximum_number_of_sites = 123, ) + ) + else: + return V1ExtranetB2bCustomersPostResponse( + ) + """ + + def testV1ExtranetB2bCustomersPostResponse(self): + """Test V1ExtranetB2bCustomersPostResponse""" + # 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_extranet_b2b_customers_summary_get_response.py b/test/test_v1_extranet_b2b_customers_summary_get_response.py new file mode 100644 index 00000000..61d7bc1f --- /dev/null +++ b/test/test_v1_extranet_b2b_customers_summary_get_response.py @@ -0,0 +1,64 @@ +# 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_extranet_b2b_customers_summary_get_response import V1ExtranetB2bCustomersSummaryGetResponse + +class TestV1ExtranetB2bCustomersSummaryGetResponse(unittest.TestCase): + """V1ExtranetB2bCustomersSummaryGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bCustomersSummaryGetResponse: + """Test V1ExtranetB2bCustomersSummaryGetResponse + 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 `V1ExtranetB2bCustomersSummaryGetResponse` + """ + model = V1ExtranetB2bCustomersSummaryGetResponse() + if include_optional: + return V1ExtranetB2bCustomersSummaryGetResponse( + customers = [ + graphiant_sdk.models.mana_v2_extranet_service_customer_summary.manaV2ExtranetServiceCustomerSummary( + admin_emails = [ + 'example string' + ], + id = 1234567891011, + matched_services = 123, + name = 'example string', + status = 'ENUM_VALUE', + type = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), ) + ] + ) + else: + return V1ExtranetB2bCustomersSummaryGetResponse( + ) + """ + + def testV1ExtranetB2bCustomersSummaryGetResponse(self): + """Test V1ExtranetB2bCustomersSummaryGetResponse""" + # 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_extranet_b2b_matches_customers_post_request.py b/test/test_v1_extranet_b2b_matches_customers_post_request.py new file mode 100644 index 00000000..4b612f0b --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_customers_post_request.py @@ -0,0 +1,66 @@ +# 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_extranet_b2b_matches_customers_post_request import V1ExtranetB2bMatchesCustomersPostRequest + +class TestV1ExtranetB2bMatchesCustomersPostRequest(unittest.TestCase): + """V1ExtranetB2bMatchesCustomersPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesCustomersPostRequest: + """Test V1ExtranetB2bMatchesCustomersPostRequest + 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 `V1ExtranetB2bMatchesCustomersPostRequest` + """ + model = V1ExtranetB2bMatchesCustomersPostRequest() + if include_optional: + return V1ExtranetB2bMatchesCustomersPostRequest( + customers = [ + graphiant_sdk.models.mana_v2_extranet_service_producer_customer.manaV2ExtranetServiceProducerCustomer( + admin_emails = [ + 'example string' + ], + customer_id = 'example string', + match_id = 1234567891011, + matched_services = 123, + name = 'example string', + status = 'ENUM_VALUE', + type = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), ) + ], + service_id = 1234567891011 + ) + else: + return V1ExtranetB2bMatchesCustomersPostRequest( + ) + """ + + def testV1ExtranetB2bMatchesCustomersPostRequest(self): + """Test V1ExtranetB2bMatchesCustomersPostRequest""" + # 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_extranet_b2b_matches_customers_post_response.py b/test/test_v1_extranet_b2b_matches_customers_post_response.py new file mode 100644 index 00000000..3a35b5f9 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_customers_post_response.py @@ -0,0 +1,65 @@ +# 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_extranet_b2b_matches_customers_post_response import V1ExtranetB2bMatchesCustomersPostResponse + +class TestV1ExtranetB2bMatchesCustomersPostResponse(unittest.TestCase): + """V1ExtranetB2bMatchesCustomersPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesCustomersPostResponse: + """Test V1ExtranetB2bMatchesCustomersPostResponse + 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 `V1ExtranetB2bMatchesCustomersPostResponse` + """ + model = V1ExtranetB2bMatchesCustomersPostResponse() + if include_optional: + return V1ExtranetB2bMatchesCustomersPostResponse( + customers = [ + graphiant_sdk.models.mana_v2_extranet_service_producer_customer.manaV2ExtranetServiceProducerCustomer( + admin_emails = [ + 'example string' + ], + customer_id = 'example string', + match_id = 1234567891011, + matched_services = 123, + name = 'example string', + status = 'ENUM_VALUE', + type = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), ) + ] + ) + else: + return V1ExtranetB2bMatchesCustomersPostResponse( + ) + """ + + def testV1ExtranetB2bMatchesCustomersPostResponse(self): + """Test V1ExtranetB2bMatchesCustomersPostResponse""" + # 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_extranet_b2b_matches_match_id_consumer_check_post_request.py b/test/test_v1_extranet_b2b_matches_match_id_consumer_check_post_request.py new file mode 100644 index 00000000..251dfc56 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_consumer_check_post_request.py @@ -0,0 +1,143 @@ +# 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_extranet_b2b_matches_match_id_consumer_check_post_request import V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest + +class TestV1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest: + """Test V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest + 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 `V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest` + """ + model = V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest() + if include_optional: + return V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest( + policy = graphiant_sdk.models.mana_v2_extranet_service_consumer_policy.manaV2ExtranetServiceConsumerPolicy( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes.manaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + }, ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + site_to_site_vpn = graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config.manaV2GuestConsumerSiteToSiteVpnConfig( + emails = [ + 'example string' + ], + ipsec_gateway_details = graphiant_sdk.models.mana_v2_i_psec_gateway_details.manaV2IPsecGatewayDetails( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = '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' + ], ), ), + 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', ), + ipsec_gateway_peers = graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config.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, + vpn_profile = 'example string', ) + ], ), + region_id = 123, ), + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_id = 1234567891011 + ) + else: + return V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest(self): + """Test V1ExtranetB2bMatchesMatchIdConsumerCheckPostRequest""" + # 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_extranet_b2b_matches_match_id_consumer_check_post_response.py b/test/test_v1_extranet_b2b_matches_match_id_consumer_check_post_response.py new file mode 100644 index 00000000..d79362e6 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_consumer_check_post_response.py @@ -0,0 +1,144 @@ +# 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_extranet_b2b_matches_match_id_consumer_check_post_response import V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse + +class TestV1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse: + """Test V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse + 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 `V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse` + """ + model = V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse() + if include_optional: + return V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse( + consumer_activity_id = 'example string', + id = 1234567891011, + policy = graphiant_sdk.models.mana_v2_extranet_service_consumer_policy.manaV2ExtranetServiceConsumerPolicy( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes.manaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + }, ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + site_to_site_vpn = graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config.manaV2GuestConsumerSiteToSiteVpnConfig( + emails = [ + 'example string' + ], + ipsec_gateway_details = graphiant_sdk.models.mana_v2_i_psec_gateway_details.manaV2IPsecGatewayDetails( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = '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' + ], ), ), + 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', ), + ipsec_gateway_peers = graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config.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, + vpn_profile = 'example string', ) + ], ), + region_id = 123, ), + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ) + ) + else: + return V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse(self): + """Test V1ExtranetB2bMatchesMatchIdConsumerCheckPostResponse""" + # 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_extranet_b2b_matches_match_id_consumer_post_request.py b/test/test_v1_extranet_b2b_matches_match_id_consumer_post_request.py new file mode 100644 index 00000000..84f49f15 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_consumer_post_request.py @@ -0,0 +1,143 @@ +# 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_extranet_b2b_matches_match_id_consumer_post_request import V1ExtranetB2bMatchesMatchIdConsumerPostRequest + +class TestV1ExtranetB2bMatchesMatchIdConsumerPostRequest(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdConsumerPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdConsumerPostRequest: + """Test V1ExtranetB2bMatchesMatchIdConsumerPostRequest + 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 `V1ExtranetB2bMatchesMatchIdConsumerPostRequest` + """ + model = V1ExtranetB2bMatchesMatchIdConsumerPostRequest() + if include_optional: + return V1ExtranetB2bMatchesMatchIdConsumerPostRequest( + policy = graphiant_sdk.models.mana_v2_extranet_service_consumer_policy.manaV2ExtranetServiceConsumerPolicy( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes.manaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + }, ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + site_to_site_vpn = graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config.manaV2GuestConsumerSiteToSiteVpnConfig( + emails = [ + 'example string' + ], + ipsec_gateway_details = graphiant_sdk.models.mana_v2_i_psec_gateway_details.manaV2IPsecGatewayDetails( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = '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' + ], ), ), + 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', ), + ipsec_gateway_peers = graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config.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, + vpn_profile = 'example string', ) + ], ), + region_id = 123, ), + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_id = 1234567891011 + ) + else: + return V1ExtranetB2bMatchesMatchIdConsumerPostRequest( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdConsumerPostRequest(self): + """Test V1ExtranetB2bMatchesMatchIdConsumerPostRequest""" + # 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_extranet_b2b_matches_match_id_consumer_post_response.py b/test/test_v1_extranet_b2b_matches_match_id_consumer_post_response.py new file mode 100644 index 00000000..8c53a625 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_consumer_post_response.py @@ -0,0 +1,144 @@ +# 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_extranet_b2b_matches_match_id_consumer_post_response import V1ExtranetB2bMatchesMatchIdConsumerPostResponse + +class TestV1ExtranetB2bMatchesMatchIdConsumerPostResponse(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdConsumerPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdConsumerPostResponse: + """Test V1ExtranetB2bMatchesMatchIdConsumerPostResponse + 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 `V1ExtranetB2bMatchesMatchIdConsumerPostResponse` + """ + model = V1ExtranetB2bMatchesMatchIdConsumerPostResponse() + if include_optional: + return V1ExtranetB2bMatchesMatchIdConsumerPostResponse( + consumer_activity_id = 'example string', + id = 1234567891011, + policy = graphiant_sdk.models.mana_v2_extranet_service_consumer_policy.manaV2ExtranetServiceConsumerPolicy( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_extranet_consumer_lan_prefixes.manaV2ExtranetConsumerLanPrefixes( + consumer_prefixes = [ + 'example string' + ], + service_prefix_dnat = { + 'key' : 'example string' + }, ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + site_to_site_vpn = graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config.manaV2GuestConsumerSiteToSiteVpnConfig( + emails = [ + 'example string' + ], + ipsec_gateway_details = graphiant_sdk.models.mana_v2_i_psec_gateway_details.manaV2IPsecGatewayDetails( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = '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' + ], ), ), + 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', ), + ipsec_gateway_peers = graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config.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, + vpn_profile = 'example string', ) + ], ), + region_id = 123, ), + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ) + ) + else: + return V1ExtranetB2bMatchesMatchIdConsumerPostResponse( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdConsumerPostResponse(self): + """Test V1ExtranetB2bMatchesMatchIdConsumerPostResponse""" + # 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_extranet_b2b_matches_match_id_delete_response.py b/test/test_v1_extranet_b2b_matches_match_id_delete_response.py new file mode 100644 index 00000000..6672f640 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_delete_response.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_extranet_b2b_matches_match_id_delete_response import V1ExtranetB2bMatchesMatchIdDeleteResponse + +class TestV1ExtranetB2bMatchesMatchIdDeleteResponse(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdDeleteResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdDeleteResponse: + """Test V1ExtranetB2bMatchesMatchIdDeleteResponse + 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 `V1ExtranetB2bMatchesMatchIdDeleteResponse` + """ + model = V1ExtranetB2bMatchesMatchIdDeleteResponse() + if include_optional: + return V1ExtranetB2bMatchesMatchIdDeleteResponse( + activity_id = 'example string', + consumer_activity_id = 'example string' + ) + else: + return V1ExtranetB2bMatchesMatchIdDeleteResponse( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdDeleteResponse(self): + """Test V1ExtranetB2bMatchesMatchIdDeleteResponse""" + # 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_extranet_b2b_matches_match_id_details_get_response.py b/test/test_v1_extranet_b2b_matches_match_id_details_get_response.py new file mode 100644 index 00000000..e374ab69 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_details_get_response.py @@ -0,0 +1,87 @@ +# 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_extranet_b2b_matches_match_id_details_get_response import V1ExtranetB2bMatchesMatchIdDetailsGetResponse + +class TestV1ExtranetB2bMatchesMatchIdDetailsGetResponse(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdDetailsGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdDetailsGetResponse: + """Test V1ExtranetB2bMatchesMatchIdDetailsGetResponse + 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 `V1ExtranetB2bMatchesMatchIdDetailsGetResponse` + """ + model = V1ExtranetB2bMatchesMatchIdDetailsGetResponse() + if include_optional: + return V1ExtranetB2bMatchesMatchIdDetailsGetResponse( + details = [ + graphiant_sdk.models.mana_v2_b2b_extranet_match_consumer_details.manaV2B2bExtranetMatchConsumerDetails( + consumer_id = 1234567891011, + consumer_prefixes = [ + 'example string' + ], + customer = graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_customer.manaV2B2BExtranetMatchConsumerDetailsCustomer( + admin_emails = [ + 'example string' + ], + company_name = 'example string', + id = 1234567891011, + num_sites = 123, ), + old_consumer_prefixes = [ + 'example string' + ], + old_service_prefixes = [ + graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.manaV2B2BExtranetMatchConsumerDetailsProducerPrefix( + customer_translated_prefix = 'example string', + prefix = 'example string', + tag = 'example string', ) + ], + service = graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_service.manaV2B2BExtranetMatchConsumerDetailsService( + company_name = 'example string', + contact_email = [ + 'example string' + ], + description = 'example string', + id = 1234567891011, + service_name = 'example string', ), + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2_b_extranet_match_consumer_details_producer_prefix.manaV2B2BExtranetMatchConsumerDetailsProducerPrefix( + customer_translated_prefix = 'example string', + prefix = 'example string', + tag = 'example string', ) + ], ) + ] + ) + else: + return V1ExtranetB2bMatchesMatchIdDetailsGetResponse( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdDetailsGetResponse(self): + """Test V1ExtranetB2bMatchesMatchIdDetailsGetResponse""" + # 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_extranet_b2b_matches_match_id_get_response.py b/test/test_v1_extranet_b2b_matches_match_id_get_response.py new file mode 100644 index 00000000..2019c5d9 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_get_response.py @@ -0,0 +1,73 @@ +# 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_extranet_b2b_matches_match_id_get_response import V1ExtranetB2bMatchesMatchIdGetResponse + +class TestV1ExtranetB2bMatchesMatchIdGetResponse(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdGetResponse: + """Test V1ExtranetB2bMatchesMatchIdGetResponse + 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 `V1ExtranetB2bMatchesMatchIdGetResponse` + """ + model = V1ExtranetB2bMatchesMatchIdGetResponse() + if include_optional: + return V1ExtranetB2bMatchesMatchIdGetResponse( + customer_name = 'example string', + match = graphiant_sdk.models.mana_v2_b2b_extranet_match.manaV2B2bExtranetMatch( + consumer_prefixes = [ + 'example string' + ], + lan_segment = 1234567891011, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + num_customers = 123, + service_id = 1234567891011, + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], ), + match_id = 1234567891011, + service_name = 'example string', + status = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bMatchesMatchIdGetResponse( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdGetResponse(self): + """Test V1ExtranetB2bMatchesMatchIdGetResponse""" + # 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_extranet_b2b_matches_match_id_put_request.py b/test/test_v1_extranet_b2b_matches_match_id_put_request.py new file mode 100644 index 00000000..baf26cd3 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_put_request.py @@ -0,0 +1,69 @@ +# 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_extranet_b2b_matches_match_id_put_request import V1ExtranetB2bMatchesMatchIdPutRequest + +class TestV1ExtranetB2bMatchesMatchIdPutRequest(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdPutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdPutRequest: + """Test V1ExtranetB2bMatchesMatchIdPutRequest + 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 `V1ExtranetB2bMatchesMatchIdPutRequest` + """ + model = V1ExtranetB2bMatchesMatchIdPutRequest() + if include_optional: + return V1ExtranetB2bMatchesMatchIdPutRequest( + match = graphiant_sdk.models.mana_v2_b2b_extranet_match.manaV2B2bExtranetMatch( + consumer_prefixes = [ + 'example string' + ], + lan_segment = 1234567891011, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + num_customers = 123, + service_id = 1234567891011, + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], ) + ) + else: + return V1ExtranetB2bMatchesMatchIdPutRequest( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdPutRequest(self): + """Test V1ExtranetB2bMatchesMatchIdPutRequest""" + # 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_extranet_b2b_matches_match_id_put_response.py b/test/test_v1_extranet_b2b_matches_match_id_put_response.py new file mode 100644 index 00000000..f56b1bc7 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_put_response.py @@ -0,0 +1,70 @@ +# 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_extranet_b2b_matches_match_id_put_response import V1ExtranetB2bMatchesMatchIdPutResponse + +class TestV1ExtranetB2bMatchesMatchIdPutResponse(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdPutResponse: + """Test V1ExtranetB2bMatchesMatchIdPutResponse + 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 `V1ExtranetB2bMatchesMatchIdPutResponse` + """ + model = V1ExtranetB2bMatchesMatchIdPutResponse() + if include_optional: + return V1ExtranetB2bMatchesMatchIdPutResponse( + activity_id = 'example string', + match = graphiant_sdk.models.mana_v2_b2b_extranet_match.manaV2B2bExtranetMatch( + consumer_prefixes = [ + 'example string' + ], + lan_segment = 1234567891011, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + num_customers = 123, + service_id = 1234567891011, + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], ) + ) + else: + return V1ExtranetB2bMatchesMatchIdPutResponse( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdPutResponse(self): + """Test V1ExtranetB2bMatchesMatchIdPutResponse""" + # 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_extranet_b2b_matches_match_id_status_put_request.py b/test/test_v1_extranet_b2b_matches_match_id_status_put_request.py new file mode 100644 index 00000000..9657b265 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_status_put_request.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.v1_extranet_b2b_matches_match_id_status_put_request import V1ExtranetB2bMatchesMatchIdStatusPutRequest + +class TestV1ExtranetB2bMatchesMatchIdStatusPutRequest(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdStatusPutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdStatusPutRequest: + """Test V1ExtranetB2bMatchesMatchIdStatusPutRequest + 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 `V1ExtranetB2bMatchesMatchIdStatusPutRequest` + """ + model = V1ExtranetB2bMatchesMatchIdStatusPutRequest() + if include_optional: + return V1ExtranetB2bMatchesMatchIdStatusPutRequest( + status = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bMatchesMatchIdStatusPutRequest( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdStatusPutRequest(self): + """Test V1ExtranetB2bMatchesMatchIdStatusPutRequest""" + # 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_extranet_b2b_matches_match_id_status_put_response.py b/test/test_v1_extranet_b2b_matches_match_id_status_put_response.py new file mode 100644 index 00000000..b7a2832d --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_match_id_status_put_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.v1_extranet_b2b_matches_match_id_status_put_response import V1ExtranetB2bMatchesMatchIdStatusPutResponse + +class TestV1ExtranetB2bMatchesMatchIdStatusPutResponse(unittest.TestCase): + """V1ExtranetB2bMatchesMatchIdStatusPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesMatchIdStatusPutResponse: + """Test V1ExtranetB2bMatchesMatchIdStatusPutResponse + 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 `V1ExtranetB2bMatchesMatchIdStatusPutResponse` + """ + model = V1ExtranetB2bMatchesMatchIdStatusPutResponse() + if include_optional: + return V1ExtranetB2bMatchesMatchIdStatusPutResponse( + status = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bMatchesMatchIdStatusPutResponse( + ) + """ + + def testV1ExtranetB2bMatchesMatchIdStatusPutResponse(self): + """Test V1ExtranetB2bMatchesMatchIdStatusPutResponse""" + # 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_extranet_b2b_matches_pause_put_request.py b/test/test_v1_extranet_b2b_matches_pause_put_request.py new file mode 100644 index 00000000..a3c0809d --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_pause_put_request.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_extranet_b2b_matches_pause_put_request import V1ExtranetB2bMatchesPausePutRequest + +class TestV1ExtranetB2bMatchesPausePutRequest(unittest.TestCase): + """V1ExtranetB2bMatchesPausePutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesPausePutRequest: + """Test V1ExtranetB2bMatchesPausePutRequest + 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 `V1ExtranetB2bMatchesPausePutRequest` + """ + model = V1ExtranetB2bMatchesPausePutRequest() + if include_optional: + return V1ExtranetB2bMatchesPausePutRequest( + customer_id = 1234567891011, + status = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bMatchesPausePutRequest( + ) + """ + + def testV1ExtranetB2bMatchesPausePutRequest(self): + """Test V1ExtranetB2bMatchesPausePutRequest""" + # 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_extranet_b2b_matches_pause_put_response.py b/test/test_v1_extranet_b2b_matches_pause_put_response.py new file mode 100644 index 00000000..f2523a59 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_pause_put_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.v1_extranet_b2b_matches_pause_put_response import V1ExtranetB2bMatchesPausePutResponse + +class TestV1ExtranetB2bMatchesPausePutResponse(unittest.TestCase): + """V1ExtranetB2bMatchesPausePutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesPausePutResponse: + """Test V1ExtranetB2bMatchesPausePutResponse + 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 `V1ExtranetB2bMatchesPausePutResponse` + """ + model = V1ExtranetB2bMatchesPausePutResponse() + if include_optional: + return V1ExtranetB2bMatchesPausePutResponse( + status = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bMatchesPausePutResponse( + ) + """ + + def testV1ExtranetB2bMatchesPausePutResponse(self): + """Test V1ExtranetB2bMatchesPausePutResponse""" + # 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_extranet_b2b_matches_post_request.py b/test/test_v1_extranet_b2b_matches_post_request.py new file mode 100644 index 00000000..0a8499f2 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_post_request.py @@ -0,0 +1,70 @@ +# 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_extranet_b2b_matches_post_request import V1ExtranetB2bMatchesPostRequest + +class TestV1ExtranetB2bMatchesPostRequest(unittest.TestCase): + """V1ExtranetB2bMatchesPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesPostRequest: + """Test V1ExtranetB2bMatchesPostRequest + 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 `V1ExtranetB2bMatchesPostRequest` + """ + model = V1ExtranetB2bMatchesPostRequest() + if include_optional: + return V1ExtranetB2bMatchesPostRequest( + customer_id = 1234567891011, + match = graphiant_sdk.models.mana_v2_b2b_extranet_match.manaV2B2bExtranetMatch( + consumer_prefixes = [ + 'example string' + ], + lan_segment = 1234567891011, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + num_customers = 123, + service_id = 1234567891011, + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], ) + ) + else: + return V1ExtranetB2bMatchesPostRequest( + ) + """ + + def testV1ExtranetB2bMatchesPostRequest(self): + """Test V1ExtranetB2bMatchesPostRequest""" + # 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_extranet_b2b_matches_post_response.py b/test/test_v1_extranet_b2b_matches_post_response.py new file mode 100644 index 00000000..af0d7f93 --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_post_response.py @@ -0,0 +1,72 @@ +# 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_extranet_b2b_matches_post_response import V1ExtranetB2bMatchesPostResponse + +class TestV1ExtranetB2bMatchesPostResponse(unittest.TestCase): + """V1ExtranetB2bMatchesPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesPostResponse: + """Test V1ExtranetB2bMatchesPostResponse + 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 `V1ExtranetB2bMatchesPostResponse` + """ + model = V1ExtranetB2bMatchesPostResponse() + if include_optional: + return V1ExtranetB2bMatchesPostResponse( + match_id = 1234567891011, + matches = [ + graphiant_sdk.models.mana_v2_b2b_extranet_match.manaV2B2bExtranetMatch( + consumer_prefixes = [ + 'example string' + ], + lan_segment = 1234567891011, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + num_customers = 123, + service_id = 1234567891011, + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], ) + ] + ) + else: + return V1ExtranetB2bMatchesPostResponse( + ) + """ + + def testV1ExtranetB2bMatchesPostResponse(self): + """Test V1ExtranetB2bMatchesPostResponse""" + # 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_extranet_b2b_matches_review_post_request.py b/test/test_v1_extranet_b2b_matches_review_post_request.py new file mode 100644 index 00000000..8169ce2f --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_review_post_request.py @@ -0,0 +1,70 @@ +# 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_extranet_b2b_matches_review_post_request import V1ExtranetB2bMatchesReviewPostRequest + +class TestV1ExtranetB2bMatchesReviewPostRequest(unittest.TestCase): + """V1ExtranetB2bMatchesReviewPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesReviewPostRequest: + """Test V1ExtranetB2bMatchesReviewPostRequest + 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 `V1ExtranetB2bMatchesReviewPostRequest` + """ + model = V1ExtranetB2bMatchesReviewPostRequest() + if include_optional: + return V1ExtranetB2bMatchesReviewPostRequest( + customer_id = 1234567891011, + match = graphiant_sdk.models.mana_v2_b2b_extranet_match.manaV2B2bExtranetMatch( + consumer_prefixes = [ + 'example string' + ], + lan_segment = 1234567891011, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + num_customers = 123, + service_id = 1234567891011, + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], ) + ) + else: + return V1ExtranetB2bMatchesReviewPostRequest( + ) + """ + + def testV1ExtranetB2bMatchesReviewPostRequest(self): + """Test V1ExtranetB2bMatchesReviewPostRequest""" + # 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_extranet_b2b_matches_review_post_response.py b/test/test_v1_extranet_b2b_matches_review_post_response.py new file mode 100644 index 00000000..0d34b1aa --- /dev/null +++ b/test/test_v1_extranet_b2b_matches_review_post_response.py @@ -0,0 +1,72 @@ +# 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_extranet_b2b_matches_review_post_response import V1ExtranetB2bMatchesReviewPostResponse + +class TestV1ExtranetB2bMatchesReviewPostResponse(unittest.TestCase): + """V1ExtranetB2bMatchesReviewPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bMatchesReviewPostResponse: + """Test V1ExtranetB2bMatchesReviewPostResponse + 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 `V1ExtranetB2bMatchesReviewPostResponse` + """ + model = V1ExtranetB2bMatchesReviewPostResponse() + if include_optional: + return V1ExtranetB2bMatchesReviewPostResponse( + match_id = 1234567891011, + matches = [ + graphiant_sdk.models.mana_v2_b2b_extranet_match.manaV2B2bExtranetMatch( + consumer_prefixes = [ + 'example string' + ], + lan_segment = 1234567891011, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + num_customers = 123, + service_id = 1234567891011, + service_prefixes = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], ) + ] + ) + else: + return V1ExtranetB2bMatchesReviewPostResponse( + ) + """ + + def testV1ExtranetB2bMatchesReviewPostResponse(self): + """Test V1ExtranetB2bMatchesReviewPostResponse""" + # 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_extranet_b2b_producer_id_customers_get_response.py b/test/test_v1_extranet_b2b_producer_id_customers_get_response.py new file mode 100644 index 00000000..a92a957f --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_id_customers_get_response.py @@ -0,0 +1,65 @@ +# 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_extranet_b2b_producer_id_customers_get_response import V1ExtranetB2bProducerIdCustomersGetResponse + +class TestV1ExtranetB2bProducerIdCustomersGetResponse(unittest.TestCase): + """V1ExtranetB2bProducerIdCustomersGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerIdCustomersGetResponse: + """Test V1ExtranetB2bProducerIdCustomersGetResponse + 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 `V1ExtranetB2bProducerIdCustomersGetResponse` + """ + model = V1ExtranetB2bProducerIdCustomersGetResponse() + if include_optional: + return V1ExtranetB2bProducerIdCustomersGetResponse( + customers = [ + graphiant_sdk.models.mana_v2_extranet_service_producer_customer.manaV2ExtranetServiceProducerCustomer( + admin_emails = [ + 'example string' + ], + customer_id = 'example string', + match_id = 1234567891011, + matched_services = 123, + name = 'example string', + status = 'ENUM_VALUE', + type = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), ) + ] + ) + else: + return V1ExtranetB2bProducerIdCustomersGetResponse( + ) + """ + + def testV1ExtranetB2bProducerIdCustomersGetResponse(self): + """Test V1ExtranetB2bProducerIdCustomersGetResponse""" + # 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_extranet_b2b_producer_id_device_status_get_response.py b/test/test_v1_extranet_b2b_producer_id_device_status_get_response.py new file mode 100644 index 00000000..320f09b4 --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_id_device_status_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_extranet_b2b_producer_id_device_status_get_response import V1ExtranetB2bProducerIdDeviceStatusGetResponse + +class TestV1ExtranetB2bProducerIdDeviceStatusGetResponse(unittest.TestCase): + """V1ExtranetB2bProducerIdDeviceStatusGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerIdDeviceStatusGetResponse: + """Test V1ExtranetB2bProducerIdDeviceStatusGetResponse + 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 `V1ExtranetB2bProducerIdDeviceStatusGetResponse` + """ + model = V1ExtranetB2bProducerIdDeviceStatusGetResponse() + if include_optional: + return V1ExtranetB2bProducerIdDeviceStatusGetResponse( + summary = [ + graphiant_sdk.models.mana_v2_b2b_extranet_status_summary.manaV2B2bExtranetStatusSummary( + created_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + device_id = 1234567891011, + device_status = 'ENUM_VALUE', + location = 1234567891011, + status = 'ENUM_VALUE', ) + ] + ) + else: + return V1ExtranetB2bProducerIdDeviceStatusGetResponse( + ) + """ + + def testV1ExtranetB2bProducerIdDeviceStatusGetResponse(self): + """Test V1ExtranetB2bProducerIdDeviceStatusGetResponse""" + # 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_extranet_b2b_producer_id_get_response.py b/test/test_v1_extranet_b2b_producer_id_get_response.py new file mode 100644 index 00000000..32a20a59 --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_id_get_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 + + +import unittest + +from graphiant_sdk.models.v1_extranet_b2b_producer_id_get_response import V1ExtranetB2bProducerIdGetResponse + +class TestV1ExtranetB2bProducerIdGetResponse(unittest.TestCase): + """V1ExtranetB2bProducerIdGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerIdGetResponse: + """Test V1ExtranetB2bProducerIdGetResponse + 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 `V1ExtranetB2bProducerIdGetResponse` + """ + model = V1ExtranetB2bProducerIdGetResponse() + if include_optional: + return V1ExtranetB2bProducerIdGetResponse( + id = 1234567891011, + policy = graphiant_sdk.models.mana_v2_extranet_service_policy_response.manaV2ExtranetServicePolicyResponse( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_name = 'example string', + service_type = 'ENUM_VALUE', ), + status = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bProducerIdGetResponse( + ) + """ + + def testV1ExtranetB2bProducerIdGetResponse(self): + """Test V1ExtranetB2bProducerIdGetResponse""" + # 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_extranet_b2b_producer_id_put_request.py b/test/test_v1_extranet_b2b_producer_id_put_request.py new file mode 100644 index 00000000..5dcadcfc --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_id_put_request.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 + + +import unittest + +from graphiant_sdk.models.v1_extranet_b2b_producer_id_put_request import V1ExtranetB2bProducerIdPutRequest + +class TestV1ExtranetB2bProducerIdPutRequest(unittest.TestCase): + """V1ExtranetB2bProducerIdPutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerIdPutRequest: + """Test V1ExtranetB2bProducerIdPutRequest + 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 `V1ExtranetB2bProducerIdPutRequest` + """ + model = V1ExtranetB2bProducerIdPutRequest() + if include_optional: + return V1ExtranetB2bProducerIdPutRequest( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ) + ) + else: + return V1ExtranetB2bProducerIdPutRequest( + ) + """ + + def testV1ExtranetB2bProducerIdPutRequest(self): + """Test V1ExtranetB2bProducerIdPutRequest""" + # 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_extranet_b2b_producer_id_put_response.py b/test/test_v1_extranet_b2b_producer_id_put_response.py new file mode 100644 index 00000000..6d35398e --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_id_put_response.py @@ -0,0 +1,111 @@ +# 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_extranet_b2b_producer_id_put_response import V1ExtranetB2bProducerIdPutResponse + +class TestV1ExtranetB2bProducerIdPutResponse(unittest.TestCase): + """V1ExtranetB2bProducerIdPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerIdPutResponse: + """Test V1ExtranetB2bProducerIdPutResponse + 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 `V1ExtranetB2bProducerIdPutResponse` + """ + model = V1ExtranetB2bProducerIdPutResponse() + if include_optional: + return V1ExtranetB2bProducerIdPutResponse( + activity_id = 'example string', + consumer_activity_id = 'example string', + id = 1234567891011, + policy = graphiant_sdk.models.mana_v2_extranet_service_policy_response.manaV2ExtranetServicePolicyResponse( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_name = 'example string', + service_type = 'ENUM_VALUE', ) + ) + else: + return V1ExtranetB2bProducerIdPutResponse( + ) + """ + + def testV1ExtranetB2bProducerIdPutResponse(self): + """Test V1ExtranetB2bProducerIdPutResponse""" + # 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_extranet_b2b_producer_id_status_put_request.py b/test/test_v1_extranet_b2b_producer_id_status_put_request.py new file mode 100644 index 00000000..b507bbbf --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_id_status_put_request.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.v1_extranet_b2b_producer_id_status_put_request import V1ExtranetB2bProducerIdStatusPutRequest + +class TestV1ExtranetB2bProducerIdStatusPutRequest(unittest.TestCase): + """V1ExtranetB2bProducerIdStatusPutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerIdStatusPutRequest: + """Test V1ExtranetB2bProducerIdStatusPutRequest + 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 `V1ExtranetB2bProducerIdStatusPutRequest` + """ + model = V1ExtranetB2bProducerIdStatusPutRequest() + if include_optional: + return V1ExtranetB2bProducerIdStatusPutRequest( + status = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bProducerIdStatusPutRequest( + ) + """ + + def testV1ExtranetB2bProducerIdStatusPutRequest(self): + """Test V1ExtranetB2bProducerIdStatusPutRequest""" + # 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_extranet_b2b_producer_id_status_put_response.py b/test/test_v1_extranet_b2b_producer_id_status_put_response.py new file mode 100644 index 00000000..b935e0be --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_id_status_put_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.v1_extranet_b2b_producer_id_status_put_response import V1ExtranetB2bProducerIdStatusPutResponse + +class TestV1ExtranetB2bProducerIdStatusPutResponse(unittest.TestCase): + """V1ExtranetB2bProducerIdStatusPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerIdStatusPutResponse: + """Test V1ExtranetB2bProducerIdStatusPutResponse + 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 `V1ExtranetB2bProducerIdStatusPutResponse` + """ + model = V1ExtranetB2bProducerIdStatusPutResponse() + if include_optional: + return V1ExtranetB2bProducerIdStatusPutResponse( + status = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bProducerIdStatusPutResponse( + ) + """ + + def testV1ExtranetB2bProducerIdStatusPutResponse(self): + """Test V1ExtranetB2bProducerIdStatusPutResponse""" + # 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_extranet_b2b_producer_post_request.py b/test/test_v1_extranet_b2b_producer_post_request.py new file mode 100644 index 00000000..13a950d0 --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_post_request.py @@ -0,0 +1,164 @@ +# 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_extranet_b2b_producer_post_request import V1ExtranetB2bProducerPostRequest + +class TestV1ExtranetB2bProducerPostRequest(unittest.TestCase): + """V1ExtranetB2bProducerPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerPostRequest: + """Test V1ExtranetB2bProducerPostRequest + 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 `V1ExtranetB2bProducerPostRequest` + """ + model = V1ExtranetB2bProducerPostRequest() + if include_optional: + return V1ExtranetB2bProducerPostRequest( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_name = 'example string', + service_type = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bProducerPostRequest( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_name = 'example string', + service_type = 'ENUM_VALUE', + ) + """ + + def testV1ExtranetB2bProducerPostRequest(self): + """Test V1ExtranetB2bProducerPostRequest""" + # 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_extranet_b2b_producer_post_response.py b/test/test_v1_extranet_b2b_producer_post_response.py new file mode 100644 index 00000000..e77aa656 --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_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 + + +import unittest + +from graphiant_sdk.models.v1_extranet_b2b_producer_post_response import V1ExtranetB2bProducerPostResponse + +class TestV1ExtranetB2bProducerPostResponse(unittest.TestCase): + """V1ExtranetB2bProducerPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerPostResponse: + """Test V1ExtranetB2bProducerPostResponse + 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 `V1ExtranetB2bProducerPostResponse` + """ + model = V1ExtranetB2bProducerPostResponse() + if include_optional: + return V1ExtranetB2bProducerPostResponse( + activity_id = 'example string', + id = 1234567891011, + policy = graphiant_sdk.models.mana_v2_extranet_service_policy_response.manaV2ExtranetServicePolicyResponse( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_name = 'example string', + service_type = 'ENUM_VALUE', ) + ) + else: + return V1ExtranetB2bProducerPostResponse( + ) + """ + + def testV1ExtranetB2bProducerPostResponse(self): + """Test V1ExtranetB2bProducerPostResponse""" + # 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_extranet_b2b_producer_review_post_request.py b/test/test_v1_extranet_b2b_producer_review_post_request.py new file mode 100644 index 00000000..f4a7ef8a --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_review_post_request.py @@ -0,0 +1,164 @@ +# 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_extranet_b2b_producer_review_post_request import V1ExtranetB2bProducerReviewPostRequest + +class TestV1ExtranetB2bProducerReviewPostRequest(unittest.TestCase): + """V1ExtranetB2bProducerReviewPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerReviewPostRequest: + """Test V1ExtranetB2bProducerReviewPostRequest + 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 `V1ExtranetB2bProducerReviewPostRequest` + """ + model = V1ExtranetB2bProducerReviewPostRequest() + if include_optional: + return V1ExtranetB2bProducerReviewPostRequest( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_name = 'example string', + service_type = 'ENUM_VALUE' + ) + else: + return V1ExtranetB2bProducerReviewPostRequest( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_name = 'example string', + service_type = 'ENUM_VALUE', + ) + """ + + def testV1ExtranetB2bProducerReviewPostRequest(self): + """Test V1ExtranetB2bProducerReviewPostRequest""" + # 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_extranet_b2b_producer_review_post_response.py b/test/test_v1_extranet_b2b_producer_review_post_response.py new file mode 100644 index 00000000..5ae3557e --- /dev/null +++ b/test/test_v1_extranet_b2b_producer_review_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 + + +import unittest + +from graphiant_sdk.models.v1_extranet_b2b_producer_review_post_response import V1ExtranetB2bProducerReviewPostResponse + +class TestV1ExtranetB2bProducerReviewPostResponse(unittest.TestCase): + """V1ExtranetB2bProducerReviewPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bProducerReviewPostResponse: + """Test V1ExtranetB2bProducerReviewPostResponse + 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 `V1ExtranetB2bProducerReviewPostResponse` + """ + model = V1ExtranetB2bProducerReviewPostResponse() + if include_optional: + return V1ExtranetB2bProducerReviewPostResponse( + activity_id = 'example string', + id = 1234567891011, + policy = graphiant_sdk.models.mana_v2_extranet_service_policy_response.manaV2ExtranetServicePolicyResponse( + policy = graphiant_sdk.models.mana_v2_extranet_service_producer_policy.manaV2ExtranetServiceProducerPolicy( + description = 'example string', + global_object_device_summaries = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_summaries.manaV2GlobalObjectServiceSummaries( + routing_policies = [ + graphiant_sdk.models.mana_v2_global_object_summary.manaV2GlobalObjectSummary( + attach_point = 'ENUM_VALUE', + id = 1234567891011, + ip_version = 123, + name = 'example string', + num_attached_devices = 123, + num_attached_sites = 123, + num_failures = 123, + num_in_sync_devices = 123, + num_override_devices = 123, + num_policies = 123, + num_prefixes = 123, + num_rules = 123, + num_statements = 123, + traffic_policy_type = 'ENUM_VALUE', ) + ], ) + }, + global_object_ops = { + 'key' : graphiant_sdk.models.mana_v2_global_object_service_ops.manaV2GlobalObjectServiceOps( + routing_policy_ops = { + 'key' : 'ENUM_VALUE' + }, ) + }, + nat_translation_mode = graphiant_sdk.models.mana_v2_extranet_nat_translation_mode.manaV2ExtranetNatTranslationMode( + centralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_centralized.manaV2ExtranetNatTranslationCentralized( + prefixes = { + 'key' : graphiant_sdk.models.mana_v2_extranet_nat_translation_device_prefixes.manaV2ExtranetNatTranslationDevicePrefixes() + }, ), + decentralized = graphiant_sdk.models.mana_v2_extranet_nat_translation_decentralized.manaV2ExtranetNatTranslationDecentralized(), + peer_to_peer = graphiant_sdk.models.mana_v2_extranet_nat_translation_peer_to_peer.manaV2ExtranetNatTranslationPeerToPeer(), ), + prefix_tags = [ + graphiant_sdk.models.mana_v2_b2b_extranet_prefix_tag.manaV2B2bExtranetPrefixTag( + prefix = '10.1.2.0/24', + tag = 'example string', ) + ], + service_lan_segment = 1234567891011, + sites = [ + graphiant_sdk.models.mana_v2_b2b_site_information.manaV2B2bSiteInformation( + bw_allocation_site_lists = 123, + bw_allocation_sites = 123, + policer_site_lists = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + policer_sites = graphiant_sdk.models.mana_v2_policer.manaV2Policer( + burst_size = 123, + bw = 123, ), + site_lists = [ + 1234567891011 + ], ) + ], ), + service_name = 'example string', + service_type = 'ENUM_VALUE', ) + ) + else: + return V1ExtranetB2bProducerReviewPostResponse( + ) + """ + + def testV1ExtranetB2bProducerReviewPostResponse(self): + """Test V1ExtranetB2bProducerReviewPostResponse""" + # 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_extranet_b2b_services_summary_get_response.py b/test/test_v1_extranet_b2b_services_summary_get_response.py new file mode 100644 index 00000000..b7d81669 --- /dev/null +++ b/test/test_v1_extranet_b2b_services_summary_get_response.py @@ -0,0 +1,72 @@ +# 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_extranet_b2b_services_summary_get_response import V1ExtranetB2bServicesSummaryGetResponse + +class TestV1ExtranetB2bServicesSummaryGetResponse(unittest.TestCase): + """V1ExtranetB2bServicesSummaryGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetB2bServicesSummaryGetResponse: + """Test V1ExtranetB2bServicesSummaryGetResponse + 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 `V1ExtranetB2bServicesSummaryGetResponse` + """ + model = V1ExtranetB2bServicesSummaryGetResponse() + if include_optional: + return V1ExtranetB2bServicesSummaryGetResponse( + services = [ + graphiant_sdk.models.mana_v2_extranet_service_summary.manaV2ExtranetServiceSummary( + created_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + id = 1234567891011, + is_publisher = True, + lan_segment = 1234567891011, + last_updated = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + server_prefixes = [ + 'example string' + ], + service_name = 'example string', + service_type = 'ENUM_VALUE', + sites = [ + 1234567891011 + ], + status = 'ENUM_VALUE', + total_customers = 123, ) + ] + ) + else: + return V1ExtranetB2bServicesSummaryGetResponse( + ) + """ + + def testV1ExtranetB2bServicesSummaryGetResponse(self): + """Test V1ExtranetB2bServicesSummaryGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main()