diff --git a/equinix-openapi-fabric/.openapi-generator/FILES b/equinix-openapi-fabric/.openapi-generator/FILES index 3d702590..e5731e41 100644 --- a/equinix-openapi-fabric/.openapi-generator/FILES +++ b/equinix-openapi-fabric/.openapi-generator/FILES @@ -9,14 +9,13 @@ build.sbt docs/AccessPoint.md docs/AccessPointSelector.md docs/AccessPointType.md -docs/Account.md docs/Actions.md docs/AddOperation.md -docs/AdvanceConfiguration.md docs/AllPhysicalPortsResponse.md docs/AllPortsResponse.md docs/ApiConfig.md docs/ApiServices.md +docs/Asset.md docs/AuthenticationKey.md docs/BGPActionData.md docs/BGPActionRequest.md @@ -29,6 +28,7 @@ docs/BGPConnectionOperation.md docs/BandwidthUtilization.md docs/BulkPhysicalPort.md docs/BulkPort.md +docs/BulkPortRequest.md docs/Change.md docs/Changelog.md docs/CloudRouter.md @@ -37,6 +37,15 @@ docs/CloudRouterActionRequest.md docs/CloudRouterActionResponse.md docs/CloudRouterActionState.md docs/CloudRouterActionType.md +docs/CloudRouterActionsSearchExpression.md +docs/CloudRouterActionsSearchFilter.md +docs/CloudRouterActionsSearchFilters.md +docs/CloudRouterActionsSearchOrFilter.md +docs/CloudRouterActionsSearchRequest.md +docs/CloudRouterActionsSearchResponse.md +docs/CloudRouterActionsSearchSortBy.md +docs/CloudRouterActionsSearchSortCriteria.md +docs/CloudRouterActionsSearchSortDirection.md docs/CloudRouterChange.md docs/CloudRouterChangeOperation.md docs/CloudRouterFilter.md @@ -67,8 +76,19 @@ docs/ConnectionPostRequest.md docs/ConnectionPriority.md docs/ConnectionRedundancy.md docs/ConnectionResponse.md +docs/ConnectionRouteEntryFilter.md +docs/ConnectionRouteEntryFilters.md +docs/ConnectionRouteEntryOrFilter.md +docs/ConnectionRouteEntrySimpleExpression.md +docs/ConnectionRouteEntrySortBy.md +docs/ConnectionRouteEntrySortDirection.md docs/ConnectionRouteFilterData.md docs/ConnectionRouteFiltersBase.md +docs/ConnectionRouteSearchRequest.md +docs/ConnectionRouteSortCriteria.md +docs/ConnectionRouteTableEntry.md +docs/ConnectionRouteTableEntryConnection.md +docs/ConnectionRouteTableEntrySearchResponse.md docs/ConnectionRoutingProtocolPostRequest.md docs/ConnectionSearchResponse.md docs/ConnectionSide.md @@ -89,14 +109,17 @@ docs/Expression.md docs/FabricCloudRouterCode.md docs/FabricCloudRouterPackages.md docs/FabricCloudRouterPrice.md -docs/FabricConnectionUuid.md docs/FilterBody.md docs/GeoCoordinates.md docs/GeoScopeType.md docs/GetAllConnectionRouteFiltersResponse.md +docs/GetAllStreamAssetResponse.md +docs/GetAllStreamResponse.md +docs/GetAllStreamSubscriptionResponse.md docs/GetResponse.md docs/GetRouteFilterGetConnectionsResponse.md docs/GetRouteFilterRulesResponse.md +docs/GetSubscriptionsInStreamResponse.md docs/HealthApi.md docs/HealthResponse.md docs/InternetAccess.md @@ -106,20 +129,13 @@ docs/Ipv4.md docs/JsonPatchOperation.md docs/Link.md docs/LinkAggregationGroup.md -docs/LinkProtocol.md docs/LinkProtocolConnection.md -docs/LinkProtocolDot1q.md -docs/LinkProtocolEvpnVxlan.md docs/LinkProtocolGetResponse.md -docs/LinkProtocolIpv4Ipv6Config.md -docs/LinkProtocolQinq.md docs/LinkProtocolRequestType.md docs/LinkProtocolResponse.md docs/LinkProtocolServiceToken.md docs/LinkProtocolState.md docs/LinkProtocolType.md -docs/LinkProtocolUntagged.md -docs/LinkProtocolVxlan.md docs/MarketingInfo.md docs/MarketplaceSubscription.md docs/MarketplaceSubscriptionsApi.md @@ -132,6 +148,7 @@ docs/MetroError.md docs/MetroResponse.md docs/MetrosApi.md docs/ModelInterface.md +docs/ModelPackage.md docs/Network.md docs/NetworkAllOf.md docs/NetworkChange.md @@ -158,6 +175,7 @@ docs/NetworkState.md docs/NetworkType.md docs/NetworksApi.md docs/OpEnum.md +docs/Operation.md docs/Order.md docs/PackageChangeLog.md docs/PackageResponse.md @@ -165,6 +183,7 @@ docs/Pagination.md docs/PaginationRequest.md docs/PeeringType.md docs/PhysicalPort.md +docs/PhysicalPortSettings.md docs/PhysicalPortType.md docs/Port.md docs/PortAdditionalInfo.md @@ -184,6 +203,7 @@ docs/PortOrderSignature.md docs/PortOrderSignatureDelegate.md docs/PortPriority.md docs/PortRedundancy.md +docs/PortRequest.md docs/PortSearchFieldName.md docs/PortSettings.md docs/PortSortBy.md @@ -196,10 +216,10 @@ docs/PortV4SearchRequest.md docs/PortsApi.md docs/PrecisionTimeApi.md docs/PrecisionTimeChangeOperation.md +docs/PrecisionTimeOrder.md docs/PrecisionTimePackageRequest.md docs/PrecisionTimePackageResponse.md docs/PrecisionTimeServiceConnectionsResponse.md -docs/PrecisionTimeServiceCreateResponse.md docs/PrecisionTimeServicePackagesResponse.md docs/PrecisionTimeServiceRequest.md docs/PrecisionTimeServiceResponse.md @@ -246,7 +266,6 @@ docs/RouteFiltersSearchBaseFilter.md docs/RouteFiltersSearchFilterItem.md docs/RouteFiltersSearchResponse.md docs/RouteTableEntry.md -docs/RouteTableEntryConnection.md docs/RouteTableEntryFilter.md docs/RouteTableEntryFilters.md docs/RouteTableEntryOrFilter.md @@ -259,6 +278,7 @@ docs/RouteTableEntrySortCriteria.md docs/RouteTableEntrySortDirection.md docs/RouteTableEntryState.md docs/RouteTableEntryType.md +docs/RouterActionsConnection.md docs/RouterPackageCode.md docs/RoutingProtocolBFD.md docs/RoutingProtocolBGPData.md @@ -325,6 +345,8 @@ docs/SimplifiedNetworkChange.md docs/SimplifiedNotification.md docs/SimplifiedPort.md docs/SimplifiedServiceProfile.md +docs/SimplifiedTokenNetwork.md +docs/SimplifiedVirtualDevice.md docs/Sort.md docs/SortBy.md docs/SortCriteria.md @@ -333,13 +355,39 @@ docs/SortDirection.md docs/SortItem.md docs/Statistics.md docs/StatisticsApi.md +docs/Stream.md +docs/StreamAsset.md +docs/StreamAssetFilter.md +docs/StreamAssetFilters.md +docs/StreamAssetOrFilter.md +docs/StreamAssetPutRequest.md +docs/StreamAssetSearchRequest.md +docs/StreamAssetSimpleExpression.md +docs/StreamAssetSortBy.md +docs/StreamAssetSortCriteria.md +docs/StreamAssetSortDirection.md +docs/StreamFilter.md +docs/StreamFilterOrFilter.md +docs/StreamFilterSimpleExpression.md +docs/StreamGetSubscriptions.md +docs/StreamPostRequest.md +docs/StreamPutRequest.md +docs/StreamSubscription.md +docs/StreamSubscriptionFilter.md +docs/StreamSubscriptionPostRequest.md +docs/StreamSubscriptionPutRequest.md +docs/StreamSubscriptionSink.md +docs/StreamSubscriptionSinkCredential.md +docs/StreamSubscriptionSinkSetting.md +docs/StreamSubscriptionsApi.md +docs/StreamTarget.md +docs/StreamsApi.md docs/SubInterface.md docs/SubscriptionAsset.md -docs/SubscriptionAssetType.md docs/SubscriptionEntitlementResponse.md docs/SubscriptionResponse.md docs/SubscriptionRouterPackageType.md -docs/SubscriptionStatus.md +docs/SubscriptionState.md docs/SubscriptionTrial.md docs/TimeServiceFilter.md docs/TimeServiceFilters.md @@ -350,6 +398,7 @@ docs/TimeServiceSortCriteria.md docs/TimeServiceSortDirection.md docs/TimeServicesSearchRequest.md docs/TopUtilizedStatistics.md +docs/ValidateConnectionResponse.md docs/ValidateRequest.md docs/ValidateRequestFilter.md docs/ValidateRequestFilterAnd.md @@ -368,7 +417,11 @@ docs/VirtualConnectionPriceZSideAccessPoint.md docs/VirtualConnectionPriceZSideAccessPointBridge.md docs/VirtualConnectionPriceZSideAccessPointBridgePackage.md docs/VirtualConnectionPriceZSideAccessPointProfile.md +docs/VirtualConnectionSide.md +docs/VirtualConnectionTimeServiceResponse.md +docs/VirtualConnectionUuid.md docs/VirtualDevice.md +docs/VirtualDeviceInterface.md docs/VirtualNetwork.md docs/VirtualPortConfiguration.md docs/VirtualPortLocation.md @@ -418,18 +471,19 @@ src/main/java/com/equinix/openapi/fabric/v4/api/RoutingProtocolsApi.java src/main/java/com/equinix/openapi/fabric/v4/api/ServiceProfilesApi.java src/main/java/com/equinix/openapi/fabric/v4/api/ServiceTokensApi.java src/main/java/com/equinix/openapi/fabric/v4/api/StatisticsApi.java +src/main/java/com/equinix/openapi/fabric/v4/api/StreamSubscriptionsApi.java +src/main/java/com/equinix/openapi/fabric/v4/api/StreamsApi.java src/main/java/com/equinix/openapi/fabric/v4/model/AbstractOpenApiSchema.java src/main/java/com/equinix/openapi/fabric/v4/model/AccessPoint.java src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointSelector.java src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointType.java -src/main/java/com/equinix/openapi/fabric/v4/model/Account.java src/main/java/com/equinix/openapi/fabric/v4/model/Actions.java src/main/java/com/equinix/openapi/fabric/v4/model/AddOperation.java -src/main/java/com/equinix/openapi/fabric/v4/model/AdvanceConfiguration.java src/main/java/com/equinix/openapi/fabric/v4/model/AllPhysicalPortsResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/AllPortsResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/ApiConfig.java src/main/java/com/equinix/openapi/fabric/v4/model/ApiServices.java +src/main/java/com/equinix/openapi/fabric/v4/model/Asset.java src/main/java/com/equinix/openapi/fabric/v4/model/AuthenticationKey.java src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionData.java src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionRequest.java @@ -442,6 +496,7 @@ src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionOperation.java src/main/java/com/equinix/openapi/fabric/v4/model/BandwidthUtilization.java src/main/java/com/equinix/openapi/fabric/v4/model/BulkPhysicalPort.java src/main/java/com/equinix/openapi/fabric/v4/model/BulkPort.java +src/main/java/com/equinix/openapi/fabric/v4/model/BulkPortRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/Change.java src/main/java/com/equinix/openapi/fabric/v4/model/Changelog.java src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouter.java @@ -450,6 +505,15 @@ src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionState.java src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionType.java +src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchExpression.java +src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFilter.java +src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFilters.java +src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchOrFilter.java +src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchRequest.java +src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchResponse.java +src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortBy.java +src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortCriteria.java +src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortDirection.java src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChange.java src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChangeOperation.java src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilter.java @@ -479,8 +543,19 @@ src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPostRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPriority.java src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRedundancy.java src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionResponse.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFilter.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFilters.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryOrFilter.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySimpleExpression.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortBy.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortDirection.java src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFilterData.java src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFiltersBase.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSearchRequest.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSortCriteria.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntry.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntryConnection.java +src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntrySearchResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRoutingProtocolPostRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSearchResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSide.java @@ -500,14 +575,17 @@ src/main/java/com/equinix/openapi/fabric/v4/model/Expression.java src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterCode.java src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPackages.java src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPrice.java -src/main/java/com/equinix/openapi/fabric/v4/model/FabricConnectionUuid.java src/main/java/com/equinix/openapi/fabric/v4/model/FilterBody.java src/main/java/com/equinix/openapi/fabric/v4/model/GeoCoordinates.java src/main/java/com/equinix/openapi/fabric/v4/model/GeoScopeType.java src/main/java/com/equinix/openapi/fabric/v4/model/GetAllConnectionRouteFiltersResponse.java +src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamAssetResponse.java +src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamResponse.java +src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamSubscriptionResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/GetResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterGetConnectionsResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterRulesResponse.java +src/main/java/com/equinix/openapi/fabric/v4/model/GetSubscriptionsInStreamResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/HealthResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/InternetAccess.java src/main/java/com/equinix/openapi/fabric/v4/model/IpBlockPrice.java @@ -516,20 +594,13 @@ src/main/java/com/equinix/openapi/fabric/v4/model/Ipv4.java src/main/java/com/equinix/openapi/fabric/v4/model/JsonPatchOperation.java src/main/java/com/equinix/openapi/fabric/v4/model/Link.java src/main/java/com/equinix/openapi/fabric/v4/model/LinkAggregationGroup.java -src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocol.java src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolConnection.java -src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolDot1q.java -src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolEvpnVxlan.java src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolGetResponse.java -src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolIpv4Ipv6Config.java -src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolQinq.java src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolRequestType.java src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolServiceToken.java src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolState.java src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolType.java -src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolUntagged.java -src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolVxlan.java src/main/java/com/equinix/openapi/fabric/v4/model/MarketingInfo.java src/main/java/com/equinix/openapi/fabric/v4/model/MarketplaceSubscription.java src/main/java/com/equinix/openapi/fabric/v4/model/Md5.java @@ -540,6 +611,7 @@ src/main/java/com/equinix/openapi/fabric/v4/model/Metro.java src/main/java/com/equinix/openapi/fabric/v4/model/MetroError.java src/main/java/com/equinix/openapi/fabric/v4/model/MetroResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/ModelInterface.java +src/main/java/com/equinix/openapi/fabric/v4/model/ModelPackage.java src/main/java/com/equinix/openapi/fabric/v4/model/Network.java src/main/java/com/equinix/openapi/fabric/v4/model/NetworkAllOf.java src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChange.java @@ -565,6 +637,7 @@ src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortDirectionResponse.j src/main/java/com/equinix/openapi/fabric/v4/model/NetworkState.java src/main/java/com/equinix/openapi/fabric/v4/model/NetworkType.java src/main/java/com/equinix/openapi/fabric/v4/model/OpEnum.java +src/main/java/com/equinix/openapi/fabric/v4/model/Operation.java src/main/java/com/equinix/openapi/fabric/v4/model/Order.java src/main/java/com/equinix/openapi/fabric/v4/model/PackageChangeLog.java src/main/java/com/equinix/openapi/fabric/v4/model/PackageResponse.java @@ -572,6 +645,7 @@ src/main/java/com/equinix/openapi/fabric/v4/model/Pagination.java src/main/java/com/equinix/openapi/fabric/v4/model/PaginationRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/PeeringType.java src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPort.java +src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPortSettings.java src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPortType.java src/main/java/com/equinix/openapi/fabric/v4/model/Port.java src/main/java/com/equinix/openapi/fabric/v4/model/PortAdditionalInfo.java @@ -591,6 +665,7 @@ src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignature.java src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignatureDelegate.java src/main/java/com/equinix/openapi/fabric/v4/model/PortPriority.java src/main/java/com/equinix/openapi/fabric/v4/model/PortRedundancy.java +src/main/java/com/equinix/openapi/fabric/v4/model/PortRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/PortSearchFieldName.java src/main/java/com/equinix/openapi/fabric/v4/model/PortSettings.java src/main/java/com/equinix/openapi/fabric/v4/model/PortSortBy.java @@ -601,10 +676,10 @@ src/main/java/com/equinix/openapi/fabric/v4/model/PortTether.java src/main/java/com/equinix/openapi/fabric/v4/model/PortType.java src/main/java/com/equinix/openapi/fabric/v4/model/PortV4SearchRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeChangeOperation.java +src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeOrder.java src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceConnectionsResponse.java -src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceCreateResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServicePackagesResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceResponse.java @@ -648,7 +723,6 @@ src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBaseFilter.j src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchFilterItem.java src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntry.java -src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryConnection.java src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilter.java src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilters.java src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryOrFilter.java @@ -661,6 +735,7 @@ src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortCriteria.ja src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortDirection.java src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryState.java src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryType.java +src/main/java/com/equinix/openapi/fabric/v4/model/RouterActionsConnection.java src/main/java/com/equinix/openapi/fabric/v4/model/RouterPackageCode.java src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBFD.java src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPData.java @@ -724,6 +799,8 @@ src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetworkChange.java src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNotification.java src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedPort.java src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedServiceProfile.java +src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedTokenNetwork.java +src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedVirtualDevice.java src/main/java/com/equinix/openapi/fabric/v4/model/Sort.java src/main/java/com/equinix/openapi/fabric/v4/model/SortBy.java src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteria.java @@ -731,13 +808,37 @@ src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteriaResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/SortDirection.java src/main/java/com/equinix/openapi/fabric/v4/model/SortItem.java src/main/java/com/equinix/openapi/fabric/v4/model/Statistics.java +src/main/java/com/equinix/openapi/fabric/v4/model/Stream.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAsset.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetFilter.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetFilters.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetOrFilter.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetPutRequest.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSearchRequest.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSimpleExpression.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortBy.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortCriteria.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortDirection.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilter.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilterOrFilter.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilterSimpleExpression.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamGetSubscriptions.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamPostRequest.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamPutRequest.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscription.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionFilter.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPostRequest.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPutRequest.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSink.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkCredential.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkSetting.java +src/main/java/com/equinix/openapi/fabric/v4/model/StreamTarget.java src/main/java/com/equinix/openapi/fabric/v4/model/SubInterface.java src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionAsset.java -src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionAssetType.java src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionEntitlementResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionRouterPackageType.java -src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionStatus.java +src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionState.java src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionTrial.java src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilter.java src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilters.java @@ -748,6 +849,7 @@ src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortCriteria.java src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortDirection.java src/main/java/com/equinix/openapi/fabric/v4/model/TimeServicesSearchRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/TopUtilizedStatistics.java +src/main/java/com/equinix/openapi/fabric/v4/model/ValidateConnectionResponse.java src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequest.java src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilter.java src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilterAnd.java @@ -766,7 +868,11 @@ src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAcc src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridge.java src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridgePackage.java src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointProfile.java +src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionSide.java +src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionTimeServiceResponse.java +src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionUuid.java src/main/java/com/equinix/openapi/fabric/v4/model/VirtualDevice.java +src/main/java/com/equinix/openapi/fabric/v4/model/VirtualDeviceInterface.java src/main/java/com/equinix/openapi/fabric/v4/model/VirtualNetwork.java src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortConfiguration.java src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortLocation.java @@ -790,17 +896,18 @@ src/test/java/com/equinix/openapi/fabric/v4/api/RoutingProtocolsApiTest.java src/test/java/com/equinix/openapi/fabric/v4/api/ServiceProfilesApiTest.java src/test/java/com/equinix/openapi/fabric/v4/api/ServiceTokensApiTest.java src/test/java/com/equinix/openapi/fabric/v4/api/StatisticsApiTest.java +src/test/java/com/equinix/openapi/fabric/v4/api/StreamSubscriptionsApiTest.java +src/test/java/com/equinix/openapi/fabric/v4/api/StreamsApiTest.java src/test/java/com/equinix/openapi/fabric/v4/model/AccessPointSelectorTest.java src/test/java/com/equinix/openapi/fabric/v4/model/AccessPointTest.java src/test/java/com/equinix/openapi/fabric/v4/model/AccessPointTypeTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/AccountTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ActionsTest.java src/test/java/com/equinix/openapi/fabric/v4/model/AddOperationTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/AdvanceConfigurationTest.java src/test/java/com/equinix/openapi/fabric/v4/model/AllPhysicalPortsResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/AllPortsResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ApiConfigTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ApiServicesTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/AssetTest.java src/test/java/com/equinix/openapi/fabric/v4/model/AuthenticationKeyTest.java src/test/java/com/equinix/openapi/fabric/v4/model/BGPActionDataTest.java src/test/java/com/equinix/openapi/fabric/v4/model/BGPActionRequestTest.java @@ -812,6 +919,7 @@ src/test/java/com/equinix/openapi/fabric/v4/model/BGPConnectionIpv6Test.java src/test/java/com/equinix/openapi/fabric/v4/model/BGPConnectionOperationTest.java src/test/java/com/equinix/openapi/fabric/v4/model/BandwidthUtilizationTest.java src/test/java/com/equinix/openapi/fabric/v4/model/BulkPhysicalPortTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/BulkPortRequestTest.java src/test/java/com/equinix/openapi/fabric/v4/model/BulkPortTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ChangeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ChangelogTest.java @@ -820,6 +928,15 @@ src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionRequestTest.j src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionStateTest.java src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionTypeTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchExpressionTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFilterTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFiltersTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchOrFilterTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchRequestTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchResponseTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortByTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortCriteriaTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortDirectionTest.java src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterChangeOperationTest.java src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterChangeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilterTest.java @@ -849,8 +966,19 @@ src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionPostRequestTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionPriorityTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRedundancyTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionResponseTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFilterTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFiltersTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryOrFilterTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySimpleExpressionTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortByTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortDirectionTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFilterDataTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFiltersBaseTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSearchRequestTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSortCriteriaTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntryConnectionTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntrySearchResponseTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntryTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionRoutingProtocolPostRequestTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionSearchResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ConnectionSideAdditionalInfoTest.java @@ -871,14 +999,17 @@ src/test/java/com/equinix/openapi/fabric/v4/model/ExpressionTest.java src/test/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterCodeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPackagesTest.java src/test/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPriceTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/FabricConnectionUuidTest.java src/test/java/com/equinix/openapi/fabric/v4/model/FilterBodyTest.java src/test/java/com/equinix/openapi/fabric/v4/model/GeoCoordinatesTest.java src/test/java/com/equinix/openapi/fabric/v4/model/GeoScopeTypeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/GetAllConnectionRouteFiltersResponseTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/GetAllStreamAssetResponseTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/GetAllStreamResponseTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/GetAllStreamSubscriptionResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/GetResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterGetConnectionsResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterRulesResponseTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/GetSubscriptionsInStreamResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/HealthResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/InternetAccessTest.java src/test/java/com/equinix/openapi/fabric/v4/model/IpBlockPriceTest.java @@ -887,19 +1018,12 @@ src/test/java/com/equinix/openapi/fabric/v4/model/Ipv4Test.java src/test/java/com/equinix/openapi/fabric/v4/model/JsonPatchOperationTest.java src/test/java/com/equinix/openapi/fabric/v4/model/LinkAggregationGroupTest.java src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolConnectionTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolDot1qTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolEvpnVxlanTest.java src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolGetResponseTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolIpv4Ipv6ConfigTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolQinqTest.java src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolRequestTypeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolServiceTokenTest.java src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolStateTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolTest.java src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolTypeTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolUntaggedTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/LinkProtocolVxlanTest.java src/test/java/com/equinix/openapi/fabric/v4/model/LinkTest.java src/test/java/com/equinix/openapi/fabric/v4/model/MarketingInfoTest.java src/test/java/com/equinix/openapi/fabric/v4/model/MarketplaceSubscriptionTest.java @@ -911,6 +1035,7 @@ src/test/java/com/equinix/openapi/fabric/v4/model/MetroErrorTest.java src/test/java/com/equinix/openapi/fabric/v4/model/MetroResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/MetroTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ModelInterfaceTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ModelPackageTest.java src/test/java/com/equinix/openapi/fabric/v4/model/NetworkAllOfTest.java src/test/java/com/equinix/openapi/fabric/v4/model/NetworkChangeOperationTest.java src/test/java/com/equinix/openapi/fabric/v4/model/NetworkChangeResponseTest.java @@ -936,12 +1061,14 @@ src/test/java/com/equinix/openapi/fabric/v4/model/NetworkStateTest.java src/test/java/com/equinix/openapi/fabric/v4/model/NetworkTest.java src/test/java/com/equinix/openapi/fabric/v4/model/NetworkTypeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/OpEnumTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/OperationTest.java src/test/java/com/equinix/openapi/fabric/v4/model/OrderTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PackageChangeLogTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PackageResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PaginationRequestTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PaginationTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PeeringTypeTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/PhysicalPortSettingsTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PhysicalPortTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PhysicalPortTypeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PortAdditionalInfoTest.java @@ -961,6 +1088,7 @@ src/test/java/com/equinix/openapi/fabric/v4/model/PortOrderSignatureTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PortOrderTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PortPriorityTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PortRedundancyTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/PortRequestTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PortSearchFieldNameTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PortSettingsTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PortSortByTest.java @@ -972,10 +1100,10 @@ src/test/java/com/equinix/openapi/fabric/v4/model/PortTetherTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PortTypeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PortV4SearchRequestTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeChangeOperationTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeOrderTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageRequestTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceConnectionsResponseTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceCreateResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServicePackagesResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceRequestTest.java src/test/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceResponseTest.java @@ -1018,7 +1146,6 @@ src/test/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBaseFilterTe src/test/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBaseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchFilterItemTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchResponseTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryConnectionTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilterTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFiltersTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryOrFilterTest.java @@ -1032,6 +1159,7 @@ src/test/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortDirectionTe src/test/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryStateTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryTypeTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/RouterActionsConnectionTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RouterPackageCodeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBFDTest.java src/test/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPDataTest.java @@ -1095,6 +1223,8 @@ src/test/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetworkTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SimplifiedNotificationTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SimplifiedPortTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SimplifiedServiceProfileTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/SimplifiedTokenNetworkTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/SimplifiedVirtualDeviceTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SortByTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SortCriteriaResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SortCriteriaTest.java @@ -1102,13 +1232,37 @@ src/test/java/com/equinix/openapi/fabric/v4/model/SortDirectionTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SortItemTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SortTest.java src/test/java/com/equinix/openapi/fabric/v4/model/StatisticsTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetFilterTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetFiltersTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetOrFilterTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetPutRequestTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetSearchRequestTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetSimpleExpressionTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortByTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortCriteriaTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortDirectionTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamAssetTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamFilterOrFilterTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamFilterSimpleExpressionTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamFilterTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamGetSubscriptionsTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamPostRequestTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamPutRequestTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionFilterTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPostRequestTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPutRequestTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkCredentialTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkSettingTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamTargetTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/StreamTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SubInterfaceTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SubscriptionAssetTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/SubscriptionAssetTypeTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SubscriptionEntitlementResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SubscriptionResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SubscriptionRouterPackageTypeTest.java -src/test/java/com/equinix/openapi/fabric/v4/model/SubscriptionStatusTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/SubscriptionStateTest.java src/test/java/com/equinix/openapi/fabric/v4/model/SubscriptionTrialTest.java src/test/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilterTest.java src/test/java/com/equinix/openapi/fabric/v4/model/TimeServiceFiltersTest.java @@ -1119,6 +1273,7 @@ src/test/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortCriteriaTest.ja src/test/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortDirectionTest.java src/test/java/com/equinix/openapi/fabric/v4/model/TimeServicesSearchRequestTest.java src/test/java/com/equinix/openapi/fabric/v4/model/TopUtilizedStatisticsTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/ValidateConnectionResponseTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilterAndTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilterTest.java src/test/java/com/equinix/openapi/fabric/v4/model/ValidateRequestTest.java @@ -1137,6 +1292,10 @@ src/test/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAcc src/test/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointProfileTest.java src/test/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointTest.java src/test/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionSideTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionTimeServiceResponseTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionUuidTest.java +src/test/java/com/equinix/openapi/fabric/v4/model/VirtualDeviceInterfaceTest.java src/test/java/com/equinix/openapi/fabric/v4/model/VirtualDeviceTest.java src/test/java/com/equinix/openapi/fabric/v4/model/VirtualNetworkTest.java src/test/java/com/equinix/openapi/fabric/v4/model/VirtualPortConfigurationTest.java diff --git a/equinix-openapi-fabric/README.md b/equinix-openapi-fabric/README.md index 48335c0e..5da39357 100644 --- a/equinix-openapi-fabric/README.md +++ b/equinix-openapi-fabric/README.md @@ -1,11 +1,11 @@ # equinix-openapi-fabric Equinix Fabric API v4 -- API version: 4.15 +- API version: 4.17 -Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
+Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
- For more information, please visit [https://equinix.com/about/](https://equinix.com/about/) + For more information, please visit [https://docs.equinix.com/api-support.htm](https://docs.equinix.com/api-support.htm) *Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)* @@ -123,11 +123,15 @@ Class | Method | HTTP request | Description *CloudRoutersApi* | [**createCloudRouterAction**](docs/CloudRoutersApi.md#createCloudRouterAction) | **POST** /fabric/v4/routers/{routerId}/actions | Route table actions *CloudRoutersApi* | [**deleteCloudRouterByUuid**](docs/CloudRoutersApi.md#deleteCloudRouterByUuid) | **DELETE** /fabric/v4/routers/{routerId} | Delete Routers *CloudRoutersApi* | [**getCloudRouterActions**](docs/CloudRoutersApi.md#getCloudRouterActions) | **GET** /fabric/v4/routers/{routerId}/actions | Get actions +*CloudRoutersApi* | [**getCloudRouterActionsByUuid**](docs/CloudRoutersApi.md#getCloudRouterActionsByUuid) | **GET** /fabric/v4/routers/{routerId}/actions/{actionId} | Get actions *CloudRoutersApi* | [**getCloudRouterByUuid**](docs/CloudRoutersApi.md#getCloudRouterByUuid) | **GET** /fabric/v4/routers/{routerId} | Get Routers *CloudRoutersApi* | [**getCloudRouterPackageByCode**](docs/CloudRoutersApi.md#getCloudRouterPackageByCode) | **GET** /fabric/v4/routerPackages/{routerPackageCode} | Get Package Details *CloudRoutersApi* | [**getCloudRouterPackages**](docs/CloudRoutersApi.md#getCloudRouterPackages) | **GET** /fabric/v4/routerPackages | List Packages *CloudRoutersApi* | [**searchCloudRouterRoutes**](docs/CloudRoutersApi.md#searchCloudRouterRoutes) | **POST** /fabric/v4/routers/{routerId}/routes/search | Search Route Table *CloudRoutersApi* | [**searchCloudRouters**](docs/CloudRoutersApi.md#searchCloudRouters) | **POST** /fabric/v4/routers/search | Search Routers +*CloudRoutersApi* | [**searchConnectionAdvertisedRoutes**](docs/CloudRoutersApi.md#searchConnectionAdvertisedRoutes) | **POST** /fabric/v4/connections/{connectionId}/advertisedRoutes/search | search advertised +*CloudRoutersApi* | [**searchConnectionReceivedRoutes**](docs/CloudRoutersApi.md#searchConnectionReceivedRoutes) | **POST** /fabric/v4/connections/{connectionId}/receivedRoutes/search | Search received +*CloudRoutersApi* | [**searchRouterActions**](docs/CloudRoutersApi.md#searchRouterActions) | **POST** /fabric/v4/routers/{routerId}/actions/search | Search actions *CloudRoutersApi* | [**updateCloudRouterByUuid**](docs/CloudRoutersApi.md#updateCloudRouterByUuid) | **PATCH** /fabric/v4/routers/{routerId} | Update Routers *ConnectionsApi* | [**createConnection**](docs/ConnectionsApi.md#createConnection) | **POST** /fabric/v4/connections | Create Connection *ConnectionsApi* | [**createConnectionAction**](docs/ConnectionsApi.md#createConnectionAction) | **POST** /fabric/v4/connections/{connectionId}/actions | Connection Actions @@ -157,13 +161,14 @@ Class | Method | HTTP request | Description *PortsApi* | [**getVlans**](docs/PortsApi.md#getVlans) | **GET** /fabric/v4/ports/{portUuid}/linkProtocols | Get Vlans *PortsApi* | [**searchPorts**](docs/PortsApi.md#searchPorts) | **POST** /fabric/v4/ports/search | Search ports *PrecisionTimeApi* | [**createTimeServices**](docs/PrecisionTimeApi.md#createTimeServices) | **POST** /fabric/v4/timeServices | Create Time Service -*PrecisionTimeApi* | [**deleteTimeServiceById**](docs/PrecisionTimeApi.md#deleteTimeServiceById) | **DELETE** /fabric/v4/timeServices/{serviceId} | Delete time service -*PrecisionTimeApi* | [**getTimeServicesById**](docs/PrecisionTimeApi.md#getTimeServicesById) | **GET** /fabric/v4/timeServices/{serviceId} | Get Time Service +*PrecisionTimeApi* | [**deleteTimeServiceById**](docs/PrecisionTimeApi.md#deleteTimeServiceById) | **DELETE** /fabric/v4/timeServices/{serviceId} | Delete by ID. +*PrecisionTimeApi* | [**fulfillTimeServices**](docs/PrecisionTimeApi.md#fulfillTimeServices) | **PUT** /fabric/v4/timeServices/{serviceId} | Configure Service. +*PrecisionTimeApi* | [**getTimeServicesById**](docs/PrecisionTimeApi.md#getTimeServicesById) | **GET** /fabric/v4/timeServices/{serviceId} | Get Service By ID. *PrecisionTimeApi* | [**getTimeServicesConnectionsByServiceId**](docs/PrecisionTimeApi.md#getTimeServicesConnectionsByServiceId) | **GET** /fabric/v4/timeServices/{serviceId}/connections | Get Connection Links *PrecisionTimeApi* | [**getTimeServicesPackageByCode**](docs/PrecisionTimeApi.md#getTimeServicesPackageByCode) | **GET** /fabric/v4/timeServicePackages/{packageCode} | Get Package By Code *PrecisionTimeApi* | [**getTimeServicesPackages**](docs/PrecisionTimeApi.md#getTimeServicesPackages) | **GET** /fabric/v4/timeServicePackages | Get Packages *PrecisionTimeApi* | [**searchTimeServices**](docs/PrecisionTimeApi.md#searchTimeServices) | **POST** /fabric/v4/timeServices/search | Search Time Services -*PrecisionTimeApi* | [**updateTimeServicesById**](docs/PrecisionTimeApi.md#updateTimeServicesById) | **PATCH** /fabric/v4/timeServices/{serviceId} | Patch time service +*PrecisionTimeApi* | [**updateTimeServicesById**](docs/PrecisionTimeApi.md#updateTimeServicesById) | **PATCH** /fabric/v4/timeServices/{serviceId} | Update By ID. *PricesApi* | [**searchPrices**](docs/PricesApi.md#searchPrices) | **POST** /fabric/v4/prices/search | Get Prices *RouteFilterRulesApi* | [**createRouteFilterRule**](docs/RouteFilterRulesApi.md#createRouteFilterRule) | **POST** /fabric/v4/routeFilters/{routeFilterId}/routeFilterRules | Create RFRule *RouteFilterRulesApi* | [**createRouteFilterRulesInBulk**](docs/RouteFilterRulesApi.md#createRouteFilterRulesInBulk) | **POST** /fabric/v4/routeFilters/{routeFilterId}/routeFilterRules/bulk | Bulk RFRules @@ -217,6 +222,21 @@ Class | Method | HTTP request | Description *StatisticsApi* | [**getConnectionStatsByPortUuid**](docs/StatisticsApi.md#getConnectionStatsByPortUuid) | **GET** /fabric/v4/connections/{connectionId}/stats | Get Stats by uuid *StatisticsApi* | [**getPortStats**](docs/StatisticsApi.md#getPortStats) | **GET** /fabric/v4/ports/stats | Top Port Statistics *StatisticsApi* | [**getPortStatsByPortUuid**](docs/StatisticsApi.md#getPortStatsByPortUuid) | **GET** /fabric/v4/ports/{portId}/stats | Get Stats by uuid +*StreamSubscriptionsApi* | [**createStreamSubscriptions**](docs/StreamSubscriptionsApi.md#createStreamSubscriptions) | **POST** /fabric/v4/streamSubscriptions | Create Subscription +*StreamSubscriptionsApi* | [**deleteStreamSubscriptionByUuid**](docs/StreamSubscriptionsApi.md#deleteStreamSubscriptionByUuid) | **DELETE** /fabric/v4/streamSubscriptions/{streamSubscriptionId} | Delete Subscription +*StreamSubscriptionsApi* | [**getStreamSubscriptionByUuid**](docs/StreamSubscriptionsApi.md#getStreamSubscriptionByUuid) | **GET** /fabric/v4/streamSubscriptions/{streamSubscriptionId} | Get Subscription +*StreamSubscriptionsApi* | [**getStreamSubscriptions**](docs/StreamSubscriptionsApi.md#getStreamSubscriptions) | **GET** /fabric/v4/streamSubscriptions | Get Subscriptions +*StreamSubscriptionsApi* | [**updateStreamSubscriptionByUuid**](docs/StreamSubscriptionsApi.md#updateStreamSubscriptionByUuid) | **PUT** /fabric/v4/streamSubscriptions/{streamSubscriptionId} | Update Subscription +*StreamsApi* | [**createStreams**](docs/StreamsApi.md#createStreams) | **POST** /fabric/v4/streams | Create Stream +*StreamsApi* | [**deleteStreamAssetByUuid**](docs/StreamsApi.md#deleteStreamAssetByUuid) | **DELETE** /fabric/v4/streams/{streamId}/{asset}/{assetId} | Detach Asset +*StreamsApi* | [**deleteStreamByUuid**](docs/StreamsApi.md#deleteStreamByUuid) | **DELETE** /fabric/v4/streams/{streamId} | Delete Stream +*StreamsApi* | [**getStreamAssetByUuid**](docs/StreamsApi.md#getStreamAssetByUuid) | **GET** /fabric/v4/streams/{streamId}/{asset}/{assetId} | Get Asset +*StreamsApi* | [**getStreamByUuid**](docs/StreamsApi.md#getStreamByUuid) | **GET** /fabric/v4/streams/{streamId} | Get Stream +*StreamsApi* | [**getStreams**](docs/StreamsApi.md#getStreams) | **GET** /fabric/v4/streams | Get Streams +*StreamsApi* | [**getStreamsAssets**](docs/StreamsApi.md#getStreamsAssets) | **POST** /fabric/v4/streamAssets/search | Get Assets +*StreamsApi* | [**getSubscriptionsInStream**](docs/StreamsApi.md#getSubscriptionsInStream) | **GET** /fabric/v4/streams/{streamId}/streamSubscriptions | Get Stream's Subs +*StreamsApi* | [**updateStreamAssetByUuid**](docs/StreamsApi.md#updateStreamAssetByUuid) | **PUT** /fabric/v4/streams/{streamId}/{asset}/{assetId} | Attach Asset +*StreamsApi* | [**updateStreamByUuid**](docs/StreamsApi.md#updateStreamByUuid) | **PUT** /fabric/v4/streams/{streamId} | Update Stream ## Documentation for Models @@ -224,14 +244,13 @@ Class | Method | HTTP request | Description - [AccessPoint](docs/AccessPoint.md) - [AccessPointSelector](docs/AccessPointSelector.md) - [AccessPointType](docs/AccessPointType.md) - - [Account](docs/Account.md) - [Actions](docs/Actions.md) - [AddOperation](docs/AddOperation.md) - - [AdvanceConfiguration](docs/AdvanceConfiguration.md) - [AllPhysicalPortsResponse](docs/AllPhysicalPortsResponse.md) - [AllPortsResponse](docs/AllPortsResponse.md) - [ApiConfig](docs/ApiConfig.md) - [ApiServices](docs/ApiServices.md) + - [Asset](docs/Asset.md) - [AuthenticationKey](docs/AuthenticationKey.md) - [BGPActionData](docs/BGPActionData.md) - [BGPActionRequest](docs/BGPActionRequest.md) @@ -244,6 +263,7 @@ Class | Method | HTTP request | Description - [BandwidthUtilization](docs/BandwidthUtilization.md) - [BulkPhysicalPort](docs/BulkPhysicalPort.md) - [BulkPort](docs/BulkPort.md) + - [BulkPortRequest](docs/BulkPortRequest.md) - [Change](docs/Change.md) - [Changelog](docs/Changelog.md) - [CloudRouter](docs/CloudRouter.md) @@ -252,6 +272,15 @@ Class | Method | HTTP request | Description - [CloudRouterActionResponse](docs/CloudRouterActionResponse.md) - [CloudRouterActionState](docs/CloudRouterActionState.md) - [CloudRouterActionType](docs/CloudRouterActionType.md) + - [CloudRouterActionsSearchExpression](docs/CloudRouterActionsSearchExpression.md) + - [CloudRouterActionsSearchFilter](docs/CloudRouterActionsSearchFilter.md) + - [CloudRouterActionsSearchFilters](docs/CloudRouterActionsSearchFilters.md) + - [CloudRouterActionsSearchOrFilter](docs/CloudRouterActionsSearchOrFilter.md) + - [CloudRouterActionsSearchRequest](docs/CloudRouterActionsSearchRequest.md) + - [CloudRouterActionsSearchResponse](docs/CloudRouterActionsSearchResponse.md) + - [CloudRouterActionsSearchSortBy](docs/CloudRouterActionsSearchSortBy.md) + - [CloudRouterActionsSearchSortCriteria](docs/CloudRouterActionsSearchSortCriteria.md) + - [CloudRouterActionsSearchSortDirection](docs/CloudRouterActionsSearchSortDirection.md) - [CloudRouterChange](docs/CloudRouterChange.md) - [CloudRouterChangeOperation](docs/CloudRouterChangeOperation.md) - [CloudRouterFilter](docs/CloudRouterFilter.md) @@ -281,8 +310,19 @@ Class | Method | HTTP request | Description - [ConnectionPriority](docs/ConnectionPriority.md) - [ConnectionRedundancy](docs/ConnectionRedundancy.md) - [ConnectionResponse](docs/ConnectionResponse.md) + - [ConnectionRouteEntryFilter](docs/ConnectionRouteEntryFilter.md) + - [ConnectionRouteEntryFilters](docs/ConnectionRouteEntryFilters.md) + - [ConnectionRouteEntryOrFilter](docs/ConnectionRouteEntryOrFilter.md) + - [ConnectionRouteEntrySimpleExpression](docs/ConnectionRouteEntrySimpleExpression.md) + - [ConnectionRouteEntrySortBy](docs/ConnectionRouteEntrySortBy.md) + - [ConnectionRouteEntrySortDirection](docs/ConnectionRouteEntrySortDirection.md) - [ConnectionRouteFilterData](docs/ConnectionRouteFilterData.md) - [ConnectionRouteFiltersBase](docs/ConnectionRouteFiltersBase.md) + - [ConnectionRouteSearchRequest](docs/ConnectionRouteSearchRequest.md) + - [ConnectionRouteSortCriteria](docs/ConnectionRouteSortCriteria.md) + - [ConnectionRouteTableEntry](docs/ConnectionRouteTableEntry.md) + - [ConnectionRouteTableEntryConnection](docs/ConnectionRouteTableEntryConnection.md) + - [ConnectionRouteTableEntrySearchResponse](docs/ConnectionRouteTableEntrySearchResponse.md) - [ConnectionRoutingProtocolPostRequest](docs/ConnectionRoutingProtocolPostRequest.md) - [ConnectionSearchResponse](docs/ConnectionSearchResponse.md) - [ConnectionSide](docs/ConnectionSide.md) @@ -302,14 +342,17 @@ Class | Method | HTTP request | Description - [FabricCloudRouterCode](docs/FabricCloudRouterCode.md) - [FabricCloudRouterPackages](docs/FabricCloudRouterPackages.md) - [FabricCloudRouterPrice](docs/FabricCloudRouterPrice.md) - - [FabricConnectionUuid](docs/FabricConnectionUuid.md) - [FilterBody](docs/FilterBody.md) - [GeoCoordinates](docs/GeoCoordinates.md) - [GeoScopeType](docs/GeoScopeType.md) - [GetAllConnectionRouteFiltersResponse](docs/GetAllConnectionRouteFiltersResponse.md) + - [GetAllStreamAssetResponse](docs/GetAllStreamAssetResponse.md) + - [GetAllStreamResponse](docs/GetAllStreamResponse.md) + - [GetAllStreamSubscriptionResponse](docs/GetAllStreamSubscriptionResponse.md) - [GetResponse](docs/GetResponse.md) - [GetRouteFilterGetConnectionsResponse](docs/GetRouteFilterGetConnectionsResponse.md) - [GetRouteFilterRulesResponse](docs/GetRouteFilterRulesResponse.md) + - [GetSubscriptionsInStreamResponse](docs/GetSubscriptionsInStreamResponse.md) - [HealthResponse](docs/HealthResponse.md) - [InternetAccess](docs/InternetAccess.md) - [IpBlockPrice](docs/IpBlockPrice.md) @@ -318,20 +361,13 @@ Class | Method | HTTP request | Description - [JsonPatchOperation](docs/JsonPatchOperation.md) - [Link](docs/Link.md) - [LinkAggregationGroup](docs/LinkAggregationGroup.md) - - [LinkProtocol](docs/LinkProtocol.md) - [LinkProtocolConnection](docs/LinkProtocolConnection.md) - - [LinkProtocolDot1q](docs/LinkProtocolDot1q.md) - - [LinkProtocolEvpnVxlan](docs/LinkProtocolEvpnVxlan.md) - [LinkProtocolGetResponse](docs/LinkProtocolGetResponse.md) - - [LinkProtocolIpv4Ipv6Config](docs/LinkProtocolIpv4Ipv6Config.md) - - [LinkProtocolQinq](docs/LinkProtocolQinq.md) - [LinkProtocolRequestType](docs/LinkProtocolRequestType.md) - [LinkProtocolResponse](docs/LinkProtocolResponse.md) - [LinkProtocolServiceToken](docs/LinkProtocolServiceToken.md) - [LinkProtocolState](docs/LinkProtocolState.md) - [LinkProtocolType](docs/LinkProtocolType.md) - - [LinkProtocolUntagged](docs/LinkProtocolUntagged.md) - - [LinkProtocolVxlan](docs/LinkProtocolVxlan.md) - [MarketingInfo](docs/MarketingInfo.md) - [MarketplaceSubscription](docs/MarketplaceSubscription.md) - [Md5](docs/Md5.md) @@ -342,6 +378,7 @@ Class | Method | HTTP request | Description - [MetroError](docs/MetroError.md) - [MetroResponse](docs/MetroResponse.md) - [ModelInterface](docs/ModelInterface.md) + - [ModelPackage](docs/ModelPackage.md) - [Network](docs/Network.md) - [NetworkAllOf](docs/NetworkAllOf.md) - [NetworkChange](docs/NetworkChange.md) @@ -367,6 +404,7 @@ Class | Method | HTTP request | Description - [NetworkState](docs/NetworkState.md) - [NetworkType](docs/NetworkType.md) - [OpEnum](docs/OpEnum.md) + - [Operation](docs/Operation.md) - [Order](docs/Order.md) - [PackageChangeLog](docs/PackageChangeLog.md) - [PackageResponse](docs/PackageResponse.md) @@ -374,6 +412,7 @@ Class | Method | HTTP request | Description - [PaginationRequest](docs/PaginationRequest.md) - [PeeringType](docs/PeeringType.md) - [PhysicalPort](docs/PhysicalPort.md) + - [PhysicalPortSettings](docs/PhysicalPortSettings.md) - [PhysicalPortType](docs/PhysicalPortType.md) - [Port](docs/Port.md) - [PortAdditionalInfo](docs/PortAdditionalInfo.md) @@ -393,6 +432,7 @@ Class | Method | HTTP request | Description - [PortOrderSignatureDelegate](docs/PortOrderSignatureDelegate.md) - [PortPriority](docs/PortPriority.md) - [PortRedundancy](docs/PortRedundancy.md) + - [PortRequest](docs/PortRequest.md) - [PortSearchFieldName](docs/PortSearchFieldName.md) - [PortSettings](docs/PortSettings.md) - [PortSortBy](docs/PortSortBy.md) @@ -403,10 +443,10 @@ Class | Method | HTTP request | Description - [PortType](docs/PortType.md) - [PortV4SearchRequest](docs/PortV4SearchRequest.md) - [PrecisionTimeChangeOperation](docs/PrecisionTimeChangeOperation.md) + - [PrecisionTimeOrder](docs/PrecisionTimeOrder.md) - [PrecisionTimePackageRequest](docs/PrecisionTimePackageRequest.md) - [PrecisionTimePackageResponse](docs/PrecisionTimePackageResponse.md) - [PrecisionTimeServiceConnectionsResponse](docs/PrecisionTimeServiceConnectionsResponse.md) - - [PrecisionTimeServiceCreateResponse](docs/PrecisionTimeServiceCreateResponse.md) - [PrecisionTimeServicePackagesResponse](docs/PrecisionTimeServicePackagesResponse.md) - [PrecisionTimeServiceRequest](docs/PrecisionTimeServiceRequest.md) - [PrecisionTimeServiceResponse](docs/PrecisionTimeServiceResponse.md) @@ -450,7 +490,6 @@ Class | Method | HTTP request | Description - [RouteFiltersSearchFilterItem](docs/RouteFiltersSearchFilterItem.md) - [RouteFiltersSearchResponse](docs/RouteFiltersSearchResponse.md) - [RouteTableEntry](docs/RouteTableEntry.md) - - [RouteTableEntryConnection](docs/RouteTableEntryConnection.md) - [RouteTableEntryFilter](docs/RouteTableEntryFilter.md) - [RouteTableEntryFilters](docs/RouteTableEntryFilters.md) - [RouteTableEntryOrFilter](docs/RouteTableEntryOrFilter.md) @@ -463,6 +502,7 @@ Class | Method | HTTP request | Description - [RouteTableEntrySortDirection](docs/RouteTableEntrySortDirection.md) - [RouteTableEntryState](docs/RouteTableEntryState.md) - [RouteTableEntryType](docs/RouteTableEntryType.md) + - [RouterActionsConnection](docs/RouterActionsConnection.md) - [RouterPackageCode](docs/RouterPackageCode.md) - [RoutingProtocolBFD](docs/RoutingProtocolBFD.md) - [RoutingProtocolBGPData](docs/RoutingProtocolBGPData.md) @@ -526,6 +566,8 @@ Class | Method | HTTP request | Description - [SimplifiedNotification](docs/SimplifiedNotification.md) - [SimplifiedPort](docs/SimplifiedPort.md) - [SimplifiedServiceProfile](docs/SimplifiedServiceProfile.md) + - [SimplifiedTokenNetwork](docs/SimplifiedTokenNetwork.md) + - [SimplifiedVirtualDevice](docs/SimplifiedVirtualDevice.md) - [Sort](docs/Sort.md) - [SortBy](docs/SortBy.md) - [SortCriteria](docs/SortCriteria.md) @@ -533,13 +575,37 @@ Class | Method | HTTP request | Description - [SortDirection](docs/SortDirection.md) - [SortItem](docs/SortItem.md) - [Statistics](docs/Statistics.md) + - [Stream](docs/Stream.md) + - [StreamAsset](docs/StreamAsset.md) + - [StreamAssetFilter](docs/StreamAssetFilter.md) + - [StreamAssetFilters](docs/StreamAssetFilters.md) + - [StreamAssetOrFilter](docs/StreamAssetOrFilter.md) + - [StreamAssetPutRequest](docs/StreamAssetPutRequest.md) + - [StreamAssetSearchRequest](docs/StreamAssetSearchRequest.md) + - [StreamAssetSimpleExpression](docs/StreamAssetSimpleExpression.md) + - [StreamAssetSortBy](docs/StreamAssetSortBy.md) + - [StreamAssetSortCriteria](docs/StreamAssetSortCriteria.md) + - [StreamAssetSortDirection](docs/StreamAssetSortDirection.md) + - [StreamFilter](docs/StreamFilter.md) + - [StreamFilterOrFilter](docs/StreamFilterOrFilter.md) + - [StreamFilterSimpleExpression](docs/StreamFilterSimpleExpression.md) + - [StreamGetSubscriptions](docs/StreamGetSubscriptions.md) + - [StreamPostRequest](docs/StreamPostRequest.md) + - [StreamPutRequest](docs/StreamPutRequest.md) + - [StreamSubscription](docs/StreamSubscription.md) + - [StreamSubscriptionFilter](docs/StreamSubscriptionFilter.md) + - [StreamSubscriptionPostRequest](docs/StreamSubscriptionPostRequest.md) + - [StreamSubscriptionPutRequest](docs/StreamSubscriptionPutRequest.md) + - [StreamSubscriptionSink](docs/StreamSubscriptionSink.md) + - [StreamSubscriptionSinkCredential](docs/StreamSubscriptionSinkCredential.md) + - [StreamSubscriptionSinkSetting](docs/StreamSubscriptionSinkSetting.md) + - [StreamTarget](docs/StreamTarget.md) - [SubInterface](docs/SubInterface.md) - [SubscriptionAsset](docs/SubscriptionAsset.md) - - [SubscriptionAssetType](docs/SubscriptionAssetType.md) - [SubscriptionEntitlementResponse](docs/SubscriptionEntitlementResponse.md) - [SubscriptionResponse](docs/SubscriptionResponse.md) - [SubscriptionRouterPackageType](docs/SubscriptionRouterPackageType.md) - - [SubscriptionStatus](docs/SubscriptionStatus.md) + - [SubscriptionState](docs/SubscriptionState.md) - [SubscriptionTrial](docs/SubscriptionTrial.md) - [TimeServiceFilter](docs/TimeServiceFilter.md) - [TimeServiceFilters](docs/TimeServiceFilters.md) @@ -550,6 +616,7 @@ Class | Method | HTTP request | Description - [TimeServiceSortDirection](docs/TimeServiceSortDirection.md) - [TimeServicesSearchRequest](docs/TimeServicesSearchRequest.md) - [TopUtilizedStatistics](docs/TopUtilizedStatistics.md) + - [ValidateConnectionResponse](docs/ValidateConnectionResponse.md) - [ValidateRequest](docs/ValidateRequest.md) - [ValidateRequestFilter](docs/ValidateRequestFilter.md) - [ValidateRequestFilterAnd](docs/ValidateRequestFilterAnd.md) @@ -568,7 +635,11 @@ Class | Method | HTTP request | Description - [VirtualConnectionPriceZSideAccessPointBridge](docs/VirtualConnectionPriceZSideAccessPointBridge.md) - [VirtualConnectionPriceZSideAccessPointBridgePackage](docs/VirtualConnectionPriceZSideAccessPointBridgePackage.md) - [VirtualConnectionPriceZSideAccessPointProfile](docs/VirtualConnectionPriceZSideAccessPointProfile.md) + - [VirtualConnectionSide](docs/VirtualConnectionSide.md) + - [VirtualConnectionTimeServiceResponse](docs/VirtualConnectionTimeServiceResponse.md) + - [VirtualConnectionUuid](docs/VirtualConnectionUuid.md) - [VirtualDevice](docs/VirtualDevice.md) + - [VirtualDeviceInterface](docs/VirtualDeviceInterface.md) - [VirtualNetwork](docs/VirtualNetwork.md) - [VirtualPortConfiguration](docs/VirtualPortConfiguration.md) - [VirtualPortLocation](docs/VirtualPortLocation.md) @@ -593,5 +664,5 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea ## Author -api-support@equinix.com + diff --git a/equinix-openapi-fabric/api/openapi.yaml b/equinix-openapi-fabric/api/openapi.yaml index 2022db26..2b72983e 100644 --- a/equinix-openapi-fabric/api/openapi.yaml +++ b/equinix-openapi-fabric/api/openapi.yaml @@ -1,9 +1,8 @@ openapi: 3.0.3 info: contact: - email: api-support@equinix.com name: Equinix API Support - url: https://equinix.com/about/ + url: https://docs.equinix.com/api-support.htm description: "Equinix Fabric is an advanced software-defined interconnection solution\ \ that enables you to directly, securely and dynamically connect to distributed\ \ infrastructure and digital ecosystems on platform Equinix via a single port,\ @@ -13,8 +12,9 @@ info: \ at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Equinix\ - \ Terraform Provider
Fabric Python\ + \ SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
" license: @@ -22,7 +22,7 @@ info: url: https://developer.equinix.com/agreement termsOfService: https://www.equinix.com/about/legal/terms title: Equinix Fabric API v4 - version: "4.15" + version: "4.17" externalDocs: description: Find more information on Equinix Developer Portal url: https://developer.equinix.com @@ -52,6 +52,10 @@ tags: name: Service Tokens - description: Statistics name: Statistics +- description: Stream Subscriptions Beta + name: Stream Subscriptions +- description: Streams Beta + name: Streams paths: /fabric/v4/connections: post: @@ -767,6 +771,162 @@ paths: - Connections x-content-type: application/json x-accepts: application/json + /fabric/v4/connections/{connectionId}/advertisedRoutes/search: + post: + description: "The API provides capability to get list of user's advertised routes\ + \ using search criteria, including optional filtering, pagination and sorting" + operationId: searchConnectionAdvertisedRoutes + parameters: + - description: Connection Id + explode: false + in: path + name: connectionId + required: true + schema: + $ref: '#/components/schemas/ConnectionId' + style: simple + requestBody: + content: + application/json: + examples: + ConnectionRoutesSearchType: + $ref: '#/components/examples/ConnectionRoutesSearchByType' + value: null + ConnectionRoutesSearchByState: + $ref: '#/components/examples/ConnectionRoutesSearchByState' + value: null + ConnectionRoutesSearchByMed: + $ref: '#/components/examples/ConnectionRoutesSearchByMed' + value: null + schema: + $ref: '#/components/schemas/ConnectionRouteSearchRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ConnectionRouteTableEntrySearchResponse' + description: Successful operation + "400": + content: + application/json: + examples: + example: + $ref: '#/components/examples/400' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + summary: search advertised + tags: + - Cloud Routers + x-content-type: application/json + x-accepts: application/json + /fabric/v4/connections/{connectionId}/receivedRoutes/search: + post: + description: "The API provides capability to get list of received routes using\ + \ search criteria, including optional filtering, pagination and sorting" + operationId: searchConnectionReceivedRoutes + parameters: + - description: Connection Id + explode: false + in: path + name: connectionId + required: true + schema: + $ref: '#/components/schemas/ConnectionId' + style: simple + requestBody: + content: + application/json: + examples: + ConnectionRoutesSearchType: + $ref: '#/components/examples/ConnectionRoutesSearchByType' + value: null + ConnectionRoutesSearchByState: + $ref: '#/components/examples/ConnectionRoutesSearchByState' + value: null + ConnectionRoutesSearchByMed: + $ref: '#/components/examples/ConnectionRoutesSearchByMed' + value: null + schema: + $ref: '#/components/schemas/ConnectionRouteSearchRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/ConnectionRouteTableEntrySearchResponse' + description: Successful operation + "400": + content: + application/json: + examples: + example: + $ref: '#/components/examples/400' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + summary: Search received + tags: + - Cloud Routers + x-content-type: application/json + x-accepts: application/json /fabric/v4/connections/{connectionId}/routingProtocols: get: description: This API provides capability to get Routing Protocols for connections @@ -3365,8 +3525,22 @@ paths: $ref: '#/components/schemas/ServiceTokenUUID' style: simple responses: - "204": - description: Deleted Service Token Successfully + "200": + content: + application/json: + examples: + tokenExample: + $ref: '#/components/examples/getServiceToken' + value: null + tokenVDExample: + $ref: '#/components/examples/getServiceToken-VD' + value: null + tokenNetworkExample: + $ref: '#/components/examples/getServiceToken-Network' + value: null + schema: + $ref: '#/components/schemas/ServiceToken' + description: Successful operation "400": content: application/json: @@ -3377,16 +3551,26 @@ paths: schema: $ref: '#/components/schemas/ErrorList' description: Bad request - "401": + "403": content: application/json: examples: example: - $ref: '#/components/examples/401' + $ref: '#/components/examples/403' value: null schema: $ref: '#/components/schemas/ErrorList' - description: Unauthorized + description: Forbidden + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error summary: Delete Token by uuid tags: - Service Tokens @@ -3413,8 +3597,11 @@ paths: tokenExample: $ref: '#/components/examples/getServiceToken' value: null - tokenCrhExample: - $ref: '#/components/examples/getServiceToken-CRH' + tokenVDExample: + $ref: '#/components/examples/getServiceToken-VD' + value: null + tokenNetworkExample: + $ref: '#/components/examples/getServiceToken-Network' value: null schema: $ref: '#/components/schemas/ServiceToken' @@ -3498,8 +3685,11 @@ paths: tokenExample: $ref: '#/components/examples/getServiceToken' value: null - tokenCrhExample: - $ref: '#/components/examples/getServiceToken-CRH' + tokenVDExample: + $ref: '#/components/examples/getServiceToken-VD' + value: null + tokenNetworkExample: + $ref: '#/components/examples/getServiceToken-Network' value: null schema: $ref: '#/components/schemas/ServiceToken' @@ -3524,6 +3714,16 @@ paths: schema: $ref: '#/components/schemas/ErrorList' description: Forbidden + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error summary: Update Token By ID tags: - Service Tokens @@ -3559,9 +3759,6 @@ paths: tokenExample: $ref: '#/components/examples/getServiceTokens' value: null - tokenCrhExample: - $ref: '#/components/examples/getServiceTokens-CRH' - value: null schema: $ref: '#/components/schemas/ServiceTokens' description: Successful operation @@ -3583,6 +3780,7 @@ paths: description: Create Service Tokens generates Equinix Fabric? service tokens. These tokens authorize users to access protected resources and services. operationId: createServiceToken + parameters: [] requestBody: content: application/json: @@ -3608,6 +3806,12 @@ paths: ZsideTokenWithVxlanExample: $ref: '#/components/examples/createZsideServiceTokenWithVxlan' value: null + ZsideTokenWithVDExample: + $ref: '#/components/examples/createZsideServiceTokenWithVD' + value: null + ZsideTokenWithNetworkExample: + $ref: '#/components/examples/createZsideServiceTokenWithNetwork' + value: null schema: $ref: '#/components/schemas/ServiceToken' required: true @@ -3619,9 +3823,6 @@ paths: tokenExample: $ref: '#/components/examples/getServiceToken' value: null - tokenCrhExample: - $ref: '#/components/examples/getServiceToken-CRH' - value: null schema: $ref: '#/components/schemas/ServiceToken' description: Successful operation @@ -3740,7 +3941,23 @@ paths: description: "The API provides capability to get list of user's servicetokens\ \ using search criteria, including optional filtering, pagination and sorting" operationId: searchServiceTokens - parameters: [] + parameters: + - description: offset + explode: true + in: query + name: offset + required: false + schema: + type: number + style: form + - description: number of records to fetch + explode: true + in: query + name: limit + required: false + schema: + type: number + style: form requestBody: content: application/json: @@ -4020,7 +4237,7 @@ paths: $ref: '#/components/examples/BMMRLagPortNewGroup' value: null schema: - $ref: '#/components/schemas/Port' + $ref: '#/components/schemas/PortRequest' required: true responses: "201": @@ -4072,7 +4289,7 @@ paths: $ref: '#/components/examples/COLOBulkPort' value: null schema: - $ref: '#/components/schemas/BulkPort' + $ref: '#/components/schemas/BulkPortRequest' required: true responses: "201": @@ -4083,7 +4300,7 @@ paths: $ref: '#/components/examples/COLOBulkPortResponse' value: null schema: - $ref: '#/components/schemas/AllPortsResponse' + $ref: '#/components/schemas/BulkPort' description: Successful operation for COLO Bulk Port summary: Create Port tags: @@ -6903,6 +7120,12 @@ paths: RouteEntriesStatusUpdate: $ref: '#/components/examples/RouteEntriesStatusUpdate' value: null + ReceivedRouteEntriesStatusUpdate: + $ref: '#/components/examples/ReceivedRouteEntriesStatusUpdate' + value: null + AdvertisedRouteEntriesStatusUpdate: + $ref: '#/components/examples/AdvertisedRouteEntriesStatusUpdate' + value: null schema: $ref: '#/components/schemas/CloudRouterActionRequest' required: true @@ -6914,6 +7137,12 @@ paths: cloudRouterActionExample: $ref: '#/components/examples/CloudRouterActionResponse' value: null + receivedRouteEntriesExample: + $ref: '#/components/examples/CloudRouterReceivedRoutesActionResponse' + value: null + advertisedRouteEntriesExample: + $ref: '#/components/examples/CloudRouterAdvertisedRoutesActionResponse' + value: null schema: $ref: '#/components/schemas/CloudRouterActionResponse' description: Successful operation @@ -6982,12 +7211,11 @@ paths: - Cloud Routers x-content-type: application/json x-accepts: application/json - /fabric/v4/routers/{routerId}/routes/search: + /fabric/v4/routers/{routerId}/actions/search: post: - description: "The API provides capability to get list of user's Fabric Cloud\ - \ Router route table entries using search criteria, including optional filtering,\ - \ pagination and sorting" - operationId: searchCloudRouterRoutes + description: This API provides capability to refresh route table and bgp session + summary information + operationId: searchRouterActions parameters: - description: Router UUID explode: false @@ -7001,30 +7229,18 @@ paths: content: application/json: examples: - SearchFilterByNextHop: - $ref: '#/components/examples/SearchFilterByNextHop' - value: null - SearchFilterByPrefix: - $ref: '#/components/examples/SearchFilterByPrefix' - value: null - SearchFilterByType: - $ref: '#/components/examples/SearchFilterByType' - value: null - SearchFilterByStatus: - $ref: '#/components/examples/SearchFilterByStatus' - value: null - SearchFilterOrAnd: - $ref: '#/components/examples/SearchFilterOrAnd' + CloudRouterActionsSearchByType: + $ref: '#/components/examples/CloudRouterActionsSearchByType' value: null schema: - $ref: '#/components/schemas/RouteTableEntrySearchRequest' + $ref: '#/components/schemas/CloudRouterActionsSearchRequest' required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/RouteTableEntrySearchResponse' + $ref: '#/components/schemas/CloudRouterActionsSearchResponse' description: Successful operation "400": content: @@ -7086,106 +7302,319 @@ paths: schema: $ref: '#/components/schemas/ErrorList' description: Internal server error - summary: Search Route Table + summary: Search actions tags: - Cloud Routers x-content-type: application/json x-accepts: application/json - /fabric/v4/routers/{routerId}/validate: - post: - description: This API provides capability to validate all subnets associated - with any connection in the given FCR - operationId: validateRoutingProtocol + /fabric/v4/routers/{routerId}/actions/{actionId}: + get: + description: This API provides capability to fetch action status + operationId: getCloudRouterActionsByUuid parameters: - - description: Cloud Router UUID + - description: Router UUID explode: false in: path name: routerId required: true schema: - $ref: '#/components/schemas/RouterId' + $ref: '#/components/schemas/RouterId_1' style: simple - requestBody: - content: - application/json: - examples: - ValidateDirectIpv4: - $ref: '#/components/examples/Request-direct-ipv4' - value: null - ValidateDirectIpv6: - $ref: '#/components/examples/Request-direct-ipv6' - value: null - schema: - $ref: '#/components/schemas/ValidateRequest' - required: true - responses: - "200": - content: - application/json: - examples: - ValidateSubnet: - $ref: '#/components/examples/Response-200' - value: null - schema: - $ref: '#/components/schemas/ValidateSubnetResponse' - description: Successful operation - "400": - content: - application/json: - examples: - Bad Request: - $ref: '#/components/examples/error-400' - value: null - Subnet Overlapping: - $ref: '#/components/examples/error-400-overlappingSubnet' - value: null - schema: - $ref: '#/components/schemas/ErrorList' - description: Bad request - summary: Validate Subnet - tags: - - Routing Protocols - x-content-type: application/json - x-accepts: application/json - /fabric/v4/routers/search: - post: - description: "The API provides capability to get list of user's Cloud Routers\ - \ using search criteria, including optional filtering, pagination and sorting" - operationId: searchCloudRouters - parameters: [] - requestBody: - content: - application/json: - examples: - SearchFilterByStatus: - $ref: '#/components/examples/SearchFilterByStatus' - value: null - SearchFilterByNameAndMetroName: - $ref: '#/components/examples/SearchFilterByNameAndMetroName' - value: null - SearchFilterOrAnd: - $ref: '#/components/examples/SearchFilterOrAnd' - value: null - schema: - $ref: '#/components/schemas/CloudRouterSearchRequest' + - description: Action UUID + explode: false + in: path + name: actionId required: true + schema: + $ref: '#/components/schemas/ActionId_1' + style: simple + - description: Action state + explode: true + in: query + name: state + required: false + schema: + $ref: '#/components/schemas/ActionState' + style: form responses: "200": content: application/json: examples: - Example: - $ref: '#/components/examples/search-example' + routerActionExample: + $ref: '#/components/examples/CloudRouterActionResponse' value: null schema: - $ref: '#/components/schemas/SearchResponse' + $ref: '#/components/schemas/CloudRouterActionResponse' description: Successful operation "400": content: application/json: examples: example: - $ref: '#/components/examples/400_invalid_sorting' + $ref: '#/components/examples/400_invalid_operation' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "415": + content: + application/json: + examples: + example: + $ref: '#/components/examples/415' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Get actions + tags: + - Cloud Routers + x-accepts: application/json + /fabric/v4/routers/{routerId}/routes/search: + post: + description: "The API provides capability to get list of user's Fabric Cloud\ + \ Router route table entries using search criteria, including optional filtering,\ + \ pagination and sorting" + operationId: searchCloudRouterRoutes + parameters: + - description: Router UUID + explode: false + in: path + name: routerId + required: true + schema: + $ref: '#/components/schemas/RouterId_1' + style: simple + requestBody: + content: + application/json: + examples: + SearchFilterByNextHop: + $ref: '#/components/examples/SearchFilterByNextHop' + value: null + SearchFilterByPrefix: + $ref: '#/components/examples/SearchFilterByPrefix' + value: null + SearchFilterByType: + $ref: '#/components/examples/SearchFilterByType' + value: null + SearchFilterByStatus: + $ref: '#/components/examples/SearchFilterByStatus' + value: null + SearchFilterOrAnd: + $ref: '#/components/examples/SearchFilterOrAnd' + value: null + schema: + $ref: '#/components/schemas/RouteTableEntrySearchRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RouteTableEntrySearchResponse' + description: Successful operation + "400": + content: + application/json: + examples: + example: + $ref: '#/components/examples/400_invalid_sorting' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "415": + content: + application/json: + examples: + example: + $ref: '#/components/examples/415' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Search Route Table + tags: + - Cloud Routers + x-content-type: application/json + x-accepts: application/json + /fabric/v4/routers/{routerId}/validate: + post: + description: This API provides capability to validate all subnets associated + with any connection in the given FCR + operationId: validateRoutingProtocol + parameters: + - description: Cloud Router UUID + explode: false + in: path + name: routerId + required: true + schema: + $ref: '#/components/schemas/RouterId' + style: simple + requestBody: + content: + application/json: + examples: + ValidateDirectIpv4: + $ref: '#/components/examples/Request-direct-ipv4' + value: null + ValidateDirectIpv6: + $ref: '#/components/examples/Request-direct-ipv6' + value: null + schema: + $ref: '#/components/schemas/ValidateRequest' + required: true + responses: + "200": + content: + application/json: + examples: + ValidateSubnet: + $ref: '#/components/examples/Response-200' + value: null + schema: + $ref: '#/components/schemas/ValidateSubnetResponse' + description: Successful operation + "400": + content: + application/json: + examples: + Bad Request: + $ref: '#/components/examples/error-400' + value: null + Subnet Overlapping: + $ref: '#/components/examples/error-400-overlappingSubnet' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + summary: Validate Subnet + tags: + - Routing Protocols + x-content-type: application/json + x-accepts: application/json + /fabric/v4/routers/search: + post: + description: "The API provides capability to get list of user's Cloud Routers\ + \ using search criteria, including optional filtering, pagination and sorting" + operationId: searchCloudRouters + parameters: [] + requestBody: + content: + application/json: + examples: + SearchFilterByStatus: + $ref: '#/components/examples/SearchFilterByStatus' + value: null + SearchFilterByNameAndMetroName: + $ref: '#/components/examples/SearchFilterByNameAndMetroName' + value: null + SearchFilterOrAnd: + $ref: '#/components/examples/SearchFilterOrAnd' + value: null + schema: + $ref: '#/components/schemas/CloudRouterSearchRequest' + required: true + responses: + "200": + content: + application/json: + examples: + Example: + $ref: '#/components/examples/search-example' + value: null + schema: + $ref: '#/components/schemas/SearchResponse' + description: Successful operation + "400": + content: + application/json: + examples: + example: + $ref: '#/components/examples/400_invalid_sorting' value: null schema: $ref: '#/components/schemas/ErrorList' @@ -8100,104 +8529,63 @@ paths: tags: - Networks x-accepts: application/json - /fabric/v4/timeServices/{serviceId}: - delete: - description: Delete EPT service by it's uuid - operationId: deleteTimeServiceById - parameters: - - description: Service UUID - explode: false - in: path - name: serviceId + /fabric/v4/timeServices: + post: + description: The API provides capability to create Precision Time service + operationId: createTimeServices + parameters: [] + requestBody: + content: + application/json: + examples: + ntpStandard: + $ref: '#/components/examples/ntpStandardService' + value: null + ptpStandard: + $ref: '#/components/examples/ptpStandardService' + value: null + ntpEnterprise: + $ref: '#/components/examples/ntpEnterpriseService' + value: null + ptpEnterprise: + $ref: '#/components/examples/ptpEnterpriseService' + value: null + ptpStandardWithAdvancedConfiguration: + $ref: '#/components/examples/ptpStandardWithAdvancedConfiguration' + value: null + ptpEnterpriseWithAdvancedConfiguration: + $ref: '#/components/examples/ptpEnterpriseWithAdvancedConfiguration' + value: null + ntpEnterpriseWithAdvancedConfiguration: + $ref: '#/components/examples/ntpEnterpriseWithAdvancedConfiguration' + value: null + schema: + $ref: '#/components/schemas/precisionTimeServiceRequest' required: true - schema: - $ref: '#/components/schemas/ServiceId' - style: simple responses: "202": content: application/json: examples: - NtpStandard: + ntpStandard: $ref: '#/components/examples/ntpStandardCreateResponse' value: null - schema: - $ref: '#/components/schemas/precisionTimeServiceCreateResponse' - description: Successful operation - "401": - content: - application/json: - examples: - example: - $ref: '#/components/examples/401' - value: null - schema: - $ref: '#/components/schemas/ErrorList' - description: Unauthorized - "403": - content: - application/json: - examples: - example: - $ref: '#/components/examples/403' + ntpEnterprise: + $ref: '#/components/examples/ntpEnterpriseCreateResponse' value: null - schema: - $ref: '#/components/schemas/ErrorList' - description: Forbidden - "415": - content: - application/json: - examples: - example: - $ref: '#/components/examples/415' + ptpStandard: + $ref: '#/components/examples/ptpStandardCreateResponse' value: null - schema: - $ref: '#/components/schemas/ErrorList' - description: Unsupported Media Type - "500": - content: - application/json: - examples: - example: - $ref: '#/components/examples/500' + ptpEnterprise: + $ref: '#/components/examples/ptpEnterpriseCreateResponse' value: null schema: - $ref: '#/components/schemas/ErrorList' - description: Internal server error - summary: Delete time service - tags: - - Precision Time - x-accepts: application/json - get: - description: The API provides capability to get precision timing service's details - operationId: getTimeServicesById - parameters: - - description: Service UUID - explode: false - in: path - name: serviceId - required: true - schema: - $ref: '#/components/schemas/ServiceId' - style: simple - responses: - "200": - content: - application/json: - examples: - NtpStandard: - $ref: '#/components/examples/ntpStandardCreateResponse' - value: null - schema: - $ref: '#/components/schemas/precisionTimeServiceCreateResponse' - description: Successful operation + $ref: '#/components/schemas/precisionTimeServiceResponse' + description: Successful Accepted operation "400": content: application/json: examples: - MandatoryName: - $ref: '#/components/examples/400-Mandatory-Name' - value: null InvalidName: $ref: '#/components/examples/400-Invalid-Name' value: null @@ -8370,12 +8758,200 @@ paths: schema: $ref: '#/components/schemas/ErrorList' description: Internal server error - summary: Get Time Service + summary: Create Time Service + tags: + - Precision Time + x-content-type: application/json + x-accepts: application/json + /fabric/v4/timeServices/{serviceId}: + delete: + description: The API provides capability to delete Precision Time Service by + service id. + operationId: deleteTimeServiceById + parameters: + - description: Service UUID + explode: false + in: path + name: serviceId + required: true + schema: + $ref: '#/components/schemas/ServiceId' + style: simple + responses: + "202": + content: + application/json: + examples: + ntpStandard: + $ref: '#/components/examples/ntpStandardDeletingResponse' + value: null + schema: + $ref: '#/components/schemas/precisionTimeServiceResponse' + description: Successful Delete + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "415": + content: + application/json: + examples: + example: + $ref: '#/components/examples/415' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unsupported Media Type + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Delete by ID. + tags: + - Precision Time + x-accepts: application/json + get: + description: The API provides capability to get Precision Time Service details + operationId: getTimeServicesById + parameters: + - description: Service UUID + explode: false + in: path + name: serviceId + required: true + schema: + $ref: '#/components/schemas/ServiceId' + style: simple + responses: + "200": + content: + application/json: + examples: + ntpStandardOriginPort: + $ref: '#/components/examples/ntpStandardResponseASidePort' + value: null + ntpStandardOriginVirtualDevice: + $ref: '#/components/examples/ntpStandardResponseASideVirtualDevice' + value: null + ntpStandardOriginCloudRouter: + $ref: '#/components/examples/ntpStandardResponseASideCloudRouter' + value: null + ntpEnterpriseOriginPort: + $ref: '#/components/examples/ntpEnterpriseWOMD5ResponseASidePort' + value: null + ntpEnterpriseWithAdvConfigOriginPort: + $ref: '#/components/examples/ntpEnterpriseResponseASidePort' + value: null + ntpEnterpriseWithAdvConfigOriginVirtualDevice: + $ref: '#/components/examples/ntpEnterpriseResponseASideVirtualDevice' + value: null + ntpEnterpriseWithAdvConfigOriginCloudRouter: + $ref: '#/components/examples/ntpEnterpriseResponseASideCloudRouter' + value: null + ptpStandardOriginPort: + $ref: '#/components/examples/ptpStandardResponse' + value: null + ptpEnterpriseOriginPort: + $ref: '#/components/examples/ptpEnterpriseResponse' + value: null + schema: + $ref: '#/components/schemas/precisionTimeServiceResponse' + description: Successful operation + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "415": + content: + application/json: + examples: + example: + $ref: '#/components/examples/415' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unsupported Media Type + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Get Service By ID. tags: - Precision Time x-accepts: application/json patch: - description: The API provides capability to update timing service + description: The API provides capability to update Precision Time Service by + service id. operationId: updateTimeServicesById parameters: - description: Service UUID @@ -8390,11 +8966,20 @@ paths: content: application/json-patch+json: examples: - editName: - $ref: '#/components/examples/editName' + updateName: + $ref: '#/components/examples/updateName' + value: null + updatePackageCode: + $ref: '#/components/examples/updatePackageCode' value: null - editPackageCode: - $ref: '#/components/examples/editPackageCode' + updateNetworkInformation: + $ref: '#/components/examples/updateNetworkInformation' + value: null + updatePtpAdvancedConfiguration: + $ref: '#/components/examples/updatePtpAdvancedConfiguration' + value: null + updateNtpAdvancedConfiguration: + $ref: '#/components/examples/updateNtpAdvancedConfiguration' value: null schema: items: @@ -8408,19 +8993,16 @@ paths: content: application/json: examples: - NtpStandard: - $ref: '#/components/examples/ntpStandardCreateResponse' + ntpStandard: + $ref: '#/components/examples/ntpStandardReprovisionResponse' value: null schema: - $ref: '#/components/schemas/precisionTimeServiceCreateResponse' - description: Successful operation + $ref: '#/components/schemas/precisionTimeServiceResponse' + description: Successful Accepted operation "400": content: application/json: examples: - MandatoryName: - $ref: '#/components/examples/400-Mandatory-Name' - value: null InvalidName: $ref: '#/components/examples/400-Invalid-Name' value: null @@ -8573,6 +9155,16 @@ paths: schema: $ref: '#/components/schemas/ErrorList' description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found "415": content: application/json: @@ -8593,31 +9185,39 @@ paths: schema: $ref: '#/components/schemas/ErrorList' description: Internal server error - summary: Patch time service + summary: Update By ID. tags: - Precision Time x-content-type: application/json-patch+json x-accepts: application/json - /fabric/v4/timeServices: - post: - description: The API provides capability to create timing service - operationId: createTimeServices - parameters: [] + put: + description: The API provides capability to Configure/Fulfill the Precision + Time Service. + operationId: fulfillTimeServices + parameters: + - description: Service UUID + explode: false + in: path + name: serviceId + required: true + schema: + $ref: '#/components/schemas/ServiceId' + style: simple requestBody: content: application/json: examples: ntpStandard: - $ref: '#/components/examples/ntpStandard' + $ref: '#/components/examples/configureStandardService' value: null ptpStandard: - $ref: '#/components/examples/ptpStandard' - value: null - ptpEnterpriseWithAdvanceConfiguration: - $ref: '#/components/examples/ptpEnterpriseWithAdvanceConfiguration' + $ref: '#/components/examples/configureStandardService' value: null ntpEnterpriseWithAdvanceConfiguration: - $ref: '#/components/examples/ntpEnterpriseWithAdvanceConfiguration' + $ref: '#/components/examples/configureNtpEnterpriseAdvancedConfig' + value: null + ptpEnterpriseWithAdvanceConfiguration: + $ref: '#/components/examples/configurePtpWithAdvancedConfig' value: null schema: $ref: '#/components/schemas/precisionTimeServiceRequest' @@ -8627,19 +9227,16 @@ paths: content: application/json: examples: - NtpStandard: - $ref: '#/components/examples/ntpStandardCreateResponse' + ntpStandard: + $ref: '#/components/examples/ntpStandardConfigureResponse' value: null schema: - $ref: '#/components/schemas/precisionTimeServiceCreateResponse' - description: Successful operation + $ref: '#/components/schemas/precisionTimeServiceResponse' + description: Successful Accepted operation "400": content: application/json: examples: - MandatoryName: - $ref: '#/components/examples/400-Mandatory-Name' - value: null InvalidName: $ref: '#/components/examples/400-Invalid-Name' value: null @@ -8792,6 +9389,16 @@ paths: schema: $ref: '#/components/schemas/ErrorList' description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found "415": content: application/json: @@ -8812,7 +9419,7 @@ paths: schema: $ref: '#/components/schemas/ErrorList' description: Internal server error - summary: Create Time Service + summary: Configure Service. tags: - Precision Time x-content-type: application/json @@ -9136,507 +9743,1771 @@ paths: - Marketplace Subscriptions x-preview: false x-accepts: application/json -components: - examples: - "400": - value: - - errorCode: EQ-3142102 - errorMessage: Connection has duplicate buyer-side VLAN ID for port or the - same VLAN ID is in the process of being deleted and should be freed up soon - correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec - additionalInfo: - - property: /aSide/accessPoint/linkProtocol - - errorCode: EQ-3142535 - errorMessage: The connection bandwidth provided in the connection request - exceeds the bandwidth Limit on ServiceToken - details: Please enter bandwidth less than the Speed limit on ServiceToken - correlationId: test - additionalInfo: - - property: /aSide/serviceToken/uuid - - errorCode: EQ-3142536 - errorMessage: Remote connection cannot be created with the provided ServiceToken - details: Only local Connection can be created using this ServiceToken - correlationId: test - additionalInfo: - - property: /zSide/accessPoint/port/uuid - - errorCode: EQ-3142701 - errorMessage: The connection bandwidth provided in the connection request - exceeds the bandwidth Limit on ServiceToken - details: not an authorized user - correlationId: test - - errorCode: EQ-3142501 - errorMessage: Invalid input - correlationId: 20d32a80-0d61-4333-bc03-707b591ae2f5 - additionalInfo: - - property: aSide/accessPoint/port/uuid - - errorCode: EQ-3142509 - errorMessage: Connection already deleted - correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec - additionalInfo: - - property: uuid - - errorCode: EQ-3142510 - errorMessage: Connection is in transient state - correlationId: 20d32a80-0d61-4333-bc03-707b591ae2f5 - additionalInfo: - - property: uuid - - errorCode: EQ-3142221 - errorMessage: The primary and secondary token provided have different bandwidth - tiers. Please use two tokens that support the same bandwidth tiers - correlationId: test - additionalInfo: - - property: /zSide/serviceToken/uuid - - errorCode: EQ-3142222 - errorMessage: The primary and secondary tokens have different encapsulation - types (Dot1Q or QinQ). Please use two tokens that support the same encapsulation - type - correlationId: test - additionalInfo: - - property: /zSide/serviceToken/uuid - - errorCode: EQ-3142223 - errorMessage: The primary and secondary tokens belong to different projects. - Please use two tokens that belong to the same project - correlationId: test - additionalInfo: - - property: /zSide/serviceToken/uuid - - errorCode: EQ-3142224 - errorMessage: The primary and secondary ports have different port speeds (bandwidth). - Please use two tokens that support the same port speed - correlationId: test - additionalInfo: - - property: /zSide/serviceToken/uuid - - errorCode: EQ-3142225 - errorMessage: The primary and secondary tokens provided are the same. Please - provide a different token - correlationId: test - additionalInfo: - - property: /zSide/serviceToken/uuid - - errorCode: EQ-3142514 - errorMessage: Redundancy group is required - correlationId: test - additionalInfo: - - property: /redundancy/group - - errorCode: EQ-3142515 - errorMessage: Redundancy priority is required - correlationId: test - additionalInfo: - - property: /redundancy/priority - - errorCode: EQ-3142516 - errorMessage: Invalid redundancy group - correlationId: test - additionalInfo: - - property: /redundancy/group - - errorCode: EQ-3142517 - errorMessage: Invalid redundancy priority - correlationId: test - additionalInfo: - - property: /redundancy/priority - - errorCode: EQ-3142303 - errorMessage: Only Primary connection allowed for this CSP - correlationId: test - additionalInfo: - - property: /redundancy/priority - - errorCode: EQ-3142320 - errorMessage: "For redundant connection, Service Profile should be the same" - correlationId: test - additionalInfo: - - property: /zSide/accessPoint/profile/uuid - - errorCode: EQ-3142021 - errorMessage: "For redundant connection, Fabric Cloud Router should be the\ - \ same" - correlationId: test - additionalInfo: - - property: /aSide/accessPoint/router/uuid - - errorCode: EQ-3142012 - errorMessage: Fabric Cloud Router is not in PROVISIONED state - correlationId: test - additionalInfo: - - property: /aSide/accessPoint/router/uuid - - errorCode: EQ-3142301 - errorMessage: Given profile does not exist - correlationId: test - additionalInfo: - - property: /zSide/accessPoint/profile/uuid - - errorCode: EQ-3142302 - errorMessage: Service provider does not exist in required zSide metro - correlationId: test - additionalInfo: - - property: /zSide/accessPoint/location/metroCode - - errorCode: EQ-3142013 - errorMessage: Invalid metro for Cloud Router connection - correlationId: test - additionalInfo: - - property: /aSide/accessPoint/router/uuid - - errorCode: EQ-3142304 - errorMessage: Private connections are not allowed on public profiles - correlationId: test - additionalInfo: - - property: visibility - - errorCode: EQ-3142306 - errorMessage: Requested bandwidth is not supported by service profile - correlationId: test - additionalInfo: - - property: /bandwidth - - errorCode: EQ-3142308 - errorMessage: Authentication key is required - correlationId: test - additionalInfo: - - property: /zSide/accessPoint/authenticationKey - "401": - value: - - errorCode: EQ-3000039 - errorMessage: User not found in request or invalid. - correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 - "403": - value: - - errorCode: EQ-3142402 - errorMessage: Do not have create connection permission on this port - correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec - "404": - value: - - errorCode: EQ-3000036 - errorMessage: Requested path doesn't exists - correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec - "405": - value: - - errorCode: EQ-3142569 - errorMessage: "Method not supported, Please check the URL passed" - details: Method:PATCH - correlationId: f48687b0-d088-46d1-b06c-00c0688fbca9 - "415": - value: - - errorCode: EQ-3040016 - errorMessage: "Unsupported media type, please check the request's Content-Type\ - \ or Content-Encoding" - correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec - additionalInfo: - - property: contentType - reason: The payload format is in an unsupported format - "500": - value: - - errorCode: EQ-3034003 - errorMessage: "Method not supported,Please check the URL passed" - correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 - additionalInfo: - - reason: method:PATCH - COLO2COLOwithDot1q-Dot1q: - value: - type: EVPL_VC - name: My-Layer2-Connection-3 - bandwidth: 1000 - redundancy: - priority: PRIMARY - aSide: - accessPoint: - type: COLO - port: - uuid: a8ba52de-faae-43b5-b0b1-6904d37ee063 - linkProtocol: - type: DOT1Q - vlanTag: 1001 - order: - purchaseOrderNumber: po1234 - zSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - linkProtocol: - type: DOT1Q - vlanTag: 1001 - notifications: - - type: ALL - emails: - - test@test.com - COLO2COLOwithDot1q-Dot1q-CRH: - value: - type: EVPL_VC - name: My-Layer2-Connection-3 - bandwidth: 1000 - redundancy: - priority: PRIMARY - aSide: - accessPoint: - type: COLO - port: - uuid: a867f685-41b0-1b07-6de0-320a5c00abdd - linkProtocol: - type: DOT1Q - vlanTag: 1001 - order: - purchaseOrderNumber: po1234 - zSide: - accessPoint: - type: COLO - port: - uuid: b067f685-49b0-1a09-6fe0-360a5d00afdg - linkProtocol: - type: DOT1Q - vlanTag: 1001 - project: - projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 - notifications: - - type: ALL - emails: - - test@test.com - COLO2COLOwithDot1Q-QinQ: - value: - type: EVPL_VC - name: My-Layer2-Connection-3 - bandwidth: 1000 - redundancy: - priority: PRIMARY - aSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - linkProtocol: - type: DOT1Q - vlanTag: 1001 - order: - purchaseOrderNumber: po1234 - zSide: - accessPoint: - type: COLO - port: - uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c - linkProtocol: - type: QINQ - vlanSTag: 1001 - vlanCTag: 1002 - notifications: - - type: ALL - emails: - - test@test.com - COLO2COLOwithQinq-Qinq: - value: - type: EVPL_VC - name: My-Layer2-Connection-3 - bandwidth: 1000 - redundancy: - priority: PRIMARY - aSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - linkProtocol: - type: QINQ - vlanSTag: 1001 - order: - purchaseOrderNumber: po1234 - zSide: - accessPoint: - type: COLO - port: - uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c - linkProtocol: - type: QINQ - vlanSTag: 1001 - notifications: - - type: ALL - emails: - - test@test.com - COLO2COLOwithQinq-Dot1q: - value: - type: EVPL_VC - name: My-Layer2-Connection-3 - bandwidth: 1000 - redundancy: - priority: PRIMARY - aSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - linkProtocol: - type: QINQ - vlanSTag: 1001 - vlanCTag: 1125 - order: - purchaseOrderNumber: po1234 - zSide: - accessPoint: - type: COLO - port: - uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c - linkProtocol: - type: DOT1Q - vlanTag: 1001 - notifications: - - type: ALL - emails: - - test@test.com - COLO2COLO-AsReseller: - value: - type: EVPL_VC - name: Conn-1 - order: - purchaseOrderNumber: 1-129105284100 - bandwidth: 100 - aSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - linkProtocol: - type: DOT1Q - vlanTag: 1001 - zSide: - accessPoint: - type: COLO - port: - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 - linkProtocol: - type: QINQ - vlanSTag: 1002 - vlanCTag: 1001 - notifications: - - type: ALL - emails: - - test@equinix.com - - test1@equinix.com - COLO2COLO-EPL: - value: - type: EPL_VC - name: Conn-1 - order: - purchaseOrderNumber: 1-129105284100 - bandwidth: 100 - aSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - zSide: - accessPoint: - type: COLO - port: - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 - notifications: - - type: ALL - emails: - - test@equinix.com - - test1@equinix.com - COLO2COLO-AccessEpl: - value: - type: ACCESS_EPL_VC - name: Conn-1 - order: - purchaseOrderNumber: 1-129105284100 - bandwidth: 100 - aSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - linkProtocol: - type: QINQ - vlanSTag: 1234 - zSide: - accessPoint: - type: COLO - port: - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 - notifications: - - type: ALL - emails: - - test@equinix.com - - test1@equinix.com - COLO2SPwithDot1q: - value: - type: EVPL_VC - name: My-Layer2-Connection-3 - bandwidth: 1000 - redundancy: - priority: PRIMARY - aSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - linkProtocol: - type: DOT1Q - vlanTag: 1001 - order: - purchaseOrderNumber: po1234 - zSide: - accessPoint: - type: SP - profile: - type: L2_PROFILE - uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c - location: - metroCode: DC - notifications: - - type: ALL - emails: - - test@test.com - COLO2AlibabaSPwithDot1q: - value: - type: EVPL_VC - name: My-Layer2-Connection-3 - bandwidth: 1000 - redundancy: - priority: PRIMARY - aSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - linkProtocol: - type: DOT1Q - vlanTag: 1001 - order: - purchaseOrderNumber: po1234 - zSide: - accessPoint: - type: SP - profile: - type: L2_PROFILE - uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c - location: - metroCode: SV - sellerRegion: San Jose 2 - authenticationKey: xxx-xxx-xxx - notifications: - - type: ALL - emails: - - test@test.com - COLO2AWSSPwithDot1q-Primary: - value: - type: EVPL_VC - name: Primary-Aws - bandwidth: 1000 - redundancy: - priority: PRIMARY - aSide: - accessPoint: - type: COLO - port: - uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d - linkProtocol: - type: DOT1Q - vlanTag: 1001 - order: - purchaseOrderNumber: po1234 - zSide: - accessPoint: - type: SP - profile: - type: L2_PROFILE - uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c - location: - metroCode: DC - sellerRegion: us-east-1 - authenticationKey: xxx-xxx-xxx - notifications: - - type: ALL - emails: - - test@test.com - COLO2AzureSPwithDot1q-Primary: - value: - type: EVPL_VC + /fabric/v4/streams: + get: + description: This API provides capability to retrieve streams + operationId: getStreams + parameters: + - description: offset + example: 1 + explode: true + in: query + name: offset + required: false + schema: + type: integer + style: form + - description: number of records to fetch + example: 10 + explode: true + in: query + name: limit + required: false + schema: + type: integer + style: form + responses: + "200": + content: + application/json: + examples: + Example: + $ref: '#/components/examples/stream-get-all-example' + value: null + schema: + $ref: '#/components/schemas/GetAllStreamResponse' + description: Successful operation + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Get Streams + tags: + - Streams + x-accepts: application/json + post: + description: This API provides capability to create user's stream + operationId: createStreams + parameters: [] + requestBody: + content: + application/json: + examples: + CreateStream: + $ref: '#/components/examples/StreamPostRequestExample' + value: null + schema: + $ref: '#/components/schemas/StreamPostRequest' + required: true + responses: + "202": + content: + application/json: + examples: + StreamSubscriptionResponse: + $ref: '#/components/examples/StreamResponseExample' + value: null + schema: + $ref: '#/components/schemas/Stream' + description: Stream object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "415": + content: + application/json: + examples: + example: + $ref: '#/components/examples/415' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unsupported Media Type + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Create Stream + tags: + - Streams + x-content-type: application/json + x-accepts: application/json + /fabric/v4/streams/{streamId}: + delete: + description: This API provides capability to delete user's stream + operationId: deleteStreamByUuid + parameters: + - description: Stream UUID + explode: false + in: path + name: streamId + required: true + schema: + $ref: '#/components/schemas/StreamId' + style: simple + responses: + "202": + content: + application/json: + examples: + StreamSubscriptionResponse: + $ref: '#/components/examples/StreamDeleteRequestExample' + value: null + schema: + $ref: '#/components/schemas/Stream' + description: Stream object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Delete Stream + tags: + - Streams + x-accepts: application/json + get: + description: This API provides capability to get user's stream + operationId: getStreamByUuid + parameters: + - description: Stream UUID + explode: false + in: path + name: streamId + required: true + schema: + $ref: '#/components/schemas/StreamId' + style: simple + responses: + "200": + content: + application/json: + examples: + StreamSubscriptionResponse: + $ref: '#/components/examples/StreamResponseExample' + value: null + schema: + $ref: '#/components/schemas/Stream' + description: Stream object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Get Stream + tags: + - Streams + x-accepts: application/json + put: + description: This API provides capability to update user's stream + operationId: updateStreamByUuid + parameters: + - description: Stream UUID + explode: false + in: path + name: streamId + required: true + schema: + $ref: '#/components/schemas/StreamId' + style: simple + requestBody: + content: + application/json: + examples: + UpdateStream: + $ref: '#/components/examples/StreamPutRequestExample' + value: null + schema: + $ref: '#/components/schemas/StreamPutRequest' + required: true + responses: + "202": + content: + application/json: + examples: + StreamResponse: + $ref: '#/components/examples/StreamResponseExample' + value: null + schema: + $ref: '#/components/schemas/Stream' + description: Stream object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "415": + content: + application/json: + examples: + example: + $ref: '#/components/examples/415' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unsupported Media Type + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Update Stream + tags: + - Streams + x-content-type: application/json + x-accepts: application/json + /fabric/v4/streamAssets/search: + post: + description: This API provides capability to retrieve stream assets + operationId: getStreamsAssets + parameters: + - description: offset + example: 1 + explode: true + in: query + name: offset + required: false + schema: + type: integer + style: form + - description: number of records to fetch + example: 10 + explode: true + in: query + name: limit + required: false + schema: + type: integer + style: form + requestBody: + content: + application/json: + examples: + SearchAssets: + $ref: '#/components/examples/StreamAssetSearchRequestExample' + value: null + schema: + $ref: '#/components/schemas/StreamAssetSearchRequest' + required: true + responses: + "200": + content: + application/json: + examples: + Example: + $ref: '#/components/examples/stream-asset-get-all-example' + value: null + schema: + $ref: '#/components/schemas/GetAllStreamAssetResponse' + description: Successful operation + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Get Assets + tags: + - Streams + x-content-type: application/json + x-accepts: application/json + /fabric/v4/streams/{streamId}/{asset}/{assetId}: + delete: + description: This API provides capability to detach an asset from a stream + operationId: deleteStreamAssetByUuid + parameters: + - description: asset UUID + explode: false + in: path + name: assetId + required: true + schema: + $ref: '#/components/schemas/AssetId' + style: simple + - description: asset + explode: false + in: path + name: asset + required: true + schema: + $ref: '#/components/schemas/Asset' + style: simple + - description: Stream UUID + explode: false + in: path + name: streamId + required: true + schema: + $ref: '#/components/schemas/StreamId' + style: simple + responses: + "202": + content: + application/json: + examples: + StreamAssetResponse: + $ref: '#/components/examples/StreamRouterAssetDetachResponseExample' + value: null + schema: + $ref: '#/components/schemas/StreamAsset' + description: Stream object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Detach Asset + tags: + - Streams + x-accepts: application/json + get: + description: This API provides capability to get user's assets attached to a + stream + operationId: getStreamAssetByUuid + parameters: + - description: asset UUID + explode: false + in: path + name: assetId + required: true + schema: + $ref: '#/components/schemas/AssetId' + style: simple + - description: asset + explode: false + in: path + name: asset + required: true + schema: + $ref: '#/components/schemas/Asset' + style: simple + - description: Stream UUID + explode: false + in: path + name: streamId + required: true + schema: + $ref: '#/components/schemas/StreamId' + style: simple + responses: + "200": + content: + application/json: + examples: + StreamSubscriptionResponse: + $ref: '#/components/examples/StreamConnectionAssetResponseExample' + value: null + schema: + $ref: '#/components/schemas/StreamAsset' + description: Stream asset object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Get Asset + tags: + - Streams + x-accepts: application/json + put: + description: This API provides capability to attach an asset to a stream + operationId: updateStreamAssetByUuid + parameters: + - description: asset UUID + explode: false + in: path + name: assetId + required: true + schema: + $ref: '#/components/schemas/AssetId' + style: simple + - description: asset + explode: false + in: path + name: asset + required: true + schema: + $ref: '#/components/schemas/Asset' + style: simple + - description: Stream UUID + explode: false + in: path + name: streamId + required: true + schema: + $ref: '#/components/schemas/StreamId' + style: simple + requestBody: + content: + application/json: + examples: + UpdateStream: + $ref: '#/components/examples/StreamAssetPutRequestExample' + value: null + schema: + $ref: '#/components/schemas/StreamAssetPutRequest' + required: true + responses: + "202": + content: + application/json: + examples: + StreamAssetResponse: + $ref: '#/components/examples/StreamRouterAssetAttachResponseExample' + value: null + schema: + $ref: '#/components/schemas/StreamAsset' + description: Stream object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "415": + content: + application/json: + examples: + example: + $ref: '#/components/examples/415' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unsupported Media Type + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Attach Asset + tags: + - Streams + x-content-type: application/json + x-accepts: application/json + /fabric/v4/streams/{streamId}/streamSubscriptions: + get: + description: This API provides capability to retrieve subscriptions in a stream + operationId: getSubscriptionsInStream + parameters: + - description: Stream UUID + explode: false + in: path + name: streamId + required: true + schema: + $ref: '#/components/schemas/StreamId' + style: simple + - description: offset + example: 1 + explode: true + in: query + name: offset + required: false + schema: + type: integer + style: form + - description: number of records to fetch + example: 10 + explode: true + in: query + name: limit + required: false + schema: + type: integer + style: form + responses: + "200": + content: + application/json: + examples: + Example: + $ref: '#/components/examples/stream-get-all-subscription-example' + value: null + schema: + $ref: '#/components/schemas/GetSubscriptionsInStreamResponse' + description: Successful operation + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Get Stream's Subs + tags: + - Streams + x-accepts: application/json + /fabric/v4/streamSubscriptions: + get: + description: This API provides capability to retrieve stream subscriptions + operationId: getStreamSubscriptions + parameters: + - description: offset + example: 1 + explode: true + in: query + name: offset + required: false + schema: + type: integer + style: form + - description: number of records to fetch + example: 10 + explode: true + in: query + name: limit + required: false + schema: + type: integer + style: form + responses: + "200": + content: + application/json: + examples: + Example: + $ref: '#/components/examples/stream-subscription-get-all-example' + value: null + schema: + $ref: '#/components/schemas/GetAllStreamSubscriptionResponse' + description: Successful operation + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Get Subscriptions + tags: + - Stream Subscriptions + x-accepts: application/json + post: + description: This API provides capability to create user's Stream Subscriptions + operationId: createStreamSubscriptions + parameters: [] + requestBody: + content: + application/json: + examples: + CreateStreamSubscription_Splunk: + $ref: '#/components/examples/StreamSubscriptionPostRequestExampleSplunk' + value: null + CreateStreamSubscription_Slack: + $ref: '#/components/examples/StreamSubscriptionPostRequestExampleSlack' + value: null + CreateStreamSubscription_Pagerduty: + $ref: '#/components/examples/StreamSubscriptionPostRequestExamplePagerduty' + value: null + CreateStreamSubscription_Datadog: + $ref: '#/components/examples/StreamSubscriptionPostRequestExampleDatadog' + value: null + schema: + $ref: '#/components/schemas/StreamSubscriptionPostRequest' + required: true + responses: + "202": + content: + application/json: + examples: + StreamSubscriptionResponse: + $ref: '#/components/examples/StreamSubscriptionResponseExample' + value: null + schema: + $ref: '#/components/schemas/StreamSubscription' + description: Stream Subscription object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "415": + content: + application/json: + examples: + example: + $ref: '#/components/examples/415' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unsupported Media Type + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Create Subscription + tags: + - Stream Subscriptions + x-content-type: application/json + x-accepts: application/json + /fabric/v4/streamSubscriptions/{streamSubscriptionId}: + delete: + description: This API provides capability to delete user's Stream Subscriptions + operationId: deleteStreamSubscriptionByUuid + parameters: + - description: Stream Subscription UUID + explode: false + in: path + name: streamSubscriptionId + required: true + schema: + $ref: '#/components/schemas/StreamSubscriptionId' + style: simple + responses: + "202": + content: + application/json: + examples: + StreamSubscriptionResponse: + $ref: '#/components/examples/StreamSubscriptionDeleteResponseExample' + value: null + schema: + $ref: '#/components/schemas/StreamSubscription' + description: Stream Subscription object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Delete Subscription + tags: + - Stream Subscriptions + x-accepts: application/json + get: + description: This API provides capability to delete user's get Stream Subscriptions + operationId: getStreamSubscriptionByUuid + parameters: + - description: Stream Subscription UUID + explode: false + in: path + name: streamSubscriptionId + required: true + schema: + $ref: '#/components/schemas/StreamSubscriptionId' + style: simple + responses: + "200": + content: + application/json: + examples: + StreamSubscriptionResponse: + $ref: '#/components/examples/StreamSubscriptionResponseExample' + value: null + schema: + $ref: '#/components/schemas/StreamSubscription' + description: Stream Subscription object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Get Subscription + tags: + - Stream Subscriptions + x-accepts: application/json + put: + description: This API provides capability to update user's Stream Subscriptions + operationId: updateStreamSubscriptionByUuid + parameters: + - description: Stream Subscription UUID + explode: false + in: path + name: streamSubscriptionId + required: true + schema: + $ref: '#/components/schemas/StreamSubscriptionId' + style: simple + requestBody: + content: + application/json: + examples: + UpdateSubscription: + $ref: '#/components/examples/StreamSubscriptionPutRequestExample' + value: null + schema: + $ref: '#/components/schemas/StreamSubscriptionPutRequest' + required: true + responses: + "202": + content: + application/json: + examples: + StreamSubscriptionResponse: + $ref: '#/components/examples/StreamSubscriptionResponseExample' + value: null + schema: + $ref: '#/components/schemas/StreamSubscription' + description: Stream Subscription object + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorList' + description: Bad request + "401": + content: + application/json: + examples: + example: + $ref: '#/components/examples/401' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unauthorized + "403": + content: + application/json: + examples: + example: + $ref: '#/components/examples/403' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Forbidden + "404": + content: + application/json: + examples: + example: + $ref: '#/components/examples/404' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Not Found + "415": + content: + application/json: + examples: + example: + $ref: '#/components/examples/415' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Unsupported Media Type + "500": + content: + application/json: + examples: + example: + $ref: '#/components/examples/500' + value: null + schema: + $ref: '#/components/schemas/ErrorList' + description: Internal server error + summary: Update Subscription + tags: + - Stream Subscriptions + x-content-type: application/json + x-accepts: application/json +components: + examples: + "400": + value: + - errorCode: EQ-3142102 + errorMessage: Connection has duplicate buyer-side VLAN ID for port or the + same VLAN ID is in the process of being deleted and should be freed up soon + correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec + additionalInfo: + - property: /aSide/accessPoint/linkProtocol + - errorCode: EQ-3142535 + errorMessage: The connection bandwidth provided in the connection request + exceeds the bandwidth Limit on ServiceToken + details: Please enter bandwidth less than the Speed limit on ServiceToken + correlationId: test + additionalInfo: + - property: /aSide/serviceToken/uuid + - errorCode: EQ-3142536 + errorMessage: Remote connection cannot be created with the provided ServiceToken + details: Only local Connection can be created using this ServiceToken + correlationId: test + additionalInfo: + - property: /zSide/accessPoint/port/uuid + - errorCode: EQ-3142701 + errorMessage: The connection bandwidth provided in the connection request + exceeds the bandwidth Limit on ServiceToken + details: not an authorized user + correlationId: test + - errorCode: EQ-3142501 + errorMessage: Invalid input + correlationId: 20d32a80-0d61-4333-bc03-707b591ae2f5 + additionalInfo: + - property: aSide/accessPoint/port/uuid + - errorCode: EQ-3142509 + errorMessage: Connection already deleted + correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec + additionalInfo: + - property: uuid + - errorCode: EQ-3142510 + errorMessage: Connection is in transient state + correlationId: 20d32a80-0d61-4333-bc03-707b591ae2f5 + additionalInfo: + - property: uuid + - errorCode: EQ-3142221 + errorMessage: The primary and secondary token provided have different bandwidth + tiers. Please use two tokens that support the same bandwidth tiers + correlationId: test + additionalInfo: + - property: /zSide/serviceToken/uuid + - errorCode: EQ-3142222 + errorMessage: The primary and secondary tokens have different encapsulation + types (Dot1Q or QinQ). Please use two tokens that support the same encapsulation + type + correlationId: test + additionalInfo: + - property: /zSide/serviceToken/uuid + - errorCode: EQ-3142223 + errorMessage: The primary and secondary tokens belong to different projects. + Please use two tokens that belong to the same project + correlationId: test + additionalInfo: + - property: /zSide/serviceToken/uuid + - errorCode: EQ-3142224 + errorMessage: The primary and secondary ports have different port speeds (bandwidth). + Please use two tokens that support the same port speed + correlationId: test + additionalInfo: + - property: /zSide/serviceToken/uuid + - errorCode: EQ-3142225 + errorMessage: The primary and secondary tokens provided are the same. Please + provide a different token + correlationId: test + additionalInfo: + - property: /zSide/serviceToken/uuid + - errorCode: EQ-3142514 + errorMessage: Redundancy group is required + correlationId: test + additionalInfo: + - property: /redundancy/group + - errorCode: EQ-3142515 + errorMessage: Redundancy priority is required + correlationId: test + additionalInfo: + - property: /redundancy/priority + - errorCode: EQ-3142516 + errorMessage: Invalid redundancy group + correlationId: test + additionalInfo: + - property: /redundancy/group + - errorCode: EQ-3142517 + errorMessage: Invalid redundancy priority + correlationId: test + additionalInfo: + - property: /redundancy/priority + - errorCode: EQ-3142303 + errorMessage: Only Primary connection allowed for this CSP + correlationId: test + additionalInfo: + - property: /redundancy/priority + - errorCode: EQ-3142320 + errorMessage: "For redundant connection, Service Profile should be the same" + correlationId: test + additionalInfo: + - property: /zSide/accessPoint/profile/uuid + - errorCode: EQ-3142021 + errorMessage: "For redundant connection, Fabric Cloud Router should be the\ + \ same" + correlationId: test + additionalInfo: + - property: /aSide/accessPoint/router/uuid + - errorCode: EQ-3142012 + errorMessage: Fabric Cloud Router is not in PROVISIONED state + correlationId: test + additionalInfo: + - property: /aSide/accessPoint/router/uuid + - errorCode: EQ-3142301 + errorMessage: Given profile does not exist + correlationId: test + additionalInfo: + - property: /zSide/accessPoint/profile/uuid + - errorCode: EQ-3142302 + errorMessage: Service provider does not exist in required zSide metro + correlationId: test + additionalInfo: + - property: /zSide/accessPoint/location/metroCode + - errorCode: EQ-3142013 + errorMessage: Invalid metro for Cloud Router connection + correlationId: test + additionalInfo: + - property: /aSide/accessPoint/router/uuid + - errorCode: EQ-3142304 + errorMessage: Private connections are not allowed on public profiles + correlationId: test + additionalInfo: + - property: visibility + - errorCode: EQ-3142306 + errorMessage: Requested bandwidth is not supported by service profile + correlationId: test + additionalInfo: + - property: /bandwidth + - errorCode: EQ-3142308 + errorMessage: Authentication key is required + correlationId: test + additionalInfo: + - property: /zSide/accessPoint/authenticationKey + "401": + value: + - errorCode: EQ-3000039 + errorMessage: User not found in request or invalid. + correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 + "403": + value: + - errorCode: EQ-3142402 + errorMessage: Do not have create connection permission on this port + correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec + "404": + value: + - errorCode: EQ-3000036 + errorMessage: Requested path doesn't exists + correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec + "405": + value: + - errorCode: EQ-3142569 + errorMessage: "Method not supported, Please check the URL passed" + details: Method:PATCH + correlationId: f48687b0-d088-46d1-b06c-00c0688fbca9 + "415": + value: + - errorCode: EQ-3040016 + errorMessage: "Unsupported media type, please check the request's Content-Type\ + \ or Content-Encoding" + correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec + additionalInfo: + - property: contentType + reason: The payload format is in an unsupported format + "500": + value: + - errorCode: EQ-3034003 + errorMessage: "Method not supported,Please check the URL passed" + correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 + additionalInfo: + - reason: method:PATCH + COLO2COLOwithDot1q-Dot1q: + value: + type: EVPL_VC + name: My-Layer2-Connection-3 + bandwidth: 1000 + redundancy: + priority: PRIMARY + aSide: + accessPoint: + type: COLO + port: + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee063 + linkProtocol: + type: DOT1Q + vlanTag: 1001 + order: + purchaseOrderNumber: po1234 + zSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + linkProtocol: + type: DOT1Q + vlanTag: 1001 + notifications: + - type: ALL + emails: + - test@test.com + COLO2COLOwithDot1q-Dot1q-CRH: + value: + type: EVPL_VC + name: My-Layer2-Connection-3 + bandwidth: 1000 + redundancy: + priority: PRIMARY + aSide: + accessPoint: + type: COLO + port: + uuid: a867f685-41b0-1b07-6de0-320a5c00abdd + linkProtocol: + type: DOT1Q + vlanTag: 1001 + order: + purchaseOrderNumber: po1234 + zSide: + accessPoint: + type: COLO + port: + uuid: b067f685-49b0-1a09-6fe0-360a5d00afdg + linkProtocol: + type: DOT1Q + vlanTag: 1001 + project: + projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 + notifications: + - type: ALL + emails: + - test@test.com + COLO2COLOwithDot1Q-QinQ: + value: + type: EVPL_VC + name: My-Layer2-Connection-3 + bandwidth: 1000 + redundancy: + priority: PRIMARY + aSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + linkProtocol: + type: DOT1Q + vlanTag: 1001 + order: + purchaseOrderNumber: po1234 + zSide: + accessPoint: + type: COLO + port: + uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c + linkProtocol: + type: QINQ + vlanSTag: 1001 + vlanCTag: 1002 + notifications: + - type: ALL + emails: + - test@test.com + COLO2COLOwithQinq-Qinq: + value: + type: EVPL_VC + name: My-Layer2-Connection-3 + bandwidth: 1000 + redundancy: + priority: PRIMARY + aSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + linkProtocol: + type: QINQ + vlanSTag: 1001 + order: + purchaseOrderNumber: po1234 + zSide: + accessPoint: + type: COLO + port: + uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c + linkProtocol: + type: QINQ + vlanSTag: 1001 + notifications: + - type: ALL + emails: + - test@test.com + COLO2COLOwithQinq-Dot1q: + value: + type: EVPL_VC + name: My-Layer2-Connection-3 + bandwidth: 1000 + redundancy: + priority: PRIMARY + aSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + linkProtocol: + type: QINQ + vlanSTag: 1001 + vlanCTag: 1125 + order: + purchaseOrderNumber: po1234 + zSide: + accessPoint: + type: COLO + port: + uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c + linkProtocol: + type: DOT1Q + vlanTag: 1001 + notifications: + - type: ALL + emails: + - test@test.com + COLO2COLO-AsReseller: + value: + type: EVPL_VC + name: Conn-1 + order: + purchaseOrderNumber: 1-129105284100 + bandwidth: 100 + aSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + linkProtocol: + type: DOT1Q + vlanTag: 1001 + zSide: + accessPoint: + type: COLO + port: + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + linkProtocol: + type: QINQ + vlanSTag: 1002 + vlanCTag: 1001 + notifications: + - type: ALL + emails: + - test@equinix.com + - test1@equinix.com + COLO2COLO-EPL: + value: + type: EPL_VC + name: Conn-1 + order: + purchaseOrderNumber: 1-129105284100 + bandwidth: 100 + aSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + zSide: + accessPoint: + type: COLO + port: + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + notifications: + - type: ALL + emails: + - test@equinix.com + - test1@equinix.com + COLO2COLO-AccessEpl: + value: + type: ACCESS_EPL_VC + name: Conn-1 + order: + purchaseOrderNumber: 1-129105284100 + bandwidth: 100 + aSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + linkProtocol: + type: QINQ + vlanSTag: 1234 + zSide: + accessPoint: + type: COLO + port: + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + notifications: + - type: ALL + emails: + - test@equinix.com + - test1@equinix.com + COLO2SPwithDot1q: + value: + type: EVPL_VC + name: My-Layer2-Connection-3 + bandwidth: 1000 + redundancy: + priority: PRIMARY + aSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + linkProtocol: + type: DOT1Q + vlanTag: 1001 + order: + purchaseOrderNumber: po1234 + zSide: + accessPoint: + type: SP + profile: + type: L2_PROFILE + uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c + location: + metroCode: DC + notifications: + - type: ALL + emails: + - test@test.com + COLO2AlibabaSPwithDot1q: + value: + type: EVPL_VC + name: My-Layer2-Connection-3 + bandwidth: 1000 + redundancy: + priority: PRIMARY + aSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + linkProtocol: + type: DOT1Q + vlanTag: 1001 + order: + purchaseOrderNumber: po1234 + zSide: + accessPoint: + type: SP + profile: + type: L2_PROFILE + uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c + location: + metroCode: SV + sellerRegion: San Jose 2 + authenticationKey: xxx-xxx-xxx + notifications: + - type: ALL + emails: + - test@test.com + COLO2AWSSPwithDot1q-Primary: + value: + type: EVPL_VC + name: Primary-Aws + bandwidth: 1000 + redundancy: + priority: PRIMARY + aSide: + accessPoint: + type: COLO + port: + uuid: a00cef6f-8e35-4794-9ff9-665e084e4e6d + linkProtocol: + type: DOT1Q + vlanTag: 1001 + order: + purchaseOrderNumber: po1234 + zSide: + accessPoint: + type: SP + profile: + type: L2_PROFILE + uuid: 22d4e853-ef33-4ff0-b5b2-a2b1d5dfa50c + location: + metroCode: DC + sellerRegion: us-east-1 + authenticationKey: xxx-xxx-xxx + notifications: + - type: ALL + emails: + - test@test.com + COLO2AzureSPwithDot1q-Primary: + value: + type: EVPL_VC name: Primary-Azure bandwidth: 1000 redundancy: @@ -13993,8 +15864,14 @@ components: ConnectionMigrationAsideVirtualDeviceRequest: value: - op: replace - path: /aSide/accessPoint/virtualDevice/uuid - value: 5e7fd31d-f1e8-46fe-b6ad-6f5f2306cfd8 + path: /aSide/accessPoint + value: + virtualDevice: + type: EDGE + uuid: 207667ba-3211-452c-b0a8-8b9046e122a5 + interface: + type: CLOUD + id: 4 ConnectionPatchResponse: value: href: https://api.equinix.com/fabric/v4/connections/3a58dd05-f46d-4b1d-a154-2e85c396ea62 @@ -14134,6 +16011,48 @@ components: changeLog: createdDateTime: 2020-04-21T10:30:00Z updatedDateTime: 2020-05-21T10:30:00Z + ConnectionRoutesSearchByType: + value: + filter: + and: + - property: /type + operator: = + values: + - IPv4_BGP_ROUTE + pagination: + offset: 0 + limit: 20 + sort: + - direction: DESC + property: /changeLog/createdDateTime + ConnectionRoutesSearchByState: + value: + filter: + and: + - property: /state + operator: = + values: + - ACTIVE + pagination: + offset: 0 + limit: 20 + sort: + - direction: DESC + property: /changeLog/createdDateTime + ConnectionRoutesSearchByMed: + value: + filter: + and: + - property: /med + operator: = + values: + - 200 + pagination: + offset: 0 + limit: 20 + sort: + - direction: DESC + property: /changeLog/createdDateTime RoutingProtocolGetAll: value: pagination: @@ -14164,6 +16083,7 @@ components: outboundASPrependCount: 3 inboundMED: 1000 outboundMED: 2000 + routesMax: 40 operation: operationalStatus: UNKNOWN customerAsn: 10000 @@ -14261,6 +16181,7 @@ components: outboundASPrependCount: 3 inboundMED: 1000 outboundMED: 2000 + routesMax: 40 operation: operationalStatus: UNKNOWN customerAsn: 10000 @@ -14449,6 +16370,7 @@ components: outboundASPrependCount: 3 inboundMED: 1000 outboundMED: 2000 + routesMax: 40 operation: operationalStatus: UNKNOWN customerAsn: 10000 @@ -14525,6 +16447,7 @@ components: outboundASPrependCount: 3 inboundMED: 1000 outboundMED: 2000 + routesMax: 40 operation: operationalStatus: UP opStatusChangedAt: 2021-10-30T07:21:39Z @@ -14763,17 +16686,26 @@ components: bgpIpv4: customerPeerIp: 10.1.1.2 equinixPeerIp: 10.1.1.3 + outboundASPrependCount: 3 + inboundMED: 1000 + outboundMED: 2000 + routesMax: 40 operation: operationalStatus: UP opStatusChangedAt: 2021-10-30T07:21:39Z bgpIpv6: customerPeerIp: 2001:db8:c59b::1 equinixPeerIp: 2001:db8:c59b::1 + outboundASPrependCount: 3 + inboundMED: 1000 + outboundMED: 2000 + routesMax: 40 operation: operationalStatus: UP opStatusChangedAt: 2021-10-30T07:21:39Z customerAsn: 0 equinixAsn: 0 + asOverrideEnabled: true bgpAuthKey: string bfd: enabled: true @@ -14800,18 +16732,27 @@ components: bgpIpv4: customerPeerIp: 10.1.1.2 equinixPeerIp: 10.1.1.3 + outboundASPrependCount: 3 + inboundMED: 1000 + outboundMED: 2000 + routesMax: 40 operation: operationalStatus: UP opStatusChangedAt: 2021-10-30T07:21:39Z bgpIpv6: customerPeerIp: 2001:db8:c59b::1 equinixPeerIp: 2001:db8:c59b::1 + outboundASPrependCount: 3 + inboundMED: 1000 + outboundMED: 2000 + routesMax: 40 operation: operationalStatus: UP opStatusChangedAt: 2021-10-30T07:21:39Z customerAsn: 0 equinixAsn: 0 bgpAuthKey: string + asOverrideEnabled: true bfd: enabled: true interval: "100" @@ -17166,48 +19107,6 @@ components: expirationDateTime: 2021-03-18T06:43:49.980Z connection: type: EVPL_VC - href: http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b - uuid: 53dc2010-5006-46b6-9e91-995c47415d5b - allowRemoteConnection: false - bandwidthLimit: 50 - allowCustomBandwidth: false - aSide: - accessPointSelectors: - - type: COLO - port: - href: http://api.equinix.com/fabric/v4/ports/b840a1db-5758-758f-97e0-328a5c00a874 - type: XF_PORT - uuid: b840a1db-5758-758f-97e0-328a5c00a874 - linkProtocol: - type: QINQ - vlanCTag: 1399 - vlanSTag: 1388 - notifications: - - type: NOTIFICATION - emails: - - abc@company.com - - provider@company.com - account: - orgId: 111437 - changeLog: - createdBy: "843577" - createdDateTime: 2021-03-18T06:43:49.980Z - updatedBy: "843577" - updatedDateTime: 2021-03-18T06:44:14.206Z - getServiceToken-CRH: - value: - href: http://api.equinix.com/fabric/v4/serviceTokens/13ab7dc7-c18e-4f73-aa35-fc3a83966e79 - type: VC_TOKEN - uuid: 13ab7dc7-c18e-4f73-aa35-fc3a83966e79 - name: Az_Aside_Dot1Q_Pri_SV - description: Az_Aside_Dot1Q_Pri_SV_Description - state: INACTIVE - expiry: 0 - expirationDateTime: 2021-03-18T06:43:49.980Z - connection: - type: EVPL_VC - href: http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b - uuid: 53dc2010-5006-46b6-9e91-995c47415d5b allowRemoteConnection: false bandwidthLimit: 50 allowCustomBandwidth: false @@ -17236,6 +19135,82 @@ components: updatedDateTime: 2021-03-18T06:44:14.206Z project: projectId: "995072000433550" + getServiceToken-VD: + value: + href: http://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1 + type: VC_TOKEN + name: Zside_Virtual_Device_token + uuid: ea40918e-9b39-4045-8be8-0beaa7eb5ce1 + description: Zside vd token + state: INACTIVE + connection: + type: EVPL_VC + allowRemoteConnection: true + allowCustomBandwidth: false + supportedBandwidths: + - 10 + - 50 + - 200 + zSide: + accessPointSelectors: + - type: VD + virtualDevice: + name: testVirtualDeviceName + type: EDGE + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + interface: + type: NETWORK + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + id: 45645 + project: + projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 + expirationDateTime: 2021-03-18T06:43:49.980Z + notifications: + - type: NOTIFICATION + emails: + - abc@company.com + account: + orgId: 111437 + changeLog: + createdBy: "843577" + createdDateTime: 2021-03-18T06:43:49.980Z + updatedBy: "843577" + updatedDateTime: 2021-03-18T06:44:14.206Z + getServiceToken-Network: + value: + href: https://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1 + type: VC_TOKEN + name: Zside_network_token + uuid: ea40918e-9b39-4045-8be8-0beaa7eb5ce1 + description: Zside Network token + state: INACTIVE + connection: + type: EVPLAN_VC + allowRemoteConnection: true + allowCustomBandwidth: false + bandwidthLimit: 20000 + zSide: + accessPointSelectors: + - type: NETWORK + network: + href: https://api.equinix.com/fabric/v4/networks/20d32a80-0d61-4333-bc03-707b591ae2f4 + type: EVPLAN + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + scope: REGIONAL + project: + projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 + expirationDateTime: 2021-03-18T06:43:49.980Z + notifications: + - type: NOTIFICATION + emails: + - abc@company.com + account: + orgId: 111437 + changeLog: + createdBy: "843577" + createdDateTime: 2021-03-18T06:43:49.980Z + updatedBy: "843577" + updatedDateTime: 2021-03-18T06:44:14.206Z "400_UUID": value: - errorCode: EQ-3034016 @@ -17282,65 +19257,74 @@ components: value: pagination: offset: 0 - limit: 1 - total: 1 + limit: 75 + total: 2 data: - - href: http://api.equinix.com/fabric/v4/serviceTokens/13ab7dc7-c18e-4f73-aa35-fc3a83966e79 + - href: https://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1 type: VC_TOKEN - uuid: 13ab7dc7-c18e-4f73-aa35-fc3a83966e79 - name: Az_Aside_Dot1Q_Pri_SV - description: Az_Aside_Dot1Q_Pri_SV_Description - state: INACTIVE + name: zside_network_token + uuid: ea40918e-9b39-4045-8be8-0beaa7eb5ce1 + description: zside_Network_token + connection: + type: EVPLAN_VC + allowRemoteConnection: true + allowCustomBandwidth: false + bandwidthLimit: 20000 + zSide: + accessPointSelectors: + - type: NETWORK + network: + href: https://api.equinix.com/fabric/v4/networks/20d32a80-0d61-4333-bc03-707b591ae2f4 + type: EVPLAN + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + scope: REGIONAL + project: + projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 expirationDateTime: 2021-03-18T06:43:49.980Z + notifications: + - type: NOTIFICATION + emails: + - abc@company.com + - href: https://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1 + type: VC_TOKEN + name: zside_vd_token + uuid: ea40918e-9b39-4045-8be8-0beaa7eb5ce1 + description: zside vd token connection: type: EVPL_VC - href: http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b - uuid: 53dc2010-5006-46b6-9e91-995c47415d5b - allowRemoteConnection: false - bandwidthLimit: 50 + allowRemoteConnection: true allowCustomBandwidth: false - aSide: + supportedBandwidths: + - 10 + - 50 + - 200 + zSide: accessPointSelectors: - - type: COLO - port: - href: http://api.equinix.com/fabric/v4/ports/b840a1db-5758-758f-97e0-328a5c00a874 - type: XF_PORT - uuid: b840a1db-5758-758f-97e0-328a5c00a874 - linkProtocol: - type: QINQ - vlanCTag: 1399 - vlanSTag: 1388 + - type: VD + virtualDevice: + type: EDGE + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + interface: + type: NETWORK + id: 45645 + project: + projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 + expirationDateTime: 2021-03-18T06:43:49.980Z notifications: - type: NOTIFICATION emails: - abc@company.com - - provider@company.com - account: - orgId: 111437 - changeLog: - createdBy: "843577" - createdDateTime: 2021-03-18T06:43:49.980Z - updatedBy: "843577" - updatedDateTime: 2021-03-18T06:44:14.206Z - getServiceTokens-CRH: - value: - pagination: - offset: 0 - limit: 75 - total: 1 - data: - href: http://api.equinix.com/fabric/v4/serviceTokens/13ab7dc7-c18e-4f73-aa35-fc3a83966e79 type: VC_TOKEN uuid: 13ab7dc7-c18e-4f73-aa35-fc3a83966e79 name: Az_Aside_Dot1Q_Pri_SV description: Az_Aside_Dot1Q_Pri_SV_Description state: INACTIVE - expiry: 0 expirationDateTime: 2021-03-18T06:43:49.980Z + project: + projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 connection: type: EVPL_VC - href: http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b - uuid: 53dc2010-5006-46b6-9e91-995c47415d5b allowRemoteConnection: false bandwidthLimit: 50 allowCustomBandwidth: false @@ -17367,8 +19351,6 @@ components: createdDateTime: 2021-03-18T06:43:49.980Z updatedBy: "843577" updatedDateTime: 2021-03-18T06:44:14.206Z - project: - projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 createServiceTokenWithQnQ: value: type: VC_TOKEN @@ -17589,6 +19571,61 @@ components: - type: NOTIFICATION emails: - abc@company.com + createZsideServiceTokenWithVD: + value: + type: VC_TOKEN + name: Zside_VD_token + description: zside vd token + connection: + type: EVPL_VC + allowRemoteConnection: true + allowCustomBandwidth: false + supportedBandwidths: + - 10 + - 50 + - 200 + - 10000 + zSide: + accessPointSelectors: + - type: VD + virtualDevice: + type: EDGE + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + interface: + type: NETWORK + id: 45645 + project: + projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 + expirationDateTime: 2021-03-18T06:43:49.980Z + notifications: + - type: NOTIFICATION + emails: + - abc@company.com + createZsideServiceTokenWithNetwork: + value: + type: VC_TOKEN + name: zside_Network_token + description: Zside_Network_token + connection: + type: EVPLAN_VC + allowRemoteConnection: true + supportedBandwidths: + - 10 + - 50 + - 200 + zSide: + accessPointSelectors: + - type: NETWORK + network: + type: EVPLAN + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f4 + project: + projectId: 30ad25e2-53dc-11ed-bdc3-0242ac120002 + expirationDateTime: 2021-03-18T06:43:49.980Z + notifications: + - type: NOTIFICATION + emails: + - abc@company.com Resend_Service_Token: value: type: RESEND_EMAIL_NOTIFICATION @@ -17604,8 +19641,6 @@ components: expirationDateTime: 2021-03-18T06:43:49.980Z connection: type: EVPL_VC - href: http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b - uuid: 53dc2010-5006-46b6-9e91-995c47415d5b allowRemoteConnection: false bandwidthLimit: 50 allowCustomBandwidth: false @@ -17795,12 +19830,11 @@ components: uuid: e91484bb-4f65-4ab3-8f77-500dec2f855d name: test-AT1-Dot1q-L-Secondary-108608 state: ACTIVE - cvpId: "108608" bandwidth: 10000 usedBandwidth: 0 availableBandwidth: 20000 + physicalPortSpeed: 10000 redundancy: - group: "1" priority: SECONDARY location: metroHref: https://api.equinix.com/fabric/v4/metros/AT @@ -17817,8 +19851,9 @@ components: type: DOT1Q tagProtocolId: 33024 lagEnabled: true - lag: - enabled: true + package: + code: STANDARD + type: MSP settings: buyout: false placeVcOrderPermission: true @@ -17844,24 +19879,33 @@ components: patchPanel: PP:8118:1586 patchPanelPortA: "92" patchPanelPortB: "24" + operation: + operationalStatus: UP demarcationPoint: ibx: AT1 patchPanel: PP:8118:1586 patchPanelName: PP:8118:1586 patchPanelPortA: "92" patchPanelPortB: "24" - operation: - operationalStatus: UP operation: operationalStatus: UP opStatusChangedAt: 2021-06-14T17:21:25.586Z connectionCount: 0 + evplVcCount: 0 + fgVcCount: 0 + accessVcCount: 0 account: - accountNumber: "100179" + accountNumber: 100179 accountName: L2 globalCustId: 007700000090982RG8 - orgId: "100179" + orgId: 100179 organizationName: Cust_Org_100179 + order: + purchaseOrder: + startDate: 2020-06-14T17:21:25.586Z + endDate: 2020-06-15T17:21:25.586Z + type: NEW + orderNumber: 1-222078525611 changeLog: createdDateTime: 2020-06-14T17:21:25.586Z project: @@ -17875,16 +19919,16 @@ components: location: metroCode: GV demarcationPointIbx: GV1 - settings: - packageType: STANDARD + package: + code: STANDARD lagEnabled: false encapsulation: type: DOT1Q tagProtocolId: 33024 project: - projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 + projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931' account: - accountNumber: "270848" + accountNumber: 270848 notifications: - registeredUsers: - jaguarsuser-port-order @@ -17893,9 +19937,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -17918,8 +19962,8 @@ components: location: metroCode: GV demarcationPointIbx: GV1 - settings: - packageType: STANDARD + package: + code: STANDARD lagEnabled: true encapsulation: type: DOT1Q @@ -17927,7 +19971,7 @@ components: project: projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 account: - accountNumber: "270848" + accountNumber: 270848 notifications: - registeredUsers: - jaguarsuser-port-order @@ -17936,9 +19980,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -17961,8 +20005,8 @@ components: location: metroCode: GV demarcationPointIbx: GV1 - settings: - packageType: STANDARD + package: + code: STANDARD lagEnabled: true encapsulation: type: DOT1Q @@ -17970,7 +20014,7 @@ components: project: projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 account: - accountNumber: "270848" + accountNumber: 270848 notifications: - registeredUsers: - jaguarsuser-port-order @@ -17979,9 +20023,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18010,8 +20054,9 @@ components: location: metroCode: GV demarcationPointIbx: GV1 + package: + code: STANDARD settings: - packageType: STANDARD sharedPortType: false sharedPortProduct: null redundancy: @@ -18029,9 +20074,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18080,7 +20125,7 @@ components: project: projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 account: - accountNumber: "270848" + accountNumber: 270848 notifications: - registeredUsers: - jaguarsuser-port-order @@ -18091,9 +20136,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18111,8 +20156,8 @@ components: location: metroCode: GV demarcationPointIbx: GV1 - settings: - packageType: STANDARD + package: + code: STANDARD lagEnabled: true encapsulation: type: DOT1Q @@ -18120,7 +20165,7 @@ components: project: projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 account: - accountNumber: "270848" + accountNumber: 270848 notifications: - registeredUsers: - jaguarsuser-port-order @@ -18131,9 +20176,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18149,8 +20194,8 @@ components: location: metroCode: GV demarcationPointIbx: GV1 - settings: - packageType: STANDARD + package: + code: STANDARD lagEnabled: false encapsulation: type: DOT1Q @@ -18158,14 +20203,14 @@ components: project: projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 account: - accountNumber: "270848" + accountNumber: 270848 order: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18189,8 +20234,9 @@ components: location: metroCode: GV demarcationPointIbx: GV1 + package: + code: STANDARD settings: - packageType: STANDARD sharedPortProduct: NETWORK_EDGE redundancy: priority: SECONDARY @@ -18207,9 +20253,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18243,8 +20289,8 @@ components: location: metroCode: GV demarcationPointIbx: GV1 - settings: - packageType: STANDARD + package: + code: STANDARD lagEnabled: true encapsulation: type: DOT1Q @@ -18252,7 +20298,7 @@ components: project: projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 account: - accountNumber: "270848" + accountNumber: 270848 notifications: - registeredUsers: - jaguarsuser-port-order @@ -18261,9 +20307,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18289,9 +20335,10 @@ components: encapsulation: type: DOT1Q tagProtocolId: 33024 + package: + code: STANDARD settings: - sharedPortType: "false," - packageType: STANDARD + sharedPortType: false project: projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 account: @@ -18450,6 +20497,8 @@ components: name: L2-DEV-USER01-CX-10G-PRIMARY description: Test Redundant port in Amsterdam physicalPortsSpeed: 10000 + physicalPortsType: 1000BASE_LX + connectivitySourceType: BMMR location: metroCode: AM demarcationPointIbx: AM1 @@ -18465,9 +20514,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18504,9 +20553,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18538,8 +20587,8 @@ components: orderNumber: 1-210210611704 account: accountNumber: 270848 - changelog: - createdBy: "907831" + changeLog: + createdBy: 907831 createdDateTime: 2023-06-02T22:25:52.206Z location: metroCode: GV @@ -18548,9 +20597,10 @@ components: group: 22f8e668-4754-4564-825d-d1c7889c885a priority: PRIMARY lagEnabled: false + package: + code: STANDARD settings: sharedPortType: false - packageType: STANDARD project: projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 notifications: @@ -18571,8 +20621,8 @@ components: orderNumber: 1-210210611704 account: accountNumber: 270848 - changelog: - createdBy: "907831" + changeLog: + createdBy: 907831 createdDateTime: 2023-06-02T22:25:52.206Z location: metroCode: GV @@ -18583,9 +20633,10 @@ components: lagEnabled: false project: projectId: 8f23b36f-db8f-44c8-a6e5-606e1b485931 + package: + code: STANDARD settings: sharedPortType: false - packageType: STANDARD notifications: - type: TECHNICAL registeredUsers: @@ -18611,9 +20662,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18639,9 +20690,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18660,9 +20711,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18688,9 +20739,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18706,9 +20757,9 @@ components: purchaseOrder: number: 156576 amount: 10 - startDate: 2018-06-11 - endDate: 2018-07-11 - selectionType: NEW + startDate: 2018-06-11T22:25:52.206Z + endDate: 2018-07-11T22:25:52.206Z + type: NEW signature: signatory: DELEGATE delegate: @@ -18757,10 +20808,12 @@ components: uuid: e91484bb-4f65-4ab3-8f77-500dec2f855d name: test-AT1-Dot1q-L-Secondary-108608 state: ACTIVE - cvpId: "108608" bandwidth: 10000 usedBandwidth: 0 availableBandwidth: 20000 + physicalPortsSpeed: 10000 + physicalPortsType: 1000BASE_LX + connectivitySourceType: COLO redundancy: group: "1" priority: Secondary @@ -18779,8 +20832,9 @@ components: type: DOT1Q tagProtocolId: 33024 lagEnabled: true - lag: - enabled: true + package: + code: STANDARD + type: MSP settings: buyout: false placeVcOrderPermission: true @@ -18801,8 +20855,6 @@ components: patchPanelName: PP:8118:1586 patchPanelPortA: "92" patchPanelPortB: "24" - operation: - operationalStatus: UP - state: PROVISIONED type: XF_PHYSICAL_PORT id: 6968 @@ -18812,17 +20864,18 @@ components: patchPanel: PP:8118:1586 patchPanelPortA: "92" patchPanelPortB: "24" - operation: - operationalStatus: UP operation: operationalStatus: UP opStatusChangedAt: 2021-06-14T17:21:25.586Z connectionCount: 0 + evplVcCount: 0 + fgVcCount: 0 + accessVcCount: 0 account: - accountNumber: "100179" + accountNumber: 100179 accountName: L2 globalCustId: 007700000090982RG8 - orgId: "100179" + orgId: 100179 organizationName: Cust_Org_100179 changeLog: createdDateTime: 2018-06-14T17:21:25.587Z @@ -18856,8 +20909,6 @@ components: type: DOT1Q tagProtocolId: 33024 lagEnabled: true - lag: - enabled: true settings: buyout: false placeVcOrderPermission: true @@ -20080,6 +22131,53 @@ components: RouteEntriesStatusUpdate: value: type: ROUTE_TABLE_ENTRY_UPDATE + ReceivedRouteEntriesStatusUpdate: + value: + type: RECEIVED_ROUTE_ENTRY_UPDATE + AdvertisedRouteEntriesStatusUpdate: + value: + type: ADVERTISED_ROUTE_ENTRY_UPDATE + connection: + uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + CloudRouterReceivedRoutesActionResponse: + value: + type: RECEIVED_ROUTE_ENTRY_UPDATE + uuid: 37c10edc-ba2e-4240-a850-8a48f9c47d01 + state: PENDING + connection: + uuid: 3066ab1d-af87-49d7-8a14-c9bdb57ac809 + changeLog: + createdDateTime: 2020-05-21T10:30:00Z + CloudRouterAdvertisedRoutesActionResponse: + value: + type: ADVERTISED_ROUTE_ENTRY_UPDATE + uuid: 37c10edc-ba2e-4240-a850-8a48f9c47d01 + state: PENDING + connection: + uuid: 3066ab1d-af87-49d7-8a14-c9bdb57ac809 + changeLog: + createdDateTime: 2020-05-21T10:30:00Z + CloudRouterActionsSearchByType: + value: + filter: + and: + - property: /type + operator: = + values: + - ROUTE_TABLE_ENTRY_UPDATE + pagination: + offset: 0 + limit: 20 + sort: + - direction: DESC + property: /changeLog/createdDateTime + "400_invalid_sorting": + value: + - errorCode: EQ-3043015 + errorMessage: Invalid value for sorting direction. + correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec + additionalInfo: + - reason: Only accept DESC and ASC for sorting direction. SearchFilterByNextHop: value: filter: @@ -20149,13 +22247,6 @@ components: operator: LIKE values: - abc - "400_invalid_sorting": - value: - - errorCode: EQ-3043015 - errorMessage: Invalid value for sorting direction. - correlationId: cebc3d33-9037-4a2b-a7af-0ad65602cdec - additionalInfo: - - reason: Only accept DESC and ASC for sorting direction. Request-direct-ipv4: value: filter: @@ -21212,17 +23303,150 @@ components: status: COMPLETED createdDateTime: 2020-05-21T10:30:00Z updatedDateTime: 2020-05-21T10:30:50Z + ntpStandardService: + value: + type: NTP + name: EPT-NTP-Service + connections: + - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + package: + code: NTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ptpStandardService: + value: + type: PTP + name: EPT-PTP-Service + connections: + - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + package: + code: PTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + order: + purchaseOrderNumber: 1-129105284100 + ntpEnterpriseService: + value: + type: NTP + name: EPT-NTP-Service + connections: + - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + package: + code: NTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ptpEnterpriseService: + value: + type: PTP + name: EPT-PTP-Service + connections: + - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + package: + code: PTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ptpStandardWithAdvancedConfiguration: + value: + type: PTP + name: EPT-PTP-Service + connections: + - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + package: + code: PTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ptpAdvancedConfiguration: + timeScale: true + domain: 127 + priority1: 0 + priority2: 1 + logAnnounceInterval: 1 + logSyncInterval: -4 + logDelayReqInterval: -4 + transportMode: UNICAST + grantTime: 300 + ptpEnterpriseWithAdvancedConfiguration: + value: + type: PTP + name: EPT-PTP-Service + connections: + - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + package: + code: PTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ptpAdvancedConfiguration: + timeScale: true + domain: 127 + priority1: 0 + priority2: 1 + logAnnounceInterval: 1 + logSyncInterval: -4 + logDelayReqInterval: -4 + transportMode: UNICAST + grantTime: 300 + ntpEnterpriseWithAdvancedConfiguration: + value: + type: NTP + name: EPT-NTP-Service + connections: + - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + package: + code: NTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ntpAdvancedConfiguration: + - type: ASCII + keyNumber: 65534 + key: plain_printable_key + - type: HEX + keyNumber: 65535 + key: a1a1a1a1a1a1a1 ntpStandardCreateResponse: value: href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 - uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 - name: EPT-Single-Service type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service state: PROVISIONING connections: - - href: https://api.equinix.com/fabric/v4/connections/a8ba52de-faae-43b5-b0b1-6904d37ee011 + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 type: EVPL_VC uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY package: href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD code: NTP_STANDARD @@ -21233,14 +23457,155 @@ components: defaultGateway: 192.167.0.1 account: accountNumber: 123456 - "400-Mandatory-Name": + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ntpEnterpriseCreateResponse: value: - - errorCode: EQ-4800011 - errorMessage: Validation Error - correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 - additionalInfo: - - property: /package/protocol - reason: Mandatory field is missing + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: PROVISIONING + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE + code: NTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ntpAdvancedConfiguration: + - type: ASCII + keyNumber: 65534 + key: plain_printable_key + - type: HEX + keyNumber: 65535 + key: a1a1a1a1a1a1a1 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ptpStandardCreateResponse: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: PTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-PTP-Service + state: PROVISIONING + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/PTP_STANDARD + code: PTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ptpAdvancedConfiguration: + timeScale: true + domain: 127 + priority1: 0 + priority2: 1 + logAnnounceInterval: 1 + logSyncInterval: -4 + logDelayReqInterval: -4 + transportMode: UNICAST + grantTime: 300 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ptpEnterpriseCreateResponse: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: PTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-PTP-Service + state: PROVISIONING + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/PTP_ENTERPRISE + code: PTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ptpAdvancedConfiguration: + timeScale: true + domain: 127 + priority1: 0 + priority2: 1 + logAnnounceInterval: 1 + logSyncInterval: -4 + logDelayReqInterval: -4 + transportMode: UNICAST + grantTime: 300 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z "400-Invalid-Name": value: - errorCode: EQ-4800010 @@ -21248,7 +23613,7 @@ components: correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 additionalInfo: - property: /name - reason: Invalid name + reason: Invalid name provided "400-Validate-Name": value: - errorCode: EQ-4800100 @@ -21456,33 +23821,422 @@ components: correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 "400-Invalid-Id": value: - - errorCode: EQ-4800010 - errorMessage: Invalid Id - Only Integers are allowed - correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 - "400-Invalid-Password": + - errorCode: EQ-4800010 + errorMessage: Invalid Id - Only Integers are allowed + correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 + "400-Invalid-Password": + value: + - errorCode: EQ-4800010 + errorMessage: Invalid Password + correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 + "400-Validate-Password": + value: + - errorCode: EQ-4800114 + errorMessage: "Only HEX allowed, chars value length should between 10 - 40" + correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 + ntpStandardResponseASidePort: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: PROVISIONED + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD + code: NTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + order: + orderNumber: 1-129105284100 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ntpStandardResponseASideVirtualDevice: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: PROVISIONED + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: VD + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD + code: NTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + order: + orderNumber: 1-129105284100 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ntpStandardResponseASideCloudRouter: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: PROVISIONED + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: IP_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: CLOUD_ROUTER + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD + code: NTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + order: + orderNumber: 1-129105284100 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ntpEnterpriseWOMD5ResponseASidePort: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: PROVISIONED + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE + code: NTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + order: + orderNumber: 1-129105284100 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ntpEnterpriseResponseASidePort: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: PROVISIONED + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE + code: NTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ntpAdvancedConfiguration: + - type: ASCII + keyNumber: 65534 + key: plain_printable_key + - type: HEX + keyNumber: 65535 + key: a1a1a1a1a1a1a1 + order: + orderNumber: 1-129105284100 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ntpEnterpriseResponseASideVirtualDevice: value: - - errorCode: EQ-4800010 - errorMessage: Invalid Password - correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 - "400-Validate-Password": + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: PROVISIONED + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: VD + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE + code: NTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ntpAdvancedConfiguration: + - type: ASCII + keyNumber: 65534 + key: plain_printable_key + - type: HEX + keyNumber: 65535 + key: a1a1a1a1a1a1a1 + order: + orderNumber: 1-129105284100 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ntpEnterpriseResponseASideCloudRouter: value: - - errorCode: EQ-4800114 - errorMessage: "Only HEX allowed, chars value length should between 10 - 40" - correlationId: c82ff3bc-de07-47e5-b3ec-53a009d01515 - editName: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: PROVISIONED + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: IP_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: CLOUD_ROUTER + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE + code: NTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ntpAdvancedConfiguration: + - type: ASCII + keyNumber: 65534 + key: plain_printable_key + - type: HEX + keyNumber: 65535 + key: a1a1a1a1a1a1a1 + order: + orderNumber: 1-129105284100 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ptpStandardResponse: value: - - op: replace - path: /name - value: EPT-Single-Service - editPackageCode: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: PTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-PTP-Service + state: PROVISIONED + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/PTP_STANDARD + code: PTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + order: + orderNumber: 1-129105284100 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ptpEnterpriseResponse: value: - - op: replace - path: /package/code - value: NTP_ENTERPRISE - ntpStandard: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: PTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-PTP-Service + state: PROVISIONED + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/PTP_ENTERPRISE + code: PTP_ENTERPRISE + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + ptpAdvancedConfiguration: + timeScale: true + domain: 127 + priority1: 0 + priority2: 1 + logAnnounceInterval: 1 + logSyncInterval: -4 + logDelayReqInterval: -4 + transportMode: UNICAST + grantTime: 300 + order: + orderNumber: 1-129105284100 + account: + accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + configureStandardService: value: - name: EPT-Single-Service type: NTP + name: EPT-Standard-Service connections: - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 package: @@ -21492,59 +24246,218 @@ components: secondary: 192.168.0.3 networkMask: 255.255.255.255 defaultGateway: 192.167.0.1 - ptpStandard: + configureNtpEnterpriseAdvancedConfig: value: - name: EPT-Single-Service - type: PTP + type: NTP + name: EPT-NTP-Service connections: - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 package: - code: PTP_STANDARD + code: NTP_ENTERPRISE ipv4: primary: 192.168.0.2 secondary: 192.168.0.3 networkMask: 255.255.255.255 defaultGateway: 192.167.0.1 - ptpEnterpriseWithAdvanceConfiguration: + ntpAdvancedConfiguration: + - type: ASCII + keyNumber: 65534 + key: plain_printable_key + - type: HEX + keyNumber: 65535 + key: a1a1a1a1a1a1a1 + configurePtpWithAdvancedConfig: value: - name: EPT-Single-Service type: PTP + name: EPT-PTP-Service connections: - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 package: - code: PTP_ENTERPRISE + code: PTP_STANDARD ipv4: primary: 192.168.0.2 secondary: 192.168.0.3 networkMask: 255.255.255.255 defaultGateway: 192.167.0.1 - advanceConfiguration: - ptp: - tailScale: true - domain: 10 - priority1: 5 - priority2: 7 - logAnnounceInterval: 0 - logSyncInterval: 0 - logDelayReqInterval: 0 - ntpEnterpriseWithAdvanceConfiguration: - value: - name: EPT-Single-Service + ptpAdvancedConfiguration: + timeScale: true + domain: 127 + priority1: 0 + priority2: 1 + logAnnounceInterval: 1 + logSyncInterval: -4 + logDelayReqInterval: -4 + transportMode: UNICAST + grantTime: 300 + ntpStandardConfigureResponse: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: PROVISIONING connections: - - uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY package: - code: NTP_ENTERPRISE + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD + code: NTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + account: + accountNumber: 123456 + order: + orderNumber: 1-129105284100 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + ntpStandardDeletingResponse: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: DEPROVISIONING + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD + code: NTP_STANDARD + ipv4: + primary: 192.168.0.2 + secondary: 192.168.0.3 + networkMask: 255.255.255.255 + defaultGateway: 192.167.0.1 + account: + accountNumber: 123456 + order: + orderNumber: 1-216720438646 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z + deletedByEmail: abc@xyz.com + deletedDateTime: 2024-08-24T06:52:46Z + updateName: + value: + - op: replace + path: /name + value: Updated-Service-Name + updatePackageCode: + value: + - op: replace + path: /package/code + value: NTP_ENTERPRISE + updateNetworkInformation: + value: + - op: replace + path: /ipv4 + value: + primary: 192.168.254.241 + secondary: 192.168.254.242 + networkMask: 255.255.255.240 + defaultGateway: 192.168.254.254 + updatePtpAdvancedConfiguration: + value: + - op: replace + path: /ptpAdvancedConfiguration + value: + timeScale: PTP + domain: 20 + priority1: 20 + priority2: 20 + logAnnounceInterval: 1 + logSyncInterval: -4 + logDelayReqInterval: -4 + transportMode: UNICAST + grantTime: 300 + updateNtpAdvancedConfiguration: + value: + - op: replace + path: /ntpAdvancedConfiguration + value: + - type: ASCII + keyNumber: 65534 + key: plain-text-key + - type: HEX + keyNumber: 65535 + key: a1a1a1a1a1a1 + ntpStandardReprovisionResponse: + value: + href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP + uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 + name: EPT-NTP-Service + state: REPROVISIONING + connections: + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC + uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + package: + href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD + code: NTP_STANDARD ipv4: primary: 192.168.0.2 secondary: 192.168.0.3 networkMask: 255.255.255.255 defaultGateway: 192.167.0.1 - advanceConfiguration: - ntp: - - type: ASCII - id: 12345 - password: MTIzNDU2Nzg5MA + account: + accountNumber: 123456 + order: + orderNumber: 1-129105284100 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z SearchTimeServicesFilterByStatus: value: filter: @@ -21570,7 +24483,7 @@ components: - property: /name operator: = values: - - test-time-service + - test-service - property: /type operator: = values: @@ -21611,14 +24524,28 @@ components: next: /search?offset=40&limit=20 previous: /search?offset=0&limit=20 data: - - href: https://api.equinix.com/fabric/v4/routers/201b7346-a9eb-42fe-ae7a-08148c71928d + - href: https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011 + type: NTP uuid: a8ba52de-faae-43b5-b0b1-6904d37ee011 name: EPT-NTP-STD-Service - type: NTP state: PROVISIONING connections: - - href: https://api.equinix.com/fabric/v4/connections/a8ba52de-faae-43b5-b0b1-6904d37ee011 + - href: https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0 + type: EVPL_VC uuid: 06dbb0e3-e55d-4090-8aff-fc5654abaad0 + aSide: + accessPoint: + type: COLO + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY + ibx: NY1 + zSide: + accessPoint: + type: SP + location: + metroHref: https://api.equinix.com/fabric/v4/metros/NY + metroCode: NY package: href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD code: NTP_STANDARD @@ -21629,6 +24556,11 @@ components: defaultGateway: 192.167.0.1 account: accountNumber: 123456 + changeLog: + createdByEmail: abc@xyz.com + createdDateTime: 2024-08-24T06:50:46Z + updatedByEmail: abc@xyz.com + updatedDateTime: 2024-08-24T06:51:46Z service_400_invalid_sorting: value: - errorCode: EQ-3040039 @@ -21657,57 +24589,57 @@ components: total: 4 data: - href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD - code: NTP_STANDARD type: TIME_SERVICE_PACKAGE + code: NTP_STANDARD bandwidth: 1 - clientsPerSecondMax: 2000 - accuracyUnit: microseconds + clientsPerSecondMax: 1000 + accuracySlaUnit: microseconds accuracySla: -1 - accuracyAvgMin: 1 - accuracyAvgMax: 100 - redundancySupported: true - multiSubnetSupported: true + accuracySlaMin: 1 + accuracySlaMax: 100 + redundancySupported: false + multiSubnetSupported: false changeLog: createdDateTime: 2023-05-16T07:50:49.749Z updatedDateTime: 2023-05-17T07:50:49.749Z - href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE - code: NTP_ENTERPRISE type: TIME_SERVICE_PACKAGE + code: NTP_ENTERPRISE bandwidth: 5 - clientsPerSecondMax: 1000 - accuracyUnit: microseconds + clientsPerSecondMax: 2000 + accuracySlaUnit: microseconds accuracySla: -1 - accuracyAvgMin: 1 - accuracyAvgMax: 100 - redundancySupported: true + accuracySlaMin: 1 + accuracySlaMax: 100 + redundancySupported: false multiSubnetSupported: true changeLog: createdDateTime: 2023-05-16T07:50:49.749Z updatedDateTime: 2023-05-17T07:50:49.749Z - href: https://api.equinix.com/fabric/v4/timeServicePackages/PTP_STANDARD - code: PTP_STANDARD type: TIME_SERVICE_PACKAGE + code: PTP_STANDARD bandwidth: 5 - clientsPerSecondMax: 100 - accuracyUnit: microseconds + clientsPerSecondMax: 20 + accuracySlaUnit: microseconds accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 - redundancySupported: true + accuracySlaMin: 1 + accuracySlaMax: 10 + redundancySupported: false multiSubnetSupported: true changeLog: createdDateTime: 2023-05-16T07:50:49.749Z updatedDateTime: 2023-05-17T07:50:49.749Z - href: https://api.equinix.com/fabric/v4/timeServicePackages/PTP_ENTERPRISE - code: PTP_ENTERPRISE type: TIME_SERVICE_PACKAGE + code: PTP_ENTERPRISE bandwidth: 10 - clientsPerSecondMax: 20 - accuracyUnit: microseconds + clientsPerSecondMax: 100 + accuracySlaUnit: microseconds accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 - redundancySupported: true + accuracySlaMin: 1 + accuracySlaMax: 10 + redundancySupported: false multiSubnetSupported: true changeLog: createdDateTime: 2023-05-16T07:50:49.749Z @@ -21715,14 +24647,14 @@ components: servicePackageResponse: value: href: https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD - code: NTP_STANDARD type: TIME_SERVICE_PACKAGE + code: NTP_STANDARD bandwidth: 10 clientsPerSecondMax: 100 - accuracyUnit: microseconds + accuracySlaUnit: microseconds accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 + accuracySlaMin: 1 + accuracySlaMax: 10 redundancySupported: true multiSubnetSupported: true changeLog: @@ -21736,15 +24668,15 @@ components: marketplace: AWS offerType: PRIVATE_OFFER isAutoRenew: false - offerId: offer id + offerId: offer-wqquayy2jy25o trial: enabled: true expiryDateTime: 2020-05-21T10:30:00Z entitlements: - uuid: a15b6b20-b765-4bf7-a661-a3e9372d5435 - name: FCR Standard quantityEntitled: 1 quantityConsumed: 0 + quantityAvailable: 1 asset: type: XF_ROUTER package: @@ -21762,30 +24694,69 @@ components: createdDateTime: 2020-05-21T10:30:00Z updatedBy: adminuser updatedDateTime: 2020-05-21T10:30:00Z + stream-get-all-example: + value: + pagination: + offset: 0 + limit: 20 + total: 1 + data: + - href: https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418 + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 + type: TELEMETRY_STREAM + name: stream 1 + description: stream dec 1 + project: + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 + enabled: true + state: PROVISIONED + assetsCount: 1 + streamSubscriptionsCount: 2 + changelog: + createdDateTime: 2024-05-06T16:21:18.545214Z + StreamPostRequestExample: + value: + type: TELEMETRY_STREAM + name: splunk1 + description: subscription-1 + enabled: true + project: + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 StreamResponseExample: value: - uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 href: https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418 - type: STREAM_SUBSCRIPTION - name: splunk1 - description: subscription 1 + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 + type: TELEMETRY_STREAM + name: stream1 + description: stream 1 + project: + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 enabled: true state: PROVISIONED - project: - projectId: 123456 + assetsCount: 1 + streamSubscriptionsCount: 2 changelog: createdDateTime: 2024-05-06T16:21:18.545214Z - StreamPostRequestExample: - value: - type: STREAM_SUBSCRIPTION - name: splunk1 - description: subscription 1 StreamPutRequestExample: value: name: splunk1 description: subscription 1 - stream: - uuid: 36276e58-b5a1-4864-ab5e-be10dff9eac1 + enabled: true + StreamDeleteRequestExample: + value: + href: https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418 + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 + type: TELEMETRY_STREAM + name: stream1 + description: stream 1 + project: + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 + enabled: true + state: DEPROVISIONING + assetsCount: 1 + streamSubscriptionsCount: 2 + changelog: + createdDateTime: 2024-05-06T16:21:18.545214Z StreamAssetSearchRequestExample: value: filter: @@ -21799,7 +24770,7 @@ components: limit: 20 sort: - direction: DESC - property: /changeLog/createdDateTime + property: /uuid stream-asset-get-all-example: value: pagination: @@ -21807,31 +24778,41 @@ components: limit: 20 total: 1 data: - - uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 - href: https://api.equinix.com/fabric/v4/ports/e684aa26-8276-48b7-bb42-a6d9def0a419 - metricsEnabled: true + - href: https://api.equinix.com/fabric/v4/ports/e684aa26-8276-48b7-bb42-a6d9def0a419 + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 + metricsEnabled: false attachmentStatus: ATTACHED - StreamRouterAssetResponseExample: + StreamConnectionAssetResponseExample: value: + href: https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/connections/d684aa26-8276-48b7-bb42-a6d9def0a418 uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 - href: https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/routers/d684aa26-8276-48b7-bb42-a6d9def0a418 - metricsEnabled: true + metricsEnabled: false attachmentStatus: ATTACHED StreamAssetPutRequestExample: value: - metricsEnabled: true - StreamConnectionAssetResponseExample: + metricsEnabled: false + StreamRouterAssetAttachResponseExample: value: + href: https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/routers/d684aa26-8276-48b7-bb42-a6d9def0a418 uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 - href: https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/connections/d684aa26-8276-48b7-bb42-a6d9def0a418 - metricsEnabled: true - attachmentStatus: ATTACHED - StreamPortAssetResponseExample: + metricsEnabled: false + attachmentStatus: ATTACHING + StreamRouterAssetDetachResponseExample: value: + href: https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/routers/d684aa26-8276-48b7-bb42-a6d9def0a418 uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 - href: https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/ports/d684aa26-8276-48b7-bb42-a6d9def0a418 - metricsEnabled: true - attachmentStatus: ATTACHED + metricsEnabled: false + attachmentStatus: DETACHING + stream-get-all-subscription-example: + value: + pagination: + offset: 0 + limit: 20 + total: 1 + data: + - href: https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418/streamSubscriptions + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 + type: STREAM_SUBSCRIPTION stream-subscription-get-all-example: value: pagination: @@ -21839,25 +24820,29 @@ components: limit: 20 total: 1 data: - - uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 - href: https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418 + - href: https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418 + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 type: STREAM_SUBSCRIPTION name: splunk description: subscription 1 - enabled: true + project: + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 state: PROVISIONED + enabled: true + stream: + href: https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418 + type: TELEMETRY_STREAM + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 filters: and: - - path: subject + - property: /subject operator: LIKE values: - '%36276e58-b5a1-4864-ab5e-be10dff9eac1%' - or: [] - - path: equinixproject + - property: /equinixproject operator: IN values: - "197607000886247" - or: [] sink: uri: https://xxxxxx type: SPLUNK_HEC @@ -21866,57 +24851,125 @@ components: batchWaitTimeMax: 5 changelog: createdDateTime: 2024-05-06T16:21:18.545214Z - StreamSubscriptionPostRequestExample: + StreamSubscriptionPostRequestExampleSplunk: value: type: STREAM_SUBSCRIPTION name: splunk1 - description: subscription 1 + description: subscription-1 enabled: true stream: uuid: 36276e58-b5a1-4864-ab5e-be10dff9eac1 project: - projectId: 123456 + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 filters: and: - - path: type + - property: /type operator: LIKE values: - - '%com.equinix.event.fabric.connection%' - or: [] + - '%com.equinix.fabric.connection%' sink: uri: https://xxxxxx type: SPLUNK_HEC credential: type: ACCESS_TOKEN accessToken: my-access-token - batchEnabled: false - batchSizeMax: 50 - batchWaitTimeMax: 5 + settings: + source: Equinix + eventIndex: idx-hec-event + metricIndex: idx-hec-metric + StreamSubscriptionPostRequestExampleSlack: + value: + type: STREAM_SUBSCRIPTION + name: slack1 + description: subscription-1 + enabled: true + stream: + uuid: 36276e58-b5a1-4864-ab5e-be10dff9eac1 + project: + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 + sink: + uri: https://xxxxxx + type: SLACK + StreamSubscriptionPostRequestExamplePagerduty: + value: + type: STREAM_SUBSCRIPTION + name: pagerduty + description: subscription-1 + enabled: true + stream: + uuid: 36276e58-b5a1-4864-ab5e-be10dff9eac1 + project: + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 + filters: + and: + - property: /type + operator: LIKE + values: + - '%com.equinix.fabric.connection%' + sink: + uri: https://xxxxxx + type: PAGERDUTY + credential: + type: INTEGRATION_KEY + integrationKey: my-integration-key + settings: + source: Equinix + StreamSubscriptionPostRequestExampleDatadog: + value: + type: STREAM_SUBSCRIPTION + name: datadog + description: subscription-1 + enabled: true + stream: + uuid: 36276e58-b5a1-4864-ab5e-be10dff9eac1 + project: + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 + filters: + and: + - property: /type + operator: LIKE + values: + - '%com.equinix.fabric.connection%' + sink: + uri: https://xx.datadoghq.com + type: DATADOG + credential: + type: API_KEY + apiKey: my-api-key + settings: + source: Equinix + applicationKey: my-application-key StreamSubscriptionResponseExample: value: - uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 href: https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418 - type: TELEMETRY_STREAM + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 + type: STREAM_SUBSCRIPTION name: stream 1 description: stream dec 1 project: - projectId: 1234546 + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 state: PROVISIONED - assetCount: 1 - streamSubscriptionCount: 2 + enabled: true + stream: + href: https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418 + type: TELEMETRY_STREAM + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 filters: and: - - path: type + - property: /type operator: LIKE values: - - '%com.equinix.event.fabric.connection%' - or: [] + - '%com.equinix.fabric.connection%' sink: uri: https://xxxxxx type: SPLUNK_HEC credential: type: ACCESS_TOKEN accessToken: my-access-token + settings: + source: Equinix + eventIndex: idx-hec-event + metricIndex: idx-hec-metric batchEnabled: false batchSizeMax: 50 batchWaitTimeMax: 5 @@ -21931,20 +24984,59 @@ components: uuid: 36276e58-b5a1-4864-ab5e-be10dff9eac1 filters: and: - - path: type + - property: /type operator: LIKE values: - '%equinix.event.fabric.connection%' - or: [] sink: uri: https://xxxxxx type: SPLUNK_HEC credential: type: ACCESS_TOKEN accessToken: my-access-token + settings: + source: Equinix + eventIndex: idx-hec-event + metricIndex: idx-hec-metric + batchEnabled: false + batchSizeMax: 50 + batchWaitTimeMax: 5 + StreamSubscriptionDeleteResponseExample: + value: + href: https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418 + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 + type: STREAM_SUBSCRIPTION + name: stream 1 + description: stream dec 1 + project: + projectId: dadd3ab6-c0af-430c-8216-43d44f08c1c5 + state: DEPROVISIONING + enabled: true + stream: + href: https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418 + type: TELEMETRY_STREAM + uuid: d684aa26-8276-48b7-bb42-a6d9def0a418 + filters: + and: + - property: /type + operator: LIKE + values: + - '%com.equinix.fabric.connection%' + sink: + uri: https://xxxxxx + type: SPLUNK_HEC + credential: + type: ACCESS_TOKEN + accessToken: my-access-token + settings: + source: Equinix + eventIndex: idx-hec-event + metricIndex: idx-hec-metric batchEnabled: false batchSizeMax: 50 batchWaitTimeMax: 5 + changelog: + createdDateTime: 2024-05-06T16:21:18.545214Z headers: ETag: description: response header - identifier for a specific version of a resource. @@ -21975,7 +25067,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -21992,23 +25083,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -22018,21 +25190,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -22181,7 +25427,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -22191,7 +25437,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -22217,7 +25463,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -22330,20 +25576,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -22351,8 +25595,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -22370,6 +25612,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -22380,7 +25625,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -22405,19 +25653,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -22457,9 +25711,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -22484,19 +25742,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -22536,9 +25800,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -22548,8 +25812,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -22592,10 +25859,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion name: name additionalInfo: @@ -22655,7 +25922,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -22672,23 +25938,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -22698,21 +26045,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -22861,7 +26282,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -22871,7 +26292,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -22897,7 +26318,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -23010,20 +26431,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -23031,8 +26450,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -23050,6 +26467,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -23060,7 +26480,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -23085,19 +26508,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -23137,9 +26566,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -23164,19 +26597,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -23216,9 +26655,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -23228,8 +26667,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -23272,10 +26714,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion properties: type: @@ -23343,7 +26785,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -23360,23 +26801,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -23386,21 +26908,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -23549,7 +27145,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -23559,7 +27155,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -23585,7 +27181,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -23698,20 +27294,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -23719,8 +27313,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -23738,6 +27330,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -23748,7 +27343,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -23773,19 +27371,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -23825,9 +27429,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -23852,19 +27460,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -23904,9 +27518,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -23916,8 +27530,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -23960,10 +27577,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion change: data: @@ -24013,7 +27630,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -24030,23 +27646,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -24056,21 +27753,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -24219,7 +27990,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -24229,7 +28000,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -24255,7 +28026,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -24368,20 +28139,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -24389,8 +28158,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -24408,6 +28175,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -24418,7 +28188,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -24443,19 +28216,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -24495,9 +28274,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -24522,19 +28305,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -24574,9 +28363,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -24586,8 +28375,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -24630,10 +28422,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion name: name additionalInfo: @@ -24715,13 +28507,13 @@ components: billingTier: billingTier direction: null properties: - type: - $ref: '#/components/schemas/ConnectionType' href: description: Connection URI format: uri readOnly: true type: string + type: + $ref: '#/components/schemas/ConnectionType' uuid: description: Equinix-assigned connection identifier type: string @@ -24831,7 +28623,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -24848,23 +28639,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -24874,21 +28746,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -25037,7 +28983,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -25047,7 +28993,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -25073,7 +29019,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -25186,20 +29132,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -25207,8 +29151,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -25226,6 +29168,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -25236,7 +29181,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -25261,19 +29209,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -25313,9 +29267,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -25340,19 +29298,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -25392,9 +29356,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -25404,8 +29368,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -25448,10 +29415,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion description: description type: null @@ -25459,7 +29426,7 @@ components: type: $ref: '#/components/schemas/Actions' description: - description: Connection rejection reason datail + description: Connection rejection reason detail type: string data: $ref: '#/components/schemas/ConnectionAcceptanceData' @@ -25489,7 +29456,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -25506,23 +29472,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -25532,21 +29579,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -25695,7 +29816,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -25705,7 +29826,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -25731,7 +29852,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -25844,20 +29965,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -25865,8 +29984,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -25884,6 +30001,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -25894,7 +30014,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -25919,19 +30042,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -25971,9 +30100,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -25998,19 +30131,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -26050,9 +30189,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -26062,8 +30201,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -26106,10 +30248,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion description: description changeLog: @@ -26151,6 +30293,196 @@ components: - type - uuid type: object + ConnectionRouteSearchRequest: + description: Search requests containing criteria + example: + filter: + and: + - null + - null + - null + - null + - null + pagination: + offset: 0 + limit: 1 + sort: + - property: null + direction: null + - property: null + direction: null + properties: + filter: + $ref: '#/components/schemas/ConnectionRouteEntryFilters' + pagination: + $ref: '#/components/schemas/PaginationRequest' + sort: + items: + $ref: '#/components/schemas/ConnectionRouteSortCriteria' + type: array + type: object + ConnectionRouteEntryFilters: + example: + and: + - null + - null + - null + - null + - null + properties: + and: + items: + $ref: '#/components/schemas/ConnectionRouteEntryFilter' + maxItems: 8 + type: array + type: object + ConnectionRouteEntryFilter: + anyOf: + - $ref: '#/components/schemas/ConnectionRouteEntrySimpleExpression' + - $ref: '#/components/schemas/ConnectionRouteEntryOrFilter' + type: object + ConnectionRouteEntrySimpleExpression: + properties: + property: + description: | + Possible field names to use on filters: + * `/type` - Route table entry type + * `/state` - Route table entry state + * `/prefix` - Route table entry prefix + * `/nextHop` - Route table entry nextHop + * `/*` - all-category search + example: /type + type: string + operator: + description: | + Possible operators to use on filters: + * `=` - equal + * `!=` - not equal + * `>` - greater than + * `>=` - greater than or equal to + * `<` - less than + * `<=` - less than or equal to + * `[NOT] BETWEEN` - (not) between + * `[NOT] LIKE` - (not) like + * `[NOT] IN` - (not) in + * `~*` - case-insensitive like + example: = + type: string + values: + items: + example: IPv4_BGP_ROUTE + type: string + type: array + type: object + ConnectionRouteEntryOrFilter: + properties: + or: + items: + $ref: '#/components/schemas/ConnectionRouteEntrySimpleExpression' + maxItems: 3 + type: array + type: object + ConnectionRouteSortCriteria: + example: + property: null + direction: null + properties: + direction: + $ref: '#/components/schemas/ConnectionRouteEntrySortDirection' + property: + $ref: '#/components/schemas/ConnectionRouteEntrySortBy' + type: object + ConnectionRouteEntrySortDirection: + default: DESC + description: Sorting direction + enum: + - DESC + - ASC + type: string + ConnectionRouteEntrySortBy: + default: /changeLog/updatedDateTime + description: Possible field names to use on sorting + enum: + - /changeLog/createdDateTime + - /changeLog/updatedDateTime + - /med + - /connection/name + - /type + - /prefix + - /nextHop + type: string + ConnectionRouteTableEntrySearchResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - nextHop: 10.10.10.5 + prefix: 192.168.10.0/24 + localPreference: 200 + asPath: + - asPath + - asPath + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + connection: + name: connection_1 + uuid: 81331c52-04c0-4656-a4a7-18c52669348f + protocolType: null + state: ACTIVE + type: null + MED: 5 + age: PT5M30S + - nextHop: 10.10.10.5 + prefix: 192.168.10.0/24 + localPreference: 200 + asPath: + - asPath + - asPath + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + connection: + name: connection_1 + uuid: 81331c52-04c0-4656-a4a7-18c52669348f + protocolType: null + state: ACTIVE + type: null + MED: 5 + age: PT5M30S + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: Data returned from the API call. + items: + $ref: '#/components/schemas/ConnectionRouteTableEntry' + type: array + type: object GetResponse: example: pagination: @@ -26645,7 +30977,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -26662,23 +30993,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -26688,21 +31100,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -26851,7 +31337,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -26861,7 +31347,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -26887,7 +31373,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -27000,20 +31486,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -27021,8 +31505,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -27040,6 +31522,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -27050,7 +31535,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -27075,19 +31563,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -27127,9 +31621,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -27154,19 +31652,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -27206,9 +31710,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -27218,8 +31722,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -27262,10 +31769,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion change: data: @@ -27315,7 +31822,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -27332,23 +31838,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -27358,21 +31945,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -27521,7 +32182,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -27531,7 +32192,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -27557,7 +32218,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -27670,20 +32331,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -27691,8 +32350,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -27710,6 +32367,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -27720,7 +32380,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -27745,19 +32408,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -27797,9 +32466,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -27824,19 +32497,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -27876,9 +32555,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -27888,8 +32567,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -27932,10 +32614,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion name: name additionalInfo: @@ -28035,7 +32717,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -28052,23 +32733,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -28078,21 +32840,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -28241,7 +33077,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -28251,7 +33087,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -28277,7 +33113,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -28390,20 +33226,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -28411,8 +33245,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -28430,6 +33262,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -28440,7 +33275,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -28465,19 +33303,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -28517,9 +33361,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -28544,19 +33392,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -28596,9 +33450,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -28608,8 +33462,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -28652,10 +33509,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion change: data: @@ -28705,7 +33562,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -28722,23 +33578,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -28748,21 +33685,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -28911,7 +33922,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -28921,7 +33932,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -28947,7 +33958,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -29060,20 +34071,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -29081,8 +34090,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -29100,6 +34107,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -29110,7 +34120,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -29135,19 +34148,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -29187,9 +34206,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -29214,19 +34237,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -29266,9 +34295,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -29278,8 +34307,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -29307,689 +34339,1541 @@ components: vpic_interface: href: https://openapi-generator.tech uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - peeringType: null - linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + name: name + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + state: null + geoScope: null + redundancy: + priority: null + group: group + operation: + operationalStatus: UP + opStatusChangedAt: 2020-11-06T07:00:00Z + equinixStatus: null + errors: + - help: help + errorMessage: errorMessage + additionalInfo: + - reason: reason + property: property + - reason: reason + property: property + errorCode: errorCode + correlationId: correlationId + details: details + - help: help + errorMessage: errorMessage + additionalInfo: + - reason: reason + property: property + - reason: reason + property: property + errorCode: errorCode + correlationId: correlationId + details: details + providerStatus: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + order: + orderNumber: orderNumber + customerReferenceNumber: customerReferenceNumber + orderId: orderId + purchaseOrderNumber: purchaseOrderNumber + billingTier: billingTier + direction: null + sort: + - property: null + direction: null + - property: null + direction: null + properties: + pagination: + $ref: '#/components/schemas/Pagination' + sort: + items: + $ref: '#/components/schemas/SortCriteriaResponse' + type: array + data: + items: + $ref: '#/components/schemas/Connection' + type: array + type: object + FilterBody: + description: Search requests containing criteria + example: + filter: + or: + - null + - null + and: + - null + - null + values: + - values + - values + property: property + operator: = + properties: + filter: + $ref: '#/components/schemas/SearchExpression' + type: object + SearchExpression: + example: + or: + - null + - null + and: + - null + - null + values: + - values + - values + property: property + operator: = + properties: + and: + items: + $ref: '#/components/schemas/SearchExpression' + type: array + or: + items: + $ref: '#/components/schemas/SearchExpression' + type: array + property: + type: string + operator: + enum: + - = + - '!=' + - '>' + - '>=' + - < + - <= + - BETWEEN + - NOT BETWEEN + - LIKE + - NOT LIKE + - IN + - NOT IN + - IS NOT NULL + - IS NULL + type: string + values: + items: + type: string + type: array + type: object + SearchExpressions: + items: + $ref: '#/components/schemas/SearchExpression' + type: array + PriceSearchResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - code: code + catgory: null + ipBlock: + prefixLength: 5 + location: + metroCode: metroCode + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + description: description + type: null + charges: + - price: 0.08008281904610115 + type: MONTHLY_RECURRING + - price: 0.08008281904610115 + type: MONTHLY_RECURRING + router: + package: + code: null + location: + metroCode: metroCode + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + termLength: 6 + port: + serviceType: null + settings: + buyout: false + lag: + enabled: false + bandwidth: 2 + connectivitySource: + type: null + location: + ibx: ibx + physicalPortsQuantity: 5 + redundancy: + enabled: false + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + currency: currency + connection: + bandwidth: 0 + aSide: + accessPoint: + port: + settings: + buyout: false + location: + metroCode: metroCode + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + zSide: + accessPoint: + port: + settings: + buyout: false + profile: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + location: + metroCode: metroCode + bridge: + package: + code: null + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: http://example.com/aeiou + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + - code: code + catgory: null + ipBlock: + prefixLength: 5 + location: + metroCode: metroCode + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + description: description + type: null + charges: + - price: 0.08008281904610115 + type: MONTHLY_RECURRING + - price: 0.08008281904610115 + type: MONTHLY_RECURRING + router: + package: + code: null + location: + metroCode: metroCode + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + termLength: 6 + port: + serviceType: null + settings: + buyout: false + lag: + enabled: false + bandwidth: 2 + connectivitySource: + type: null + location: + ibx: ibx + physicalPortsQuantity: 5 + redundancy: + enabled: false + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + currency: currency + connection: + bandwidth: 0 + aSide: + accessPoint: + port: + settings: + buyout: false + location: + metroCode: metroCode + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + zSide: + accessPoint: + port: + settings: + buyout: false + profile: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + location: + metroCode: metroCode + bridge: + package: + code: null type: null - vlanSTag: 3690 - sellerRegion: sellerRegion + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: http://example.com/aeiou + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + properties: + data: + items: + $ref: '#/components/schemas/Price' + type: array + pagination: + $ref: '#/components/schemas/Pagination' + type: object + PriceErrorList: + items: + $ref: '#/components/schemas/PriceError' + type: array + PriceError: + description: Error with details + discriminator: + propertyName: errorCode + properties: + errorCode: + enum: + - EQ-3038010 + - EQ-3038022 + - EQ-3038030 + type: string + errorMessage: + enum: + - Validation failure + - Invalid value + - Internal Server Error + type: string + correlationId: + type: string + details: + type: string + help: + type: string + additionalInfo: + items: + $ref: '#/components/schemas/PriceError_additionalInfo' + type: array + required: + - errorCode + - errorMessage + type: object + PortUUID: + description: Port UUID + format: uuid + type: string + startDateTime: + description: startDateTime + example: 2020-11-06T07:00:00Z + format: date-time + type: string + endDateTime: + description: endDateTime + example: 2020-11-06T07:00:00Z + format: date-time + type: string + Statistics: + description: This API provides service-level traffic metrics so that you can + view access and gather key information required to manage service subscription + sizing and capacity. + example: + startDateTime: 2020-11-06T07:00:00Z + viewPoint: aSide + bandwidthUtilization: + unit: Mbps + metricInterval: metricInterval + inbound: + max: 0.8008282 + mean: 6.0274563 + metrics: + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + outbound: + max: 0.8008282 + mean: 6.0274563 + metrics: + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + endDateTime: 2020-11-06T07:00:00Z + properties: + startDateTime: + description: Start and duration of the statistical analysis interval. + example: 2020-11-06T07:00:00Z + format: date-time + type: string + endDateTime: + description: End and duration of the statistical analysis interval. + example: 2020-11-06T07:00:00Z + format: date-time + type: string + viewPoint: + description: Point of view for connection metrics - aSide or zSide + enum: + - aSide + - zSide + type: string + bandwidthUtilization: + $ref: '#/components/schemas/BandwidthUtilization' + type: object + BandwidthUtilization: + description: Bandwidth utilization statistics (octet counters-based) + example: + unit: Mbps + metricInterval: metricInterval + inbound: + max: 0.8008282 + mean: 6.0274563 + metrics: + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + outbound: + max: 0.8008282 + mean: 6.0274563 + metrics: + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + properties: + unit: + description: "Aggregated data transfer capacity. Possible values- Mbps,\ + \ megabits (1 million bits) per second; Gbps, gigabits (1 billion bits)\ + \ per second." + enum: + - Mbps + type: string + metricInterval: + description: "An interval formatted value, indicating the time-interval\ + \ the metric objects within the response represent" + type: string + inbound: + $ref: '#/components/schemas/Direction' + outbound: + $ref: '#/components/schemas/Direction' + type: object + Direction: + description: Directional statistics + example: + max: 0.8008282 + mean: 6.0274563 + metrics: + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + properties: + max: + description: "Max bandwidth within request time range, represented in units\ + \ specified by response \"units\" field" + format: float + type: number + mean: + description: "Mean bandwidth within request time range, represented in units\ + \ specified by response \"units\" field" + format: float + type: number + metrics: + description: Bandwidth utilization statistics for a specified interval. + items: + $ref: '#/components/schemas/Metrics' + type: array + type: object + Metrics: + description: Bandwidth utilization statistics for a specified interval. + example: + max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + properties: + intervalEndTimestamp: + description: Interval end timestamp + example: 2020-11-06T07:00:00Z + format: date-time + type: string + max: + description: "Max bandwidth within statistics object time interval, represented\ + \ in units specified by response \"units\" field" + format: float + type: number + mean: + description: "Mean bandwidth within statistics object time interval, represented\ + \ in units specified by response \"units\" field" + format: float + type: number + type: object + sort: + default: -bandwidthUtilization + description: Key or set of keys that organizes the search payload by property + (such as createdDate or metroCode) or by direction. Ascending (ASC) is the + default value. The "?" prefix indicates descending (DESC) order. + enum: + - -bandwidthUtilization + type: string + top: + default: 5 + description: "Filter returning only the specified number of most heavily trafficked\ + \ ports. The standard value is [1...10], and the default is 5." + type: integer + duration: + default: P7D + description: Duration of the statistical analysis interval. + enum: + - P7D + - P1M + - P3M + type: string + query_direction: + default: outbound + description: Direction of traffic from the requester's viewpoint. + enum: + - inbound + - outbound + type: string + metricInterval: + default: P7D + description: metric interval + enum: + - P7D + type: string + metros: + description: Two-letter prefix indicating the metropolitan area in which a specified + Equinix asset is located. + items: + type: string + type: array + projectId: + description: projectId + example: 30ad25e2-53dc-11ed-bdc3-0242ac120002 + type: string + TopUtilizedStatistics: + description: This API provides service-level traffic metrics for the top utilized + ports so that you can view access and gather key information required to manage + service subscription sizing and capacity. + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - startDateTime: 2020-11-06T07:00:00Z + viewPoint: aSide + bandwidthUtilization: + unit: Mbps + metricInterval: metricInterval + inbound: + max: 0.8008282 + mean: 6.0274563 + metrics: + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + outbound: + max: 0.8008282 + mean: 6.0274563 + metrics: + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + endDateTime: 2020-11-06T07:00:00Z + - startDateTime: 2020-11-06T07:00:00Z + viewPoint: aSide + bandwidthUtilization: + unit: Mbps + metricInterval: metricInterval + inbound: + max: 0.8008282 + mean: 6.0274563 + metrics: + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + outbound: + max: 0.8008282 + mean: 6.0274563 + metrics: + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + - max: 1.4658129 + mean: 5.962134 + intervalEndTimestamp: 2020-11-06T07:00:00Z + endDateTime: 2020-11-06T07:00:00Z + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: Data returned from the API call. + items: + $ref: '#/components/schemas/Statistics' + type: array + type: object + viewPoint: + description: viewPoint + enum: + - aSide + - zSide + type: string + ServiceProfiles: + description: Service Profiles + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: "" + state: ACTIVE + account: "" + - project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: "" + state: ACTIVE + account: "" + properties: + data: + items: + $ref: '#/components/schemas/ServiceProfile' + type: array + pagination: + $ref: '#/components/schemas/Pagination' + type: object + ServiceProfileRequest: + allOf: + - $ref: '#/components/schemas/SimplifiedServiceProfile' + description: | + Service Profile is a software definition for a named provider service and it's network connectivity requirements. + This includes the basic marketing information and one + or more sets of access points (a set per each access point type) fulfilling the provider service. + example: + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + properties: + project: + $ref: '#/components/schemas/Project' + required: + - description + - name + - type + type: object + SimplifiedServiceProfile: + description: | + Service Profile is a software definition for a named provider service and it's network connectivity requirements. + This includes the basic marketing information and one + or more sets of access points (a set per each access point type) fulfilling the provider service. + example: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName name: name - additionalInfo: - - value: value - key: key - - value: value - key: key - href: https://openapi-generator.tech - state: null - geoScope: null - redundancy: - priority: null - group: group - operation: - operationalStatus: UP - opStatusChangedAt: 2020-11-06T07:00:00Z - equinixStatus: null - errors: - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - providerStatus: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - order: - orderNumber: orderNumber - customerReferenceNumber: customerReferenceNumber - orderId: orderId - purchaseOrderNumber: purchaseOrderNumber - billingTier: billingTier - direction: null - sort: - - property: null - direction: null - - property: null - direction: null + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true properties: - pagination: - $ref: '#/components/schemas/Pagination' - sort: + href: + description: Service Profile URI response attribute + format: uri + readOnly: true + type: string + type: + $ref: '#/components/schemas/ServiceProfileTypeEnum' + name: + description: Customer-assigned service profile name + example: Sample Service Profile + maxLength: 50 + type: string + uuid: + description: Equinix-assigned service profile identifier + format: uuid + type: string + description: + description: User-provided service description should be of maximum length + 375 + example: offering connectivity to my-network + type: string + notifications: + description: Recipients of notifications on service profile change items: - $ref: '#/components/schemas/SortCriteriaResponse' + $ref: '#/components/schemas/SimplifiedNotification' type: array - data: + tags: items: - $ref: '#/components/schemas/Connection' + type: string + type: array + visibility: + $ref: '#/components/schemas/ServiceProfileVisibilityEnum' + allowedEmails: + items: + format: email + type: string + type: array + accessPointTypeConfigs: + items: + $ref: '#/components/schemas/ServiceProfileAccessPointType' + minItems: 1 + type: array + customFields: + items: + $ref: '#/components/schemas/CustomField' + type: array + marketingInfo: + $ref: '#/components/schemas/MarketingInfo' + ports: + items: + $ref: '#/components/schemas/ServiceProfileAccessPointCOLO' + type: array + virtualDevices: + items: + $ref: '#/components/schemas/ServiceProfileAccessPointVD' type: array + metros: + description: Derived response attribute. + items: + $ref: '#/components/schemas/ServiceMetro' + type: array + selfProfile: + description: response attribute indicates whether the profile belongs to + the same organization as the api-invoker. + type: boolean + projectId: + type: string type: object - FilterBody: - description: Search requests containing criteria - example: - filter: - or: - - null - - null - and: - - null - - null - values: - - values - - values - property: property - operator: = - properties: - filter: - $ref: '#/components/schemas/SearchExpression' + Tags: + items: + type: string + type: array + ServiceProfileAccessPointType: + description: Access Point Type + oneOf: + - $ref: '#/components/schemas/ServiceProfileAccessPointTypeCOLO' + - $ref: '#/components/schemas/ServiceProfileAccessPointTypeVD' type: object - SearchExpression: - example: - or: - - null - - null - and: - - null - - null - values: - - values - - values - property: property - operator: = + ServiceProfileAccessPointTypeCOLO: + description: Colo Access Point Type properties: - and: + uuid: + type: string + type: + $ref: '#/components/schemas/ServiceProfileAccessPointTypeEnum' + supportedBandwidths: items: - $ref: '#/components/schemas/SearchExpression' + $ref: '#/components/schemas/Bandwidth' type: array - or: + allowRemoteConnections: + default: false + description: Setting to allow or prohibit remote connections to the service + profile. + example: true + type: boolean + allowCustomBandwidth: + default: false + description: Setting to enable or disable the ability of the buyer to customize + the bandwidth. + example: true + type: boolean + bandwidthAlertThreshold: + description: percentage of port bandwidth at which an allocation alert is + generated - missing on wiki. + type: number + allowBandwidthAutoApproval: + default: false + description: Setting to enable or disable the ability of the buyer to change + connection bandwidth without approval of the seller. + type: boolean + allowBandwidthUpgrade: + description: Availability of a bandwidth upgrade. The default is false. + type: boolean + linkProtocolConfig: + $ref: '#/components/schemas/ServiceProfileLinkProtocolConfig' + enableAutoGenerateServiceKey: + description: for verizon only. + type: boolean + connectionRedundancyRequired: + default: false + description: Mandate redundant connections + example: true + type: boolean + apiConfig: + $ref: '#/components/schemas/ApiConfig' + connectionLabel: + description: custom name for "Connection" + type: string + authenticationKey: + $ref: '#/components/schemas/AuthenticationKey' + metadata: + $ref: '#/components/schemas/ServiceProfileMetadata' + required: + - type + type: object + ServiceProfileAccessPointTypeEnum: + description: Access point type + enum: + - VD + - COLO + type: string + Bandwidths: + items: + $ref: '#/components/schemas/Bandwidth' + type: array + Bandwidth: + description: speed in Mbps + example: 50 + type: integer + ServiceProfileLinkProtocolConfig: + description: Configuration for dot1q to qinq translation support + properties: + encapsulationStrategy: + description: was tagType - missing on wiki + enum: + - CTAGED + - BOTH + - NAMED + type: string + namedTags: items: - $ref: '#/components/schemas/SearchExpression' + type: string + maxItems: 64 type: array - property: + vlanCTagLabel: + description: was ctagLabel type: string - operator: + reuseVlanSTag: + default: false + example: true + type: boolean + encapsulation: + description: Port encapsulation - Derived response attribute. Ignored on + request payloads. enum: - - = - - '!=' - - '>' - - '>=' - - < - - <= - - BETWEEN - - NOT BETWEEN - - LIKE - - NOT LIKE - - IN - - NOT IN - - IS NOT NULL - - IS NULL + - QINQ + - DOT1Q + - UNTAGGED type: string - values: + type: object + ApiConfig: + description: Configuration for API based Integration for Service Profile + properties: + apiAvailable: + default: false + description: Setting indicating whether the API is available (true) or not + (false). + example: true + type: boolean + integrationId: + type: string + equinixManagedPort: + default: false + description: Setting indicating that the port is managed by Equinix (true) + or not (false). + example: true + type: boolean + equinixManagedVlan: + default: false + description: Setting indicating that the VLAN is managed by Equinix (true) + or not (false). + example: true + type: boolean + allowOverSubscription: + default: false + description: | + Setting showing that oversubscription support is available (true) or not (false). The default is false. + Oversubscription is the sale of more than the available network bandwidth. This practice is common + and legitimate. After all, many customers use less bandwidth than they've purchased. + And network users don't consume bandwidth all at the same time. The leftover bandwidth can be sold to + other customers. When demand surges, operational and engineering resources can be shifted to + accommodate the load. + example: false + type: boolean + overSubscriptionLimit: + default: 1 + description: A cap on oversubscription. + example: 1 + maximum: 20 + minimum: 1 + type: integer + bandwidthFromApi: + default: false + type: boolean + type: object + AuthenticationKey: + description: Authentication Key Support and Customization + properties: + required: + default: false + example: true + type: boolean + label: + example: Service Key + type: string + description: + example: description for the authentication key + type: string + type: object + ServiceProfileMetadata: + description: Metadata. Response attribute. Ignored on request payload. + properties: + props: + type: string + regEx: + type: string + regExMsg: + type: string + vlanRangeMaxValue: + type: integer + vlanRangeMinValue: + type: integer + maxQinq: + type: string + maxDot1q: + type: integer + variableBilling: + type: boolean + globalOrganization: + type: string + limitAuthKeyConn: + type: boolean + allowSecondaryLocation: + type: boolean + redundantProfileId: + type: string + allowVcMigration: + type: boolean + connectionEditable: + type: boolean + releaseVlan: + type: boolean + maxConnectionsOnPort: + type: integer + portAssignmentStrategy: + type: string + eqxManagedPort: + type: boolean + connectionNameEditable: + type: boolean + type: object + ServiceProfileAccessPointTypeVD: + additionalProperties: false + description: VirtualDevice Access Point Type + properties: + uuid: + type: string + type: + $ref: '#/components/schemas/ServiceProfileAccessPointTypeEnum' + supportedBandwidths: items: - type: string + $ref: '#/components/schemas/Bandwidth' type: array + allowRemoteConnections: + description: Allow remote connections to Service Profile + example: true + type: boolean + allowCustomBandwidth: + example: true + type: boolean + required: + - type type: object - SearchExpressions: - items: - $ref: '#/components/schemas/SearchExpression' - type: array - PriceSearchResponse: + CustomField: + description: Define Custom Attributes + example: + dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + properties: + label: + example: Account Number + type: string + description: + example: Provide a valid account number + type: string + required: + example: true + type: boolean + dataType: + enum: + - STRING + - LIST + - NUMBER + type: string + options: + items: + type: string + type: array + captureInEmail: + description: capture this field as a part of email notification + type: boolean + required: + - dataType + - isRequired + - label + MarketingInfo: example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - code: code - catgory: null - ipBlock: - prefixLength: 5 - location: - metroCode: metroCode - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + logo: logo + promotion: true + processSteps: + - subTitle: subTitle description: description - type: null - charges: - - price: 0.08008281904610115 - type: MONTHLY_RECURRING - - price: 0.08008281904610115 - type: MONTHLY_RECURRING - router: - package: - code: null - location: - metroCode: metroCode - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - termLength: 6 - port: - serviceType: null - settings: - buyout: false - lag: - enabled: false - bandwidth: 2 - connectivitySource: - type: null - location: - ibx: ibx - physicalPortsQuantity: 5 - redundancy: - enabled: false - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - name: name - currency: currency - connection: - bandwidth: 0 - aSide: - accessPoint: - port: - settings: - buyout: false - location: - metroCode: metroCode - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - zSide: - accessPoint: - port: - settings: - buyout: false - profile: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - location: - metroCode: metroCode - bridge: - package: - code: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - href: http://example.com/aeiou - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - - code: code - catgory: null - ipBlock: - prefixLength: 5 - location: - metroCode: metroCode - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + title: title + - subTitle: subTitle description: description - type: null - charges: - - price: 0.08008281904610115 - type: MONTHLY_RECURRING - - price: 0.08008281904610115 - type: MONTHLY_RECURRING - router: - package: - code: null - location: - metroCode: metroCode - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - termLength: 6 - port: - serviceType: null - settings: - buyout: false - lag: - enabled: false - bandwidth: 2 - connectivitySource: - type: null - location: - ibx: ibx - physicalPortsQuantity: 5 - redundancy: - enabled: false - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - name: name - currency: currency - connection: - bandwidth: 0 - aSide: - accessPoint: - port: - settings: - buyout: false - location: - metroCode: metroCode - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - zSide: - accessPoint: - port: - settings: - buyout: false - profile: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - location: - metroCode: metroCode - bridge: - package: - code: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - href: http://example.com/aeiou - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 + title: title + - subTitle: subTitle + description: description + title: title properties: - data: + logo: + description: Logo file name + type: string + promotion: + description: Profile promotion on marketplace + type: boolean + processSteps: items: - $ref: '#/components/schemas/Price' + $ref: '#/components/schemas/ProcessStep' + maxItems: 3 type: array - pagination: - $ref: '#/components/schemas/Pagination' type: object - PriceErrorList: - items: - $ref: '#/components/schemas/PriceError' - type: array - PriceError: - description: Error with details - discriminator: - propertyName: errorCode + ProcessStep: + description: Definition of customized step while making connection + example: + subTitle: subTitle + description: description + title: title properties: - errorCode: - enum: - - EQ-3038010 - - EQ-3038022 - - EQ-3038030 + title: + description: Service profile custom step title type: string - errorMessage: + subTitle: + description: Service profile custom step sub title + type: string + description: + description: Service profile custom step description + type: string + type: object + ServiceProfileAccessPointCOLO: + description: Colo Access Point + example: + sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + properties: + type: enum: - - Validation failure - - Invalid value - - Internal Server Error + - XF_PORT type: string - correlationId: + uuid: + example: 94662143-e21b-4098-bfcf-e9416f47eae1 + format: uuid type: string - details: + location: + $ref: '#/components/schemas/SimplifiedLocation' + sellerRegion: type: string - help: + sellerRegionDescription: + type: string + crossConnectId: type: string - additionalInfo: - items: - $ref: '#/components/schemas/PriceError_additionalInfo' - type: array required: - - errorCode - - errorMessage + - type + - uuid type: object - PortUUID: - description: Port UUID - format: uuid - type: string - startDateTime: - description: startDateTime - example: 2020-11-06T07:00:00Z - format: date-time - type: string - endDateTime: - description: endDateTime - example: 2020-11-06T07:00:00Z - format: date-time - type: string - Statistics: - description: This API provides service-level traffic metrics so that you can - view access and gather key information required to manage service subscription - sizing and capacity. + ServiceProfileAccessPointVD: + description: Virtual Device Point example: - startDateTime: 2020-11-06T07:00:00Z - viewPoint: aSide - bandwidthUtilization: - unit: Mbps - metricInterval: metricInterval - inbound: - max: 0.8008282 - mean: 6.0274563 - metrics: - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - outbound: - max: 0.8008282 - mean: 6.0274563 - metrics: - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - endDateTime: 2020-11-06T07:00:00Z + interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 properties: - startDateTime: - description: Start and duration of the statistical analysis interval. - example: 2020-11-06T07:00:00Z - format: date-time + type: + enum: + - VD type: string - endDateTime: - description: End and duration of the statistical analysis interval. - example: 2020-11-06T07:00:00Z - format: date-time + uuid: + example: 94662143-e21b-4098-bfcf-e9416f47eae1 + format: uuid type: string - viewPoint: - description: Point of view for connection metrics - aSide or zSide - enum: - - aSide - - zSide + location: + $ref: '#/components/schemas/SimplifiedLocation' + interfaceUuid: + example: 94662143-e21b-4098-bfcf-e9416f47eae1 + format: uuid type: string - bandwidthUtilization: - $ref: '#/components/schemas/BandwidthUtilization' + required: + - type + - uuid type: object - BandwidthUtilization: - description: Bandwidth utilization statistics (octet counters-based) + ServiceMetro: example: - unit: Mbps - metricInterval: metricInterval - inbound: - max: 0.8008282 - mean: 6.0274563 - metrics: - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - outbound: - max: 0.8008282 - mean: 6.0274563 - metrics: - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z + code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true properties: - unit: - description: "Aggregated data transfer capacity. Possible values- Mbps,\ - \ megabits (1 million bits) per second; Gbps, gigabits (1 billion bits)\ - \ per second." - enum: - - Mbps + code: + description: metro code type: string - metricInterval: - description: "An interval formatted value, indicating the time-interval\ - \ the metric objects within the response represent" + name: + description: metro name type: string - inbound: - $ref: '#/components/schemas/Direction' - outbound: - $ref: '#/components/schemas/Direction' + vcBandwidthMax: + description: max VC speed supported in Mbps + type: integer + ibxs: + items: + description: ibx codes + type: string + type: array + inTrail: + type: boolean + displayName: + description: service metro display name + type: string + sellerRegions: + additionalProperties: + type: string + type: object type: object - Direction: - description: Directional statistics + ServiceProfile: + allOf: + - $ref: '#/components/schemas/SimplifiedServiceProfile' + description: | + Service Profile is a software definition for a named provider service and it's network connectivity requirements. + This includes the basic marketing information and one + or more sets of access points (a set per each access point type) fulfilling the provider service. example: - max: 0.8008282 - mean: 6.0274563 - metrics: - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: "" + state: ACTIVE + account: "" + properties: + state: + $ref: '#/components/schemas/ServiceProfileStateEnum' + account: + allOf: + - $ref: '#/components/schemas/SimplifiedAccount' + - type: object + description: Seller Account for Service Profile. + project: + $ref: '#/components/schemas/Project' + changeLog: + allOf: + - $ref: '#/components/schemas/Changelog' + - type: object + description: Seller Account for Service Profile. + type: object + ServiceProfileSearchRequest: + description: Search requests containing criteria + example: + filter: null + pagination: + offset: 0 + limit: 1 + sort: + - property: null + direction: null + - property: null + direction: null + properties: + filter: + $ref: '#/components/schemas/ServiceProfileFilter' + pagination: + $ref: '#/components/schemas/PaginationRequest' + sort: + items: + $ref: '#/components/schemas/ServiceProfileSortCriteria' + type: array + type: object + ServiceProfileFilter: + anyOf: + - $ref: '#/components/schemas/ServiceProfileSimpleExpression' + - $ref: '#/components/schemas/ServiceProfileAndFilter' + type: object + ServiceProfileSimpleExpression: + properties: + property: + description: | + Possible field names to use on filters: + * `/name` - Service Profile name + * `/uuid` - Service Profile uuid + * `/state` - Service Profile status + * `/metros/code` - Service Profile metro code + * `/visibility` - Service Profile package + * `/type` - Service Profile package + * `/project/projectId` - Service Profile project id + example: /name + type: string + operator: + description: | + Possible operators to use on filters: + * `=` - equal + example: = + type: string + values: + items: + example: ServiceProfile-1 + type: string + type: array + type: object + ServiceProfileAndFilter: properties: - max: - description: "Max bandwidth within request time range, represented in units\ - \ specified by response \"units\" field" - format: float - type: number - mean: - description: "Mean bandwidth within request time range, represented in units\ - \ specified by response \"units\" field" - format: float - type: number - metrics: - description: Bandwidth utilization statistics for a specified interval. + and: items: - $ref: '#/components/schemas/Metrics' + $ref: '#/components/schemas/ServiceProfileSimpleExpression' type: array type: object - Metrics: - description: Bandwidth utilization statistics for a specified interval. + ServiceProfileSortCriteria: example: - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z + property: null + direction: null properties: - intervalEndTimestamp: - description: Interval end timestamp - example: 2020-11-06T07:00:00Z - format: date-time - type: string - max: - description: "Max bandwidth within statistics object time interval, represented\ - \ in units specified by response \"units\" field" - format: float - type: number - mean: - description: "Mean bandwidth within statistics object time interval, represented\ - \ in units specified by response \"units\" field" - format: float - type: number + direction: + $ref: '#/components/schemas/ServiceProfileSortDirection' + property: + $ref: '#/components/schemas/ServiceProfileSortBy' type: object - sort: - default: -bandwidthUtilization - description: Key or set of keys that organizes the search payload by property - (such as createdDate or metroCode) or by direction. Ascending (ASC) is the - default value. The "?" prefix indicates descending (DESC) order. - enum: - - -bandwidthUtilization - type: string - top: - default: 5 - description: "Filter returning only the specified number of most heavily trafficked\ - \ ports. The standard value is [1...10], and the default is 5." - type: integer - duration: - default: P7D - description: Duration of the statistical analysis interval. + ServiceProfileSortDirection: + default: DESC + description: Sorting direction enum: - - P7D - - P1M - - P3M + - DESC + - ASC type: string - query_direction: - default: outbound - description: Direction of traffic from the requester's viewpoint. + ServiceProfileSortBy: + default: /changeLog/updatedDateTime + description: Possible field names to use on sorting enum: - - inbound - - outbound + - /name + - /state + - /changeLog/createdDateTime + - /changeLog/updatedDateTime type: string - metricInterval: - default: P7D - description: metric interval - enum: - - P7D + ServiceProfileId: + description: Service Profile UUID + format: uuid type: string - metros: - description: Two-letter prefix indicating the metropolitan area in which a specified - Equinix asset is located. + JsonPatch: items: - type: string + $ref: '#/components/schemas/JsonPatchOperation' type: array - projectId: - description: projectId - example: 30ad25e2-53dc-11ed-bdc3-0242ac120002 - type: string - TopUtilizedStatistics: - description: This API provides service-level traffic metrics for the top utilized - ports so that you can view access and gather key information required to manage - service subscription sizing and capacity. - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - startDateTime: 2020-11-06T07:00:00Z - viewPoint: aSide - bandwidthUtilization: - unit: Mbps - metricInterval: metricInterval - inbound: - max: 0.8008282 - mean: 6.0274563 - metrics: - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - outbound: - max: 0.8008282 - mean: 6.0274563 - metrics: - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - endDateTime: 2020-11-06T07:00:00Z - - startDateTime: 2020-11-06T07:00:00Z - viewPoint: aSide - bandwidthUtilization: - unit: Mbps - metricInterval: metricInterval - inbound: - max: 0.8008282 - mean: 6.0274563 - metrics: - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - outbound: - max: 0.8008282 - mean: 6.0274563 - metrics: - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - - max: 1.4658129 - mean: 5.962134 - intervalEndTimestamp: 2020-11-06T07:00:00Z - endDateTime: 2020-11-06T07:00:00Z + JsonPatchOperation: + description: Service Profile Access Points + oneOf: + - $ref: '#/components/schemas/AddOperation' + - $ref: '#/components/schemas/RemoveOperation' + - $ref: '#/components/schemas/ReplaceOperation' + type: object + AddOperation: + description: Add Sub-Resource to the existing model properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: Data returned from the API call. - items: - $ref: '#/components/schemas/Statistics' - type: array + op: + $ref: '#/components/schemas/OpEnum' + path: + description: A JSON Pointer path. + type: string + value: + description: value to add + type: object + required: + - op + - path + - value type: object - viewPoint: - description: viewPoint + OpEnum: + description: the operation to be performed enum: - - aSide - - zSide + - add + - remove + - replace type: string - ServiceProfiles: - description: Service Profiles + Path: + description: A JSON Pointer path. + type: string + RemoveOperation: + description: Remove sub-resource from an existing model + properties: + op: + $ref: '#/components/schemas/OpEnum' + path: + description: A JSON Pointer path. + type: string + required: + - op + - path + type: object + ReplaceOperation: + description: Replace attribute value or sub-resource in the existing model + properties: + op: + $ref: '#/components/schemas/OpEnum' + path: + description: A JSON Pointer path. + type: string + value: + description: value to replace with + type: object + required: + - op + - path + - value + type: object + ServiceMetros: + description: Service Profile Metros example: pagination: next: next @@ -29998,137 +35882,259 @@ components: previous: previous limit: 0 data: - - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - changeLog: "" - state: ACTIVE - account: "" - - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - changeLog: "" - state: ACTIVE - account: "" + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true properties: data: items: - $ref: '#/components/schemas/ServiceProfile' + $ref: '#/components/schemas/ServiceMetro' type: array pagination: $ref: '#/components/schemas/Pagination' type: object - ServiceProfileRequest: - allOf: - - $ref: '#/components/schemas/SimplifiedServiceProfile' - description: | - Service Profile is a software definition for a named provider service and it's network connectivity requirements. - This includes the basic marketing information and one - or more sets of access points (a set per each access point type) fulfilling the provider service. + ServiceTokenUUID: + description: Service Token UUID + format: uuid + type: string + ServiceToken: + description: "Create Service Tokens (v4) generates Equinix Fabric service tokens.\ + \ These tokens authorize users to access protected resources and services.\ + \ The tokens remove sensitive content from the environment, rather than just\ + \ masking it, making the protected data impossible to unencrypt or decrypt.\ + \ Resource owners can distribute the tokens to trusted partners and vendors,\ + \ allowing selected third parties to work directly with Equinix network assets." example: + expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - properties: - project: - $ref: '#/components/schemas/Project' - required: - - description - - name - - type - type: object - SimplifiedServiceProfile: - description: | - Service Profile is a software definition for a named provider service and it's network connectivity requirements. - This includes the basic marketing information and one - or more sets of access points (a set per each access point type) fulfilling the provider service. - example: - visibility: null - customFields: - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - description: offering connectivity to my-network - marketingInfo: - logo: logo - promotion: true - processSteps: - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - type: L2_PROFILE - ports: - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId + type: null uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - accessPointTypeConfigs: - - null - - null - selfProfile: true - tags: - - tags - - tags - allowedEmails: - - allowedEmails - - allowedEmails - virtualDevices: - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - name: Sample Service Profile + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech - projectId: projectId + state: null notifications: - emails: - emails @@ -30146,702 +36152,876 @@ components: - registeredUsers - registeredUsers type: BANDWIDTH_ALERT - metros: - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 properties: + type: + $ref: '#/components/schemas/ServiceTokenType' href: - description: Service Profile URI response attribute + description: An absolute URL that is the subject of the link's context. format: uri readOnly: true type: string - type: - $ref: '#/components/schemas/ServiceProfileTypeEnum' - name: - description: Customer-assigned service profile name - example: Sample Service Profile - maxLength: 50 - type: string uuid: - description: Equinix-assigned service profile identifier + description: Equinix-assigned service token identifier format: uuid type: string + issuerSide: + description: information about token side + enum: + - ASIDE + - ZSIDE + type: string + name: + description: Customer-provided service token name + type: string description: - description: User-provided service description should be of maximum length - 375 - example: offering connectivity to my-network + description: Customer-provided service token description + type: string + expirationDateTime: + description: Expiration date and time of the service token. + example: 2020-11-06T07:00:00Z + format: date-time type: string + connection: + $ref: '#/components/schemas/ServiceTokenConnection' + state: + $ref: '#/components/schemas/ServiceTokenState' notifications: - description: Recipients of notifications on service profile change + description: Service token related notifications items: $ref: '#/components/schemas/SimplifiedNotification' type: array - tags: - items: - type: string - type: array - visibility: - $ref: '#/components/schemas/ServiceProfileVisibilityEnum' - allowedEmails: - items: - format: email - type: string - type: array - accessPointTypeConfigs: - items: - $ref: '#/components/schemas/ServiceProfileAccessPointType' - minItems: 1 - type: array - customFields: - items: - $ref: '#/components/schemas/CustomField' - type: array - marketingInfo: - $ref: '#/components/schemas/MarketingInfo' - ports: - items: - $ref: '#/components/schemas/ServiceProfileAccessPointCOLO' - type: array - virtualDevices: - items: - $ref: '#/components/schemas/ServiceProfileAccessPointVD' - type: array - metros: - description: Derived response attribute. + account: + $ref: '#/components/schemas/SimplifiedAccount' + changelog: + $ref: '#/components/schemas/Changelog' + project: + $ref: '#/components/schemas/Project' + type: object + ServiceTokenUpdateRequest: + description: Service Token Update Request + items: + $ref: '#/components/schemas/ServiceTokenChangeOperation' + minItems: 1 + type: array + ServiceTokens: + description: "Service tokens authorize a user to access protected resources\ + \ and services available on the Equinix Fabric network. The owner of the resources\ + \ can distribute service tokens to third-party users (trusted partners and\ + \ vendors), allowing them to directly access and work with the resources on\ + \ the network without involving the resource owners." + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + - expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + properties: + data: + description: List of Service Tokens items: - $ref: '#/components/schemas/ServiceMetro' + $ref: '#/components/schemas/ServiceToken' type: array - selfProfile: - description: response attribute indicates whether the profile belongs to - the same organization as the api-invoker. - type: boolean - projectId: - type: string - type: object - Tags: - items: - type: string - type: array - ServiceProfileAccessPointType: - description: Access Point Type - oneOf: - - $ref: '#/components/schemas/ServiceProfileAccessPointTypeCOLO' - - $ref: '#/components/schemas/ServiceProfileAccessPointTypeVD' + pagination: + $ref: '#/components/schemas/Pagination' type: object - ServiceProfileAccessPointTypeCOLO: - description: Colo Access Point Type + ServiceTokenActionRequest: + description: Service Token action request + example: + type: null properties: - uuid: - type: string type: - $ref: '#/components/schemas/ServiceProfileAccessPointTypeEnum' - supportedBandwidths: - items: - $ref: '#/components/schemas/Bandwidth' - type: array - allowRemoteConnections: - default: false - description: Setting to allow or prohibit remote connections to the service - profile. - example: true - type: boolean - allowCustomBandwidth: - default: false - description: Setting to enable or disable the ability of the buyer to customize - the bandwidth. - example: true - type: boolean - bandwidthAlertThreshold: - description: percentage of port bandwidth at which an allocation alert is - generated - missing on wiki. - type: number - allowBandwidthAutoApproval: - default: false - description: Setting to enable or disable the ability of the buyer to change - connection bandwidth without approval of the seller. - type: boolean - allowBandwidthUpgrade: - description: Availability of a bandwidth upgrade. The default is false. - type: boolean - linkProtocolConfig: - $ref: '#/components/schemas/ServiceProfileLinkProtocolConfig' - enableAutoGenerateServiceKey: - description: for verizon only. - type: boolean - connectionRedundancyRequired: - default: false - description: Mandate redundant connections - example: true - type: boolean - apiConfig: - $ref: '#/components/schemas/ApiConfig' - connectionLabel: - description: custom name for "Connection" - type: string - authenticationKey: - $ref: '#/components/schemas/AuthenticationKey' - metadata: - $ref: '#/components/schemas/ServiceProfileMetadata' + $ref: '#/components/schemas/ServiceTokenActions' required: - type type: object - ServiceProfileAccessPointTypeEnum: - description: Access point type - enum: - - VD - - COLO - type: string - Bandwidths: - items: - $ref: '#/components/schemas/Bandwidth' - type: array - Bandwidth: - description: speed in Mbps - example: 50 - type: integer - ServiceProfileLinkProtocolConfig: - description: Configuration for dot1q to qinq translation support - properties: - encapsulationStrategy: - description: was tagType - missing on wiki - enum: - - CTAGED - - BOTH - - NAMED - type: string - namedTags: - items: - type: string - maxItems: 64 - type: array - vlanCTagLabel: - description: was ctagLabel - type: string - reuseVlanSTag: - default: false - example: true - type: boolean - encapsulation: - description: Port encapsulation - Derived response attribute. Ignored on - request payloads. - enum: - - QINQ - - DOT1Q - - UNTAGGED - type: string - type: object - ApiConfig: - description: Configuration for API based Integration for Service Profile - properties: - apiAvailable: - default: false - description: Setting indicating whether the API is available (true) or not - (false). - example: true - type: boolean - integrationId: - type: string - equinixManagedPort: - default: false - description: Setting indicating that the port is managed by Equinix (true) - or not (false). - example: true - type: boolean - equinixManagedVlan: - default: false - description: Setting indicating that the VLAN is managed by Equinix (true) - or not (false). - example: true - type: boolean - allowOverSubscription: - default: false - description: | - Setting showing that oversubscription support is available (true) or not (false). The default is false. - Oversubscription is the sale of more than the available network bandwidth. This practice is common - and legitimate. After all, many customers use less bandwidth than they've purchased. - And network users don't consume bandwidth all at the same time. The leftover bandwidth can be sold to - other customers. When demand surges, operational and engineering resources can be shifted to - accommodate the load. - example: false - type: boolean - overSubscriptionLimit: - default: 1 - description: A cap on oversubscription. - example: 1 - maximum: 20 - minimum: 1 - type: integer - bandwidthFromApi: - default: false - type: boolean - type: object - AuthenticationKey: - description: Authentication Key Support and Customization - properties: - required: - default: false - example: true - type: boolean - label: - example: Service Key - type: string - description: - example: description for the authentication key - type: string - type: object - ServiceProfileMetadata: - description: Metadata. Response attribute. Ignored on request payload. + ServiceTokenSearchRequest: + description: Search requests containing criteria + example: + filter: + and: + - null + - null + values: + - values + - values + property: null + operator: = + pagination: + offset: 0 + limit: 1 properties: - props: - type: string - regEx: - type: string - regExMsg: - type: string - vlanRangeMaxValue: - type: integer - vlanRangeMinValue: - type: integer - maxQinq: - type: string - maxDot1q: - type: integer - variableBilling: - type: boolean - globalOrganization: - type: string - limitAuthKeyConn: - type: boolean - allowSecondaryLocation: - type: boolean - redundantProfileId: - type: string - allowVcMigration: - type: boolean - connectionEditable: - type: boolean - releaseVlan: - type: boolean - maxConnectionsOnPort: - type: integer - portAssignmentStrategy: - type: string - eqxManagedPort: - type: boolean - connectionNameEditable: - type: boolean + filter: + $ref: '#/components/schemas/ServiceTokenSearchExpression' + pagination: + $ref: '#/components/schemas/PaginationRequest' type: object - ServiceProfileAccessPointTypeVD: - additionalProperties: false - description: VirtualDevice Access Point Type + ServiceTokenSearchExpression: + example: + and: + - null + - null + values: + - values + - values + property: null + operator: = properties: - uuid: - type: string - type: - $ref: '#/components/schemas/ServiceProfileAccessPointTypeEnum' - supportedBandwidths: + and: items: - $ref: '#/components/schemas/Bandwidth' + $ref: '#/components/schemas/ServiceTokenSearchExpression' type: array - allowRemoteConnections: - description: Allow remote connections to Service Profile - example: true - type: boolean - allowCustomBandwidth: - example: true - type: boolean - required: - - type - type: object - CustomField: - description: Define Custom Attributes - example: - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - properties: - label: - example: Account Number - type: string - description: - example: Provide a valid account number - type: string - required: - example: true - type: boolean - dataType: + property: + $ref: '#/components/schemas/ServiceTokenSearchFieldName' + operator: enum: - - STRING - - LIST - - NUMBER + - = type: string - options: + values: items: type: string type: array - captureInEmail: - description: capture this field as a part of email notification - type: boolean - required: - - dataType - - isRequired - - label - MarketingInfo: + type: object + ServiceTokenSearchExpressions: + items: + $ref: '#/components/schemas/ServiceTokenSearchExpression' + type: array + ServiceTokenSearchFieldName: + description: Possible field names to use on filters + enum: + - /uuid + - /state + - /name + - /project/projectId + type: string + Presence: + description: Presence + enum: + - MY_PORTS + type: string + MetroResponse: + description: "GET Metros retrieves all Equinix? Fabric? metros, as well as latency\ + \ data for each location.This performance data helps network planning engineers\ + \ and administrators make strategic decisions about port locations and traffic\ + \ routes." example: - logo: logo - promotion: true - processSteps: - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - code: code + equinixAsn: 0 + name: name + connectedMetros: + - remoteVCBandwidthMax: 2 + code: code + avgLatency: 5.637376656633329 + href: href + - remoteVCBandwidthMax: 2 + code: code + avgLatency: 5.637376656633329 + href: href + href: href + geoCoordinates: + latitude: 1.4658129805029452 + longitude: 5.962133916683182 + type: type + region: region + geoScopes: + - null + - null + localVCBandwidthMax: 6 + - code: code + equinixAsn: 0 + name: name + connectedMetros: + - remoteVCBandwidthMax: 2 + code: code + avgLatency: 5.637376656633329 + href: href + - remoteVCBandwidthMax: 2 + code: code + avgLatency: 5.637376656633329 + href: href + href: href + geoCoordinates: + latitude: 1.4658129805029452 + longitude: 5.962133916683182 + type: type + region: region + geoScopes: + - null + - null + localVCBandwidthMax: 6 properties: - logo: - description: Logo file name - type: string - promotion: - description: Profile promotion on marketplace - type: boolean - processSteps: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: List of Fabric Metros. items: - $ref: '#/components/schemas/ProcessStep' - maxItems: 3 + $ref: '#/components/schemas/Metro' type: array type: object - ProcessStep: - description: Definition of customized step while making connection - example: - subTitle: subTitle - description: description - title: title - properties: - title: - description: Service profile custom step title - type: string - subTitle: - description: Service profile custom step sub title - type: string - description: - description: Service profile custom step description - type: string - type: object - ServiceProfileAccessPointCOLO: - description: Colo Access Point - example: - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId - properties: - type: - enum: - - XF_PORT - type: string - uuid: - example: 94662143-e21b-4098-bfcf-e9416f47eae1 - format: uuid - type: string - location: - $ref: '#/components/schemas/SimplifiedLocation' - sellerRegion: - type: string - sellerRegionDescription: - type: string - crossConnectId: - type: string - required: - - type - - uuid - type: object - ServiceProfileAccessPointVD: - description: Virtual Device Point - example: - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - properties: - type: - enum: - - VD - type: string - uuid: - example: 94662143-e21b-4098-bfcf-e9416f47eae1 - format: uuid - type: string - location: - $ref: '#/components/schemas/SimplifiedLocation' - interfaceUuid: - example: 94662143-e21b-4098-bfcf-e9416f47eae1 - format: uuid - type: string - required: - - type - - uuid - type: object - ServiceMetro: + Metro: + description: "GET Metros retrieves all Equinix? Fabric? metros, as well as latency\ + \ data for each location.This performance data helps network planning engineers\ + \ and administrators make strategic decisions about port locations and traffic\ + \ routes." example: code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName + equinixAsn: 0 name: name - inTrail: true + connectedMetros: + - remoteVCBandwidthMax: 2 + code: code + avgLatency: 5.637376656633329 + href: href + - remoteVCBandwidthMax: 2 + code: code + avgLatency: 5.637376656633329 + href: href + href: href + geoCoordinates: + latitude: 1.4658129805029452 + longitude: 5.962133916683182 + type: type + region: region + geoScopes: + - null + - null + localVCBandwidthMax: 6 properties: + href: + description: The Canonical URL at which the resource resides. + type: string + type: + description: Indicator of a Fabric Metro + type: string code: - description: metro code + description: Code Assigned to an Equinix IBX data center in a specified + metropolitan area. + type: string + region: + description: Board geographic area in which the data center is located type: string name: - description: metro name + description: Name of the region in which the data center is located. type: string - vcBandwidthMax: - description: max VC speed supported in Mbps + equinixAsn: + description: Autonomous system number (ASN) for a specified Fabric metro. + The ASN is a unique identifier that carries the network routing protocol + and exchanges that data with other internal systems via border gateway + protocol. + format: int64 type: integer - ibxs: + localVCBandwidthMax: + description: This field holds Max Connection speed with in the metro + format: int64 + type: integer + geoCoordinates: + $ref: '#/components/schemas/GeoCoordinates' + connectedMetros: items: - description: ibx codes - type: string + $ref: '#/components/schemas/ConnectedMetro' + type: array + geoScopes: + description: List of supported geographic boundaries of a Fabric Metro. + items: + $ref: '#/components/schemas/GeoScopeType' type: array - inTrail: - type: boolean - displayName: - description: service metro display name - type: string - sellerRegions: - additionalProperties: - type: string - type: object type: object - ServiceProfile: - allOf: - - $ref: '#/components/schemas/SimplifiedServiceProfile' - description: | - Service Profile is a software definition for a named provider service and it's network connectivity requirements. - This includes the basic marketing information and one - or more sets of access points (a set per each access point type) fulfilling the provider service. + GeoCoordinates: + description: Geographic location data of Fabric Metro example: - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - changeLog: "" - state: ACTIVE - account: "" + latitude: 1.4658129805029452 + longitude: 5.962133916683182 properties: - state: - $ref: '#/components/schemas/ServiceProfileStateEnum' - account: - allOf: - - $ref: '#/components/schemas/SimplifiedAccount' - - type: object - description: Seller Account for Service Profile. - project: - $ref: '#/components/schemas/Project' - changeLog: - allOf: - - $ref: '#/components/schemas/Changelog' - - type: object - description: Seller Account for Service Profile. + latitude: + description: Latitude of a Fabric Metro + format: double + type: number + longitude: + description: Longitude of a Fabric Metro + format: double + type: number type: object - ServiceProfileSearchRequest: - description: Search requests containing criteria + ConnectedMetro: + description: Arrays of objects containing latency data for the specified metros example: - filter: null - pagination: - offset: 0 - limit: 1 - sort: - - property: null - direction: null - - property: null - direction: null - properties: - filter: - $ref: '#/components/schemas/ServiceProfileFilter' - pagination: - $ref: '#/components/schemas/PaginationRequest' - sort: - items: - $ref: '#/components/schemas/ServiceProfileSortCriteria' - type: array - type: object - ServiceProfileFilter: - anyOf: - - $ref: '#/components/schemas/ServiceProfileSimpleExpression' - - $ref: '#/components/schemas/ServiceProfileAndFilter' - type: object - ServiceProfileSimpleExpression: + remoteVCBandwidthMax: 2 + code: code + avgLatency: 5.637376656633329 + href: href properties: - property: - description: | - Possible field names to use on filters: - * `/name` - Service Profile name - * `/uuid` - Service Profile uuid - * `/state` - Service Profile status - * `/metros/code` - Service Profile metro code - * `/visibility` - Service Profile package - * `/type` - Service Profile package - * `/project/projectId` - Service Profile project id - example: /name + href: + description: The Canonical URL at which the resource resides. type: string - operator: - description: | - Possible operators to use on filters: - * `=` - equal - example: = + code: + description: Code assigned to an Equinix International Business Exchange + (IBX) data center in a specified metropolitan area. type: string - values: - items: - example: ServiceProfile-1 - type: string - type: array - type: object - ServiceProfileAndFilter: - properties: - and: - items: - $ref: '#/components/schemas/ServiceProfileSimpleExpression' - type: array - type: object - ServiceProfileSortCriteria: - example: - property: null - direction: null - properties: - direction: - $ref: '#/components/schemas/ServiceProfileSortDirection' - property: - $ref: '#/components/schemas/ServiceProfileSortBy' + avgLatency: + description: "Average latency (in milliseconds[ms]) between two specified\ + \ metros." + type: number + remoteVCBandwidthMax: + description: This field holds the Max Connection speed with connected metros + format: int64 + type: integer type: object - ServiceProfileSortDirection: - default: DESC - description: Sorting direction - enum: - - DESC - - ASC - type: string - ServiceProfileSortBy: - default: /changeLog/updatedDateTime - description: Possible field names to use on sorting + GeoScopeType: + description: Geographic boundary types enum: - - /name - - /state - - /changeLog/createdDateTime - - /changeLog/updatedDateTime - type: string - ServiceProfileId: - description: Service Profile UUID - format: uuid + - CANADA + - CONUS type: string - JsonPatch: + MetroErrorList: items: - $ref: '#/components/schemas/JsonPatchOperation' + $ref: '#/components/schemas/MetroError' type: array - JsonPatchOperation: - description: Service Profile Access Points - oneOf: - - $ref: '#/components/schemas/AddOperation' - - $ref: '#/components/schemas/RemoveOperation' - - $ref: '#/components/schemas/ReplaceOperation' - type: object - AddOperation: - description: Add Sub-Resource to the existing model + MetroError: + description: Error with details + discriminator: + propertyName: errorCode properties: - op: - $ref: '#/components/schemas/OpEnum' - path: - description: A JSON Pointer path. + errorCode: + enum: + - EQ-3036001 + - EQ-3036013 + - EQ-3036030 + - EQ-3036100 type: string - value: - description: value to add - type: object - required: - - op - - path - - value - type: object - OpEnum: - description: the operation to be performed - enum: - - add - - remove - - replace - type: string - Path: - description: A JSON Pointer path. - type: string - RemoveOperation: - description: Remove sub-resource from an existing model - properties: - op: - $ref: '#/components/schemas/OpEnum' - path: - description: A JSON Pointer path. + errorMessage: + enum: + - Unauthorized + - Invalid Query Parameter + - Invalid Path Parameter + - Invalid Query or Path Parameter + - Internal Server Error + - Metro Not Found type: string - required: - - op - - path - type: object - ReplaceOperation: - description: Replace attribute value or sub-resource in the existing model - properties: - op: - $ref: '#/components/schemas/OpEnum' - path: - description: A JSON Pointer path. + correlationId: type: string - value: - description: value to replace with - type: object + details: + type: string + help: + type: string + additionalInfo: + items: + $ref: '#/components/schemas/PriceError_additionalInfo' + type: array required: - - op - - path - - value + - errorCode + - errorMessage type: object - ServiceMetros: - description: Service Profile Metros + MetroCode: + description: Metro Code + type: string + AllPortsResponse: + description: GET All User Port Across Fabric Metros example: pagination: next: next @@ -30850,272 +37030,606 @@ components: previous: previous limit: 0 data: - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName + - serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + connectivitySourceType: COLO + physicalPortQuantity: 3 + lag: null + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 0 + state: null + redundancy: + priority: null + enabled: true + group: group + demarcationPointIbx: demarcationPointIbx + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + bmmrType: SELF + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tetherIbx: tetherIbx + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsType: 1000BASE_LX + physicalPortsCount: 5 name: name - inTrail: true - properties: - data: - items: - $ref: '#/components/schemas/ServiceMetro' - type: array - pagination: - $ref: '#/components/schemas/Pagination' - type: object - ServiceTokenUUID: - description: Service Token UUID - format: uuid - type: string - ServiceToken: - description: "Create Service Tokens (v4) generates Equinix Fabric service tokens.\ - \ These tokens authorize users to access protected resources and services.\ - \ The tokens remove sensitive content from the environment, rather than just\ - \ masking it, making the protected data impossible to unencrypt or decrypt.\ - \ Resource owners can distribute the tokens to trusted partners and vendors,\ - \ allowing selected third parties to work directly with Equinix network assets." - example: - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: null + device: + name: name + redundancy: + priority: PRIMARY + group: group + asn: 9 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + type: null + interface: + type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - properties: - type: - $ref: '#/components/schemas/ServiceTokenType' - href: - description: An absolute URL that is the subject of the link's context. - format: uri - readOnly: true - type: string - uuid: - description: Equinix-assigned service token identifier - format: uuid - type: string - name: - description: Customer-provided service token name - type: string - description: - description: Customer-provided service token description - type: string - expirationDateTime: - description: Expiration date and time of the service token. - example: 2020-11-06T07:00:00Z - format: date-time - type: string - connection: - $ref: '#/components/schemas/ServiceTokenConnection' - state: - $ref: '#/components/schemas/ServiceTokenState' - notifications: - description: Service token related notifications - items: - $ref: '#/components/schemas/SimplifiedNotification' - type: array - account: - $ref: '#/components/schemas/SimplifiedAccount' - changelog: - $ref: '#/components/schemas/Changelog' - project: - $ref: '#/components/schemas/Project' - required: - - uuid - type: object - ServiceTokenUpdateRequest: - description: Service Token Update Request - items: - $ref: '#/components/schemas/ServiceTokenChangeOperation' - minItems: 1 - type: array - ServiceTokens: - description: "Service tokens authorize a user to access protected resources\ - \ and services available on the Equinix Fabric network. The owner of the resources\ - \ can distribute service tokens to third-party users (trusted partners and\ - \ vendors), allowing them to directly access and work with the resources on\ - \ the network without involving the resource owners." - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - expirationDateTime: 2020-11-06T07:00:00Z + physicalPortsSpeed: 0 + connectionsCount: 0 + connectivitySourceType: COLO + physicalPortQuantity: 3 + lag: null + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 0 + state: null + redundancy: + priority: null + enabled: true + group: group + demarcationPointIbx: demarcationPointIbx + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + bmmrType: SELF + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tetherIbx: tetherIbx + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsType: 1000BASE_LX + physicalPortsCount: 5 name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: null + device: + name: name + redundancy: + priority: PRIMARY + group: group + asn: 9 account: resellerOrgId: 5 organizationName: organizationName @@ -31129,82 +37643,169 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: + - registeredUsers: - registeredUsers - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: + type: NOTIFICATION + - registeredUsers: - registeredUsers - registeredUsers - type: BANDWIDTH_ALERT + type: NOTIFICATION + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: GET All User Port Across Fabric Metros + items: + $ref: '#/components/schemas/Port' + type: array + type: object + Port: + description: Port specification + example: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + connectivitySourceType: COLO + physicalPortQuantity: 3 + lag: null + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 0 + state: null + redundancy: + priority: null + enabled: true + group: group + demarcationPointIbx: demarcationPointIbx + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + bmmrType: SELF + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tetherIbx: tetherIbx + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -31218,319 +37819,481 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - properties: - data: - description: List of Service Tokens - items: - $ref: '#/components/schemas/ServiceToken' - type: array - pagination: - $ref: '#/components/schemas/Pagination' - type: object - ServiceTokenActionRequest: - description: Service Token action request - example: - type: null - properties: - type: - $ref: '#/components/schemas/ServiceTokenActions' - required: - - type - type: object - ServiceTokenSearchRequest: - description: Search requests containing criteria - example: - filter: - and: - - null - - null - values: - - values - - values - property: null - operator: = - pagination: - offset: 0 - limit: 1 - properties: - filter: - $ref: '#/components/schemas/ServiceTokenSearchExpression' - pagination: - $ref: '#/components/schemas/PaginationRequest' - type: object - ServiceTokenSearchExpression: - example: - and: - - null - - null - values: - - values - - values - property: null - operator: = - properties: - and: - items: - $ref: '#/components/schemas/ServiceTokenSearchExpression' - type: array - property: - $ref: '#/components/schemas/ServiceTokenSearchFieldName' - operator: - enum: - - = - type: string - values: - items: - type: string - type: array - type: object - ServiceTokenSearchExpressions: - items: - $ref: '#/components/schemas/ServiceTokenSearchExpression' - type: array - ServiceTokenSearchFieldName: - description: Possible field names to use on filters - enum: - - /uuid - - /state - - /name - - /project/projectId - type: string - Presence: - description: Presence - enum: - - MY_PORTS - type: string - MetroResponse: - description: "GET Metros retrieves all Equinix? Fabric? metros, as well as latency\ - \ data for each location.This performance data helps network planning engineers\ - \ and administrators make strategic decisions about port locations and traffic\ - \ routes." - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - code: code - equinixAsn: 0 - name: name - connectedMetros: - - remoteVCBandwidthMax: 2 - code: code - avgLatency: 5.637376656633329 - href: href - - remoteVCBandwidthMax: 2 - code: code - avgLatency: 5.637376656633329 - href: href - href: href - geoCoordinates: - latitude: 1.4658129805029452 - longitude: 5.962133916683182 - type: type - region: region - geoScopes: - - null - - null - localVCBandwidthMax: 6 - - code: code - equinixAsn: 0 - name: name - connectedMetros: - - remoteVCBandwidthMax: 2 - code: code - avgLatency: 5.637376656633329 - href: href - - remoteVCBandwidthMax: 2 - code: code - avgLatency: 5.637376656633329 - href: href - href: href - geoCoordinates: - latitude: 1.4658129805029452 - longitude: 5.962133916683182 - type: type - region: region - geoScopes: - - null - - null - localVCBandwidthMax: 6 - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: List of Fabric Metros. - items: - $ref: '#/components/schemas/Metro' - type: array - type: object - Metro: - description: "GET Metros retrieves all Equinix? Fabric? metros, as well as latency\ - \ data for each location.This performance data helps network planning engineers\ - \ and administrators make strategic decisions about port locations and traffic\ - \ routes." - example: - code: code - equinixAsn: 0 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsType: 1000BASE_LX + physicalPortsCount: 5 name: name - connectedMetros: - - remoteVCBandwidthMax: 2 - code: code - avgLatency: 5.637376656633329 - href: href - - remoteVCBandwidthMax: 2 - code: code - avgLatency: 5.637376656633329 - href: href - href: href - geoCoordinates: - latitude: 1.4658129805029452 - longitude: 5.962133916683182 - type: type - region: region - geoScopes: - - null - - null - localVCBandwidthMax: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: null + device: + name: name + redundancy: + priority: PRIMARY + group: group + asn: 9 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION properties: href: - description: The Canonical URL at which the resource resides. + description: Equinix assigned response attribute for an absolute URL that + is the subject of the link's context. + format: uri + readOnly: true type: string type: - description: Indicator of a Fabric Metro + $ref: '#/components/schemas/PortType' + id: + description: Equinix assigned response attribute for Port Id + type: integer + uuid: + description: Equinix assigned response attribute for port identifier + format: uuid type: string - code: - description: Code Assigned to an Equinix IBX data center in a specified - metropolitan area. + name: + description: Equinix assigned response attribute for Port name type: string - region: - description: Board geographic area in which the data center is located + description: + description: Equinix assigned response attribute for Port description type: string - name: - description: Name of the region in which the data center is located. + physicalPortsSpeed: + description: Physical Ports Speed in Mbps + minimum: 0 + type: integer + connectionsCount: + description: Equinix assigned response attribute for Connection count + minimum: 0 + type: integer + physicalPortsType: + description: Physical Ports Type + enum: + - 1000BASE_LX + - 10GBASE_LR + - 100GBASE_LR4 + - 10GBASE_ER + - 1000BASE_SX type: string - equinixAsn: - description: Autonomous system number (ASN) for a specified Fabric metro. - The ASN is a unique identifier that carries the network routing protocol - and exchanges that data with other internal systems via border gateway - protocol. - format: int64 + physicalPortsCount: type: integer - localVCBandwidthMax: - description: This field holds Max Connection speed with in the metro - format: int64 + connectivitySourceType: + description: Port connectivity type + enum: + - COLO + - BMMR + - REMOTE + type: string + bmmrType: + enum: + - SELF + - EQUINIX + type: string + project: + $ref: '#/components/schemas/Project' + state: + $ref: '#/components/schemas/PortState' + order: + $ref: '#/components/schemas/PortOrder' + operation: + $ref: '#/components/schemas/Port_operation' + account: + $ref: '#/components/schemas/SimplifiedAccount' + changeLog: + $ref: '#/components/schemas/Changelog' + serviceType: + deprecated: true + description: Port service Type + enum: + - EPL + - MSP + type: string + bandwidth: + deprecated: true + description: Equinix assigned response attribute for Port bandwidth in Mbps + minimum: 0 type: integer - geoCoordinates: - $ref: '#/components/schemas/GeoCoordinates' - connectedMetros: + availableBandwidth: + description: Equinix assigned response attribute for Port available bandwidth + in Mbps + minimum: 0 + type: integer + usedBandwidth: + description: Equinix assigned response attribute for Port used bandwidth + in Mbps + minimum: 0 + type: integer + location: + $ref: '#/components/schemas/SimplifiedLocation' + device: + $ref: '#/components/schemas/PortDevice' + interface: + $ref: '#/components/schemas/PortInterface' + demarcationPointIbx: + description: A-side/Equinix ibx + type: string + tetherIbx: + description: z-side/Equinix ibx + type: string + demarcationPoint: + $ref: '#/components/schemas/PortDemarcationPoint' + redundancy: + $ref: '#/components/schemas/PortRedundancy' + encapsulation: + $ref: '#/components/schemas/PortEncapsulation' + lagEnabled: + description: If LAG enabled + type: boolean + lag: + $ref: '#/components/schemas/Port_lag' + asn: + description: Port ASN + type: integer + package: + $ref: '#/components/schemas/Package' + settings: + $ref: '#/components/schemas/PortSettings' + physicalPortQuantity: + description: Number of physical ports + type: integer + notifications: + description: Notification preferences items: - $ref: '#/components/schemas/ConnectedMetro' + $ref: '#/components/schemas/PortNotification' type: array - geoScopes: - description: List of supported geographic boundaries of a Fabric Metro. + additionalInfo: + description: Port additional information items: - $ref: '#/components/schemas/GeoScopeType' + $ref: '#/components/schemas/PortAdditionalInfo' + type: array + physicalPorts: + description: Physical ports that implement this port + items: + $ref: '#/components/schemas/PhysicalPort' + type: array + loas: + description: Port Loas + items: + $ref: '#/components/schemas/PortLoa' type: array type: object - GeoCoordinates: - description: Geographic location data of Fabric Metro - example: - latitude: 1.4658129805029452 - longitude: 5.962133916683182 - properties: - latitude: - description: Latitude of a Fabric Metro - format: double - type: number - longitude: - description: Longitude of a Fabric Metro - format: double - type: number - type: object - ConnectedMetro: - description: Arrays of objects containing latency data for the specified metros + PhysicalPort: + description: Physical Port specification example: - remoteVCBandwidthMax: 2 - code: code - avgLatency: 5.637376656633329 - href: href + settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: href: - description: The Canonical URL at which the resource resides. - type: string - code: - description: Code assigned to an Equinix International Business Exchange - (IBX) data center in a specified metropolitan area. + description: Equinix assigned response attribute for an absolute URL that + is the subject of the link's context. + format: uri + readOnly: true type: string - avgLatency: - description: "Average latency (in milliseconds[ms]) between two specified\ - \ metros." - type: number - remoteVCBandwidthMax: - description: This field holds the Max Connection speed with connected metros - format: int64 + type: + $ref: '#/components/schemas/PhysicalPortType' + id: + deprecated: true + description: Equinix assigned response attribute for Physical Port Id type: integer - type: object - GeoScopeType: - description: Geographic boundary types - enum: - - CANADA - - CONUS - type: string - MetroErrorList: - items: - $ref: '#/components/schemas/MetroError' - type: array - MetroError: - description: Error with details - discriminator: - propertyName: errorCode - properties: - errorCode: - enum: - - EQ-3036001 - - EQ-3036013 - - EQ-3036030 - - EQ-3036100 - type: string - errorMessage: - enum: - - Unauthorized - - Invalid Query Parameter - - Invalid Path Parameter - - Invalid Query or Path Parameter - - Internal Server Error - - Metro Not Found - type: string - correlationId: - type: string - details: + state: + $ref: '#/components/schemas/PortState' + account: + $ref: '#/components/schemas/SimplifiedAccount' + interfaceSpeed: + description: Physical Port Speed in Mbps + minimum: 0 + type: integer + interfaceType: + description: Physical Port Interface Type type: string - help: + uuid: + description: Equinix assigned response attribute for physical port identifier + format: uuid type: string + tether: + $ref: '#/components/schemas/PortTether' + demarcationPoint: + $ref: '#/components/schemas/PortDemarcationPoint' + settings: + $ref: '#/components/schemas/PhysicalPortSettings' + interface: + $ref: '#/components/schemas/PortInterface' + notifications: + description: Notification preferences + items: + $ref: '#/components/schemas/PortNotification' + type: array additionalInfo: + description: Physical Port additional information items: - $ref: '#/components/schemas/PriceError_additionalInfo' + $ref: '#/components/schemas/PortAdditionalInfo' + type: array + order: + $ref: '#/components/schemas/PortOrder' + operation: + $ref: '#/components/schemas/PortOperation' + loas: + description: Port Loas + items: + $ref: '#/components/schemas/PortLoa' type: array + type: object + PortRequest: + allOf: + - $ref: '#/components/schemas/Port' + description: PortRequest is the Request Object for creating single and bulk + fabric ports required: - - errorCode - - errorMessage + - account + - connectivitySourceType + - encapsulation + - location + - physicalPortsSpeed + - physicalPortsType + - settings + - type type: object - MetroCode: - description: Metro Code - type: string - AllPortsResponse: - description: GET All User Port Across Fabric Metros + BulkPortRequest: + description: Create bulk port request + example: + data: + - null + - null + properties: + data: + items: + $ref: '#/components/schemas/PortRequest' + type: array + type: object + BulkPort: + description: Bulk Port specification example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 data: - serviceType: EPL encapsulation: @@ -31547,29 +38310,36 @@ components: description: description project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 connectivitySourceType: COLO physicalPortQuantity: 3 - lag: - name: name - memberStatus: memberStatus - id: id - enabled: true + lag: null usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 0 href: https://openapi-generator.tech + id: 0 state: null redundancy: priority: null @@ -31592,11 +38362,10 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -31615,10 +38384,16 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tetherIbx: tetherIbx physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -31643,19 +38418,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -31695,9 +38476,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -31722,19 +38507,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -31774,23 +38565,10 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z physicalPortsType: 1000BASE_LX - cvpId: cvpId physicalPortsCount: 5 name: name location: @@ -31799,10 +38577,7 @@ components: metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z + operation: null device: name: name redundancy: @@ -31846,29 +38621,36 @@ components: description: description project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 connectivitySourceType: COLO physicalPortQuantity: 3 - lag: - name: name - memberStatus: memberStatus - id: id - enabled: true + lag: null usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 0 href: https://openapi-generator.tech + id: 0 state: null redundancy: priority: null @@ -31891,11 +38673,10 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -31914,10 +38695,16 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tetherIbx: tetherIbx physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -31942,19 +38729,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -31994,9 +38787,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -32021,19 +38818,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -32073,23 +38876,10 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z physicalPortsType: 1000BASE_LX - cvpId: cvpId physicalPortsCount: 5 name: name location: @@ -32098,10 +38888,7 @@ components: metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z + operation: null device: name: name redundancy: @@ -32131,104 +38918,215 @@ components: - registeredUsers type: NOTIFICATION properties: - pagination: - $ref: '#/components/schemas/Pagination' data: - description: GET All User Port Across Fabric Metros + description: Ports that are part of BulkPort items: $ref: '#/components/schemas/Port' type: array type: object - Port: - description: Port specification + BulkPhysicalPort: + description: Add to Lag request example: - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: null - interface: - ifIndex: ifIndex - name: name - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - connectivitySourceType: COLO - physicalPortQuantity: 3 - lag: - name: name - memberStatus: memberStatus - id: id - enabled: true - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 0 - href: https://openapi-generator.tech - state: null - redundancy: - priority: null - enabled: true - group: group - demarcationPointIbx: demarcationPointIbx - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate + data: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - settings: - product: product - productCode: productCode - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - bmmrType: SELF - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - bandwidth: 0 - tetherIbx: tetherIbx - physicalPorts: - - demarcationPoint: + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + data: + description: add physical ports to virtual port + items: + $ref: '#/components/schemas/PhysicalPort' + type: array + type: object + AllPhysicalPortsResponse: + description: GET All Physical Ports + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -32253,19 +39151,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -32305,9 +39209,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -32332,19 +39240,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -32384,8 +39298,322 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: GET All Physical Ports + items: + $ref: '#/components/schemas/PhysicalPort' + type: array + type: object + LinkProtocolGetResponse: + description: List of Vlans + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - vlanTag: 20 + vlanCTag: 20 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + type: null + vlanSTag: 20 + vlanCTagMin: 20 + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + vlanTagMin: 20 + subInterface: + unit: 200 + name: name + vni: 20 + href: https://openapi-generator.tech + state: null + vlanTagMax: 200 + asset: + bandwidth: 100 + href: https://openapi-generator.tech + type: EVPL_VC + uuid: cd67f685-41b0-1b07-6de0-320a5c00abe + serviceToken: + bandwidth: 1000 + href: https://openapi-generator.tech + type: TOKEN + uuid: cd67f685-41b0-1b07-6de0-0320a5c00abe + vlanCTagMax: 200 + - vlanTag: 20 + vlanCTag: 20 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + type: null + vlanSTag: 20 + vlanCTagMin: 20 + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + vlanTagMin: 20 + subInterface: + unit: 200 + name: name + vni: 20 + href: https://openapi-generator.tech + state: null + vlanTagMax: 200 + asset: + bandwidth: 100 + href: https://openapi-generator.tech + type: EVPL_VC + uuid: cd67f685-41b0-1b07-6de0-320a5c00abe + serviceToken: + bandwidth: 1000 + href: https://openapi-generator.tech + type: TOKEN + uuid: cd67f685-41b0-1b07-6de0-0320a5c00abe + vlanCTagMax: 200 + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + items: + $ref: '#/components/schemas/LinkProtocolResponse' + type: array + type: object + PortV4SearchRequest: + description: Search requests containing criteria + example: + filter: + or: + - null + - null + and: + - null + - null + values: + - values + - values + property: null + operator: = + pagination: + offset: 0 + limit: 1 + sort: + - property: null + direction: null + - property: null + direction: null + properties: + filter: + $ref: '#/components/schemas/PortExpression' + pagination: + $ref: '#/components/schemas/PaginationRequest' + sort: + items: + $ref: '#/components/schemas/PortSortCriteria' + type: array + type: object + PortExpression: + example: + or: + - null + - null + and: + - null + - null + values: + - values + - values + property: null + operator: = + properties: + and: + items: + $ref: '#/components/schemas/PortExpression' + type: array + or: + items: + $ref: '#/components/schemas/PortExpression' + type: array + property: + $ref: '#/components/schemas/PortSearchFieldName' + operator: + enum: + - = + type: string + values: + items: + type: string + type: array + type: object + PortExpressions: + items: + $ref: '#/components/schemas/PortExpression' + type: array + PortSearchFieldName: + description: Possible field names to use on filters + enum: + - /project/projectId + - /settings/productCode + - /state + type: string + PortSortCriteria: + example: + property: null + direction: null + properties: + direction: + $ref: '#/components/schemas/PortSortDirection' + property: + $ref: '#/components/schemas/PortSortBy' + type: object + GetAllConnectionRouteFiltersResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - attachmentStatus: ATTACHING + href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d + type: BGP_IPv4_PREFIX_FILTER + uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + direction: INBOUND + - attachmentStatus: ATTACHING + href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d + type: BGP_IPv4_PREFIX_FILTER + uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + direction: INBOUND + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: List of Route Filters attached to a Connection + items: + $ref: '#/components/schemas/ConnectionRouteFilterData' + type: array + type: object + RouteFilterId: + description: Route Filters UUID + example: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + type: string + ConnectionRouteFilterData: + example: + attachmentStatus: ATTACHING + href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d + type: BGP_IPv4_PREFIX_FILTER + uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + direction: INBOUND + properties: + href: + description: Route Filter URI + example: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d + format: uri + type: string + type: + description: Route Filter type + enum: + - BGP_IPv4_PREFIX_FILTER + - BGP_IPv6_PREFIX_FILTER + type: string + uuid: + description: Route Filter identifier + example: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + format: uuid + type: string + attachmentStatus: + enum: + - ATTACHING + - ATTACHED + - DETACHED + - DETACHING + - FAILED + - PENDING_BGP_CONFIGURATION + type: string + direction: + enum: + - INBOUND + - OUTBOUND + type: string + type: object + ConnectionRouteFiltersBase: + example: + direction: INBOUND + properties: + direction: + description: Route Filter direction to attach to a connection + enum: + - INBOUND + - OUTBOUND + type: string + required: + - direction + type: object + RouteFiltersBase: + example: + name: My-direct-route-1 + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: BGP_IPv4_PREFIX_FILTER + properties: + type: + description: Route Filter type + enum: + - BGP_IPv4_PREFIX_FILTER + - BGP_IPv6_PREFIX_FILTER + type: string + name: + example: My-direct-route-1 + type: string + description: + description: Customer-provided connection description + type: string + project: + $ref: '#/components/schemas/Project' + required: + - name + - project + - type + type: object + RouteFiltersData: + example: + change: + href: https://openapi-generator.tech + type: BGP_IPv4_PREFIX_FILTER_UPDATE + uuid: uuid + name: My-direct-route-1 + description: description + rulesCount: 0 + project: + href: https://api.equinix.com/resourceManager/v1/projects/567 + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 changelog: createdByEmail: john.smith@example.com deletedByFullName: John Smith @@ -32399,571 +39627,321 @@ components: deletedBy: johnsmith deletedByEmail: john.smith@example.com updatedDateTime: 2020-11-06T07:00:00Z - physicalPortsType: 1000BASE_LX - cvpId: cvpId - physicalPortsCount: 5 - name: name - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - device: - name: name - redundancy: - priority: PRIMARY - group: group - asn: 9 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION + href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d + state: null + type: BGP_IPv4_PREFIX_FILTER + notMatchedRuleAction: ALLOW + uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + connectionsCount: 0 + properties: + href: + description: Route Filter URI + example: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d + format: uri + type: string + type: + description: Route Filter type + enum: + - BGP_IPv4_PREFIX_FILTER + - BGP_IPv6_PREFIX_FILTER + type: string + uuid: + description: Route Filter identifier + example: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + format: uuid + type: string + name: + example: My-direct-route-1 + type: string + description: + description: Customer-provided connection description + type: string + state: + $ref: '#/components/schemas/RouteFilterState' + change: + $ref: '#/components/schemas/RouteFiltersChange' + notMatchedRuleAction: + enum: + - ALLOW + - DENY + type: string + connectionsCount: + example: 0 + type: integer + rulesCount: + example: 0 + type: integer + project: + $ref: '#/components/schemas/RouteFiltersData_project' + changelog: + $ref: '#/components/schemas/Changelog' + type: object + RouteFiltersPatchRequest: + description: Patch Route Filters request + items: + $ref: '#/components/schemas/RouteFiltersPatchRequestItem' + minItems: 1 + type: array + RouteFilterChangeDataResponse: + description: List of Route Filter changes + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - updatedBy: updatedBy + data: + op: add + path: / + value: + name: My-direct-route-1 + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: BGP_IPv4_PREFIX_FILTER + createdBy: createdBy + createdDateTime: 2000-01-23T04:56:07.000+00:00 + information: information + status: COMPLETED + updatedDateTime: 2000-01-23T04:56:07.000+00:00 + - updatedBy: updatedBy + data: + op: add + path: / + value: + name: My-direct-route-1 + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: BGP_IPv4_PREFIX_FILTER + createdBy: createdBy + createdDateTime: 2000-01-23T04:56:07.000+00:00 + information: information + status: COMPLETED + updatedDateTime: 2000-01-23T04:56:07.000+00:00 properties: - type: - $ref: '#/components/schemas/PortType' - id: - description: Equinix assigned response attribute for Port Id - type: integer - href: - description: Equinix assigned response attribute for an absolute URL that - is the subject of the link's context. - format: uri - readOnly: true - type: string - uuid: - description: Equinix assigned response attribute for port identifier - format: uuid - type: string - name: - description: Equinix assigned response attribute for Port name - type: string - description: - description: Equinix assigned response attribute for Port description - type: string - physicalPortsSpeed: - description: Physical Ports Speed in Mbps - minimum: 0 - type: integer - connectionsCount: - description: Equinix assigned response attribute for Connection count - minimum: 0 - type: integer - physicalPortsType: - description: Physical Ports Type - enum: - - 1000BASE_LX - - 10GBASE_LR - - 100GBASE_LR4 - - 10GBASE_ER - - 1000BASE_SX - type: string - physicalPortsCount: - type: integer - connectivitySourceType: - description: Port connectivity type + pagination: + $ref: '#/components/schemas/Pagination' + data: + items: + $ref: '#/components/schemas/RouteFilterChangeData' + type: array + type: object + ChangeId_1: + description: Route Filters Change UUID + example: 6d500177-9404-41f2-99e8-2bf1a84d8db5 + format: uuid + type: string + RouteFilterChangeData: + allOf: + - $ref: '#/components/schemas/RouteFiltersChange' + description: Current state of latest Route Filter change + example: + updatedBy: updatedBy + data: + op: add + path: / + value: + name: My-direct-route-1 + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: BGP_IPv4_PREFIX_FILTER + createdBy: createdBy + createdDateTime: 2000-01-23T04:56:07.000+00:00 + information: information + status: COMPLETED + updatedDateTime: 2000-01-23T04:56:07.000+00:00 + properties: + status: + description: Current outcome of the change flow enum: - - COLO - - BMMR - - REMOTE + - COMPLETED + - FAILED + - REQUESTED type: string - bmmrType: - enum: - - SELF - - EQUINIX + createdBy: + description: Created by User Key type: string - project: - $ref: '#/components/schemas/Project' - state: - $ref: '#/components/schemas/PortState' - order: - $ref: '#/components/schemas/PortOrder' - cvpId: - description: Equinix assigned response attribute for Unique ID for a virtual - port. + createdDateTime: + description: Set when change flow starts + format: date-time type: string - operation: - $ref: '#/components/schemas/PortOperation' - account: - $ref: '#/components/schemas/SimplifiedAccount' - changelog: - $ref: '#/components/schemas/Changelog' - serviceType: - description: Port service Type - enum: - - EPL - - MSP + updatedBy: + description: Updated by User Key type: string - bandwidth: - description: Equinix assigned response attribute for Port bandwidth in Mbps - minimum: 0 - type: integer - availableBandwidth: - description: Equinix assigned response attribute for Port available bandwidth - in Mbps - minimum: 0 - type: integer - usedBandwidth: - description: Equinix assigned response attribute for Port used bandwidth - in Mbps - minimum: 0 - type: integer - location: - $ref: '#/components/schemas/SimplifiedLocation' - device: - $ref: '#/components/schemas/PortDevice' - interface: - $ref: '#/components/schemas/PortInterface' - demarcationPointIbx: - description: A-side/Equinix ibx + updatedDateTime: + description: Set when change object is updated + format: date-time type: string - tetherIbx: - description: z-side/Equinix ibx + information: + description: Additional information type: string - demarcationPoint: - $ref: '#/components/schemas/PortDemarcationPoint' - redundancy: - $ref: '#/components/schemas/PortRedundancy' - encapsulation: - $ref: '#/components/schemas/PortEncapsulation' - lagEnabled: - description: If LAG enabled - type: boolean - lag: - $ref: '#/components/schemas/PortLag' - asn: - description: Port ASN - type: integer - settings: - $ref: '#/components/schemas/PortSettings' - physicalPortQuantity: - description: Number of physical ports - type: integer - notifications: - description: Notification preferences - items: - $ref: '#/components/schemas/PortNotification' - type: array - additionalInfo: - description: Port additional information - items: - $ref: '#/components/schemas/PortAdditionalInfo' - type: array - physicalPorts: - description: Physical ports that implement this port + data: + $ref: '#/components/schemas/RouteFiltersChangeOperation' + type: object + GetRouteFilterGetConnectionsResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - name: connection-1 + href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f + type: null + uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + - name: connection-1 + href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f + type: null + uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: List of Connections using a Route Filter items: - $ref: '#/components/schemas/PhysicalPort' + $ref: '#/components/schemas/RouteFilterConnectionsData' type: array - loas: - description: Port Loas + type: object + RouteFiltersSearchBase: + example: + filter: + and: + - values: + - values + - values + property: /type + operator: operator + - values: + - values + - values + property: /type + operator: operator + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + sort: + - property: /changeLog/updatedDateTime + direction: DESC + - property: /changeLog/updatedDateTime + direction: DESC + properties: + filter: + $ref: '#/components/schemas/RouteFiltersSearchBase_filter' + pagination: + $ref: '#/components/schemas/Pagination' + sort: items: - $ref: '#/components/schemas/PortLoa' + $ref: '#/components/schemas/SortItem' type: array - required: - - account - - encapsulation - - location - - settings type: object - PhysicalPort: - description: Physical Port specification + RouteFiltersSearchFilterItem: example: - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + values: + - values + - values + property: /type + operator: operator properties: - type: - $ref: '#/components/schemas/PhysicalPortType' - id: - description: Equinix assigned response attribute for Physical Port Id - type: integer - href: - description: Equinix assigned response attribute for an absolute URL that - is the subject of the link's context. - format: uri - readOnly: true + property: + enum: + - /type + - /name + - /project/projectId + - /uuid + - /state type: string - state: - $ref: '#/components/schemas/PortState' - account: - $ref: '#/components/schemas/SimplifiedAccount' - interfaceSpeed: - description: Physical Port Speed in Mbps - minimum: 0 - type: integer - interfaceType: - description: Physical Port Interface Type + operator: type: string - tether: - $ref: '#/components/schemas/PortTether' - demarcationPoint: - $ref: '#/components/schemas/PortDemarcationPoint' - notifications: - description: Notification preferences - items: - $ref: '#/components/schemas/PortNotification' - type: array - additionalInfo: - description: Physical Port additional information - items: - $ref: '#/components/schemas/PortAdditionalInfo' - type: array - order: - $ref: '#/components/schemas/PortOrder' - operation: - $ref: '#/components/schemas/PortOperation' - loas: - description: Port Loas + values: items: - $ref: '#/components/schemas/PortLoa' + type: string type: array type: object - BulkPort: - description: Create bulk port request + SortItem: example: - data: - - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: null - interface: - ifIndex: ifIndex - name: name - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - connectivitySourceType: COLO - physicalPortQuantity: 3 - lag: - name: name - memberStatus: memberStatus - id: id - enabled: true - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 0 - href: https://openapi-generator.tech - state: null - redundancy: - priority: null - enabled: true - group: group - demarcationPointIbx: demarcationPointIbx - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - settings: - product: product - productCode: productCode - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - bmmrType: SELF - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - bandwidth: 0 - tetherIbx: tetherIbx - physicalPorts: - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 + property: /changeLog/updatedDateTime + direction: DESC + properties: + property: + default: /changeLog/updatedDateTime + description: Possible field names to use on sorting + enum: + - /type + - /uuid + - /name + - /project/projectId + - /state + - /notMatchedRuleAction + - /connectionsCount + - /changeLog/createdDateTime + - /changeLog/updatedDateTime + type: string + direction: + default: DESC + description: Sorting direction + enum: + - DESC + - ASC + type: string + type: object + RouteFiltersSearchResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - change: href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 + type: BGP_IPv4_PREFIX_FILTER_UPDATE + uuid: uuid + name: My-direct-route-1 + description: description + rulesCount: 0 + project: + href: https://api.equinix.com/resourceManager/v1/projects/567 + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d + state: null + type: BGP_IPv4_PREFIX_FILTER + notMatchedRuleAction: ALLOW + uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + connectionsCount: 0 + - change: href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: BGP_IPv4_PREFIX_FILTER_UPDATE + uuid: uuid + name: My-direct-route-1 + description: description + rulesCount: 0 + project: + href: https://api.equinix.com/resourceManager/v1/projects/567 + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 changelog: createdByEmail: john.smith@example.com deletedByFullName: John Smith @@ -32977,293 +39955,700 @@ components: deletedBy: johnsmith deletedByEmail: john.smith@example.com updatedDateTime: 2020-11-06T07:00:00Z - physicalPortsType: 1000BASE_LX - cvpId: cvpId - physicalPortsCount: 5 - name: name - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - device: - name: name - redundancy: - priority: PRIMARY - group: group - asn: 9 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - loas: - - href: https://openapi-generator.tech - type: CTR_LOA + href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d + state: null + type: BGP_IPv4_PREFIX_FILTER + notMatchedRuleAction: ALLOW + uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + connectionsCount: 0 + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: List of Route Filters + items: + $ref: '#/components/schemas/RouteFiltersData' + type: array + type: object + GetRouteFilterRulesResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - prefix: 192.168.0.0/24 + change: + href: https://openapi-generator.tech + type: BGP_IPv4_PREFIX_FILTER_RULE_UPDATE uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA + name: Private-subnet-filter-2 + description: description + action: PERMIT + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + prefixMatch: exact + href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d/routeFilterRules/65b025ef-022b-4180-85cf-82cfc1ab655b + state: null + type: BGP_IPv4_PREFIX_FILTER_RULE + uuid: 65b025ef-022b-4180-85cf-82cfc1ab655b + - prefix: 192.168.0.0/24 + change: + href: https://openapi-generator.tech + type: BGP_IPv4_PREFIX_FILTER_RULE_UPDATE uuid: uuid + name: Private-subnet-filter-2 + description: description + action: PERMIT + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + prefixMatch: exact + href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d/routeFilterRules/65b025ef-022b-4180-85cf-82cfc1ab655b + state: null + type: BGP_IPv4_PREFIX_FILTER_RULE + uuid: 65b025ef-022b-4180-85cf-82cfc1ab655b + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: List of Route Filter Rules + items: + $ref: '#/components/schemas/RouteFilterRulesData' + type: array + type: object + RouteFilterRulesBase: + example: + prefix: 192.168.0.0/24 + name: Private-subnet-filter + description: description + prefixMatch: "orlonger, exact" + properties: + name: + example: Private-subnet-filter + type: string + description: + description: Customer-provided Route Filter Rule description + type: string + prefix: + example: 192.168.0.0/24 + type: string + prefixMatch: + default: orlonger + example: "orlonger, exact" + type: string + required: + - prefix + type: object + RouteFilterRulesData: + example: + prefix: 192.168.0.0/24 + change: + href: https://openapi-generator.tech + type: BGP_IPv4_PREFIX_FILTER_RULE_UPDATE + uuid: uuid + name: Private-subnet-filter-2 + description: description + action: PERMIT + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + prefixMatch: exact + href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d/routeFilterRules/65b025ef-022b-4180-85cf-82cfc1ab655b + state: null + type: BGP_IPv4_PREFIX_FILTER_RULE + uuid: 65b025ef-022b-4180-85cf-82cfc1ab655b + properties: + href: + description: Route Filter Rules URI + example: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d/routeFilterRules/65b025ef-022b-4180-85cf-82cfc1ab655b + format: uri + type: string + type: + description: Route Filter type + enum: + - BGP_IPv4_PREFIX_FILTER_RULE + - BGP_IPv6_PREFIX_FILTER_RULE + type: string + uuid: + description: Route Filter Rule identifier + example: 65b025ef-022b-4180-85cf-82cfc1ab655b + format: uuid + type: string + name: + example: Private-subnet-filter-2 + type: string + description: + description: Customer-provided Route Filter Rule description + type: string + state: + $ref: '#/components/schemas/RouteFilterRuleState' + prefixMatch: + default: orlonger + description: prefix matching operator + example: exact + type: string + change: + $ref: '#/components/schemas/RouteFilterRulesChange' + action: + enum: + - PERMIT + - DENY + type: string + prefix: + example: 192.168.0.0/24 + type: string + changelog: + $ref: '#/components/schemas/Changelog' + type: object + RouteFilterRuleId: + description: Route Filter Rule UUID + example: 65b025ef-022b-4180-85cf-82cfc1ab655b + type: string + RouteFilterRulesPatchRequest: + description: Patch Route Filters Rule request + items: + $ref: '#/components/schemas/RouteFilterRulesPatchRequestItem' + minItems: 1 + type: array + RouteFilterRulesChangeDataResponse: + description: List of Route Filter Rule changes + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - updatedBy: updatedBy + data: + op: add + path: / + value: + prefix: 192.168.0.0/24 + name: Private-subnet-filter + description: description + prefixMatch: "orlonger, exact" + createdBy: createdBy + createdDateTime: 2000-01-23T04:56:07.000+00:00 + status: COMPLETED + updatedDateTime: 2000-01-23T04:56:07.000+00:00 + - updatedBy: updatedBy + data: + op: add + path: / + value: + prefix: 192.168.0.0/24 + name: Private-subnet-filter + description: description + prefixMatch: "orlonger, exact" + createdBy: createdBy + createdDateTime: 2000-01-23T04:56:07.000+00:00 + status: COMPLETED + updatedDateTime: 2000-01-23T04:56:07.000+00:00 + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + items: + $ref: '#/components/schemas/RouteFilterRulesChangeData' + type: array + type: object + ChangeId_2: + description: Route Filter Rule Change UUID + example: 6d500177-9404-41f2-99e8-2bf1a84d8db5 + format: uuid + type: string + RouteFilterRulesChangeData: + allOf: + - $ref: '#/components/schemas/RouteFilterRulesChange' + description: Current state of latest Route Filter Rules change + example: + updatedBy: updatedBy + data: + op: add + path: / + value: + prefix: 192.168.0.0/24 + name: Private-subnet-filter + description: description + prefixMatch: "orlonger, exact" + createdBy: createdBy + createdDateTime: 2000-01-23T04:56:07.000+00:00 + status: COMPLETED + updatedDateTime: 2000-01-23T04:56:07.000+00:00 + properties: + status: + description: Current outcome of the change flow + enum: + - COMPLETED + - FAILED + - REQUESTED + type: string + createdBy: + description: Created by User Key + type: string + createdDateTime: + description: Set when change flow starts + format: date-time + type: string + updatedBy: + description: Updated by User Key + type: string + updatedDateTime: + description: Set when change object is updated + format: date-time + type: string + data: + $ref: '#/components/schemas/RouteFilterRulesChangeOperation' + type: object + RouteFilterRulesPostRequest: + description: Create Route Filter Rule POST request + example: + data: + - prefix: 192.168.0.0/24 + name: Private-subnet-filter + description: description + prefixMatch: "orlonger, exact" + - prefix: 192.168.0.0/24 + name: Private-subnet-filter description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: null - interface: - ifIndex: ifIndex - name: name - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - connectivitySourceType: COLO - physicalPortQuantity: 3 - lag: - name: name - memberStatus: memberStatus - id: id - enabled: true - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 0 - href: https://openapi-generator.tech - state: null - redundancy: - priority: null - enabled: true - group: group - demarcationPointIbx: demarcationPointIbx - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - settings: - product: product - productCode: productCode - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - bmmrType: SELF - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - bandwidth: 0 - tetherIbx: tetherIbx - physicalPorts: - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - changelog: + prefixMatch: "orlonger, exact" + properties: + data: + description: Route Filter Rule configuration + items: + $ref: '#/components/schemas/RouteFilterRulesBase' + type: array + type: object + CloudRouterPostRequest: + description: Create Cloud Router + example: + package: + code: LAB + href: https://api.equinix.com/fabric/v4/routerPackages/LAB + type: ROUTER_PACKAGE + name: name + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + location: + metroName: Amsterdam + metroCode: AM + href: href + region: "AMER, APAC, EMEA" + type: XF_ROUTER + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + order: + orderNumber: orderNumber + customerReferenceNumber: customerReferenceNumber + orderId: orderId + purchaseOrderNumber: purchaseOrderNumber + billingTier: billingTier + properties: + type: + enum: + - XF_ROUTER + type: string + name: + description: Customer-provided Cloud Router name + type: string + location: + $ref: '#/components/schemas/SimplifiedLocationWithoutIBX' + package: + $ref: '#/components/schemas/CloudRouterPostRequestPackage' + order: + $ref: '#/components/schemas/Order' + project: + $ref: '#/components/schemas/Project' + account: + $ref: '#/components/schemas/SimplifiedAccount' + notifications: + description: Preferences for notifications on connection configuration or + status changes + items: + $ref: '#/components/schemas/SimplifiedNotification' + type: array + marketplaceSubscription: + $ref: '#/components/schemas/marketplaceSubscription' + type: object + CloudRouter: + allOf: + - $ref: '#/components/schemas/CloudRouterPostRequest' + description: Fabric Cloud Router object + example: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + properties: + href: + description: Cloud Routers URI + example: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + format: uri + readOnly: true + type: string + uuid: + description: Equinix-assigned access point identifier + example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + format: uuid + type: string + name: + description: Customer-provided Cloud Router name + example: test-fg-1 + format: string + type: string + state: + $ref: '#/components/schemas/CloudRouterAccessPointState' + equinixAsn: + description: Equinix ASN + example: 30000 + format: int64 + type: integer + bgpIpv4RoutesCount: + description: Access point used and maximum number of IPv4 BGP routes + minimum: 0 + type: integer + bgpIpv6RoutesCount: + description: Access point used and maximum number of IPv6 BGP routes + minimum: 0 + type: integer + connectionsCount: + description: Number of connections associated with this Access point + minimum: 0 + type: integer + distinctIpv4PrefixesCount: + description: Number of distinct ipv4 routes + minimum: 0 + type: integer + distinctIpv6PrefixesCount: + description: Number of distinct ipv6 routes + minimum: 0 + type: integer + marketplaceSubscription: + $ref: '#/components/schemas/marketplaceSubscription' + changeLog: + $ref: '#/components/schemas/Changelog' + change: + $ref: '#/components/schemas/CloudRouterChange' + type: object + RouterId: + description: Cloud Router UUID + example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + format: uuid + type: string + CloudRouterUpdateRequest: + description: Fabric Cloud Router Update Request + items: + $ref: '#/components/schemas/CloudRouterChangeOperation' + minItems: 1 + type: array + RouterId_1: + description: Router UUID + example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + format: uuid + type: string + ActionState: + $ref: '#/components/schemas/CloudRouterActionState' + CloudRouterActionState: + description: Cloud Router action state + enum: + - SUCCEEDED + - FAILED + - PENDING + type: string + CloudRouterActionResponse: + description: Cloud Router actions response object + example: + description: description + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + connection: + uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + state: null + href: https://api.equinix.com//fabric/v4/routers/a1c6b7fd-aead-410a-96b4-b1dfa1071700/actions/1e9414f1-763e-4c0a-86c6-0bc8336048d9 + type: null + uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + operation: + bgpIpv4RoutesCount: 6 + bgpIpv6RoutesCount: 6 + properties: + type: + $ref: '#/components/schemas/CloudRouterActionType' + uuid: + example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + format: uuid + type: string + description: + example: description + type: string + state: + $ref: '#/components/schemas/CloudRouterActionState' + changeLog: + $ref: '#/components/schemas/Changelog' + href: + example: https://api.equinix.com//fabric/v4/routers/a1c6b7fd-aead-410a-96b4-b1dfa1071700/actions/1e9414f1-763e-4c0a-86c6-0bc8336048d9 + type: string + connection: + $ref: '#/components/schemas/RouterActionsConnection' + operation: + $ref: '#/components/schemas/Operation' + required: + - changeLog + - state + - type + - uuid + type: object + CloudRouterActionRequest: + description: Cloud Router action request + example: + connection: + uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + type: null + properties: + type: + $ref: '#/components/schemas/CloudRouterActionType' + connection: + $ref: '#/components/schemas/RouterActionsConnection' + required: + - type + type: object + CloudRouterActionsSearchRequest: + description: Search requests containing criteria + example: + filter: + and: + - null + - null + - null + - null + - null + pagination: + offset: 0 + limit: 1 + sort: + - property: null + direction: null + - property: null + direction: null + properties: + filter: + $ref: '#/components/schemas/CloudRouterActionsSearchFilters' + pagination: + $ref: '#/components/schemas/PaginationRequest' + sort: + items: + $ref: '#/components/schemas/CloudRouterActionsSearchSortCriteria' + type: array + type: object + CloudRouterActionsSearchFilters: + example: + and: + - null + - null + - null + - null + - null + properties: + and: + items: + $ref: '#/components/schemas/CloudRouterActionsSearchFilter' + maxItems: 8 + type: array + type: object + CloudRouterActionsSearchFilter: + anyOf: + - $ref: '#/components/schemas/CloudRouterActionsSearchExpression' + - $ref: '#/components/schemas/CloudRouterActionsSearchOrFilter' + type: object + CloudRouterActionsSearchExpression: + properties: + property: + description: | + Possible field names to use on filters: + * `/type` - type of update + * `/state` - action state + * `/connection/uuid` - connection uuid associated + * `/*` - all-category search + example: /type + type: string + operator: + description: | + Possible operators to use on filters: + * `=` - equal + * `!=` - not equal + * `>` - greater than + * `>=` - greater than or equal to + * `<` - less than + * `<=` - less than or equal to + * `[NOT] BETWEEN` - (not) between + * `[NOT] LIKE` - (not) like + * `[NOT] IN` - (not) in + * `~*` - case-insensitive like + example: = + type: string + values: + items: + example: ROUTE_TABLE_ENTRY_UPDATE + type: string + type: array + type: object + CloudRouterActionsSearchOrFilter: + properties: + or: + items: + $ref: '#/components/schemas/CloudRouterActionsSearchExpression' + maxItems: 3 + type: array + type: object + CloudRouterActionsSearchSortCriteria: + example: + property: null + direction: null + properties: + direction: + $ref: '#/components/schemas/CloudRouterActionsSearchSortDirection' + property: + $ref: '#/components/schemas/CloudRouterActionsSearchSortBy' + type: object + CloudRouterActionsSearchSortDirection: + default: DESC + description: Sorting direction + enum: + - DESC + - ASC + type: string + CloudRouterActionsSearchSortBy: + default: /changeLog/updatedDateTime + description: Possible field names to use on sorting + enum: + - /changeLog/createdDateTime + - /changeLog/updatedDateTime + - /connection/name + - /type + type: string + CloudRouterActionsSearchResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - description: description + changeLog: createdByEmail: john.smith@example.com deletedByFullName: John Smith updatedBy: johnsmith @@ -33276,402 +40661,170 @@ components: deletedBy: johnsmith deletedByEmail: john.smith@example.com updatedDateTime: 2020-11-06T07:00:00Z - physicalPortsType: 1000BASE_LX - cvpId: cvpId - physicalPortsCount: 5 - name: name - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - device: - name: name - redundancy: - priority: PRIMARY - group: group - asn: 9 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - properties: - data: - items: - $ref: '#/components/schemas/Port' - type: array - type: object - BulkPhysicalPort: - description: Add to Lag request - example: - data: - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech + connection: + uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid + href: https://api.equinix.com//fabric/v4/routers/a1c6b7fd-aead-410a-96b4-b1dfa1071700/actions/1e9414f1-763e-4c0a-86c6-0bc8336048d9 type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech + uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + operation: + bgpIpv4RoutesCount: 6 + bgpIpv6RoutesCount: 6 + - description: description + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + connection: + uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 state: null + href: https://api.equinix.com//fabric/v4/routers/a1c6b7fd-aead-410a-96b4-b1dfa1071700/actions/1e9414f1-763e-4c0a-86c6-0bc8336048d9 + type: null + uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bgpIpv4RoutesCount: 6 + bgpIpv6RoutesCount: 6 properties: + pagination: + $ref: '#/components/schemas/Pagination' data: - description: add physical ports to virtual port + description: Data returned from the API call. items: - $ref: '#/components/schemas/PhysicalPort' + $ref: '#/components/schemas/CloudRouterActionResponse' type: array type: object - AllPhysicalPortsResponse: - description: GET All Physical Ports + ActionId_1: + description: Action UUID + example: 457400f8-d360-11e9-bb65-2a2ae2dbcced + format: uuid + type: string + RouteTableEntrySearchRequest: + description: Search requests containing criteria example: + filter: + and: + - null + - null + - null + - null + - null pagination: - next: next - total: 0 offset: 0 - previous: previous - limit: 0 - data: - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + limit: 1 + sort: + - property: null + direction: null + - property: null + direction: null + properties: + filter: + $ref: '#/components/schemas/RouteTableEntryFilters' + pagination: + $ref: '#/components/schemas/PaginationRequest' + sort: + items: + $ref: '#/components/schemas/RouteTableEntrySortCriteria' + type: array + type: object + RouteTableEntryFilters: + example: + and: + - null + - null + - null + - null + - null + properties: + and: + items: + $ref: '#/components/schemas/RouteTableEntryFilter' + maxItems: 8 + type: array + type: object + RouteTableEntryFilter: + anyOf: + - $ref: '#/components/schemas/RouteTableEntrySimpleExpression' + - $ref: '#/components/schemas/RouteTableEntryOrFilter' + type: object + RouteTableEntrySimpleExpression: properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: GET All Physical Ports + property: + description: | + Possible field names to use on filters: + * `/type` - Route table entry type + * `/prefix` - Route table entry prefix + * `/nextHop` - Route table entry nextHop + * `/state` - Route table entry state + * `/*` - all-category search + example: /type + type: string + operator: + description: | + Possible operators to use on filters: + * `=` - equal + * `!=` - not equal + * `>` - greater than + * `>=` - greater than or equal to + * `<` - less than + * `<=` - less than or equal to + * `[NOT] BETWEEN` - (not) between + * `[NOT] LIKE` - (not) like + * `[NOT] IN` - (not) in + * `~*` - case-insensitive like + example: = + type: string + values: items: - $ref: '#/components/schemas/PhysicalPort' + example: IPv4_BGP_ROUTE + type: string type: array type: object - LinkProtocolGetResponse: - description: List of Vlans + RouteTableEntryOrFilter: + properties: + or: + items: + $ref: '#/components/schemas/RouteTableEntrySimpleExpression' + maxItems: 3 + type: array + type: object + RouteTableEntrySortCriteria: + example: + property: null + direction: null + properties: + direction: + $ref: '#/components/schemas/RouteTableEntrySortDirection' + property: + $ref: '#/components/schemas/RouteTableEntrySortBy' + type: object + RouteTableEntrySortDirection: + default: DESC + description: Sorting direction + enum: + - DESC + - ASC + type: string + RouteTableEntrySortBy: + default: /changeLog/updatedDateTime + description: Possible field names to use on sorting + enum: + - /changeLog/createdDateTime + - /changeLog/updatedDateTime + - /prefix + - /nextHop + - /connection/name + - /type + type: string + RouteTableEntrySearchResponse: example: pagination: next: next @@ -33680,8 +40833,12 @@ components: previous: previous limit: 0 data: - - vlanTag: 20 - vlanCTag: 20 + - nextHop: 10.10.10.5 + prefix: 192.168.10.0/24 + localPreference: 200 + asPath: + - asPath + - asPath changeLog: createdByEmail: john.smith@example.com deletedByFullName: John Smith @@ -33695,31 +40852,20 @@ components: deletedBy: johnsmith deletedByEmail: john.smith@example.com updatedDateTime: 2020-11-06T07:00:00Z - type: null - vlanSTag: 20 - vlanCTagMin: 20 - uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 - vlanTagMin: 20 - subInterface: - unit: 200 - name: name - vni: 20 - href: https://openapi-generator.tech + connection: + name: connection_1 + uuid: 81331c52-04c0-4656-a4a7-18c52669348f + protocolType: null state: null - vlanTagMax: 200 - asset: - bandwidth: 100 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: cd67f685-41b0-1b07-6de0-320a5c00abe - serviceToken: - bandwidth: 1000 - href: https://openapi-generator.tech - type: TOKEN - uuid: cd67f685-41b0-1b07-6de0-0320a5c00abe - vlanCTagMax: 200 - - vlanTag: 20 - vlanCTag: 20 + type: null + MED: 5 + age: PT5M30S + - nextHop: 10.10.10.5 + prefix: 192.168.10.0/24 + localPreference: 200 + asPath: + - asPath + - asPath changeLog: createdByEmail: john.smith@example.com deletedByFullName: John Smith @@ -33733,52 +40879,67 @@ components: deletedBy: johnsmith deletedByEmail: john.smith@example.com updatedDateTime: 2020-11-06T07:00:00Z - type: null - vlanSTag: 20 - vlanCTagMin: 20 - uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 - vlanTagMin: 20 - subInterface: - unit: 200 - name: name - vni: 20 - href: https://openapi-generator.tech + connection: + name: connection_1 + uuid: 81331c52-04c0-4656-a4a7-18c52669348f + protocolType: null state: null - vlanTagMax: 200 - asset: - bandwidth: 100 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: cd67f685-41b0-1b07-6de0-320a5c00abe - serviceToken: - bandwidth: 1000 - href: https://openapi-generator.tech - type: TOKEN - uuid: cd67f685-41b0-1b07-6de0-0320a5c00abe - vlanCTagMax: 200 + type: null + MED: 5 + age: PT5M30S properties: pagination: $ref: '#/components/schemas/Pagination' data: + description: Data returned from the API call. items: - $ref: '#/components/schemas/LinkProtocolResponse' + $ref: '#/components/schemas/RouteTableEntry' type: array type: object - PortV4SearchRequest: + ValidateRequest: + description: Validate connection auth api key or vlan + example: + filter: + and: + - values: + - values + - values + property: property + operator: operator + - values: + - values + - values + property: property + operator: operator + properties: + filter: + $ref: '#/components/schemas/ValidateRequest_filter' + type: object + ValidateSubnetResponse: + description: ValidateResponse + example: + additionalInfo: + - value: value + key: key + - value: value + key: key + properties: + additionalInfo: + description: Additional information + items: + $ref: '#/components/schemas/ConnectionSideAdditionalInfo' + type: array + type: object + CloudRouterSearchRequest: description: Search requests containing criteria example: filter: - or: + and: + - null - null - null - and: - null - null - values: - - values - - values - property: null - operator: = pagination: offset: 0 limit: 1 @@ -33789,69 +40950,109 @@ components: direction: null properties: filter: - $ref: '#/components/schemas/PortExpression' + $ref: '#/components/schemas/CloudRouterFilters' pagination: $ref: '#/components/schemas/PaginationRequest' sort: items: - $ref: '#/components/schemas/PortSortCriteria' + $ref: '#/components/schemas/CloudRouterSortCriteria' type: array type: object - PortExpression: + CloudRouterFilters: example: - or: + and: + - null - null - null - and: - null - null - values: - - values - - values - property: null - operator: = properties: and: items: - $ref: '#/components/schemas/PortExpression' - type: array - or: - items: - $ref: '#/components/schemas/PortExpression' + $ref: '#/components/schemas/CloudRouterFilter' + maxItems: 8 type: array + type: object + CloudRouterFilter: + anyOf: + - $ref: '#/components/schemas/CloudRouterSimpleExpression' + - $ref: '#/components/schemas/CloudRouterOrFilter' + type: object + CloudRouterSimpleExpression: + properties: property: - $ref: '#/components/schemas/PortSearchFieldName' + description: | + Possible field names to use on filters: + * `/project/projectId` - project id (mandatory) + * `/name` - Fabric Cloud Router name + * `/uuid` - Fabric Cloud Router uuid + * `/state` - Fabric Cloud Router status + * `/location/metroCode` - Fabric Cloud Router metro code + * `/location/metroName` - Fabric Cloud Router metro name + * `/package/code` - Fabric Cloud Router package + * `/*` - all-category search + example: /name + type: string operator: - enum: - - = + description: | + Possible operators to use on filters: + * `=` - equal + * `!=` - not equal + * `>` - greater than + * `>=` - greater than or equal to + * `<` - less than + * `<=` - less than or equal to + * `[NOT] BETWEEN` - (not) between + * `[NOT] LIKE` - (not) like + * `[NOT] IN` - (not) in + * `ILIKE` - case-insensitive like + example: = type: string values: items: + example: FabricCloudRouter-1 type: string type: array type: object - PortExpressions: - items: - $ref: '#/components/schemas/PortExpression' - type: array - PortSearchFieldName: - description: Possible field names to use on filters - enum: - - /project/projectId - - /settings/productCode - - /state - type: string - PortSortCriteria: + CloudRouterOrFilter: + properties: + or: + items: + $ref: '#/components/schemas/CloudRouterSimpleExpression' + maxItems: 3 + type: array + type: object + CloudRouterSortCriteria: example: property: null direction: null properties: direction: - $ref: '#/components/schemas/PortSortDirection' + $ref: '#/components/schemas/CloudRouterSortDirection' property: - $ref: '#/components/schemas/PortSortBy' + $ref: '#/components/schemas/CloudRouterSortBy' type: object - GetAllConnectionRouteFiltersResponse: + CloudRouterSortDirection: + default: DESC + description: Sorting direction + enum: + - DESC + - ASC + type: string + CloudRouterSortBy: + default: /changeLog/updatedDateTime + description: Possible field names to use on sorting + enum: + - /name + - /uuid + - /state + - /location/metroCode + - /location/metroName + - /package/code + - /changeLog/createdDateTime + - /changeLog/updatedDateTime + type: string + SearchResponse: example: pagination: next: next @@ -33860,794 +41061,3622 @@ components: previous: previous limit: 0 data: - - attachmentStatus: ATTACHING - href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d - type: BGP_IPv4_PREFIX_FILTER - uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - direction: INBOUND - - attachmentStatus: ATTACHING - href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d - type: BGP_IPv4_PREFIX_FILTER - uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - direction: INBOUND + - bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + - bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 properties: pagination: $ref: '#/components/schemas/Pagination' data: - description: List of Route Filters attached to a Connection + description: Data returned from the API call. items: - $ref: '#/components/schemas/ConnectionRouteFilterData' + $ref: '#/components/schemas/CloudRouter' type: array type: object - RouteFilterId: - description: Route Filters UUID - example: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + PackageResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - staticIPv6RoutesMax: 0 + naclRulesMax: 5 + code: LAB + natType: STATIC_NAT + description: description + crCountMax: 3 + changeLog: + createdDateTime: 2020-11-06T07:00:00Z + updatedDateTime: 2020-11-06T07:00:00Z + type: ROUTER_PACKAGE + totalIPv4RoutesMax: 50 + haSupported: true + staticIPv4RoutesMax: 3 + vcBandwidthMax: 50 + naclsMax: 2 + totalIPv6RoutesMax: 50 + href: https://api.equinix.com/fabric/v4/routerPackages/LAB + vcCountMax: 10 + routeFilterSupported: true + - staticIPv6RoutesMax: 0 + naclRulesMax: 5 + code: LAB + natType: STATIC_NAT + description: description + crCountMax: 3 + changeLog: + createdDateTime: 2020-11-06T07:00:00Z + updatedDateTime: 2020-11-06T07:00:00Z + type: ROUTER_PACKAGE + totalIPv4RoutesMax: 50 + haSupported: true + staticIPv4RoutesMax: 3 + vcBandwidthMax: 50 + naclsMax: 2 + totalIPv6RoutesMax: 50 + href: https://api.equinix.com/fabric/v4/routerPackages/LAB + vcCountMax: 10 + routeFilterSupported: true + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: Data returned from the API call. + items: + $ref: '#/components/schemas/CloudRouterPackage' + type: array + type: object + RouterPackageCode: + description: Router package code + enum: + - LAB + - ADVANCED + - STANDARD + - PREMIUM type: string - ConnectionRouteFilterData: + CloudRouterPackage: + description: Fabric Cloud Router Package example: - attachmentStatus: ATTACHING - href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d - type: BGP_IPv4_PREFIX_FILTER - uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - direction: INBOUND + staticIPv6RoutesMax: 0 + naclRulesMax: 5 + code: LAB + natType: STATIC_NAT + description: description + crCountMax: 3 + changeLog: + createdDateTime: 2020-11-06T07:00:00Z + updatedDateTime: 2020-11-06T07:00:00Z + type: ROUTER_PACKAGE + totalIPv4RoutesMax: 50 + haSupported: true + staticIPv4RoutesMax: 3 + vcBandwidthMax: 50 + naclsMax: 2 + totalIPv6RoutesMax: 50 + href: https://api.equinix.com/fabric/v4/routerPackages/LAB + vcCountMax: 10 + routeFilterSupported: true properties: href: - description: Route Filter URI - example: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d + description: Cloud Router package URI + example: https://api.equinix.com/fabric/v4/routerPackages/LAB format: uri + readOnly: true type: string type: - description: Route Filter type + description: Type of Router package enum: - - BGP_IPv4_PREFIX_FILTER - - BGP_IPv6_PREFIX_FILTER - type: string - uuid: - description: Route Filter identifier - example: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - format: uuid + - ROUTER_PACKAGE + example: ROUTER_PACKAGE type: string - attachmentStatus: - enum: - - ATTACHING - - ATTACHED - - DETACHED - - DETACHING - - FAILED - - PENDING_BGP_CONFIGURATION + code: + $ref: '#/components/schemas/code' + description: + description: Fabric Cloud Router Package description type: string - direction: + totalIPv4RoutesMax: + description: Cloud Router package BGP IPv4 routes limit + example: 50 + minimum: 0 + type: integer + totalIPv6RoutesMax: + description: Cloud Router package BGP IPv6 routes limit + example: 50 + minimum: 0 + type: integer + staticIPv4RoutesMax: + description: CloudRouter package static IPv4 routes limit + example: 3 + minimum: 0 + type: integer + staticIPv6RoutesMax: + description: CloudRouter package static IPv6 routes limit + minimum: 0 + type: integer + naclsMax: + description: CloudRouter package NACLs limit + example: 2 + minimum: 0 + type: integer + naclRulesMax: + description: CloudRouter package NACLs rules limit + example: 5 + minimum: 0 + type: integer + haSupported: + description: CloudRouter package high-available configuration support + example: true + type: boolean + routeFilterSupported: + description: CloudRouter package route filter support + type: boolean + natType: + description: CloudRouter package NAT supported type enum: - - INBOUND - - OUTBOUND + - STATIC_NAT + example: STATIC_NAT type: string + vcCountMax: + description: CloudRouter package Max Connection limit + example: 10 + minimum: 0 + type: integer + crCountMax: + description: CloudRouter package Max CloudRouter limit + example: 3 + minimum: 0 + type: integer + vcBandwidthMax: + description: CloudRouter package Max Bandwidth limit + example: 50 + minimum: 0 + type: integer + changeLog: + $ref: '#/components/schemas/PackageChangeLog' type: object - ConnectionRouteFiltersBase: + HealthResponse: + description: GET Services Health example: - direction: INBOUND + apiServices: + changedDateTime: changedDateTime + route: route + status: status + release: release + href: href + state: state + version: version properties: - direction: - description: Route Filter direction to attach to a connection - enum: - - INBOUND - - OUTBOUND + href: + description: The Canonical URL at which the resource resides. type: string - required: - - direction - type: object - RouteFiltersBase: - example: - name: My-direct-route-1 - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: BGP_IPv4_PREFIX_FILTER - properties: - type: - description: Route Filter type - enum: - - BGP_IPv4_PREFIX_FILTER - - BGP_IPv6_PREFIX_FILTER + version: + description: Indicator of a version type: string - name: - example: My-direct-route-1 + release: + description: release details. type: string - description: - description: Customer-provided connection description + state: + description: status of a service type: string - project: - $ref: '#/components/schemas/Project' - required: - - name - - project - - type + apiServices: + $ref: '#/components/schemas/ApiServices' type: object - RouteFiltersData: + ConnectionResponse: + description: ValidateResponse example: - change: - href: https://openapi-generator.tech - type: BGP_IPv4_PREFIX_FILTER_UPDATE + data: + - bandwidth: 4004 + aSide: + internetAccess: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 + globalOrgId: globalOrgId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + redundancy: + priority: null + group: group + uuid: uuid + zSide: + internetAccess: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 + globalOrgId: globalOrgId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + - bandwidth: 4004 + aSide: + internetAccess: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 + globalOrgId: globalOrgId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + redundancy: + priority: null + group: group uuid: uuid - name: My-direct-route-1 - description: description - rulesCount: 0 - project: - href: https://api.equinix.com/resourceManager/v1/projects/567 - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d - state: null - type: BGP_IPv4_PREFIX_FILTER - notMatchedRuleAction: ALLOW - uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - connectionsCount: 0 - properties: - href: - description: Route Filter URI - example: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d - format: uri - type: string - type: - description: Route Filter type - enum: - - BGP_IPv4_PREFIX_FILTER - - BGP_IPv6_PREFIX_FILTER - type: string - uuid: - description: Route Filter identifier - example: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - format: uuid - type: string - name: - example: My-direct-route-1 - type: string - description: - description: Customer-provided connection description - type: string - state: - $ref: '#/components/schemas/RouteFilterState' - change: - $ref: '#/components/schemas/RouteFiltersChange' - notMatchedRuleAction: - enum: - - ALLOW - - DENY - type: string - connectionsCount: - example: 0 - type: integer - rulesCount: - example: 0 - type: integer - project: - $ref: '#/components/schemas/RouteFiltersData_project' - changelog: - $ref: '#/components/schemas/Changelog' - type: object - RouteFiltersPatchRequest: - description: Patch Route Filters request - items: - $ref: '#/components/schemas/RouteFiltersPatchRequestItem' - minItems: 1 - type: array - RouteFilterChangeDataResponse: - description: List of Route Filter changes - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - updatedBy: updatedBy - data: - op: add - path: / - value: - name: My-direct-route-1 - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: BGP_IPv4_PREFIX_FILTER - createdBy: createdBy - createdDateTime: 2000-01-23T04:56:07.000+00:00 - information: information - status: COMPLETED - updatedDateTime: 2000-01-23T04:56:07.000+00:00 - - updatedBy: updatedBy - data: - op: add - path: / - value: - name: My-direct-route-1 + zSide: + internetAccess: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 + globalOrgId: globalOrgId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: BGP_IPv4_PREFIX_FILTER - createdBy: createdBy - createdDateTime: 2000-01-23T04:56:07.000+00:00 - information: information - status: COMPLETED - updatedDateTime: 2000-01-23T04:56:07.000+00:00 - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - items: - $ref: '#/components/schemas/RouteFilterChangeData' - type: array - type: object - ChangeId_1: - description: Route Filters Change UUID - example: 6d500177-9404-41f2-99e8-2bf1a84d8db5 - format: uuid - type: string - RouteFilterChangeData: - allOf: - - $ref: '#/components/schemas/RouteFiltersChange' - description: Current state of latest Route Filter change - example: - updatedBy: updatedBy - data: - op: add - path: / - value: - name: My-direct-route-1 - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: BGP_IPv4_PREFIX_FILTER - createdBy: createdBy - createdDateTime: 2000-01-23T04:56:07.000+00:00 - information: information - status: COMPLETED - updatedDateTime: 2000-01-23T04:56:07.000+00:00 - properties: - status: - description: Current outcome of the change flow - enum: - - COMPLETED - - FAILED - - REQUESTED - type: string - createdBy: - description: Created by User Key - type: string - createdDateTime: - description: Set when change flow starts - format: date-time - type: string - updatedBy: - description: Updated by User Key - type: string - updatedDateTime: - description: Set when change object is updated - format: date-time - type: string - information: - description: Additional information - type: string - data: - $ref: '#/components/schemas/RouteFiltersChangeOperation' - type: object - GetRouteFilterGetConnectionsResponse: - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - name: connection-1 - href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f - type: null - uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - - name: connection-1 - href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f - type: null - uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: List of Connections using a Route Filter - items: - $ref: '#/components/schemas/RouteFilterConnectionsData' - type: array - type: object - RouteFiltersSearchBase: - example: - filter: - and: - - values: - - values - - values - property: /type - operator: operator - - values: - - values - - values - property: /type - operator: operator - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - sort: - - property: /changeLog/updatedDateTime - direction: DESC - - property: /changeLog/updatedDateTime - direction: DESC - properties: - filter: - $ref: '#/components/schemas/RouteFiltersSearchBase_filter' - pagination: - $ref: '#/components/schemas/Pagination' - sort: - items: - $ref: '#/components/schemas/SortItem' - type: array - type: object - RouteFiltersSearchFilterItem: - example: - values: - - values - - values - property: /type - operator: operator - properties: - property: - enum: - - /type - - /name - - /project/projectId - - /uuid - - /state - type: string - operator: - type: string - values: - items: - type: string - type: array - type: object - SortItem: - example: - property: /changeLog/updatedDateTime - direction: DESC - properties: - property: - default: /changeLog/updatedDateTime - description: Possible field names to use on sorting - enum: - - /type - - /uuid - - /name - - /project/projectId - - /state - - /notMatchedRuleAction - - /connectionsCount - - /changeLog/createdDateTime - - /changeLog/updatedDateTime - type: string - direction: - default: DESC - description: Sorting direction - enum: - - DESC - - ASC - type: string - type: object - RouteFiltersSearchResponse: - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - change: - href: https://openapi-generator.tech - type: BGP_IPv4_PREFIX_FILTER_UPDATE - uuid: uuid - name: My-direct-route-1 - description: description - rulesCount: 0 - project: - href: https://api.equinix.com/resourceManager/v1/projects/567 - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d - state: null - type: BGP_IPv4_PREFIX_FILTER - notMatchedRuleAction: ALLOW - uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - connectionsCount: 0 - - change: - href: https://openapi-generator.tech - type: BGP_IPv4_PREFIX_FILTER_UPDATE - uuid: uuid - name: My-direct-route-1 - description: description - rulesCount: 0 - project: - href: https://api.equinix.com/resourceManager/v1/projects/567 - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d - state: null - type: BGP_IPv4_PREFIX_FILTER - notMatchedRuleAction: ALLOW - uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - connectionsCount: 0 - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: List of Route Filters - items: - $ref: '#/components/schemas/RouteFiltersData' - type: array - type: object - GetRouteFilterRulesResponse: - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - prefix: 192.168.0.0/24 - change: - href: https://openapi-generator.tech - type: BGP_IPv4_PREFIX_FILTER_RULE_UPDATE - uuid: uuid - name: Private-subnet-filter-2 - description: description - action: PERMIT - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - prefixMatch: exact - href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d/routeFilterRules/65b025ef-022b-4180-85cf-82cfc1ab655b - state: null - type: BGP_IPv4_PREFIX_FILTER_RULE - uuid: 65b025ef-022b-4180-85cf-82cfc1ab655b - - prefix: 192.168.0.0/24 - change: - href: https://openapi-generator.tech - type: BGP_IPv4_PREFIX_FILTER_RULE_UPDATE - uuid: uuid - name: Private-subnet-filter-2 - description: description - action: PERMIT - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - prefixMatch: exact - href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d/routeFilterRules/65b025ef-022b-4180-85cf-82cfc1ab655b - state: null - type: BGP_IPv4_PREFIX_FILTER_RULE - uuid: 65b025ef-022b-4180-85cf-82cfc1ab655b + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + additionalInfo: + - value: value + key: key + - value: value + key: key properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: List of Route Filter Rules + additionalInfo: + description: Additional information items: - $ref: '#/components/schemas/RouteFilterRulesData' + $ref: '#/components/schemas/ConnectionSideAdditionalInfo' type: array - type: object - RouteFilterRulesBase: - example: - prefix: 192.168.0.0/24 - name: Private-subnet-filter - description: description - prefixMatch: "orlonger, exact" - properties: - name: - example: Private-subnet-filter - type: string - description: - description: Customer-provided Route Filter Rule description - type: string - prefix: - example: 192.168.0.0/24 - type: string - prefixMatch: - default: orlonger - example: "orlonger, exact" - type: string - required: - - prefix - type: object - RouteFilterRulesData: - example: - prefix: 192.168.0.0/24 - change: - href: https://openapi-generator.tech - type: BGP_IPv4_PREFIX_FILTER_RULE_UPDATE - uuid: uuid - name: Private-subnet-filter-2 - description: description - action: PERMIT - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - prefixMatch: exact - href: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d/routeFilterRules/65b025ef-022b-4180-85cf-82cfc1ab655b - state: null - type: BGP_IPv4_PREFIX_FILTER_RULE - uuid: 65b025ef-022b-4180-85cf-82cfc1ab655b - properties: - href: - description: Route Filter Rules URI - example: https://api.equinix.com/fabric/v4/routeFilters/695a8471-6595-4ac6-a2f4-b3d96ed3a59d/routeFilterRules/65b025ef-022b-4180-85cf-82cfc1ab655b - format: uri - type: string - type: - description: Route Filter type - enum: - - BGP_IPv4_PREFIX_FILTER_RULE - - BGP_IPv6_PREFIX_FILTER_RULE - type: string - uuid: - description: Route Filter Rule identifier - example: 65b025ef-022b-4180-85cf-82cfc1ab655b - format: uuid - type: string - name: - example: Private-subnet-filter-2 - type: string - description: - description: Customer-provided Route Filter Rule description - type: string - state: - $ref: '#/components/schemas/RouteFilterRuleState' - prefixMatch: - default: orlonger - description: prefix matching operator - example: exact - type: string - change: - $ref: '#/components/schemas/RouteFilterRulesChange' - action: - enum: - - PERMIT - - DENY - type: string - prefix: - example: 192.168.0.0/24 - type: string - changelog: - $ref: '#/components/schemas/Changelog' - type: object - RouteFilterRuleId: - description: Route Filter Rule UUID - example: 65b025ef-022b-4180-85cf-82cfc1ab655b - type: string - RouteFilterRulesPatchRequest: - description: Patch Route Filters Rule request - items: - $ref: '#/components/schemas/RouteFilterRulesPatchRequestItem' - minItems: 1 - type: array - RouteFilterRulesChangeDataResponse: - description: List of Route Filter Rule changes - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - updatedBy: updatedBy - data: - op: add - path: / - value: - prefix: 192.168.0.0/24 - name: Private-subnet-filter - description: description - prefixMatch: "orlonger, exact" - createdBy: createdBy - createdDateTime: 2000-01-23T04:56:07.000+00:00 - status: COMPLETED - updatedDateTime: 2000-01-23T04:56:07.000+00:00 - - updatedBy: updatedBy - data: - op: add - path: / - value: - prefix: 192.168.0.0/24 - name: Private-subnet-filter - description: description - prefixMatch: "orlonger, exact" - createdBy: createdBy - createdDateTime: 2000-01-23T04:56:07.000+00:00 - status: COMPLETED - updatedDateTime: 2000-01-23T04:56:07.000+00:00 - properties: - pagination: - $ref: '#/components/schemas/Pagination' data: + description: Connection response data items: - $ref: '#/components/schemas/RouteFilterRulesChangeData' + $ref: '#/components/schemas/ValidateConnectionResponse' type: array type: object - ChangeId_2: - description: Route Filter Rule Change UUID - example: 6d500177-9404-41f2-99e8-2bf1a84d8db5 - format: uuid - type: string - RouteFilterRulesChangeData: - allOf: - - $ref: '#/components/schemas/RouteFilterRulesChange' - description: Current state of latest Route Filter Rules change + Pagination: + description: Pagination response information example: - updatedBy: updatedBy - data: - op: add - path: / - value: - prefix: 192.168.0.0/24 - name: Private-subnet-filter - description: description - prefixMatch: "orlonger, exact" - createdBy: createdBy - createdDateTime: 2000-01-23T04:56:07.000+00:00 - status: COMPLETED - updatedDateTime: 2000-01-23T04:56:07.000+00:00 + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 properties: - status: - description: Current outcome of the change flow - enum: - - COMPLETED - - FAILED - - REQUESTED - type: string - createdBy: - description: Created by User Key - type: string - createdDateTime: - description: Set when change flow starts - format: date-time - type: string - updatedBy: - description: Updated by User Key + offset: + default: 0 + description: Index of the first item returned in the response. The default + is 0. + minimum: 0 + type: integer + limit: + default: 20 + description: "Maximum number of search results returned per page. Number\ + \ must be between 1 and 100, and the default is 20." + minimum: 0 + type: integer + total: + description: Total number of elements returned. + minimum: 0 + type: integer + next: + description: URL relative to the next item in the response. type: string - updatedDateTime: - description: Set when change object is updated - format: date-time + previous: + description: URL relative to the previous item in the response. type: string - data: - $ref: '#/components/schemas/RouteFilterRulesChangeOperation' - type: object - RouteFilterRulesPostRequest: - description: Create Route Filter Rule POST request - example: - data: - - prefix: 192.168.0.0/24 - name: Private-subnet-filter - description: description - prefixMatch: "orlonger, exact" - - prefix: 192.168.0.0/24 - name: Private-subnet-filter - description: description - prefixMatch: "orlonger, exact" - properties: - data: - description: Route Filter Rule configuration - items: - $ref: '#/components/schemas/RouteFilterRulesBase' - type: array + required: + - limit + - total type: object - CloudRouterPostRequest: - description: Create Cloud Router + NetworkPostRequest: + description: Create Network example: - package: - code: LAB - href: https://api.equinix.com/fabric/v4/routerPackages/LAB - type: ROUTER_PACKAGE + scope: null name: name project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 location: metroName: Amsterdam metroCode: AM - href: href + metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" - type: XF_ROUTER - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 + ibx: AM1 + type: null notifications: - emails: - emails @@ -34665,218 +44694,62 @@ components: - registeredUsers - registeredUsers type: BANDWIDTH_ALERT - order: - orderNumber: orderNumber - customerReferenceNumber: customerReferenceNumber - orderId: orderId - purchaseOrderNumber: purchaseOrderNumber - billingTier: billingTier properties: type: - enum: - - XF_ROUTER - type: string + $ref: '#/components/schemas/NetworkType' name: - description: Customer-provided Cloud Router name + description: Customer-provided network name type: string + scope: + $ref: '#/components/schemas/NetworkScope' location: - $ref: '#/components/schemas/SimplifiedLocationWithoutIBX' - package: - $ref: '#/components/schemas/CloudRouterPostRequestPackage' - order: - $ref: '#/components/schemas/Order' + $ref: '#/components/schemas/SimplifiedLocation' project: $ref: '#/components/schemas/Project' - account: - $ref: '#/components/schemas/SimplifiedAccount' notifications: - description: Preferences for notifications on connection configuration or - status changes + description: Preferences for notifications on network configuration or status + changes items: $ref: '#/components/schemas/SimplifiedNotification' type: array - marketplaceSubscription: - $ref: '#/components/schemas/marketplaceSubscription' - type: object - CloudRouter: - allOf: - - $ref: '#/components/schemas/CloudRouterPostRequest' - description: Fabric Cloud Router object - example: - bgpIpv4RoutesCount: 0 - equinixAsn: 30000 - change: - data: - op: replace - path: path - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: ROUTER_UPDATE - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - bgpIpv6RoutesCount: 0 - uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - connectionsCount: 0 - distinctIpv4PrefixesCount: 0 - name: test-fg-1 - distinctIpv6PrefixesCount: 0 - href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - state: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - properties: - href: - description: Cloud Routers URI - example: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - format: uri - readOnly: true - type: string - uuid: - description: Equinix-assigned access point identifier - example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - format: uuid - type: string - name: - description: Customer-provided Cloud Router name - example: test-fg-1 - format: string - type: string - state: - $ref: '#/components/schemas/CloudRouterAccessPointState' - equinixAsn: - description: Equinix ASN - example: 30000 - format: int64 - type: integer - bgpIpv4RoutesCount: - description: Access point used and maximum number of IPv4 BGP routes - minimum: 0 - type: integer - bgpIpv6RoutesCount: - description: Access point used and maximum number of IPv6 BGP routes - minimum: 0 - type: integer - connectionsCount: - description: Number of connections associated with this Access point - minimum: 0 - type: integer - distinctIpv4PrefixesCount: - description: Number of distinct ipv4 routes - minimum: 0 - type: integer - distinctIpv6PrefixesCount: - description: Number of distinct ipv6 routes - minimum: 0 - type: integer - marketplaceSubscription: - $ref: '#/components/schemas/marketplaceSubscription' - changeLog: - $ref: '#/components/schemas/Changelog' - change: - $ref: '#/components/schemas/CloudRouterChange' - type: object - RouterId: - description: Cloud Router UUID - example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 - format: uuid - type: string - CloudRouterUpdateRequest: - description: Fabric Cloud Router Update Request - items: - $ref: '#/components/schemas/CloudRouterChangeOperation' - minItems: 1 - type: array - RouterId_1: - description: Router UUID - example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 - format: uuid - type: string - ActionState: - $ref: '#/components/schemas/CloudRouterActionState' - CloudRouterActionState: - description: Cloud Router action state - enum: - - DONE - - FAILED - - PENDING - type: string - CloudRouterActionResponse: - description: Cloud Router actions response object - example: - description: description - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - state: null - type: null - uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 - properties: - type: - $ref: '#/components/schemas/CloudRouterActionType' - uuid: - example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 - format: uuid - type: string - description: - example: description - type: string - state: - $ref: '#/components/schemas/CloudRouterActionState' - changeLog: - $ref: '#/components/schemas/Changelog' - required: - - changeLog - - state - - type - - uuid - type: object - CloudRouterActionRequest: - description: Cloud Router action request - example: - type: null - properties: - type: - $ref: '#/components/schemas/CloudRouterActionType' required: + - name + - notifications + - scope - type type: object - RouteTableEntrySearchRequest: + Network: + allOf: + - $ref: '#/components/schemas/Network_allOf' + - $ref: '#/components/schemas/NetworkPostRequest' + description: Network specification + type: object + NetworkId: + description: Network UUID + example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + format: uuid + type: string + NetworkUpdateRequest: + description: Fabric Network Update Request + items: + $ref: '#/components/schemas/NetworkChangeOperation' + minItems: 1 + type: array + NetworkSearchRequest: description: Search requests containing criteria example: filter: - and: - - null + or: - null - null + and: - null - null + values: + - Network-1 + - Network-1 + property: /name + operator: = pagination: offset: 0 limit: 1 @@ -34887,104 +44760,113 @@ components: direction: null properties: filter: - $ref: '#/components/schemas/RouteTableEntryFilters' + $ref: '#/components/schemas/NetworkFilter' pagination: $ref: '#/components/schemas/PaginationRequest' sort: items: - $ref: '#/components/schemas/RouteTableEntrySortCriteria' + $ref: '#/components/schemas/NetworkSortCriteria' type: array type: object - RouteTableEntryFilters: + NetworkFilter: example: - and: - - null + or: - null - null + and: - null - null + values: + - Network-1 + - Network-1 + property: /name + operator: = properties: and: items: - $ref: '#/components/schemas/RouteTableEntryFilter' - maxItems: 8 + $ref: '#/components/schemas/NetworkFilter' + type: array + or: + items: + $ref: '#/components/schemas/NetworkFilter' type: array - type: object - RouteTableEntryFilter: - anyOf: - - $ref: '#/components/schemas/RouteTableEntrySimpleExpression' - - $ref: '#/components/schemas/RouteTableEntryOrFilter' - type: object - RouteTableEntrySimpleExpression: - properties: property: - description: | - Possible field names to use on filters: - * `/type` - Route table entry type - * `/prefix` - Route table entry prefix - * `/nextHop` - Route table entry nextHop - * `/state` - Route table entry state - * `/*` - all-category search - example: /type - type: string + $ref: '#/components/schemas/NetworkSearchFieldName' operator: - description: | - Possible operators to use on filters: - * `=` - equal - * `!=` - not equal - * `>` - greater than - * `>=` - greater than or equal to - * `<` - less than - * `<=` - less than or equal to - * `[NOT] BETWEEN` - (not) between - * `[NOT] LIKE` - (not) like - * `[NOT] IN` - (not) in - * `~*` - case-insensitive like + enum: + - = + - '!=' + - '>' + - '>=' + - < + - <= + - BETWEEN + - NOT BETWEEN + - LIKE + - NOT LIKE + - ILIKE + - NOT ILIKE + - IN + - NOT IN example: = type: string values: items: - example: IPv4_BGP_ROUTE + example: Network-1 type: string type: array type: object - RouteTableEntryOrFilter: - properties: - or: - items: - $ref: '#/components/schemas/RouteTableEntrySimpleExpression' - maxItems: 3 - type: array - type: object - RouteTableEntrySortCriteria: + NetworkSimpleExpression: + items: + $ref: '#/components/schemas/NetworkFilter' + type: array + NetworkSearchFieldName: + description: Possible field names to use on filters + enum: + - /name + - /uuid + - /scope + - /type + - /operation/equinixStatus + - /location/region + - /project/projectId + - /account/globalCustId + - /account/orgId + - /deletedDate + - /* + example: /name + type: string + NetworkSortCriteria: example: property: null direction: null properties: direction: - $ref: '#/components/schemas/RouteTableEntrySortDirection' + $ref: '#/components/schemas/NetworkSortDirection' property: - $ref: '#/components/schemas/RouteTableEntrySortBy' + $ref: '#/components/schemas/NetworkSortBy' type: object - RouteTableEntrySortDirection: + NetworkSortDirection: default: DESC description: Sorting direction enum: - DESC - ASC type: string - RouteTableEntrySortBy: + NetworkSortBy: default: /changeLog/updatedDateTime description: Possible field names to use on sorting enum: + - /name + - /uuid + - /scope + - /operation/equinixStatus + - /location/region - /changeLog/createdDateTime - /changeLog/updatedDateTime - - /prefix - - /nextHop - - /connection/name - - /type type: string - RouteTableEntrySearchResponse: + NetworkSearchResponse: + description: List of networks example: pagination: next: next @@ -34993,226 +44875,27 @@ components: previous: previous limit: 0 data: - - nextHop: 10.10.10.5 - metric: 5 - prefix: 192.168.10.0/24 - localPreference: 200 - asPath: - - 0 - - 0 - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - connection: - name: connection_1 - uuid: 81331c52-04c0-4656-a4a7-18c52669348f - protocolType: null - state: null - type: null - age: PT5M30S - - nextHop: 10.10.10.5 - metric: 5 - prefix: 192.168.10.0/24 - localPreference: 200 - asPath: - - 0 - - 0 - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - connection: - name: connection_1 - uuid: 81331c52-04c0-4656-a4a7-18c52669348f - protocolType: null - state: null - type: null - age: PT5M30S - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: Data returned from the API call. - items: - $ref: '#/components/schemas/RouteTableEntry' - type: array - type: object - ValidateRequest: - description: Validate connection auth api key or vlan - example: - filter: - and: - - values: - - values - - values - property: property - operator: operator - - values: - - values - - values - property: property - operator: operator - properties: - filter: - $ref: '#/components/schemas/ValidateRequest_filter' - type: object - ValidateSubnetResponse: - description: ValidateResponse - example: - additionalInfo: - - value: value - key: key - - value: value - key: key - properties: - additionalInfo: - description: Additional information - items: - $ref: '#/components/schemas/ConnectionSideAdditionalInfo' - type: array - type: object - CloudRouterSearchRequest: - description: Search requests containing criteria - example: - filter: - and: - - null - - null - - null - - null - - null - pagination: - offset: 0 - limit: 1 + - null + - null sort: - property: null direction: null - property: null direction: null properties: - filter: - $ref: '#/components/schemas/CloudRouterFilters' pagination: - $ref: '#/components/schemas/PaginationRequest' + $ref: '#/components/schemas/Pagination' sort: items: - $ref: '#/components/schemas/CloudRouterSortCriteria' - type: array - type: object - CloudRouterFilters: - example: - and: - - null - - null - - null - - null - - null - properties: - and: - items: - $ref: '#/components/schemas/CloudRouterFilter' - maxItems: 8 - type: array - type: object - CloudRouterFilter: - anyOf: - - $ref: '#/components/schemas/CloudRouterSimpleExpression' - - $ref: '#/components/schemas/CloudRouterOrFilter' - type: object - CloudRouterSimpleExpression: - properties: - property: - description: | - Possible field names to use on filters: - * `/project/projectId` - project id (mandatory) - * `/name` - Fabric Cloud Router name - * `/uuid` - Fabric Cloud Router uuid - * `/state` - Fabric Cloud Router status - * `/location/metroCode` - Fabric Cloud Router metro code - * `/location/metroName` - Fabric Cloud Router metro name - * `/package/code` - Fabric Cloud Router package - * `/*` - all-category search - example: /name - type: string - operator: - description: | - Possible operators to use on filters: - * `=` - equal - * `!=` - not equal - * `>` - greater than - * `>=` - greater than or equal to - * `<` - less than - * `<=` - less than or equal to - * `[NOT] BETWEEN` - (not) between - * `[NOT] LIKE` - (not) like - * `[NOT] IN` - (not) in - * `ILIKE` - case-insensitive like - example: = - type: string - values: - items: - example: FabricCloudRouter-1 - type: string + $ref: '#/components/schemas/NetworkSortCriteriaResponse' type: array - type: object - CloudRouterOrFilter: - properties: - or: + data: items: - $ref: '#/components/schemas/CloudRouterSimpleExpression' - maxItems: 3 + $ref: '#/components/schemas/Network' type: array type: object - CloudRouterSortCriteria: - example: - property: null - direction: null - properties: - direction: - $ref: '#/components/schemas/CloudRouterSortDirection' - property: - $ref: '#/components/schemas/CloudRouterSortBy' - type: object - CloudRouterSortDirection: - default: DESC - description: Sorting direction - enum: - - DESC - - ASC - type: string - CloudRouterSortBy: - default: /changeLog/updatedDateTime - description: Possible field names to use on sorting - enum: - - /name - - /uuid - - /state - - /location/metroCode - - /location/metroName - - /package/code - - /changeLog/createdDateTime - - /changeLog/updatedDateTime - type: string - SearchResponse: + NetworkConnections: + description: List of network changes example: pagination: next: next @@ -35221,57 +44904,835 @@ components: previous: previous limit: 0 data: - - bgpIpv4RoutesCount: 0 - equinixAsn: 30000 - change: - data: - op: replace - path: path - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: ROUTER_UPDATE - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - bgpIpv6RoutesCount: 0 - uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - connectionsCount: 0 - distinctIpv4PrefixesCount: 0 - name: test-fg-1 - distinctIpv6PrefixesCount: 0 - href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - state: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - - bgpIpv4RoutesCount: 0 - equinixAsn: 30000 + - bandwidth: 5637 + aSide: + internetAccess: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 + globalOrgId: globalOrgId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion change: data: - op: replace - path: path + op: add + path: /ipv6 value: "{}" createdDateTime: 2020-11-06T07:00:00Z information: information - type: ROUTER_UPDATE + type: CONNECTION_CREATION uuid: uuid - status: COMPLETED + status: APPROVED updatedDateTime: 2020-11-06T07:00:00Z + isRemote: true + description: description changeLog: createdByEmail: john.smith@example.com deletedByFullName: John Smith @@ -35285,222 +45746,904 @@ components: deletedBy: johnsmith deletedByEmail: john.smith@example.com updatedDateTime: 2020-11-06T07:00:00Z - bgpIpv6RoutesCount: 0 - uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - connectionsCount: 0 - distinctIpv4PrefixesCount: 0 - name: test-fg-1 - distinctIpv6PrefixesCount: 0 - href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: uuid + zSide: + internetAccess: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 + globalOrgId: globalOrgId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + name: name + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech state: null + geoScope: null + redundancy: + priority: null + group: group + operation: + operationalStatus: UP + opStatusChangedAt: 2020-11-06T07:00:00Z + equinixStatus: null + errors: + - help: help + errorMessage: errorMessage + additionalInfo: + - reason: reason + property: property + - reason: reason + property: property + errorCode: errorCode + correlationId: correlationId + details: details + - help: help + errorMessage: errorMessage + additionalInfo: + - reason: reason + property: property + - reason: reason + property: property + errorCode: errorCode + correlationId: correlationId + details: details + providerStatus: null marketplaceSubscription: href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 type: AWS_MARKETPLACE_SUBSCRIPTION uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: Data returned from the API call. - items: - $ref: '#/components/schemas/CloudRouter' - type: array - type: object - PackageResponse: - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - staticIPv6RoutesMax: 0 - naclRulesMax: 5 - code: LAB - natType: STATIC_NAT - description: description - crCountMax: 3 - changeLog: - createdDateTime: 2020-11-06T07:00:00Z - updatedDateTime: 2020-11-06T07:00:00Z - type: ROUTER_PACKAGE - totalIPv4RoutesMax: 50 - haSupported: true - staticIPv4RoutesMax: 3 - vcBandwidthMax: 50 - naclsMax: 2 - totalIPv6RoutesMax: 50 - href: https://api.equinix.com/fabric/v4/routerPackages/LAB - vcCountMax: 10 - routeFilterSupported: true - - staticIPv6RoutesMax: 0 - naclRulesMax: 5 - code: LAB - natType: STATIC_NAT - description: description - crCountMax: 3 - changeLog: - createdDateTime: 2020-11-06T07:00:00Z - updatedDateTime: 2020-11-06T07:00:00Z - type: ROUTER_PACKAGE - totalIPv4RoutesMax: 50 - haSupported: true - staticIPv4RoutesMax: 3 - vcBandwidthMax: 50 - naclsMax: 2 - totalIPv6RoutesMax: 50 - href: https://api.equinix.com/fabric/v4/routerPackages/LAB - vcCountMax: 10 - routeFilterSupported: true - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: Data returned from the API call. - items: - $ref: '#/components/schemas/CloudRouterPackage' - type: array - type: object - RouterPackageCode: - description: Router package code - enum: - - LAB - - ADVANCED - - STANDARD - - PREMIUM - type: string - CloudRouterPackage: - description: Fabric Cloud Router Package - example: - staticIPv6RoutesMax: 0 - naclRulesMax: 5 - code: LAB - natType: STATIC_NAT - description: description - crCountMax: 3 - changeLog: - createdDateTime: 2020-11-06T07:00:00Z - updatedDateTime: 2020-11-06T07:00:00Z - type: ROUTER_PACKAGE - totalIPv4RoutesMax: 50 - haSupported: true - staticIPv4RoutesMax: 3 - vcBandwidthMax: 50 - naclsMax: 2 - totalIPv6RoutesMax: 50 - href: https://api.equinix.com/fabric/v4/routerPackages/LAB - vcCountMax: 10 - routeFilterSupported: true - properties: - href: - description: Cloud Router package URI - example: https://api.equinix.com/fabric/v4/routerPackages/LAB - format: uri - readOnly: true - type: string - type: - description: Type of Router package - enum: - - ROUTER_PACKAGE - example: ROUTER_PACKAGE - type: string - code: - $ref: '#/components/schemas/code' - description: - description: Fabric Cloud Router Package description - type: string - totalIPv4RoutesMax: - description: Cloud Router package BGP IPv4 routes limit - example: 50 - minimum: 0 - type: integer - totalIPv6RoutesMax: - description: Cloud Router package BGP IPv6 routes limit - example: 50 - minimum: 0 - type: integer - staticIPv4RoutesMax: - description: CloudRouter package static IPv4 routes limit - example: 3 - minimum: 0 - type: integer - staticIPv6RoutesMax: - description: CloudRouter package static IPv6 routes limit - minimum: 0 - type: integer - naclsMax: - description: CloudRouter package NACLs limit - example: 2 - minimum: 0 - type: integer - naclRulesMax: - description: CloudRouter package NACLs rules limit - example: 5 - minimum: 0 - type: integer - haSupported: - description: CloudRouter package high-available configuration support - example: true - type: boolean - routeFilterSupported: - description: CloudRouter package route filter support - type: boolean - natType: - description: CloudRouter package NAT supported type - enum: - - STATIC_NAT - example: STATIC_NAT - type: string - vcCountMax: - description: CloudRouter package Max Connection limit - example: 10 - minimum: 0 - type: integer - crCountMax: - description: CloudRouter package Max CloudRouter limit - example: 3 - minimum: 0 - type: integer - vcBandwidthMax: - description: CloudRouter package Max Bandwidth limit - example: 50 - minimum: 0 - type: integer - changeLog: - $ref: '#/components/schemas/PackageChangeLog' - type: object - HealthResponse: - description: GET Services Health - example: - apiServices: - changedDateTime: changedDateTime - route: route - status: status - release: release - href: href - state: state - version: version - properties: - href: - description: The Canonical URL at which the resource resides. - type: string - version: - description: Indicator of a version - type: string - release: - description: release details. - type: string - state: - description: status of a service - type: string - apiServices: - $ref: '#/components/schemas/ApiServices' - type: object - ConnectionResponse: - description: ValidateResponse - example: - data: + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + order: + orderNumber: orderNumber + customerReferenceNumber: customerReferenceNumber + orderId: orderId + purchaseOrderNumber: purchaseOrderNumber + billingTier: billingTier + direction: null - bandwidth: 5637 aSide: internetAccess: @@ -35520,7 +46663,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -35537,23 +46679,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -35563,21 +46786,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -35726,7 +47023,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -35736,7 +47033,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -35762,7 +47059,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -35875,20 +47172,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -35896,8 +47191,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -35915,6 +47208,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -35925,7 +47221,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -35950,19 +47249,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -36002,9 +47307,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -36029,19 +47338,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -36081,9 +47396,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -36093,8 +47408,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -36137,10 +47455,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion change: data: @@ -36190,7 +47508,6 @@ components: id: 1 serviceToken: expirationDateTime: 2020-11-06T07:00:00Z - name: name description: description changelog: createdByEmail: john.smith@example.com @@ -36207,23 +47524,104 @@ components: updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name connection: allowRemoteConnection: false aSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -36233,21 +47631,95 @@ components: zSide: accessPointSelectors: - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 notifications: - emails: - emails @@ -36396,7 +47868,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -36406,7 +47878,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -36432,7 +47904,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -36545,20 +48017,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -36566,8 +48036,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -36585,6 +48053,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -36595,7 +48066,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -36620,19 +48094,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -36672,9 +48152,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -36699,19 +48183,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -36751,9 +48241,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -36763,8 +48253,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -36807,10 +48300,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion name: name additionalInfo: @@ -36891,113 +48384,211 @@ components: purchaseOrderNumber: purchaseOrderNumber billingTier: billingTier direction: null - - bandwidth: 5637 - aSide: - internetAccess: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - invitation: - ctrDraftOrderId: ctrDraftOrderId - message: "Hello, Please accept my invitation" - email: test@equinix.com - additionalInfo: - - value: value - key: key - - value: value - key: key - companyProfile: - name: Company-1 - globalOrgId: globalOrgId - id: 1 - serviceToken: - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + items: + $ref: '#/components/schemas/Connection' + type: array + type: object + NetworkChangeResponse: + description: List of network changes + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - data: + - op: replace + path: /name + value: "{}" + - op: replace + path: /name + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + status: null + updatedDateTime: 2020-11-06T07:00:00Z + - data: + - op: replace + path: /name + value: "{}" + - op: replace + path: /name + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + status: null + updatedDateTime: 2020-11-06T07:00:00Z + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + items: + $ref: '#/components/schemas/NetworkChange' + type: array + type: object + ChangeId_3: + description: Network Change UUID + example: 6d500177-9404-41f2-99e8-2bf1a84d8db5 + format: uuid + type: string + NetworkChange: + description: Current state of latest network change + example: + data: + - op: replace + path: /name + value: "{}" + - op: replace + path: /name + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + status: null + updatedDateTime: 2020-11-06T07:00:00Z + properties: + href: + description: Network URI + example: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + format: uri + readOnly: true + type: string + uuid: + description: Uniquely identifies a change + example: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + format: uuid + type: string + type: + $ref: '#/components/schemas/NetworkChangeType' + status: + $ref: '#/components/schemas/NetworkChangeStatus' + createdDateTime: + description: Set when change flow starts + example: 2020-11-06T07:00:00Z + format: date-time + type: string + updatedDateTime: + description: Set when change object is updated + example: 2020-11-06T07:00:00Z + format: date-time + type: string + data: + items: + $ref: '#/components/schemas/NetworkChangeOperation' + type: array + type: object + precisionTimeServiceRequest: + description: Create Precision Time Service Request Schema. + properties: + type: + description: Precision Time Service Type refers to the corresponding Protocol. + enum: + - NTP + - PTP + type: string + name: + description: Precision Time Service name. + type: string + package: + $ref: '#/components/schemas/precisionTimePackageRequest' + connections: + items: + $ref: '#/components/schemas/virtualConnectionUuid' + type: array + ipv4: + $ref: '#/components/schemas/ipv4' + ntpAdvancedConfiguration: + description: NTP Advanced configuration - MD5 Authentication. + items: + $ref: '#/components/schemas/md5' + type: array + ptpAdvancedConfiguration: + $ref: '#/components/schemas/ptpAdvanceConfiguration' + project: + $ref: '#/components/schemas/Project' + order: + $ref: '#/components/schemas/precisionTimeOrder' + required: + - connections + - ipv4 + - name + - package + - type + title: precisionTimeServiceRequest + type: object + precisionTimeServiceResponse: + description: Precision Time Service Response Schema. + example: + package: + href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD + type: TIME_SERVICE_PACKAGE + code: NTP_STANDARD + bandwidth: 10 + accuracySlaUnit: microseconds + accuracySla: 50 + accuracySlaMin: 1 + accuracySlaMax: 10 + clientsPerSecondMax: 100 + redundancySupported: true + multiSubnetSupported: true + changeLog: + createdDateTime: 2023-05-16T07:50:49.749Z + updatedDateTime: 2023-05-17T07:50:49.749Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + type: NTP + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + ipv4: + primary: 10.0.0.1 + secondary: 10.0.0.2 + networkMask: 255.255.255.240 + defaultGateway: 10.0.0.3 + name: name + ntpAdvancedConfiguration: + - keyNumber: 10 + type: ASCII + key: key + - keyNumber: 10 + type: ASCII + key: key + href: https://openapi-generator.tech + state: CANCELLED + ptpAdvancedConfiguration: + timeScale: ARB + grantTime: 300 + logDelayReqInterval: -4 + domain: 0 + logSyncInterval: -4 + priority2: 128 + transportMode: MULTICAST + priority1: 128 + logAnnounceInterval: 1 + connections: + - aSide: accessPoint: providerConnectionId: providerConnectionId interconnection: @@ -37116,7 +48707,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -37126,7 +48717,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -37152,7 +48743,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -37265,20 +48856,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -37286,8 +48875,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -37305,6 +48892,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -37315,7 +48905,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -37340,19 +48933,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -37392,9 +48991,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -37419,19 +49022,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -37471,9 +49080,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -37483,8 +49092,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -37527,147 +49139,15 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion - change: - data: - op: add - path: /ipv6 - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: CONNECTION_CREATION - uuid: uuid - status: APPROVED - updatedDateTime: 2020-11-06T07:00:00Z - isRemote: true - description: description - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: null - uuid: uuid + href: https://openapi-generator.tech + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 zSide: - internetAccess: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - invitation: - ctrDraftOrderId: ctrDraftOrderId - message: "Hello, Please accept my invitation" - email: test@equinix.com - additionalInfo: - - value: value - key: key - - value: value - key: key - companyProfile: - name: Company-1 - globalOrgId: globalOrgId - id: 1 - serviceToken: - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 accessPoint: providerConnectionId: providerConnectionId interconnection: @@ -37785,381 +49265,26 @@ components: key: sellerRegions ibxs: - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - virtualDevice: - name: name - href: https://openapi-generator.tech - type: EDGE - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - authenticationKey: authenticationKey - type: null - interface: - href: https://openapi-generator.tech - id: 3 - type: CLOUD - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - projectId: projectId - network: - change: - href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 - type: null - uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 - scope: null - name: My EVPLAN Network - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - links: - - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType - - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 - state: ACTIVE - type: null - uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 - operation: - equinixStatus: null - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - virtualNetwork: - href: https://openapi-generator.tech - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - router: - bgpIpv4RoutesCount: 0 - equinixAsn: 30000 - change: - data: - op: replace - path: path - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: ROUTER_UPDATE - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - bgpIpv6RoutesCount: 0 - uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - connectionsCount: 0 - distinctIpv4PrefixesCount: 0 - name: test-fg-1 - distinctIpv6PrefixesCount: 0 - href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - state: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - port: - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: null - interface: - ifIndex: ifIndex - name: name - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - physicalPortQuantity: 1 - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 9 - href: https://openapi-generator.tech - state: null - redundancy: - priority: null - enabled: true - group: group - settings: - product: product - productCode: productCode - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - bandwidth: 0 - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - physicalPorts: - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId - name: name - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - device: + - ibxs + vcBandwidthMax: 3 + displayName: displayName name: name - redundancy: - priority: PRIMARY - group: group + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 account: resellerOrgId: 5 organizationName: organizationName @@ -38173,501 +49298,391 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - vpic_interface: + authenticationKey: authenticationKey + type: null + interface: href: https://openapi-generator.tech + id: 5 + type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - peeringType: null - linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE type: null - vlanSTag: 3690 - sellerRegion: sellerRegion - name: name - additionalInfo: - - value: value - key: key - - value: value - key: key - href: https://openapi-generator.tech - state: null - geoScope: null - redundancy: - priority: null - group: group - operation: - operationalStatus: UP - opStatusChangedAt: 2020-11-06T07:00:00Z - equinixStatus: null - errors: - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - providerStatus: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - order: - orderNumber: orderNumber - customerReferenceNumber: customerReferenceNumber - orderId: orderId - purchaseOrderNumber: purchaseOrderNumber - billingTier: billingTier - direction: null - additionalInfo: - - value: value - key: key - - value: value - key: key - properties: - additionalInfo: - description: Additional information - items: - $ref: '#/components/schemas/ConnectionSideAdditionalInfo' - type: array - data: - description: Connection response data - items: - $ref: '#/components/schemas/Connection' - type: array - type: object - Pagination: - description: Pagination response information - example: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - properties: - offset: - default: 0 - description: Index of the first item returned in the response. The default - is 0. - minimum: 0 - type: integer - limit: - default: 20 - description: "Maximum number of search results returned per page. Number\ - \ must be between 1 and 100, and the default is 20." - minimum: 0 - type: integer - total: - description: Total number of elements returned. - minimum: 0 - type: integer - next: - description: URL relative to the next item in the response. - type: string - previous: - description: URL relative to the previous item in the response. - type: string - required: - - limit - - total - type: object - NetworkPostRequest: - description: Create Network - example: - scope: null - name: name - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: null - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - properties: - type: - $ref: '#/components/schemas/NetworkType' - name: - description: Customer-provided network name - type: string - scope: - $ref: '#/components/schemas/NetworkScope' - location: - $ref: '#/components/schemas/SimplifiedLocation' - project: - $ref: '#/components/schemas/Project' - notifications: - description: Preferences for notifications on network configuration or status - changes - items: - $ref: '#/components/schemas/SimplifiedNotification' - type: array - required: - - name - - notifications - - scope - - type - type: object - Network: - allOf: - - $ref: '#/components/schemas/Network_allOf' - - $ref: '#/components/schemas/NetworkPostRequest' - description: Network specification - type: object - NetworkId: - description: Network UUID - example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 - format: uuid - type: string - NetworkUpdateRequest: - description: Fabric Network Update Request - items: - $ref: '#/components/schemas/NetworkChangeOperation' - minItems: 1 - type: array - NetworkSearchRequest: - description: Search requests containing criteria - example: - filter: - or: - - null - - null - and: - - null - - null - values: - - Network-1 - - Network-1 - property: /name - operator: = - pagination: - offset: 0 - limit: 1 - sort: - - property: null - direction: null - - property: null - direction: null - properties: - filter: - $ref: '#/components/schemas/NetworkFilter' - pagination: - $ref: '#/components/schemas/PaginationRequest' - sort: - items: - $ref: '#/components/schemas/NetworkSortCriteria' - type: array - type: object - NetworkFilter: - example: - or: - - null - - null - and: - - null - - null - values: - - Network-1 - - Network-1 - property: /name - operator: = - properties: - and: - items: - $ref: '#/components/schemas/NetworkFilter' - type: array - or: - items: - $ref: '#/components/schemas/NetworkFilter' - type: array - property: - $ref: '#/components/schemas/NetworkSearchFieldName' - operator: - enum: - - = - - '!=' - - '>' - - '>=' - - < - - <= - - BETWEEN - - NOT BETWEEN - - LIKE - - NOT LIKE - - ILIKE - - NOT ILIKE - - IN - - NOT IN - example: = - type: string - values: - items: - example: Network-1 - type: string - type: array - type: object - NetworkSimpleExpression: - items: - $ref: '#/components/schemas/NetworkFilter' - type: array - NetworkSearchFieldName: - description: Possible field names to use on filters - enum: - - /name - - /uuid - - /scope - - /type - - /operation/equinixStatus - - /location/region - - /project/projectId - - /account/globalCustId - - /account/orgId - - /deletedDate - - /* - example: /name - type: string - NetworkSortCriteria: - example: - property: null - direction: null - properties: - direction: - $ref: '#/components/schemas/NetworkSortDirection' - property: - $ref: '#/components/schemas/NetworkSortBy' - type: object - NetworkSortDirection: - default: DESC - description: Sorting direction - enum: - - DESC - - ASC - type: string - NetworkSortBy: - default: /changeLog/updatedDateTime - description: Possible field names to use on sorting - enum: - - /name - - /uuid - - /scope - - /operation/equinixStatus - - /location/region - - /changeLog/createdDateTime - - /changeLog/updatedDateTime - type: string - NetworkSearchResponse: - description: List of networks - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - null - - null - sort: - - property: null - direction: null - - property: null - direction: null - properties: - pagination: - $ref: '#/components/schemas/Pagination' - sort: - items: - $ref: '#/components/schemas/NetworkSortCriteriaResponse' - type: array - data: - items: - $ref: '#/components/schemas/Network' - type: array - type: object - NetworkConnections: - description: List of network changes - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - bandwidth: 5637 - aSide: - internetAccess: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - invitation: - ctrDraftOrderId: ctrDraftOrderId - message: "Hello, Please accept my invitation" - email: test@equinix.com - additionalInfo: - - value: value - key: key - - value: value - key: key - companyProfile: - name: Company-1 - globalOrgId: globalOrgId - id: 1 - serviceToken: - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: href: https://openapi-generator.tech - type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT account: resellerOrgId: 5 organizationName: organizationName @@ -38681,6 +49696,14 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + - aSide: accessPoint: providerConnectionId: providerConnectionId interconnection: @@ -38799,7 +49822,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -38809,7 +49832,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -38835,7 +49858,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -38948,20 +49971,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -38969,8 +49990,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -38988,6 +50007,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -38998,7 +50020,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -39023,19 +50048,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -39075,9 +50106,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -39102,19 +50137,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -39132,212 +50173,72 @@ components: notifications: - registeredUsers: - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId - name: name - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - device: - name: name - redundancy: - priority: PRIMARY - group: group - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - vpic_interface: - href: https://openapi-generator.tech - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - peeringType: null - linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 - type: null - vlanSTag: 3690 - sellerRegion: sellerRegion - change: - data: - op: add - path: /ipv6 - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: CONNECTION_CREATION - uuid: uuid - status: APPROVED - updatedDateTime: 2020-11-06T07:00:00Z - isRemote: true - description: description - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: null - uuid: uuid - zSide: - internetAccess: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - invitation: - ctrDraftOrderId: ctrDraftOrderId - message: "Hello, Please accept my invitation" - email: test@equinix.com - additionalInfo: - - value: value - key: key - - value: value - key: key - companyProfile: - name: Company-1 - globalOrgId: globalOrgId - id: 1 - serviceToken: - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: href: https://openapi-generator.tech - type: EVPL_VC uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT account: resellerOrgId: 5 organizationName: organizationName @@ -39351,6 +50252,17 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + href: https://openapi-generator.tech + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + zSide: accessPoint: providerConnectionId: providerConnectionId interconnection: @@ -39469,7 +50381,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -39479,7 +50391,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -39505,7 +50417,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -39618,20 +50530,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -39639,8 +50549,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -39658,6 +50566,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -39668,7 +50579,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -39693,19 +50607,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -39745,9 +50665,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -39772,19 +50696,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -39824,9 +50754,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -39836,8 +50766,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -39880,398 +50813,849 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion - name: name - additionalInfo: - - value: value - key: key - - value: value - key: key - href: https://openapi-generator.tech - state: null - geoScope: null - redundancy: - priority: null - group: group - operation: - operationalStatus: UP - opStatusChangedAt: 2020-11-06T07:00:00Z - equinixStatus: null - errors: - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - providerStatus: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - order: - orderNumber: orderNumber - customerReferenceNumber: customerReferenceNumber - orderId: orderId - purchaseOrderNumber: purchaseOrderNumber - billingTier: billingTier + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + order: + orderNumber: orderNumber + customerReferenceNumber: customerReferenceNumber + purchaseOrderNumber: purchaseOrderNumber + properties: + href: + description: Precision Time Service URI. + format: uri + type: string + type: + description: Precision Time Service type refers to the corresponding protocol. + enum: + - NTP + - PTP + type: string + name: + description: Precision Time Service Name. + type: string + uuid: + description: Precision Time Service UUID. + format: uuid + type: string + state: + description: Precision Time Service Status. + enum: + - CANCELLED + - CONFIGURING + - CONFIGURING_FAILED + - DRAFT + - DEPROVISIONING + - DEPROVISIONING_FAILED + - DEPROVISIONED + - PROVISIONED + - PROVISIONING + - PROVISIONING_FAILED + - REPROVISIONING + - REPROVISIONING_FAILED + type: string + package: + $ref: '#/components/schemas/precisionTimePackageResponse' + connections: + description: Fabric Connections associated with Precision Time Service. + items: + $ref: '#/components/schemas/virtualConnectionTimeServiceResponse' + maxItems: 2 + minItems: 1 + type: array + uniqueItems: true + ipv4: + $ref: '#/components/schemas/ipv4' + ntpAdvancedConfiguration: + description: NTP Advanced configuration - MD5 Authentication. + items: + $ref: '#/components/schemas/md5' + type: array + ptpAdvancedConfiguration: + $ref: '#/components/schemas/ptpAdvanceConfiguration' + project: + $ref: '#/components/schemas/Project' + account: + $ref: '#/components/schemas/SimplifiedAccount' + order: + $ref: '#/components/schemas/precisionTimeOrder' + changeLog: + $ref: '#/components/schemas/Changelog' + required: + - href + - package + - state + - type + - uuid + title: precisionTimeServiceResponse + type: object + ServiceId: + description: Precision Time Service UUID + example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + format: uuid + type: string + precisionTimeChangeOperation: + description: Fabric Precision Timing change operation data + properties: + op: + description: Handy shortcut for operation name + enum: + - replace + - add + - remove + type: string + path: + description: path inside document leading to updated parameter + enum: + - /name + - /package/code + - /ipv4 + - /ntpAdvancedConfiguration + - /ptpAdvancedConfiguration + type: string + value: + description: new value for updated parameter + type: object + required: + - op + - path + - value + type: object + TimeServicesSearchRequest: + description: Search requests containing criteria + example: + filter: + and: + - null + - null + - null + - null + - null + pagination: + offset: 0 + limit: 1 + sort: + - property: null direction: null - - bandwidth: 5637 - aSide: - internetAccess: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - invitation: - ctrDraftOrderId: ctrDraftOrderId - message: "Hello, Please accept my invitation" - email: test@equinix.com - additionalInfo: - - value: value - key: key - - value: value - key: key - companyProfile: - name: Company-1 - globalOrgId: globalOrgId - id: 1 - serviceToken: - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - accessPoint: - providerConnectionId: providerConnectionId - interconnection: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - profile: - visibility: null - customFields: - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - description: offering connectivity to my-network - marketingInfo: - logo: logo - promotion: true - processSteps: - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - type: L2_PROFILE - ports: - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - accessPointTypeConfigs: - - null - - null - selfProfile: true - tags: - - tags - - tags - allowedEmails: - - allowedEmails - - allowedEmails - virtualDevices: - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - property: null + direction: null + properties: + filter: + $ref: '#/components/schemas/TimeServiceFilters' + pagination: + $ref: '#/components/schemas/PaginationRequest' + sort: + items: + $ref: '#/components/schemas/TimeServiceSortCriteria' + type: array + type: object + TimeServiceFilters: + example: + and: + - null + - null + - null + - null + - null + properties: + and: + items: + $ref: '#/components/schemas/TimeServiceFilter' + maxItems: 8 + type: array + type: object + TimeServiceFilter: + anyOf: + - $ref: '#/components/schemas/TimeServiceSimpleExpression' + - $ref: '#/components/schemas/TimeServiceOrFilter' + type: object + TimeServiceSimpleExpression: + properties: + property: + description: | + Possible field names to use on filters: + * `/project/projectId` - project id (mandatory) + * `/name` - Precision Time Service name + * `/uuid` - Precision Time Service uuid + * `/type` - Precision Time Service protocol + * `/state` - Precision Time Service status + * `/account/accountNumber` - Precision Time Service account number + * `/package/code` - Precision Time Service package + * `/*` - all-category search + example: /name + type: string + operator: + description: | + Possible operators to use on filters: + * `=` - equal + * `!=` - not equal + * `[NOT] BETWEEN` - (not) between + * `[NOT] LIKE` - (not) like + * `[NOT] IN` - (not) in + * `ILIKE` - case-insensitive like + example: = + type: string + values: + items: + example: FabricPrecisionTimeService-1 + type: string + type: array + type: object + TimeServiceOrFilter: + properties: + or: + items: + $ref: '#/components/schemas/TimeServiceSimpleExpression' + maxItems: 3 + type: array + type: object + TimeServiceSortCriteria: + example: + property: null + direction: null + properties: + direction: + $ref: '#/components/schemas/TimeServiceSortDirection' + property: + $ref: '#/components/schemas/TimeServiceSortBy' + type: object + TimeServiceSortDirection: + default: DESC + description: Sorting direction + enum: + - DESC + - ASC + type: string + TimeServiceSortBy: + default: /changeLog/updatedDateTime + description: Possible field names to use on sorting + enum: + - /name + - /uuid + - /state + - /type + - /package/code + - /changeLog/createdDateTime + - /changeLog/updatedDateTime + type: string + ServiceSearchResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - package: + href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD + type: TIME_SERVICE_PACKAGE + code: NTP_STANDARD + bandwidth: 10 + accuracySlaUnit: microseconds + accuracySla: 50 + accuracySlaMin: 1 + accuracySlaMax: 10 + clientsPerSecondMax: 100 + redundancySupported: true + multiSubnetSupported: true + changeLog: + createdDateTime: 2023-05-16T07:50:49.749Z + updatedDateTime: 2023-05-17T07:50:49.749Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + type: NTP + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + ipv4: + primary: 10.0.0.1 + secondary: 10.0.0.2 + networkMask: 255.255.255.240 + defaultGateway: 10.0.0.3 + name: name + ntpAdvancedConfiguration: + - keyNumber: 10 + type: ASCII + key: key + - keyNumber: 10 + type: ASCII + key: key + href: https://openapi-generator.tech + state: CANCELLED + ptpAdvancedConfiguration: + timeScale: ARB + grantTime: 300 + logDelayReqInterval: -4 + domain: 0 + logSyncInterval: -4 + priority2: 128 + transportMode: MULTICAST + priority1: 128 + logAnnounceInterval: 1 + connections: + - aSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - name: Sample Service Profile - href: https://openapi-generator.tech - projectId: projectId - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - metros: - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - virtualDevice: - name: name - href: https://openapi-generator.tech - type: EDGE - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - authenticationKey: authenticationKey - type: null - interface: - href: https://openapi-generator.tech - id: 3 - type: CLOUD - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - projectId: projectId - network: - change: - href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 - type: null - uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 - scope: null - name: My EVPLAN Network - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - links: - - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType - - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 - state: ACTIVE - type: null - uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 - operation: - equinixStatus: null + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 account: resellerOrgId: 5 organizationName: organizationName @@ -40285,110 +51669,312 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - virtualNetwork: - href: https://openapi-generator.tech - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - router: - bgpIpv4RoutesCount: 0 - equinixAsn: 30000 - change: - data: - op: replace - path: path - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: ROUTER_UPDATE - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - bgpIpv6RoutesCount: 0 - uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - connectionsCount: 0 - distinctIpv4PrefixesCount: 0 - name: test-fg-1 - distinctIpv6PrefixesCount: 0 - href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - state: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - port: - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + href: https://openapi-generator.tech + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + zSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey type: null interface: - ifIndex: ifIndex - name: name - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - physicalPortQuantity: 1 - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 9 - href: https://openapi-generator.tech - state: null - redundancy: - priority: null - enabled: true - group: group - settings: - product: product - productCode: productCode - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - bandwidth: 0 - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - physicalPorts: - - demarcationPoint: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -40397,6 +51983,10 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 tether: patchPanel: patchPanel systemName: systemName @@ -40405,27 +51995,760 @@ components: cabinetNumber: cabinetNumber ibx: ibx crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + - aSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null - interfaceType: interfaceType + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 6 + id: 1 href: https://openapi-generator.tech state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group account: resellerOrgId: 5 organizationName: organizationName @@ -40439,35 +52762,334 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - interfaceSpeed: 0 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + href: https://openapi-generator.tech + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + zSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId notifications: - - registeredUsers: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: - registeredUsers - registeredUsers - type: NOTIFICATION - - registeredUsers: + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: - registeredUsers - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -40476,6 +53098,10 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 tether: patchPanel: patchPanel systemName: systemName @@ -40484,27 +53110,835 @@ components: cabinetNumber: cabinetNumber ibx: ibx crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + order: + orderNumber: orderNumber + customerReferenceNumber: customerReferenceNumber + purchaseOrderNumber: purchaseOrderNumber + - package: + href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD + type: TIME_SERVICE_PACKAGE + code: NTP_STANDARD + bandwidth: 10 + accuracySlaUnit: microseconds + accuracySla: 50 + accuracySlaMin: 1 + accuracySlaMax: 10 + clientsPerSecondMax: 100 + redundancySupported: true + multiSubnetSupported: true + changeLog: + createdDateTime: 2023-05-16T07:50:49.749Z + updatedDateTime: 2023-05-17T07:50:49.749Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + type: NTP + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + ipv4: + primary: 10.0.0.1 + secondary: 10.0.0.2 + networkMask: 255.255.255.240 + defaultGateway: 10.0.0.3 + name: name + ntpAdvancedConfiguration: + - keyNumber: 10 + type: ASCII + key: key + - keyNumber: 10 + type: ASCII + key: key + href: https://openapi-generator.tech + state: CANCELLED + ptpAdvancedConfiguration: + timeScale: ARB + grantTime: 300 + logDelayReqInterval: -4 + domain: 0 + logSyncInterval: -4 + priority2: 128 + transportMode: MULTICAST + priority1: 128 + logAnnounceInterval: 1 + connections: + - aSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null - interfaceType: interfaceType + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 6 + id: 1 href: https://openapi-generator.tech state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group account: resellerOrgId: 5 organizationName: organizationName @@ -40518,51 +53952,15 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId - name: name location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - device: - name: name - redundancy: - priority: PRIMARY - group: group + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 account: resellerOrgId: 5 organizationName: organizationName @@ -40576,372 +53974,552 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - vpic_interface: - href: https://openapi-generator.tech - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - peeringType: null - linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + href: https://openapi-generator.tech + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + zSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey type: null - vlanSTag: 3690 - sellerRegion: sellerRegion - change: - data: - op: add - path: /ipv6 - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: CONNECTION_CREATION - uuid: uuid - status: APPROVED - updatedDateTime: 2020-11-06T07:00:00Z - isRemote: true - description: description - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: null - uuid: uuid - zSide: - internetAccess: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - invitation: - ctrDraftOrderId: ctrDraftOrderId - message: "Hello, Please accept my invitation" - email: test@equinix.com - additionalInfo: - - value: value - key: key - - value: value - key: key - companyProfile: - name: Company-1 - globalOrgId: globalOrgId - id: 1 - serviceToken: - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - accessPoint: - providerConnectionId: providerConnectionId - interconnection: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - profile: - visibility: null - customFields: - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - description: offering connectivity to my-network - marketingInfo: - logo: logo - promotion: true - processSteps: - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - type: L2_PROFILE - ports: - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - accessPointTypeConfigs: - - null - - null - selfProfile: true - tags: - - tags - - tags - allowedEmails: - - allowedEmails - - allowedEmails - virtualDevices: - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - name: Sample Service Profile - href: https://openapi-generator.tech - projectId: projectId - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - metros: - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - virtualDevice: - name: name - href: https://openapi-generator.tech - type: EDGE - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - authenticationKey: authenticationKey - type: null - interface: - href: https://openapi-generator.tech - id: 3 - type: CLOUD - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - projectId: projectId - network: - change: - href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 - type: null - uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 - scope: null - name: My EVPLAN Network - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - links: - - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType - - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 - state: ACTIVE - type: null - uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 - operation: - equinixStatus: null + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 account: resellerOrgId: 5 organizationName: organizationName @@ -40955,110 +54533,309 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - virtualNetwork: - href: https://openapi-generator.tech - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - router: - bgpIpv4RoutesCount: 0 - equinixAsn: 30000 - change: - data: - op: replace - path: path - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: ROUTER_UPDATE - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - bgpIpv6RoutesCount: 0 - uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - connectionsCount: 0 - distinctIpv4PrefixesCount: 0 - name: test-fg-1 - distinctIpv6PrefixesCount: 0 - href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - state: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - port: - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + - aSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey type: null interface: - ifIndex: ifIndex - name: name - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - physicalPortQuantity: 1 - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 9 - href: https://openapi-generator.tech - state: null - redundancy: - priority: null - enabled: true - group: group - settings: - product: product - productCode: productCode - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - bandwidth: 0 - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - physicalPorts: - - demarcationPoint: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -41067,6 +54844,10 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 tether: patchPanel: patchPanel systemName: systemName @@ -41075,27 +54856,204 @@ components: cabinetNumber: cabinetNumber ibx: ibx crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group account: resellerOrgId: 5 organizationName: organizationName @@ -41109,35 +55067,334 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - interfaceSpeed: 0 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + href: https://openapi-generator.tech + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + zSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId notifications: - - registeredUsers: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: - registeredUsers - registeredUsers - type: NOTIFICATION - - registeredUsers: + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: - registeredUsers - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -41146,6 +55403,10 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 tether: patchPanel: patchPanel systemName: systemName @@ -41154,27 +55415,204 @@ components: cabinetNumber: cabinetNumber ibx: ibx crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group account: resellerOrgId: 5 organizationName: organizationName @@ -41188,152 +55626,35 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId - name: name location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" - ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - device: - name: name - redundancy: - priority: PRIMARY - group: group - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - vpic_interface: - href: https://openapi-generator.tech - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - peeringType: null - linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 - type: null - vlanSTag: 3690 - sellerRegion: sellerRegion - name: name - additionalInfo: - - value: value - key: key - - value: value - key: key - href: https://openapi-generator.tech - state: null - geoScope: null - redundancy: - priority: null - group: group - operation: - operationalStatus: UP - opStatusChangedAt: 2020-11-06T07:00:00Z - equinixStatus: null - errors: - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - providerStatus: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion account: resellerOrgId: 5 organizationName: organizationName @@ -41350,20 +55671,18 @@ components: order: orderNumber: orderNumber customerReferenceNumber: customerReferenceNumber - orderId: orderId purchaseOrderNumber: purchaseOrderNumber - billingTier: billingTier - direction: null properties: pagination: $ref: '#/components/schemas/Pagination' data: + description: Data returned from the API call. items: - $ref: '#/components/schemas/Connection' + $ref: '#/components/schemas/precisionTimeServiceResponse' type: array type: object - NetworkChangeResponse: - description: List of network changes + precisionTimeServiceConnectionsResponse: + description: EPT service instance's L2 connections example: pagination: next: next @@ -41372,266 +55691,492 @@ components: previous: previous limit: 0 data: - - data: - - op: replace - path: /name - value: "{}" - - op: replace - path: /name - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 - type: null - uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 - status: null - updatedDateTime: 2020-11-06T07:00:00Z - - data: - - op: replace - path: /name - value: "{}" - - op: replace - path: /name - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 - type: null - uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 - status: null - updatedDateTime: 2020-11-06T07:00:00Z + - href: https://api.equinix.com/fabric/v4/timeServices/92dc376a-a932-43aa-a6a2-c806dedbd784/connections + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - href: https://api.equinix.com/fabric/v4/timeServices/92dc376a-a932-43aa-a6a2-c806dedbd784/connections + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: pagination: $ref: '#/components/schemas/Pagination' data: + description: Data returned from the API call items: - $ref: '#/components/schemas/NetworkChange' + $ref: '#/components/schemas/connectionLink' type: array + title: precisionTimeServiceConnectionResponse type: object - ChangeId_3: - description: Network Change UUID - example: 6d500177-9404-41f2-99e8-2bf1a84d8db5 + precisionTimeServicePackagesResponse: + description: Precision Packages + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD + type: TIME_SERVICE_PACKAGE + code: NTP_STANDARD + bandwidth: 10 + accuracySlaUnit: microseconds + accuracySla: 50 + accuracySlaMin: 1 + accuracySlaMax: 10 + clientsPerSecondMax: 100 + redundancySupported: true + multiSubnetSupported: true + changeLog: + createdDateTime: 2023-05-16T07:50:49.749Z + updatedDateTime: 2023-05-17T07:50:49.749Z + - href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD + type: TIME_SERVICE_PACKAGE + code: NTP_STANDARD + bandwidth: 10 + accuracySlaUnit: microseconds + accuracySla: 50 + accuracySlaMin: 1 + accuracySlaMax: 10 + clientsPerSecondMax: 100 + redundancySupported: true + multiSubnetSupported: true + changeLog: + createdDateTime: 2023-05-16T07:50:49.749Z + updatedDateTime: 2023-05-17T07:50:49.749Z + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: Data returned from the API call + items: + $ref: '#/components/schemas/precisionTimePackageResponse' + type: array + title: precisionTimeServicePackagesResponse + type: object + precisionTimePackageResponse: + description: EPT Service Package Information + example: + href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD + type: TIME_SERVICE_PACKAGE + code: NTP_STANDARD + bandwidth: 10 + accuracySlaUnit: microseconds + accuracySla: 50 + accuracySlaMin: 1 + accuracySlaMax: 10 + clientsPerSecondMax: 100 + redundancySupported: true + multiSubnetSupported: true + changeLog: + createdDateTime: 2023-05-16T07:50:49.749Z + updatedDateTime: 2023-05-17T07:50:49.749Z + properties: + href: + format: uri + type: string + type: + enum: + - TIME_SERVICE_PACKAGE + type: string + code: + enum: + - NTP_STANDARD + - NTP_ENTERPRISE + - PTP_STANDARD + - PTP_ENTERPRISE + type: string + bandwidth: + description: Connection bandwidth in Mbps. + example: 10 + type: integer + clientsPerSecondMax: + description: Max. number of clients that can be synchronized per second + at a packet rate of 1 per second. + example: 100 + minimum: 0 + type: integer + redundancySupported: + description: Is Redundant virtual connection supported for the package code. + example: false + type: boolean + multiSubnetSupported: + description: Is Multiple subnet supported for the package code. + example: true + type: boolean + accuracySlaUnit: + description: Accuracy SLA unit. + example: microseconds + type: string + accuracySla: + description: "Accuracy SLA for the package code, -1 value denotes the accuracySla\ + \ is not published." + example: 50 + type: integer + accuracySlaMin: + description: Typical minimum Accuracy for the package code. + example: 1 + minimum: 1 + type: integer + accuracySlaMax: + description: Typical maximum Accuracy for the package code. + example: 10 + minimum: 1 + type: integer + changelog: + $ref: '#/components/schemas/Changelog' + required: + - bandwidth + - code + - type + title: precisionTimePackageRespose + type: object + SubscriptionId: + description: Subscription Id + example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 format: uuid type: string - NetworkChange: - description: Current state of latest network change + SubscriptionResponse: + description: Subscription Response example: - data: - - op: replace - path: /name - value: "{}" - - op: replace - path: /name - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 - type: null - uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 - status: null - updatedDateTime: 2020-11-06T07:00:00Z + isAutoRenew: true + entitlements: + - quantityAvailable: 0 + quantityEntitled: 0 + quantityConsumed: 0 + asset: + package: + code: ADVANCED + bandwidth: 5 + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - quantityAvailable: 0 + quantityEntitled: 0 + quantityConsumed: 0 + asset: + package: + code: ADVANCED + bandwidth: 5 + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + offerType: PUBLIC + marketplace: AWS + offerId: offerId + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + href: https://openapi-generator.tech + state: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + trial: + expiryDateTime: 2000-01-23T04:56:07.000+00:00 + enabled: true + subscriptionKey: subscriptionKey properties: href: - description: Network URI - example: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + description: Subscription URL format: uri - readOnly: true type: string uuid: - description: Uniquely identifies a change - example: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + description: Unique identifier of the Subscription format: uuid type: string - type: - $ref: '#/components/schemas/NetworkChangeType' - status: - $ref: '#/components/schemas/NetworkChangeStatus' - createdDateTime: - description: Set when change flow starts - example: 2020-11-06T07:00:00Z - format: date-time + state: + $ref: '#/components/schemas/SubscriptionState' + marketplace: + description: Marketplace Type + enum: + - AWS + - GCP + - AZURE + - REDHAT type: string - updatedDateTime: - description: Set when change object is updated - example: 2020-11-06T07:00:00Z - format: date-time + offerType: + description: Marketplace Offer Type + enum: + - PUBLIC + - PRIVATE_OFFER type: string - data: + isAutoRenew: + description: Is Auto Renewal Enabled + example: true + type: boolean + offerId: + description: Marketplace Offer Id + type: string + trial: + $ref: '#/components/schemas/SubscriptionTrial' + subscriptionKey: + description: Subscription Key + type: string + entitlements: + description: List of entitlements associated with the subscription items: - $ref: '#/components/schemas/NetworkChangeOperation' + $ref: '#/components/schemas/SubscriptionEntitlementResponse' type: array + changelog: + $ref: '#/components/schemas/Changelog' + required: + - entitlements + - marketplace + - state type: object - ServiceId: - description: Precision Time Service UUID - example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 - format: uuid + x-preview: false + SubscriptionState: + description: Subscription State + enum: + - ACTIVE + - EXPIRED + - CANCELLED + - GRACE_PERIOD type: string - precisionTimeServiceCreateResponse: - description: EPT service instance + SubscriptionTrial: + description: Free Trial Subscription + example: + expiryDateTime: 2000-01-23T04:56:07.000+00:00 + enabled: true + properties: + enabled: + description: Free Trial Enabled + type: boolean + expiryDateTime: + description: Free Trial Expiry Date + format: date-time + type: string + type: object + SubscriptionEntitlementResponse: + description: Subscription entitlement + example: + quantityAvailable: 0 + quantityEntitled: 0 + quantityConsumed: 0 + asset: + package: + code: ADVANCED + bandwidth: 5 + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + uuid: + description: Subscription Entitlement Id + format: uuid + type: string + quantityEntitled: + description: Quantity entitled for the subscription + minimum: 0 + type: integer + quantityConsumed: + description: Quantity consumed from the entitlement + minimum: 0 + type: integer + quantityAvailable: + description: Quantity available from the entitlement + minimum: 0 + type: integer + asset: + $ref: '#/components/schemas/SubscriptionAsset' + type: object + SubscriptionAsset: + description: Asset information example: - advanceConfiguration: - ntp: - - password: password - id: 0 - type: ASCII - - password: password - id: 0 - type: ASCII - ptp: - timeScale: ARB - grantTime: 300 - logDelayReqInterval: 0 - domain: 0 - logSyncInterval: 0 - priority2: 0 - transportMode: Multicast - priority1: 0 - logAnnounceInterval: 0 package: - href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD - code: NTP_STANDARD - type: TIME_SERVICE_PACKAGE - bandwidth: 10 - accuracyUnit: microseconds - accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 - clientsPerSecondMax: 100 - redundancySupported: true - multiSubnetSupported: true - changeLog: - createdDateTime: 2023-05-16T07:50:49.749Z - updatedDateTime: 2023-05-17T07:50:49.749Z - ipv4: - primary: 10.0.0.1 - secondary: 10.0.0.2 - networkMask: 255.255.255.240 - defaultGateway: 10.0.0.3 + code: ADVANCED + bandwidth: 5 + type: type + properties: + type: + description: "Type of the subscription asset ( XF_ROUTER ,IP_VC, IPWAN_VC\ + \ )" + type: string + package: + $ref: '#/components/schemas/SubscriptionRouterPackageType' + bandwidth: + description: Bandwidth of the asset in Mbps + type: integer + type: object + SubscriptionRouterPackageType: + description: Cloud Router Package Type + example: + code: ADVANCED + properties: + code: + description: Cloud Router package code + enum: + - ADVANCED + - STANDARD + type: string + type: object + GetAllStreamResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - assetsCount: 1 + streamSubscriptionsCount: 2 + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/streams/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: PROVISIONING + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + - assetsCount: 1 + streamSubscriptionsCount: 2 + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/streams/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: PROVISIONING + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: Data returned from the API call. + items: + $ref: '#/components/schemas/Stream' + type: array + type: object + StreamPostRequest: + description: Create Stream + example: name: name description: description project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - href: https://openapi-generator.tech - state: PROVISIONED - type: NTP - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - connections: - - uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f - - uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f - account: - accountNumber: 123456 + type: TELEMETRY_STREAM + enabled: true properties: type: enum: - - NTP - - PTP - type: string - href: - format: uri - type: string - uuid: - description: uuid of the ept service - format: uuid + - TELEMETRY_STREAM type: string name: - description: name of the ept service + description: Customer-provided stream name type: string description: + description: Customer-provided stream description type: string - state: - description: indicate service state - enum: - - PROVISIONED - - PROVISIONING - - PROVISIONING_FAILED - - CONFIGURING - - CANCELLED - - DEPROVISIONING_FAILED - - PENDING_CONFIGURATION - - DEPROVISIONED - - CONFIGURING_FAILED - - DEPROVISIONING - type: string - package: - $ref: '#/components/schemas/precisionTimePackageResponse' - connections: - description: fabric l2 connections used for the ept service - items: - $ref: '#/components/schemas/fabricConnectionUuid' - maxItems: 2 - minItems: 1 - type: array - uniqueItems: true - ipv4: - $ref: '#/components/schemas/ipv4' - account: - $ref: '#/components/schemas/account' - advanceConfiguration: - $ref: '#/components/schemas/advanceConfiguration' project: $ref: '#/components/schemas/Project' - required: - - href - - ipv4 - - package - - state - - type - - uuid - title: precisionTimeServiceResponse + enabled: + description: Stream enabled status + example: true + type: boolean type: object - precisionTimeChangeOperation: - description: Fabric Precision Timing change operation data + Stream: + allOf: + - $ref: '#/components/schemas/StreamPostRequest' + description: Stream object + example: + assetsCount: 1 + streamSubscriptionsCount: 2 + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/streams/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: PROVISIONING + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 properties: - op: - description: Handy shortcut for operation name - enum: - - replace + href: + description: Stream URI + example: https://api.equinix.com/fabric/v4/streams/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + format: uri + readOnly: true type: string - path: - description: path inside document leading to updated parameter + uuid: + description: Equinix-assigned access point identifier + example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + format: uuid + type: string + state: + description: Stream provision state enum: - - /name - - /package/code + - PROVISIONING + - PROVISIONED + - DEPROVISIONING + - DEPROVISIONED + - FAILED type: string - value: - description: new value for updated parameter - type: object - required: - - op - - path - - value + assetsCount: + description: Stream assets count + example: 1 + type: integer + streamSubscriptionsCount: + description: Stream subscriptions count + example: 2 + type: integer + changelog: + $ref: '#/components/schemas/Changelog' type: object - precisionTimeServiceRequest: - description: EPT service instance + StreamId: + description: Stream UUID + example: 657400f8-d360-11e9-bb65-2a2ae2dbcce5 + format: uuid + type: string + StreamPutRequest: + description: Update Stream + example: + name: name + description: description + enabled: true properties: - type: - description: Indicate the entity is EPT service - enum: - - NTP - - PTP - type: string name: + description: Customer-provided stream name type: string description: + description: Customer-provided stream description type: string - package: - $ref: '#/components/schemas/precisionTimePackageRequest' - connections: - items: - $ref: '#/components/schemas/fabricConnectionUuid' - type: array - ipv4: - $ref: '#/components/schemas/ipv4' - advanceConfiguration: - $ref: '#/components/schemas/advanceConfiguration' - project: - $ref: '#/components/schemas/Project' - required: - - connections - - ipv4 - - name - - package - - type - title: precisionTimeServiceRequest + enabled: + description: stream state + example: true + type: boolean type: object - TimeServicesSearchRequest: + StreamAssetSearchRequest: description: Search requests containing criteria example: filter: @@ -41651,15 +56196,15 @@ components: direction: null properties: filter: - $ref: '#/components/schemas/TimeServiceFilters' + $ref: '#/components/schemas/StreamAssetFilters' pagination: $ref: '#/components/schemas/PaginationRequest' sort: items: - $ref: '#/components/schemas/TimeServiceSortCriteria' + $ref: '#/components/schemas/StreamAssetSortCriteria' type: array type: object - TimeServiceFilters: + StreamAssetFilters: example: and: - null @@ -41670,27 +56215,23 @@ components: properties: and: items: - $ref: '#/components/schemas/TimeServiceFilter' + $ref: '#/components/schemas/StreamAssetFilter' maxItems: 8 type: array type: object - TimeServiceFilter: + StreamAssetFilter: anyOf: - - $ref: '#/components/schemas/TimeServiceSimpleExpression' - - $ref: '#/components/schemas/TimeServiceOrFilter' + - $ref: '#/components/schemas/StreamAssetSimpleExpression' + - $ref: '#/components/schemas/StreamAssetOrFilter' type: object - TimeServiceSimpleExpression: + StreamAssetSimpleExpression: properties: property: description: | Possible field names to use on filters: - * `/project/projectId` - project id (mandatory) - * `/name` - Precision Time Service name - * `/uuid` - Precision Time Service uuid - * `/type` - Precision Time Service protocol - * `/state` - Precision Time Service status - * `/account/accountNumber` - Precision Time Service account number - * `/package/code` - Precision Time Service package + * `/uuid` - Asset uuid + * `/streamUuid` - Stream uuid + * `/projectId` - Asset projectId * `/*` - all-category search example: /name type: string @@ -41699,784 +56240,2142 @@ components: Possible operators to use on filters: * `=` - equal * `!=` - not equal + * `>` - greater than + * `>=` - greater than or equal to + * `<` - less than + * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `ILIKE` - case-insensitive like example: = type: string - values: + values: + items: + example: FabricStreamAsset-1 + type: string + type: array + type: object + StreamAssetOrFilter: + properties: + or: + items: + $ref: '#/components/schemas/StreamAssetSimpleExpression' + maxItems: 3 + type: array + type: object + StreamAssetSortCriteria: + example: + property: null + direction: null + properties: + direction: + $ref: '#/components/schemas/StreamAssetSortDirection' + property: + $ref: '#/components/schemas/StreamAssetSortBy' + type: object + StreamAssetSortDirection: + default: DESC + description: Sorting direction + enum: + - DESC + - ASC + type: string + StreamAssetSortBy: + default: /uuid + description: Possible field names to use on sorting + enum: + - /uuid + type: string + GetAllStreamAssetResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - metricsEnabled: false + attachmentStatus: ATTACHING + href: https://openapi-generator.tech + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + - metricsEnabled: false + attachmentStatus: ATTACHING + href: https://openapi-generator.tech + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: Data returned from the API call. + items: + $ref: '#/components/schemas/StreamAsset' + type: array + type: object + AssetId: + description: Stream Asset UUID + example: 757400f8-d360-11e9-bb65-2a2ae2dbcce6 + format: uuid + type: string + Asset: + enum: + - ports + - connections + - routers + - metros + type: string + StreamAsset: + description: Stream object + example: + metricsEnabled: false + attachmentStatus: ATTACHING + href: https://openapi-generator.tech + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + properties: + href: + description: Stream Asset URI + format: uri + readOnly: true + type: string + uuid: + description: Equinix-assigned access point identifier + example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + format: uuid + type: string + metricsEnabled: + description: enable metric + example: false + type: boolean + attachmentStatus: + description: asset status + enum: + - ATTACHING + - ATTACHED + - DETACHED + - DETACHING + - FAILED + type: string + type: object + StreamAssetPutRequest: + description: Update Stream Asset + example: + metricsEnabled: false + properties: + metricsEnabled: + description: enable metric + example: false + type: boolean + type: object + GetSubscriptionsInStreamResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - href: https://openapi-generator.tech + type: STREAM_SUBSCRIPTION + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + - href: https://openapi-generator.tech + type: STREAM_SUBSCRIPTION + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: Data returned from the API call. + items: + $ref: '#/components/schemas/StreamGetSubscriptions' + type: array + type: object + GetAllStreamSubscriptionResponse: + example: + pagination: + next: next + total: 0 + offset: 0 + previous: previous + limit: 0 + data: + - stream: + uuid: 657400f8-d360-11e9-bb65-2a2ae2dbcce5 + sink: + batchSizeMax: 0 + settings: + applicationKey: applicationKey + metricIndex: metricIndex + eventIndex: eventIndex + source: source + credential: + apiKey: apiKey + type: ACCESS_TOKEN + accessToken: accessToken + integrationKey: integrationKey + batchWaitTimeMax: 6 + type: DATADOG + uri: uri + batchEnabled: false + name: name + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/streamSubscription/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: PROVISIONING + filters: + and: + - null + - null + - null + - null + - null + type: STREAM_SUBSCRIPTION + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + enabled: true + - stream: + uuid: 657400f8-d360-11e9-bb65-2a2ae2dbcce5 + sink: + batchSizeMax: 0 + settings: + applicationKey: applicationKey + metricIndex: metricIndex + eventIndex: eventIndex + source: source + credential: + apiKey: apiKey + type: ACCESS_TOKEN + accessToken: accessToken + integrationKey: integrationKey + batchWaitTimeMax: 6 + type: DATADOG + uri: uri + batchEnabled: false + name: name + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/streamSubscription/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: PROVISIONING + filters: + and: + - null + - null + - null + - null + - null + type: STREAM_SUBSCRIPTION + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + enabled: true + properties: + pagination: + $ref: '#/components/schemas/Pagination' + data: + description: Data returned from the API call. + items: + $ref: '#/components/schemas/StreamSubscription' + type: array + type: object + StreamSubscriptionPostRequest: + description: Create Stream Subscription + example: + stream: + uuid: 657400f8-d360-11e9-bb65-2a2ae2dbcce5 + sink: + batchSizeMax: 0 + settings: + applicationKey: applicationKey + metricIndex: metricIndex + eventIndex: eventIndex + source: source + credential: + apiKey: apiKey + type: ACCESS_TOKEN + accessToken: accessToken + integrationKey: integrationKey + batchWaitTimeMax: 6 + type: DATADOG + uri: uri + batchEnabled: false + name: name + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + filters: + and: + - null + - null + - null + - null + - null + type: STREAM_SUBSCRIPTION + enabled: true + properties: + type: + enum: + - STREAM_SUBSCRIPTION + type: string + name: + description: Customer-provided stream subscription name + type: string + description: + description: Customer-provided stream subscription description + type: string + project: + $ref: '#/components/schemas/Project' + enabled: + description: Stream subscription enabled status + example: true + type: boolean + stream: + $ref: '#/components/schemas/StreamTarget' + filters: + $ref: '#/components/schemas/StreamSubscriptionFilter' + sink: + $ref: '#/components/schemas/StreamSubscriptionSink' + type: object + StreamSubscriptionFilter: + example: + and: + - null + - null + - null + - null + - null + properties: + and: + items: + $ref: '#/components/schemas/StreamFilter' + maxItems: 8 + type: array + type: object + StreamFilter: + anyOf: + - $ref: '#/components/schemas/StreamFilterSimpleExpression' + - $ref: '#/components/schemas/StreamFilterOrFilter' + type: object + StreamFilterSimpleExpression: + properties: + property: + description: | + Possible field names to use on filters: + * `/subject` - subject + * `/type` - type + example: /equinixproject + type: string + operator: + description: | + Possible operators to use on filters: + * `=` - equal + * `in` - in + * `LIKE` - case-sensitive like + * `ILIKE` - case-insensitive like + example: = + type: string + values: + items: + type: string + type: array + type: object + StreamFilterOrFilter: + properties: + or: + items: + $ref: '#/components/schemas/StreamFilterSimpleExpression' + maxItems: 3 + type: array + type: object + StreamSubscriptionSink: + description: Create Stream destination + example: + batchSizeMax: 0 + settings: + applicationKey: applicationKey + metricIndex: metricIndex + eventIndex: eventIndex + source: source + credential: + apiKey: apiKey + type: ACCESS_TOKEN + accessToken: accessToken + integrationKey: integrationKey + batchWaitTimeMax: 6 + type: DATADOG + uri: uri + batchEnabled: false + properties: + uri: + description: any publicly reachable http endpoint + type: string + type: + description: destination type + enum: + - DATADOG + - PAGERDUTY + - SPLUNK_HEC + - SLACK + - TEAMS + - CUSTOM + type: string + batchEnabled: + description: batch mode on/off + example: false + type: boolean + batchSizeMax: + description: maximum batch size + type: integer + batchWaitTimeMax: + description: maximum batch waiting time + type: integer + credential: + $ref: '#/components/schemas/StreamSubscriptionSinkCredential' + settings: + $ref: '#/components/schemas/StreamSubscriptionSinkSetting' + type: object + StreamSubscriptionSinkCredential: + description: Stream subscription sink credentials + example: + apiKey: apiKey + type: ACCESS_TOKEN + accessToken: accessToken + integrationKey: integrationKey + properties: + type: + description: credential type + enum: + - ACCESS_TOKEN + - INTEGRATION_KEY + - API_KEY + type: string + accessToken: + description: passed as Authorization header value + type: string + integrationKey: + description: passed as Authorization header value + type: string + apiKey: + description: passed as Authorization header value + type: string + type: object + StreamSubscriptionSinkSetting: + description: Stream subscription sink settings + example: + applicationKey: applicationKey + metricIndex: metricIndex + eventIndex: eventIndex + source: source + properties: + eventIndex: + description: event index + type: string + metricIndex: + description: metric index + type: string + source: + description: source + type: string + applicationKey: + description: Application key + type: string + type: object + StreamSubscription: + description: Stream Subscription object + example: + stream: + uuid: 657400f8-d360-11e9-bb65-2a2ae2dbcce5 + sink: + batchSizeMax: 0 + settings: + applicationKey: applicationKey + metricIndex: metricIndex + eventIndex: eventIndex + source: source + credential: + apiKey: apiKey + type: ACCESS_TOKEN + accessToken: accessToken + integrationKey: integrationKey + batchWaitTimeMax: 6 + type: DATADOG + uri: uri + batchEnabled: false + name: name + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + href: https://api.equinix.com/fabric/v4/streamSubscription/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: PROVISIONING + filters: + and: + - null + - null + - null + - null + - null + type: STREAM_SUBSCRIPTION + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + enabled: true + properties: + href: + description: Stream Subscription URI + example: https://api.equinix.com/fabric/v4/streamSubscription/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + format: uri + readOnly: true + type: string + uuid: + description: Equinix-assigned access point identifier + example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + format: uuid + type: string + type: + description: type + enum: + - STREAM_SUBSCRIPTION + type: string + name: + description: Customer-provided subscription name + type: string + description: + description: Customer-provided subscription description + type: string + project: + $ref: '#/components/schemas/Project' + state: + description: Steam subscription provision state + enum: + - PROVISIONING + - PROVISIONED + - DEPROVISIONING + - DEPROVISIONED + - FAILED + type: string + enabled: + description: Stream subscription enabled status + type: boolean + stream: + $ref: '#/components/schemas/StreamTarget' + filters: + $ref: '#/components/schemas/StreamSubscriptionFilter' + sink: + $ref: '#/components/schemas/StreamSubscriptionSink' + changelog: + $ref: '#/components/schemas/Changelog' + type: object + StreamSubscriptionId: + description: Stream Subscription UUID + example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + format: uuid + type: string + StreamSubscriptionPutRequest: + description: Update Stream Subscription + example: + stream: + uuid: 657400f8-d360-11e9-bb65-2a2ae2dbcce5 + sink: + batchSizeMax: 0 + settings: + applicationKey: applicationKey + metricIndex: metricIndex + eventIndex: eventIndex + source: source + credential: + apiKey: apiKey + type: ACCESS_TOKEN + accessToken: accessToken + integrationKey: integrationKey + batchWaitTimeMax: 6 + type: DATADOG + uri: uri + batchEnabled: false + name: name + description: description + filters: + and: + - null + - null + - null + - null + - null + enabled: true + properties: + name: + description: Customer-provided stream subscription name + type: string + description: + description: Customer-provided stream subscription description + type: string + stream: + $ref: '#/components/schemas/StreamTarget' + enabled: + description: Stream subscription enabled status + example: true + type: boolean + filters: + $ref: '#/components/schemas/StreamSubscriptionFilter' + sink: + $ref: '#/components/schemas/StreamSubscriptionSink' + type: object + ConnectionType: + description: Connection type + enum: + - EVPL_VC + - EPL_VC + - EC_VC + - IP_VC + - ACCESS_EPL_VC + - EIA_VC + - EVPLAN_VC + - EPLAN_VC + - IPWAN_VC + - IA_VC + type: string + Order: + example: + orderNumber: orderNumber + customerReferenceNumber: customerReferenceNumber + orderId: orderId + purchaseOrderNumber: purchaseOrderNumber + billingTier: billingTier + properties: + purchaseOrderNumber: + description: Purchase order number + type: string + customerReferenceNumber: + description: Customer reference number + type: string + billingTier: + description: Billing tier for connection bandwidth + type: string + orderId: + description: Order Identification + type: string + orderNumber: + description: Order Reference Number + type: string + type: object + SimplifiedNotification: + example: + emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + properties: + type: + description: Notification Type + enum: + - NOTIFICATION + - BANDWIDTH_ALERT + - CONNECTION_APPROVAL + - PROFILE_LIFECYCLE + - ALL + - SALES_REP_NOTIFICATIONS + example: BANDWIDTH_ALERT + type: string + sendInterval: + type: string + emails: + description: Array of contact emails items: - example: FabricPrecisionTimeService-1 + format: email type: string type: array - type: object - TimeServiceOrFilter: - properties: - or: + registeredUsers: + description: Array of registered users items: - $ref: '#/components/schemas/TimeServiceSimpleExpression' - maxItems: 3 + type: string type: array + required: + - emails + - type type: object - TimeServiceSortCriteria: + ConnectionRedundancy: + description: Connection redundancy configuration example: - property: null - direction: null + priority: null + group: group properties: - direction: - $ref: '#/components/schemas/TimeServiceSortDirection' - property: - $ref: '#/components/schemas/TimeServiceSortBy' + group: + description: Redundancy group identifier (UUID of primary connection) + type: string + priority: + $ref: '#/components/schemas/ConnectionPriority' type: object - TimeServiceSortDirection: - default: DESC - description: Sorting direction - enum: - - DESC - - ASC - type: string - TimeServiceSortBy: - default: /changeLog/updatedDateTime - description: Possible field names to use on sorting - enum: - - /name - - /uuid - - /state - - /type - - /package/code - - /changeLog/createdDateTime - - /changeLog/updatedDateTime - type: string - ServiceSearchResponse: + ConnectionSide: + description: Connection configuration object for each side of multi-segment + connection example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - advanceConfiguration: - ntp: - - password: password - id: 0 - type: ASCII - - password: password - id: 0 - type: ASCII - ptp: - timeScale: ARB - grantTime: 300 - logDelayReqInterval: 0 - domain: 0 - logSyncInterval: 0 - priority2: 0 - transportMode: Multicast - priority1: 0 - logAnnounceInterval: 0 - package: - href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD - code: NTP_STANDARD - type: TIME_SERVICE_PACKAGE - bandwidth: 10 - accuracyUnit: microseconds - accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 - clientsPerSecondMax: 100 - redundancySupported: true - multiSubnetSupported: true - changeLog: - createdDateTime: 2023-05-16T07:50:49.749Z - updatedDateTime: 2023-05-17T07:50:49.749Z + internetAccess: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 + globalOrgId: globalOrgId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z project: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: NTP + type: null uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ipv4: - primary: 10.0.0.1 - secondary: 10.0.0.2 - networkMask: 255.255.255.240 - defaultGateway: 10.0.0.3 + issuerSide: ASIDE name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech - state: PROVISIONED - connections: - - uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f - - uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT account: - accountNumber: 123456 - order: - orderNumber: orderNumber - customerReferenceNumber: customerReferenceNumber - orderId: orderId - purchaseOrderNumber: purchaseOrderNumber - billingTier: billingTier - - advanceConfiguration: - ntp: - - password: password - id: 0 - type: ASCII - - password: password - id: 0 - type: ASCII - ptp: - timeScale: ARB - grantTime: 300 - logDelayReqInterval: 0 - domain: 0 - logSyncInterval: 0 - priority2: 0 - transportMode: Multicast - priority1: 0 - logAnnounceInterval: 0 - package: - href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD - code: NTP_STANDARD - type: TIME_SERVICE_PACKAGE - bandwidth: 10 - accuracyUnit: microseconds - accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 - clientsPerSecondMax: 100 - redundancySupported: true - multiSubnetSupported: true + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z changeLog: - createdDateTime: 2023-05-16T07:50:49.749Z - updatedDateTime: 2023-05-17T07:50:49.749Z - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: NTP - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ipv4: - primary: 10.0.0.1 - secondary: 10.0.0.2 - networkMask: 255.255.255.240 - defaultGateway: 10.0.0.3 - name: name - href: https://openapi-generator.tech - state: PROVISIONED - connections: - - uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f - - uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f - account: - accountNumber: 123456 - order: - orderNumber: orderNumber - customerReferenceNumber: customerReferenceNumber - orderId: orderId - purchaseOrderNumber: purchaseOrderNumber - billingTier: billingTier - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: Data returned from the API call. - items: - $ref: '#/components/schemas/precisionTimeServiceResponse' - type: array - type: object - precisionTimeServiceConnectionsResponse: - description: EPT service instance's L2 connections - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - href: https://api.equinix.com/fabric/v4/timeServices/92dc376a-a932-43aa-a6a2-c806dedbd784/connections - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - href: https://api.equinix.com/fabric/v4/timeServices/92dc376a-a932-43aa-a6a2-c806dedbd784/connections - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: Data returned from the API call - items: - $ref: '#/components/schemas/connectionLink' - type: array - title: precisionTimeServiceConnectionResponse - type: object - precisionTimeServicePackagesResponse: - description: Precision Packages - example: - pagination: - next: next - total: 0 - offset: 0 - previous: previous - limit: 0 - data: - - href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD - code: NTP_STANDARD - type: TIME_SERVICE_PACKAGE - bandwidth: 10 - accuracyUnit: microseconds - accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 - clientsPerSecondMax: 100 - redundancySupported: true - multiSubnetSupported: true - changeLog: - createdDateTime: 2023-05-16T07:50:49.749Z - updatedDateTime: 2023-05-17T07:50:49.749Z - - href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD - code: NTP_STANDARD - type: TIME_SERVICE_PACKAGE - bandwidth: 10 - accuracyUnit: microseconds - accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 - clientsPerSecondMax: 100 - redundancySupported: true - multiSubnetSupported: true - changeLog: - createdDateTime: 2023-05-16T07:50:49.749Z - updatedDateTime: 2023-05-17T07:50:49.749Z - properties: - pagination: - $ref: '#/components/schemas/Pagination' - data: - description: Data returned from the API call - items: - $ref: '#/components/schemas/precisionTimePackageResponse' - type: array - title: precisionTimeServicePackagesResponse - type: object - precisionTimePackageResponse: - description: EPT Service Package Information - example: - href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD - code: NTP_STANDARD - type: TIME_SERVICE_PACKAGE - bandwidth: 10 - accuracyUnit: microseconds - accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 - clientsPerSecondMax: 100 - redundancySupported: true - multiSubnetSupported: true - changeLog: - createdDateTime: 2023-05-16T07:50:49.749Z - updatedDateTime: 2023-05-17T07:50:49.749Z - properties: - href: - format: uri - type: string - code: - enum: - - NTP_STANDARD - - NTP_ENTERPRISE - - PTP_STANDARD - - PTP_ENTERPRISE - type: string - type: - enum: - - TIME_SERVICE_PACKAGE - type: string - bandwidth: - example: 10 - type: integer - clientsPerSecondMax: - example: 100 - type: integer - redundancySupported: - example: true - type: boolean - multiSubnetSupported: - example: true - type: boolean - accuracyUnit: - example: microseconds - type: string - accuracySla: - example: 50 - type: integer - accuracyAvgMin: - example: 1 - type: integer - accuracyAvgMax: - example: 10 - type: integer - changelog: - $ref: '#/components/schemas/Changelog' - required: - - code - title: precisionTimePackageRespose - type: object - SubscriptionId: - description: Subscription Id - example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 - format: uuid - type: string - SubscriptionResponse: - description: Subscription - example: - isAutoRenew: true - entitlements: - - quantityAvailable: 0 - quantityEntitled: 0 - quantityConsumed: 0 - asset: - package: - code: ADVANCED - bandwidth: 5 + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - quantityAvailable: 0 - quantityEntitled: 0 - quantityConsumed: 0 - asset: + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx package: - code: ADVANCED - bandwidth: 5 + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - offerType: PUBLIC - marketplace: AWS - offerId: offerId - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - href: https://openapi-generator.tech - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - trial: - expiryDateTime: 2000-01-23T04:56:07.000+00:00 - enabled: true - status: null - subscriptionKey: subscriptionKey + vlanSTag: 1697 + sellerRegion: sellerRegion + properties: + serviceToken: + $ref: '#/components/schemas/ServiceToken' + accessPoint: + $ref: '#/components/schemas/AccessPoint' + internetAccess: + $ref: '#/components/schemas/InternetAccess' + companyProfile: + $ref: '#/components/schemas/ConnectionCompanyProfile' + invitation: + $ref: '#/components/schemas/ConnectionInvitation' + additionalInfo: + description: "Any additional information, which is not part of connection\ + \ metadata or configuration" + items: + $ref: '#/components/schemas/ConnectionSideAdditionalInfo' + type: array + type: object + Project: + example: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 properties: - href: - format: uri + projectId: + description: Subscriber-assigned project ID + example: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: string - uuid: - format: uuid + required: + - projectId + type: object + ConnectionSideAdditionalInfo: + description: Additional information + example: + value: value + key: key + properties: + key: + description: Key type: string - status: - $ref: '#/components/schemas/SubscriptionStatus' - marketplace: - enum: - - AWS - - GCP - - AZURE - - REDHAT + value: + description: Value type: string - offerType: - enum: - - PUBLIC - - PRIVATE_OFFER + type: object + marketplaceSubscription: + description: Equinix Fabric Entity for Marketplace Subscription + example: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + properties: + href: + description: Marketplace Subscription URI + example: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + format: uri + readOnly: true type: string - isAutoRenew: - example: true - type: boolean - offerId: + type: + description: Marketplace Subscription type + enum: + - AWS_MARKETPLACE_SUBSCRIPTION + example: AWS_MARKETPLACE_SUBSCRIPTION type: string - trial: - $ref: '#/components/schemas/SubscriptionTrial' - subscriptionKey: + uuid: + description: Equinix-assigned Marketplace Subscription identifier + example: 20d32a80-0d61-4333-bc03-707b591ae2f5 type: string - entitlements: - items: - $ref: '#/components/schemas/SubscriptionEntitlementResponse' - type: array - changelog: - $ref: '#/components/schemas/Changelog' type: object - x-preview: false - SubscriptionStatus: + ConnectionState: + description: Connection status enum: - ACTIVE - - EXPIRED - CANCELLED - - GRACE_PERIOD + - DEPROVISIONED + - DEPROVISIONING + - DRAFT + - FAILED + - PENDING + - PROVISIONED + - PROVISIONING + - REPROVISIONING + - "" type: string - SubscriptionTrial: - description: Trial + Change: + description: Current state of latest connection change example: - expiryDateTime: 2000-01-23T04:56:07.000+00:00 - enabled: true + data: + op: add + path: /ipv6 + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: CONNECTION_CREATION + uuid: uuid + status: APPROVED + updatedDateTime: 2020-11-06T07:00:00Z properties: - enabled: - type: boolean - expiryDateTime: + uuid: + description: Uniquely identifies a change + type: string + type: + description: Type of change + enum: + - CONNECTION_CREATION + - CONNECTION_UPDATE + - CONNECTION_DELETION + - CONNECTION_PROVIDER_STATUS_REQUEST + type: string + status: + description: Current outcome of the change flow + enum: + - APPROVED + - COMPLETED + - FAILED + - REJECTED + - REQUESTED + - SUBMITTED_FOR_APPROVAL + type: string + createdDateTime: + description: Set when change flow starts + example: 2020-11-06T07:00:00Z + format: date-time + type: string + updatedDateTime: + description: Set when change object is updated + example: 2020-11-06T07:00:00Z format: date-time type: string + information: + description: Additional information + type: string + data: + $ref: '#/components/schemas/ConnectionChangeOperation' + required: + - createdDateTime + - type type: object - SubscriptionEntitlementResponse: - description: Subscription entitlement + ConnectionOperation: + description: Connection type-specific operational data example: - quantityAvailable: 0 - quantityEntitled: 0 - quantityConsumed: 0 - asset: - package: - code: ADVANCED - bandwidth: 5 - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + operationalStatus: UP + opStatusChangedAt: 2020-11-06T07:00:00Z + equinixStatus: null + errors: + - help: help + errorMessage: errorMessage + additionalInfo: + - reason: reason + property: property + - reason: reason + property: property + errorCode: errorCode + correlationId: correlationId + details: details + - help: help + errorMessage: errorMessage + additionalInfo: + - reason: reason + property: property + - reason: reason + property: property + errorCode: errorCode + correlationId: correlationId + details: details + providerStatus: null properties: - uuid: - description: Subscription Entitlement Id - format: uuid + providerStatus: + $ref: '#/components/schemas/ProviderStatus' + equinixStatus: + $ref: '#/components/schemas/EquinixStatus' + operationalStatus: + description: Connection operational status + enum: + - UP + - DOWN + type: string + errors: + items: + $ref: '#/components/schemas/Error' + type: array + opStatusChangedAt: + description: When connection transitioned into current operational status + example: 2020-11-06T07:00:00Z + format: date-time type: string - quantityEntitled: - minimum: 0 - type: integer - quantityConsumed: - minimum: 0 - type: integer - quantityAvailable: - minimum: 0 - type: integer - asset: - $ref: '#/components/schemas/SubscriptionAsset' type: object - SubscriptionAsset: - description: Asset information + SimplifiedAccount: example: - package: - code: ADVANCED - bandwidth: 5 - type: null + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 properties: - type: - $ref: '#/components/schemas/SubscriptionAssetType' - package: - $ref: '#/components/schemas/SubscriptionRouterPackageType' - bandwidth: + accountNumber: + description: Account number + format: int64 type: integer - type: object - SubscriptionAssetType: - enum: - - XF_ROUTER - - IP_VC - type: string - SubscriptionRouterPackageType: - description: Cloud Router Package Type - example: - code: ADVANCED - properties: - code: - description: Cloud Router package code - enum: - - ADVANCED - - STANDARD + accountName: + description: Account name + type: string + orgId: + description: Customer organization identifier + format: int64 + type: integer + organizationName: + description: Customer organization name + type: string + globalOrgId: + description: Global organization identifier + type: string + globalOrganizationName: + description: Global organization name + type: string + ucmId: + description: Account ucmId + type: string + globalCustId: + description: Account name + type: string + resellerAccountNumber: + description: Reseller account number + format: int64 + type: integer + resellerAccountName: + description: Reseller account name + type: string + resellerUcmId: + description: Reseller account ucmId type: string + resellerOrgId: + description: Reseller customer organization identifier + format: int64 + type: integer type: object - ConnectionType: - description: Connection type - enum: - - EVPL_VC - - EPL_VC - - EC_VC - - IP_VC - - ACCESS_EPL_VC - - EIA_VC - - EVPLAN_VC - - EPLAN_VC - - IPWAN_VC - - IA_VC - type: string - Order: + Changelog: + description: Change log example: - orderNumber: orderNumber - customerReferenceNumber: customerReferenceNumber - orderId: orderId - purchaseOrderNumber: purchaseOrderNumber - billingTier: billingTier + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z properties: - purchaseOrderNumber: - description: Purchase order number + createdBy: + description: Created by User Key + example: johnsmith type: string - customerReferenceNumber: - description: Customer reference number + createdByFullName: + description: Created by User Full Name + example: John Smith type: string - billingTier: - description: Billing tier for connection bandwidth + createdByEmail: + description: Created by User Email Address + example: john.smith@example.com type: string - orderId: - description: Order Identification + createdDateTime: + description: Created by Date and Time + example: 2020-11-06T07:00:00Z + format: date-time type: string - orderNumber: - description: Order Reference Number + updatedBy: + description: Updated by User Key + example: johnsmith + type: string + updatedByFullName: + description: Updated by User Full Name + example: John Smith + type: string + updatedByEmail: + description: Updated by User Email Address + example: john.smith@example.com + type: string + updatedDateTime: + description: Updated by Date and Time + example: 2020-11-06T07:00:00Z + format: date-time + type: string + deletedBy: + description: Deleted by User Key + example: johnsmith + type: string + deletedByFullName: + description: Deleted by User Full Name + example: John Smith + type: string + deletedByEmail: + description: Deleted by User Email Address + example: john.smith@example.com + type: string + deletedDateTime: + description: Deleted by Date and Time + example: 2020-11-06T07:00:00Z + format: date-time type: string type: object - SimplifiedNotification: + Error: + description: Error Response with details example: - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT + help: help + errorMessage: errorMessage + additionalInfo: + - reason: reason + property: property + - reason: reason + property: property + errorCode: errorCode + correlationId: correlationId + details: details properties: - type: - description: Notification Type - enum: - - NOTIFICATION - - BANDWIDTH_ALERT - - CONNECTION_APPROVAL - - PROFILE_LIFECYCLE - - ALL - - SALES_REP_NOTIFICATIONS - example: BANDWIDTH_ALERT + errorCode: + pattern: "^EQ-\\d{7}$" type: string - sendInterval: + errorMessage: type: string - emails: - description: Array of contact emails - items: - format: email - type: string - type: array - registeredUsers: - description: Array of registered users + correlationId: + type: string + details: + type: string + help: + type: string + additionalInfo: items: - type: string + $ref: '#/components/schemas/PriceError_additionalInfo' type: array required: - - emails - - type + - errorCode + - errorMessage type: object - ConnectionRedundancy: - description: Connection redundancy configuration + ConnectionChangeOperation: + description: Connection change operation data example: - priority: null - group: group + op: add + path: /ipv6 + value: "{}" properties: - group: - description: Redundancy group identifier (UUID of primary connection) + op: + description: Handy shortcut for operation name + example: add type: string - priority: - $ref: '#/components/schemas/ConnectionPriority' - type: object - ConnectionSide: - description: Connection configuration object for each side of multi-segment - connection - example: - internetAccess: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - invitation: - ctrDraftOrderId: ctrDraftOrderId - message: "Hello, Please accept my invitation" - email: test@equinix.com - additionalInfo: - - value: value - key: key - - value: value - key: key - companyProfile: - name: Company-1 - globalOrgId: globalOrgId - id: 1 - serviceToken: - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC + path: + description: path inside document leading to updated parameter + example: /ipv6 + type: string + value: + description: new value for updated parameter + type: object + required: + - op + - path + - value + type: object + Actions: + description: Connection action type + enum: + - CONNECTION_CREATION_ACCEPTANCE + - CONNECTION_CREATION_REJECTION + - CONNECTION_UPDATE_ACCEPTANCE + - CONNECTION_UPDATE_REJECTION + - CONNECTION_DELETION_ACCEPTANCE + - CONNECTION_REJECTION_ACCEPTANCE + - CONNECTION_UPDATE_REQUEST + - MIGRATION_EVPL_VC + - CONNECTION_PROVIDER_STATUS_REQUEST + - CONNECTION_PROVIDER_BANDWIDTH_REQUEST + - ACCEPT_HOSTED_CONNECTION + - CANCEL_EVPL_VC_DRAFT_ORDERS + type: string + ConnectionAcceptanceData: + description: Connection acceptance data + example: + providerBandwidth: 0 + zSide: + internetAccess: uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - accessPoint: - providerConnectionId: providerConnectionId - interconnection: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - profile: - visibility: null - customFields: - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - description: offering connectivity to my-network - marketingInfo: - logo: logo - promotion: true - processSteps: - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - type: L2_PROFILE - ports: - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - accessPointTypeConfigs: - - null - - null - selfProfile: true - tags: - - tags - - tags - allowedEmails: - - allowedEmails - - allowedEmails - virtualDevices: - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - name: Sample Service Profile + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 href: https://openapi-generator.tech - projectId: projectId + state: null notifications: - emails: - emails @@ -42494,32 +58393,6 @@ components: - registeredUsers - registeredUsers type: BANDWIDTH_ALERT - metros: - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - virtualDevice: - name: name - href: https://openapi-generator.tech - type: EDGE - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 account: resellerOrgId: 5 organizationName: organizationName @@ -42533,211 +58406,207 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - authenticationKey: authenticationKey - type: null - interface: - href: https://openapi-generator.tech - id: 3 - type: CLOUD - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - projectId: projectId - network: - change: - href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 - type: null - uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 - scope: null - name: My EVPLAN Network - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - links: - - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType - - authenticate: true - method: method - rel: rel + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile href: https://openapi-generator.tech - contentType: contentType - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 - state: ACTIVE - type: null - uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 - operation: - equinixStatus: null - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - virtualNetwork: - href: https://openapi-generator.tech - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - router: - bgpIpv4RoutesCount: 0 - equinixAsn: 30000 - change: - data: - op: replace - path: path - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: ROUTER_UPDATE - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - bgpIpv6RoutesCount: 0 - uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - connectionsCount: 0 - distinctIpv4PrefixesCount: 0 - name: test-fg-1 - distinctIpv6PrefixesCount: 0 - href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - state: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - port: - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey type: null interface: - ifIndex: ifIndex - name: name - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - physicalPortQuantity: 1 - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 9 - href: https://openapi-generator.tech - state: null - redundancy: - priority: null - enabled: true - group: group - settings: - product: product - productCode: productCode - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - bandwidth: 0 - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - physicalPorts: - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 href: https://openapi-generator.tech - state: null + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z + equinixStatus: null account: resellerOrgId: 5 organizationName: organizationName @@ -42751,35 +58620,87 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -42788,6 +58709,10 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 tether: patchPanel: patchPanel systemName: systemName @@ -42796,85 +58721,226 @@ components: cabinetNumber: cabinetNumber ibx: ibx crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId - name: name + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - device: - name: name - redundancy: - priority: PRIMARY - group: group + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 account: resellerOrgId: 5 organizationName: organizationName @@ -42888,1001 +58954,783 @@ components: accountNumber: 0 globalCustId: globalCustId orgId: 6 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - vpic_interface: - href: https://openapi-generator.tech - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - peeringType: null - linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 - type: null - vlanSTag: 3690 - sellerRegion: sellerRegion - properties: - serviceToken: - $ref: '#/components/schemas/ServiceToken' - accessPoint: - $ref: '#/components/schemas/AccessPoint' - internetAccess: - $ref: '#/components/schemas/InternetAccess' - companyProfile: - $ref: '#/components/schemas/ConnectionCompanyProfile' - invitation: - $ref: '#/components/schemas/ConnectionInvitation' - additionalInfo: - description: "Any additional information, which is not part of connection\ - \ metadata or configuration" - items: - $ref: '#/components/schemas/ConnectionSideAdditionalInfo' - type: array - type: object - Project: - example: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - properties: - projectId: - description: Subscriber-assigned project ID - example: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: string - required: - - projectId - type: object - ConnectionSideAdditionalInfo: - description: Additional information - example: - value: value - key: key + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion properties: - key: - description: Key - type: string - value: - description: Value - type: string + zSide: + $ref: '#/components/schemas/ConnectionSide' + providerBandwidth: + description: Authorization key bandwidth in Mbps + readOnly: true + type: integer type: object - marketplaceSubscription: - description: Equinix Fabric Entity for Marketplace Subscription + PaginationRequest: + description: Pagination request information example: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + offset: 0 + limit: 1 properties: - href: - description: Marketplace Subscription URI - example: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - format: uri - readOnly: true - type: string - type: - description: Marketplace Subscription type - enum: - - AWS_MARKETPLACE_SUBSCRIPTION - example: AWS_MARKETPLACE_SUBSCRIPTION - type: string - uuid: - description: Equinix-assigned Marketplace Subscription identifier - example: 20d32a80-0d61-4333-bc03-707b591ae2f5 - type: string + offset: + default: 0 + description: Index of the first element. + minimum: 0 + type: integer + limit: + default: 20 + description: "Number of elements to be requested per page. Number must be\ + \ between 1 and 100, and the default is 20." + minimum: 1 + type: integer type: object - ConnectionState: - description: Connection status - enum: - - ACTIVE - - CANCELLED - - DEPROVISIONED - - DEPROVISIONING - - DRAFT - - FAILED - - PENDING - - PROVISIONED - - PROVISIONING - - REPROVISIONING - - "" - type: string - Change: - description: Current state of latest connection change + ConnectionRouteTableEntry: + description: Adv/Rec Route table entry object example: - data: - op: add - path: /ipv6 - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: CONNECTION_CREATION - uuid: uuid - status: APPROVED - updatedDateTime: 2020-11-06T07:00:00Z + nextHop: 10.10.10.5 + prefix: 192.168.10.0/24 + localPreference: 200 + asPath: + - asPath + - asPath + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + connection: + name: connection_1 + uuid: 81331c52-04c0-4656-a4a7-18c52669348f + protocolType: null + state: ACTIVE + type: null + MED: 5 + age: PT5M30S properties: - uuid: - description: Uniquely identifies a change - type: string type: - description: Type of change - enum: - - CONNECTION_CREATION - - CONNECTION_UPDATE - - CONNECTION_DELETION - - CONNECTION_PROVIDER_STATUS_REQUEST - type: string - status: - description: Current outcome of the change flow + $ref: '#/components/schemas/RouteTableEntryType' + protocolType: + $ref: '#/components/schemas/RouteTableEntryProtocolType' + state: enum: - - APPROVED - - COMPLETED - - FAILED - - REJECTED - - REQUESTED - - SUBMITTED_FOR_APPROVAL + - ACTIVE + - INACTIVE + example: ACTIVE type: string - createdDateTime: - description: Set when change flow starts - example: 2020-11-06T07:00:00Z - format: date-time + age: + example: PT5M30S type: string - updatedDateTime: - description: Set when change object is updated - example: 2020-11-06T07:00:00Z - format: date-time + prefix: + example: 192.168.10.0/24 type: string - information: - description: Additional information + nextHop: + example: 10.10.10.5 type: string - data: - $ref: '#/components/schemas/ConnectionChangeOperation' + MED: + example: 5 + type: integer + localPreference: + example: 200 + type: integer + asPath: + items: + type: string + type: array + connection: + $ref: '#/components/schemas/ConnectionRouteTableEntry_connection' + changeLog: + $ref: '#/components/schemas/Changelog' required: - - createdDateTime + - changeLog + - state - type type: object - ConnectionOperation: - description: Connection type-specific operational data - example: - operationalStatus: UP - opStatusChangedAt: 2020-11-06T07:00:00Z - equinixStatus: null - errors: - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details - providerStatus: null + BGPConnectionIpv4: properties: - providerStatus: - $ref: '#/components/schemas/ProviderStatus' - equinixStatus: - $ref: '#/components/schemas/EquinixStatus' - operationalStatus: - description: Connection operational status - enum: - - UP - - DOWN + customerPeerIp: + description: Customer side peering ip + example: 10.1.1.2 type: string - errors: - items: - $ref: '#/components/schemas/Error' - type: array - opStatusChangedAt: - description: When connection transitioned into current operational status - example: 2020-11-06T07:00:00Z - format: date-time + equinixPeerIp: + description: Equinix side peering ip + example: 10.1.1.3 type: string - type: object - SimplifiedAccount: - example: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - properties: - accountNumber: - description: Account number + enabled: + description: Admin status for the BGP session + type: boolean + outboundASPrependCount: + description: AS path prepend count + example: 3 format: int64 type: integer - accountName: - description: Account name - type: string - orgId: - description: Customer organization identifier + inboundMED: + description: Inbound Multi Exit Discriminator attribute + example: 1000 format: int64 type: integer - organizationName: - description: Customer organization name - type: string - globalOrgId: - description: Global organization identifier - type: string - globalOrganizationName: - description: Global organization name - type: string - ucmId: - description: Account ucmId - type: string - globalCustId: - description: Account name - type: string - resellerAccountNumber: - description: Reseller account number + outboundMED: + description: Outbound Multi Exit Discriminator attribute + example: 2000 format: int64 type: integer - resellerAccountName: - description: Reseller account name + routesMax: + description: Maximum learnt prefixes limit + example: 1000 + format: int64 + type: integer + operation: + $ref: '#/components/schemas/BGPConnectionOperation' + required: + - customerPeerIp + - enabled + type: object + BGPConnectionIpv6: + properties: + customerPeerIp: + description: Customer side peering ip + example: 2001:db8:c59b::1 type: string - resellerUcmId: - description: Reseller account ucmId + equinixPeerIp: + description: Equinix side peering ip + example: 2001:db8:c59b::1 type: string - resellerOrgId: - description: Reseller customer organization identifier + enabled: + description: Admin status for the BGP session + type: boolean + outboundASPrependCount: + description: AS path prepend count + example: 3 format: int64 type: integer + inboundMED: + description: Inbound Multi Exit Discriminator attribute + example: 1000 + format: int64 + type: integer + outboundMED: + description: Outbound Multi Exit Discriminator attribute + example: 2000 + format: int64 + type: integer + routesMax: + description: Maximum learnt prefixes limit + example: 1000 + format: int64 + type: integer + operation: + $ref: '#/components/schemas/BGPConnectionOperation' + required: + - customerPeerIp + - enabled type: object - Changelog: - description: Change log - example: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z + RoutingProtocolBFD: properties: - createdBy: - description: Created by User Key - example: johnsmith + enabled: + type: boolean + interval: + example: "100" type: string - createdByFullName: - description: Created by User Full Name - example: John Smith + required: + - enabled + type: object + DirectConnectionIpv4: + properties: + equinixIfaceIp: + description: Equinix side Interface IP address + example: 192.168.100.0/30 type: string - createdByEmail: - description: Created by User Email Address - example: john.smith@example.com + type: object + DirectConnectionIpv6: + properties: + equinixIfaceIp: + description: Equinix side Interface IP address + example: 2001:db8:c59b::/1 type: string - createdDateTime: - description: Created by Date and Time - example: 2020-11-06T07:00:00Z - format: date-time + required: + - equinixIfaceIp + type: object + RoutingProtocolBGPData: + properties: + type: + description: Routing protocol type + enum: + - BGP type: string - updatedBy: - description: Updated by User Key - example: johnsmith + name: + example: My-BGP-route-1 type: string - updatedByFullName: - description: Updated by User Full Name - example: John Smith + bgpIpv4: + $ref: '#/components/schemas/BGPConnectionIpv4' + bgpIpv6: + $ref: '#/components/schemas/BGPConnectionIpv6' + customerAsn: + description: Customer asn + example: 65002 + format: int64 + type: integer + equinixAsn: + description: Equinix asn + example: 65002 + format: int64 + type: integer + bgpAuthKey: + description: BGP authorization key + example: testAuthKey type: string - updatedByEmail: - description: Updated by User Email Address - example: john.smith@example.com + asOverrideEnabled: + description: Enable AS number override + type: boolean + bfd: + $ref: '#/components/schemas/RoutingProtocolBFD' + href: + description: Routing Protocol URI + example: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routingProtocols/69762051-85ed-4d13-b6b4-e32e93c672b5 + format: uri type: string - updatedDateTime: - description: Updated by Date and Time - example: 2020-11-06T07:00:00Z - format: date-time + uuid: + description: Routing protocol identifier + example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + format: uuid + type: string + state: + enum: + - PROVISIONED + - DEPROVISIONED + - PROVISIONING + - DEPROVISIONING + - REPROVISIONING + - FAILED + type: string + operation: + $ref: '#/components/schemas/RoutingProtocolOperation' + change: + $ref: '#/components/schemas/RoutingProtocolChange' + changelog: + $ref: '#/components/schemas/Changelog' + type: object + RoutingProtocolDirectData: + properties: + type: + description: Routing protocol type + enum: + - DIRECT type: string - deletedBy: - description: Deleted by User Key - example: johnsmith + name: + example: My-direct-route-1 type: string - deletedByFullName: - description: Deleted by User Full Name - example: John Smith + directIpv4: + $ref: '#/components/schemas/DirectConnectionIpv4' + directIpv6: + $ref: '#/components/schemas/DirectConnectionIpv6' + href: + description: Routing Protocol URI + example: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routingProtocols/69762051-85ed-4d13-b6b4-e32e93c672b5 + format: uri type: string - deletedByEmail: - description: Deleted by User Email Address - example: john.smith@example.com + uuid: + description: Routing protocol identifier + example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + format: uuid type: string - deletedDateTime: - description: Deleted by Date and Time - example: 2020-11-06T07:00:00Z - format: date-time + state: + enum: + - PROVISIONED + - DEPROVISIONED + - PROVISIONING + - DEPROVISIONING + - REPROVISIONING + - FAILED type: string + operation: + $ref: '#/components/schemas/RoutingProtocolOperation' + change: + $ref: '#/components/schemas/RoutingProtocolChange' + changelog: + $ref: '#/components/schemas/Changelog' type: object - Error: - description: Error Response with details - example: - help: help - errorMessage: errorMessage - additionalInfo: - - reason: reason - property: property - - reason: reason - property: property - errorCode: errorCode - correlationId: correlationId - details: details + BGPActions: + description: BGP action type + enum: + - CLEAR_BGPIPV4 + - CLEAR_BGPIPV6 + - CLEAR_BGPIPV4_INBOUND + - CLEAR_BGPIPV6_INBOUND + - RESET_BGPIPV4 + - RESET_BGPIPV6 + type: string + BGPActionStates: + description: BGP action state + enum: + - PENDING + - FAILED + - SUCCEEDED + type: string + RoutingProtocolChange: + description: Current state of latest Routing Protocol change properties: - errorCode: - pattern: "^EQ-\\d{7}$" - type: string - errorMessage: - type: string - correlationId: + uuid: + description: Uniquely identifies a change type: string - details: + type: + description: Type of change + enum: + - ROUTING_PROTOCOL_UPDATE + - ROUTING_PROTOCOL_CREATION + - ROUTING_PROTOCOL_DELETION type: string - help: + href: + description: Routing Protocol Change URI + format: uri type: string - additionalInfo: - items: - $ref: '#/components/schemas/PriceError_additionalInfo' - type: array required: - - errorCode - - errorMessage + - type + - uuid type: object - ConnectionChangeOperation: - description: Connection change operation data + RoutingProtocolChangeOperation: + description: Routing Protocol change operation data example: op: add - path: /ipv6 - value: "{}" + path: / + value: + type: BGP properties: op: description: Handy shortcut for operation name - example: add + enum: + - add + - replace + - remove type: string path: description: path inside document leading to updated parameter - example: /ipv6 + example: / type: string value: - description: new value for updated parameter - type: object + $ref: '#/components/schemas/RoutingProtocolBase' required: - op - path - value type: object - Actions: - description: Connection action type + SortDirection: + default: DESC + description: Sorting direction enum: - - CONNECTION_CREATION_ACCEPTANCE - - CONNECTION_CREATION_REJECTION - - CONNECTION_UPDATE_ACCEPTANCE - - CONNECTION_UPDATE_REJECTION - - CONNECTION_DELETION_ACCEPTANCE - - CONNECTION_REJECTION_ACCEPTANCE - - CONNECTION_UPDATE_REQUEST - - MIGRATION_EVPL_VC - - CONNECTION_PROVIDER_STATUS_REQUEST - - CONNECTION_PROVIDER_BANDWIDTH_REQUEST - - ACCEPT_HOSTED_CONNECTION - - CANCEL_EVPL_VC_DRAFT_ORDERS + - DESC + - ASC type: string - ConnectionAcceptanceData: - description: Connection acceptance data + SortBy: + default: /changeLog/updatedDateTime + description: Possible field names to use on sorting + enum: + - /name + - /direction + - /aSide/accessPoint/name + - /aSide/accessPoint/type + - /aSide/accessPoint/account/accountName + - /aSide/accessPoint/location/metroName + - /aSide/accessPoint/location/metroCode + - /aSide/accessPoint/linkProtocol/vlanCTag + - /aSide/accessPoint/linkProtocol/vlanSTag + - /zSide/accessPoint/name + - /zSide/accessPoint/type + - /zSide/accessPoint/account/accountName + - /zSide/accessPoint/location/metroName + - /zSide/accessPoint/location/metroCode + - /zSide/accessPoint/linkProtocol/vlanCTag + - /zSide/accessPoint/linkProtocol/vlanSTag + - /zSide/accessPoint/authenticationKey + - /bandwidth + - /geoScope + - /uuid + - /changeLog/createdDateTime + - /changeLog/updatedDateTime + - /operation/equinixStatus + - /operation/providerStatus + - /redundancy/priority + type: string + SortCriteriaResponse: example: - providerBandwidth: 0 - zSide: - internetAccess: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - invitation: - ctrDraftOrderId: ctrDraftOrderId - message: "Hello, Please accept my invitation" - email: test@equinix.com - additionalInfo: - - value: value - key: key - - value: value - key: key - companyProfile: - name: Company-1 - globalOrgId: globalOrgId - id: 1 - serviceToken: - expirationDateTime: 2020-11-06T07:00:00Z - name: name - description: description - changelog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - connection: - allowRemoteConnection: false - aSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: - href: https://openapi-generator.tech - type: type - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - href: https://openapi-generator.tech - state: null + property: null + direction: null + properties: + direction: + $ref: '#/components/schemas/SortDirection' + property: + $ref: '#/components/schemas/SortBy' + type: object + Price: + example: + code: code + catgory: null + ipBlock: + prefixLength: 5 + location: + metroCode: metroCode + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + description: description + type: null + charges: + - price: 0.08008281904610115 + type: MONTHLY_RECURRING + - price: 0.08008281904610115 + type: MONTHLY_RECURRING + router: + package: + code: null + location: + metroCode: metroCode + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + termLength: 6 + port: + serviceType: null + settings: + buyout: false + lag: + enabled: false + bandwidth: 2 + connectivitySource: type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - accessPoint: - providerConnectionId: providerConnectionId - interconnection: + location: + ibx: ibx + physicalPortsQuantity: 5 + redundancy: + enabled: false + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + currency: currency + connection: + bandwidth: 0 + aSide: + accessPoint: + port: + settings: + buyout: false + location: + metroCode: metroCode + type: null uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - profile: - visibility: null - customFields: - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - - dataType: STRING - options: - - options - - options - description: Provide a valid account number - label: Account Number - required: true - captureInEmail: true - description: offering connectivity to my-network - marketingInfo: - logo: logo - promotion: true - processSteps: - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - - subTitle: subTitle - description: description - title: title - type: L2_PROFILE - ports: - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId - - sellerRegionDescription: sellerRegionDescription - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: XF_PORT - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - sellerRegion: sellerRegion - crossConnectId: crossConnectId + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + zSide: + accessPoint: + port: + settings: + buyout: false + profile: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + location: + metroCode: metroCode + bridge: + package: + code: null + type: null uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - accessPointTypeConfigs: - - null - - null - selfProfile: true - tags: - - tags - - tags - allowedEmails: - - allowedEmails - - allowedEmails - virtualDevices: - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - type: VD - uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 - name: Sample Service Profile + href: http://example.com/aeiou + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + properties: + href: + description: An absolute URL that returns specified pricing data + format: url + type: string + type: + $ref: '#/components/schemas/ProductType' + code: + description: Equinix-assigned product code + type: string + name: + description: Full product name + type: string + description: + description: Product description + type: string + account: + $ref: '#/components/schemas/SimplifiedAccount' + charges: + items: + $ref: '#/components/schemas/PriceCharge' + type: array + currency: + description: Product offering price currency + type: string + termLength: + description: In months. No value means unlimited + enum: + - 12 + - 24 + - 36 + type: integer + catgory: + $ref: '#/components/schemas/PriceCategory' + connection: + $ref: '#/components/schemas/VirtualConnectionPrice' + ipBlock: + $ref: '#/components/schemas/IpBlockPrice' + router: + $ref: '#/components/schemas/FabricCloudRouterPrice' + port: + $ref: '#/components/schemas/VirtualPortPrice' + type: object + ServiceProfileTypeEnum: + description: Service profile type + enum: + - L2_PROFILE + - L3_PROFILE + - IA_PROFILE + example: L2_PROFILE + type: string + ServiceProfileVisibilityEnum: + enum: + - PRIVATE + - PUBLIC + type: string + SimplifiedLocation: + example: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + properties: + region: + example: "AMER, APAC, EMEA" + type: string + metroName: + example: Amsterdam + type: string + metroCode: + example: AM + type: string + metroHref: + example: https://api.equinix.com/fabric/v4/metros/AM + type: string + ibx: + deprecated: true + example: AM1 + type: string + type: object + ServiceProfileStateEnum: + description: Equinix assigned state. + enum: + - ACTIVE + - PENDING_APPROVAL + - DELETED + - REJECTED + example: ACTIVE + type: string + ServiceTokenType: + description: Type of Service Token + enum: + - VC_TOKEN + - EPL_TOKEN + type: string + ServiceTokenConnection: + description: Service Token Connection Type Information + example: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech - projectId: projectId - notifications: - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - - emails: - - emails - - emails - sendInterval: sendInterval - registeredUsers: - - registeredUsers - - registeredUsers - type: BANDWIDTH_ALERT - metros: - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true - - code: code - sellerRegions: - key: sellerRegions - ibxs: - - ibxs - - ibxs - vcBandwidthMax: 1 - displayName: displayName - name: name - inTrail: true + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 virtualDevice: + cluster: cluster name: name href: https://openapi-generator.tech type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - authenticationKey: authenticationKey - type: null + type: COLO interface: - href: https://openapi-generator.tech - id: 3 - type: CLOUD + id: 1 + type: NETWORK uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - projectId: projectId + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 network: - change: - href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 - type: null - uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 - scope: null - name: My EVPLAN Network - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - links: - - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType - - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType + scope: LOCAL + name: name location: metroName: Amsterdam metroCode: AM metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 - state: ACTIVE + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 type: null - uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 - operation: - equinixStatus: null - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - virtualNetwork: + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + type: EVPLAN uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - router: - bgpIpv4RoutesCount: 0 - equinixAsn: 30000 - change: - data: - op: replace - path: path - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: ROUTER_UPDATE - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - bgpIpv6RoutesCount: 0 - uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - connectionsCount: 0 - distinctIpv4PrefixesCount: 0 - name: test-fg-1 - distinctIpv6PrefixesCount: 0 - href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - state: null - marketplaceSubscription: - href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 - type: AWS_MARKETPLACE_SUBSCRIPTION - uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 - port: - serviceType: EPL - encapsulation: - tagProtocolId: tagProtocolId - type: "NULL" - lagEnabled: true - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 type: null - interface: - ifIndex: ifIndex - name: name - type: type + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - physicalPortsSpeed: 0 - connectionsCount: 0 - physicalPortQuantity: 1 - usedBandwidth: 0 - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 9 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech - state: null - redundancy: - priority: null - enabled: true - group: group - settings: - product: product - productCode: productCode - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - availableBandwidth: 0 - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - bandwidth: 0 - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - physicalPorts: - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - tether: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - loas: - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - - href: https://openapi-generator.tech - type: CTR_LOA - uuid: uuid - type: null - interfaceType: interfaceType - additionalInfo: - - value: value - key: key - - value: value - key: key - id: 6 - href: https://openapi-generator.tech - state: null - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - interfaceSpeed: 0 - notifications: - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - order: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL name: name location: metroName: Amsterdam @@ -43890,277 +59738,858 @@ components: metroHref: https://api.equinix.com/fabric/v4/metros/AM region: "AMER, APAC, EMEA" ibx: AM1 - operation: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - device: - name: name - redundancy: - priority: PRIMARY - group: group - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - location: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 - vpic_interface: href: https://openapi-generator.tech + type: EVPLAN uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 - peeringType: null - linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 - type: null - vlanSTag: 3690 - sellerRegion: sellerRegion properties: - zSide: - $ref: '#/components/schemas/ConnectionSide' - providerBandwidth: - description: Authorization key bandwidth in Mbps + type: + description: Type of Connection + enum: + - EVPL_VC + - EVPLAN_VC + - EPLAN_VC + - IPWAN_VC + type: string + href: + description: An absolute URL that is the subject of the link's context. + format: uri + readOnly: true + type: string + uuid: + description: Equinix-assigned connection identifier + format: uuid + type: string + allowRemoteConnection: + default: false + description: Authorization to connect remotely + type: boolean + allowCustomBandwidth: + default: false + description: Allow custom bandwidth value + type: boolean + bandwidthLimit: + description: Connection bandwidth limit in Mbps + maximum: 100000 + minimum: 0 + type: integer + supportedBandwidths: + description: List of permitted bandwidths. + items: + type: integer + type: array + aSide: + $ref: '#/components/schemas/ServiceTokenSide' + zSide: + $ref: '#/components/schemas/ServiceTokenSide' + required: + - type + type: object + ServiceTokenState: + description: Service token state + enum: + - ACTIVE + - INACTIVE + - EXPIRED + - DELETED + type: string + ServiceTokenChangeOperation: + description: Service Token change operation data + example: + op: replace + path: /expirationDateTime + value: "{}" + properties: + op: + description: Handy shortcut for operation name + enum: + - replace + - add + - remove + type: string + path: + description: path inside document leading to updated parameter + example: /expirationDateTime + type: string + value: + description: new value for updated parameter + type: object + required: + - op + - path + - value + type: object + ServiceTokenActions: + description: Service Token action type + enum: + - RESEND_EMAIL_NOTIFICATION + type: string + PortType: + description: Type of Port + enum: + - XF_PORT + - IX_PORT + type: string + PortState: + description: Port lifecycle state + enum: + - PENDING + - PROVISIONING + - PROVISIONED + - ACTIVE + - DEPROVISIONING + - DEPROVISIONED + - INACTIVE + - FAILED + - ADDED + - DELETED + - TO_BE_ADDED + - TO_BE_DELETED + type: string + PortOrder: + example: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + purchaseOrder: + $ref: '#/components/schemas/PortOrder_purchaseOrder' + orderId: + description: Order Identification + type: string + customerReferenceId: + description: Customer order reference Id + type: string + orderNumber: + description: Order Reference Number + type: string + uuid: + description: "Equinix-assigned order identifier, this is a derived response\ + \ atrribute" + format: uuid + type: string + signature: + $ref: '#/components/schemas/PortOrder_signature' + type: object + PortOperation: + description: Operational specifications for ports. + example: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + properties: + operationalStatus: + description: Availability of a given physical port. + enum: + - UP + - DOWN + - PARTIAL + type: string + connectionCount: + description: Total number of connections. + format: int64 + type: integer + evplVCCount: + description: Total number of connections. + format: int64 + type: integer + fgVCCount: + description: Total number of connections. + format: int64 + type: integer + accessVCCount: + description: Total number of connections. + format: int64 + type: integer + opStatusChangedAt: + description: Date and time at which port availability changed. + example: 2020-11-06T07:00:00Z + format: date-time + type: string + type: object + PortDevice: + description: Port device + example: + name: name + redundancy: + priority: PRIMARY + group: group + properties: + name: + description: Device name + type: string + redundancy: + $ref: '#/components/schemas/PortDeviceRedundancy' + type: object + PortInterface: + description: Port interface + example: + type: type + properties: + type: + description: Port interface type + type: string + type: object + PortDemarcationPoint: + description: Customer physical Port + example: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + properties: + cabinetUniqueSpaceId: + description: Port cabinet unique space id + type: string + cageUniqueSpaceId: + description: Port cage unique space id + type: string + patchPanel: + description: Port patch panel + type: string + patchPanelName: + deprecated: true + description: Port patch panel + type: string + patchPanelPortA: + description: Port patch panel port A + type: string + patchPanelPortB: + description: Port patch panel port B + type: string + connectorType: + description: Port connector type + type: string + ibx: + description: Port ibx identifier + type: string + type: object + PortRedundancy: + description: Port redundancy configuration + example: + priority: null + enabled: true + group: group + properties: + enabled: + description: Access point redundancy + type: boolean + group: + deprecated: true + description: Port UUID of respective primary port + type: string + priority: + $ref: '#/components/schemas/PortPriority' + type: object + PortEncapsulation: + description: Port encapsulation configuration + example: + tagProtocolId: tagProtocolId + type: "NULL" + properties: + type: + description: Port encapsulation protocol type + enum: + - "NULL" + - DOT1Q + - QINQ + - UNTAGGED + type: string + tagProtocolId: + description: Port encapsulation tag protocol identifier + type: string + type: object + PortLag: + description: Port Lag + properties: + id: + description: id + type: string + enabled: + deprecated: true + description: enabled + type: boolean + name: + description: name + type: string + memberStatus: + description: member status + type: string + type: object + Package: + description: Package settings for port + example: + code: STANDARD + type: EPL + properties: + code: + description: Type of Port Package + enum: + - STANDARD + - UNLIMITED + - UNLIMITED_PLUS + type: string + type: + description: Port service Type + enum: + - EPL + - MSP + type: string + type: object + PortSettings: + description: Port configuration settings + example: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + properties: + buyout: + deprecated: true + type: boolean + viewPortPermission: + deprecated: true + type: boolean + placeVcOrderPermission: + deprecated: true + type: boolean + layer3Enabled: + deprecated: true + type: boolean + sharedPortType: + type: boolean + sharedPortProduct: + enum: + - NETWORK_EDGE + - VIRTUAL_GATEWAY + - SMARTKEY + - EDGE_METAL + type: string + packageType: + deprecated: true + description: Type of Port Package + enum: + - STANDARD + - UNLIMITED + - UNLIMITED_PLUS + type: string + type: object + PortNotification: + example: + registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + properties: + type: + description: Notification Type + enum: + - NOTIFICATION + - TECHNICAL + - PEERING + - ESCALATION + type: string + registeredUsers: + description: Array of registered users + items: + type: string + type: array + required: + - registeredUsers + - type + type: object + PortAdditionalInfo: + description: Additional information + example: + value: value + key: key + properties: + key: + description: Key + type: string + value: + description: Value + type: string + type: object + PortLoa: + description: Port Loas + example: + href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + properties: + uuid: + description: uuid + type: string + href: + description: Loa uri. + format: uri + readOnly: true + type: string + type: + description: Loa type + enum: + - CTR_LOA + type: string + type: object + PhysicalPortType: + description: Type of Port + enum: + - XF_PHYSICAL_PORT + type: string + PortTether: + description: Port physical connection + example: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + properties: + crossConnectId: + description: Port cross connect identifier + type: string + cabinetNumber: + description: Port cabinet number + type: string + systemName: + description: Port system name + type: string + patchPanel: + description: Port patch panel + type: string + patchPanelPortA: + description: Port patch panel port A + type: string + patchPanelPortB: + description: Port patch panel port B + type: string + ibx: + description: z-side/Equinix IBX + type: string + type: object + PhysicalPortSettings: + description: Physical Port configuration settings + example: + errorMessage: errorMessage + packageType: packageType + properties: + errorMessage: + type: string + packageType: + deprecated: true + type: string + type: object + LinkProtocolResponse: + description: Link Protocol response + example: + vlanTag: 20 + vlanCTag: 20 + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + type: null + vlanSTag: 20 + vlanCTagMin: 20 + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + vlanTagMin: 20 + subInterface: + unit: 200 + name: name + vni: 20 + href: https://openapi-generator.tech + state: null + vlanTagMax: 200 + asset: + bandwidth: 100 + href: https://openapi-generator.tech + type: EVPL_VC + uuid: cd67f685-41b0-1b07-6de0-320a5c00abe + serviceToken: + bandwidth: 1000 + href: https://openapi-generator.tech + type: TOKEN + uuid: cd67f685-41b0-1b07-6de0-0320a5c00abe + vlanCTagMax: 200 + properties: + href: + description: LinkProtocol URI + format: uri readOnly: true - type: integer - type: object - BGPConnectionIpv4: - properties: - customerPeerIp: - description: Customer side peering ip - example: 10.1.1.2 type: string - equinixPeerIp: - description: Equinix side peering ip - example: 10.1.1.3 + uuid: + description: Equinix-assigned network identifier + example: 92dc376a-a932-43aa-a6a2-c806dedbd784 + format: uuid type: string - enabled: - description: Admin status for the BGP session - type: boolean - outboundASPrependCount: - description: AS path prepend count - example: 3 - format: int64 + state: + $ref: '#/components/schemas/LinkProtocolState' + type: + $ref: '#/components/schemas/LinkProtocolRequestType' + vlanTag: + example: 20 type: integer - inboundMED: - description: inbound Multi Exit Discriminator attribute - example: 1000 - format: int64 + vni: + example: 20 type: integer - outboundMED: - description: inbound Multi Exit Discriminator attribute - example: 2000 - format: int64 + vlanTagMin: + example: 20 type: integer - operation: - $ref: '#/components/schemas/BGPConnectionOperation' - required: - - customerPeerIp - - enabled - type: object - BGPConnectionIpv6: - properties: - customerPeerIp: - description: Customer side peering ip - example: 2001:db8:c59b::1 - type: string - equinixPeerIp: - description: Equinix side peering ip - example: 2001:db8:c59b::1 - type: string - enabled: - description: Admin status for the BGP session - type: boolean - outboundASPrependCount: - description: AS path prepend count - example: 3 - format: int64 + vlanTagMax: + example: 200 type: integer - inboundMED: - description: inbound Multi Exit Discriminator attribute - example: 1000 - format: int64 + vlanSTag: + example: 20 type: integer - outboundMED: - description: inbound Multi Exit Discriminator attribute - example: 2000 - format: int64 + vlanCTag: + example: 20 type: integer - operation: - $ref: '#/components/schemas/BGPConnectionOperation' - required: - - customerPeerIp - - enabled + vlanCTagMin: + example: 20 + type: integer + vlanCTagMax: + example: 200 + type: integer + subInterface: + $ref: '#/components/schemas/SubInterface' + asset: + $ref: '#/components/schemas/LinkProtocolConnection' + serviceToken: + $ref: '#/components/schemas/LinkProtocolServiceToken' + changeLog: + $ref: '#/components/schemas/Changelog' type: object - RoutingProtocolBFD: + PortSortDirection: + default: DESC + description: Sorting direction + enum: + - DESC + - ASC + type: string + PortSortBy: + default: /device/name + description: Possible field names to use on sorting + enum: + - /device/name + type: string + RouteFilterState: + description: Route Filter status + enum: + - PROVISIONING + - REPROVISIONING + - DEPROVISIONING + - PROVISIONED + - DEPROVISIONED + - NOT_PROVISIONED + - NOT_DEPROVISIONED + type: string + RouteFiltersChange: + description: Current state of latest Route Filter change + example: + href: https://openapi-generator.tech + type: BGP_IPv4_PREFIX_FILTER_UPDATE + uuid: uuid properties: - enabled: - type: boolean - interval: - example: "100" + uuid: + description: Uniquely identifies a change + type: string + type: + description: Type of change + enum: + - BGP_IPv4_PREFIX_FILTER_UPDATE + - BGP_IPv4_PREFIX_FILTER_CREATION + - BGP_IPv4_PREFIX_FILTER_DELETION + - BGP_IPv6_PREFIX_FILTER_UPDATE + - BGP_IPv6_PREFIX_FILTER_CREATION + - BGP_IPv6_PREFIX_FILTER_DELETION + type: string + href: + description: Route Filter Change URI + format: uri type: string required: - - enabled + - type + - uuid type: object - DirectConnectionIpv4: + RouteFiltersPatchRequestItem: + description: Route Filter change operation data + example: + op: replace + path: /name + value: "{}" properties: - equinixIfaceIp: - description: Equinix side Interface IP address - example: 192.168.100.0/30 + op: + description: Handy shortcut for operation name + example: replace type: string + path: + description: path to change + example: /name + type: string + value: + description: new value for updated parameter + type: object + required: + - op + - path + - value type: object - DirectConnectionIpv6: + RouteFiltersChangeOperation: + description: Route Filter change operation data + example: + op: add + path: / + value: + name: My-direct-route-1 + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: BGP_IPv4_PREFIX_FILTER properties: - equinixIfaceIp: - description: Equinix side Interface IP address - example: 2001:db8:c59b::/1 + op: + description: Handy shortcut for operation name + enum: + - add + - replace + - remove type: string + path: + description: path inside document leading to updated parameter + example: / + type: string + value: + $ref: '#/components/schemas/RouteFiltersBase' required: - - equinixIfaceIp + - op + - path + - value type: object - RoutingProtocolBGPData: + RouteFilterConnectionsData: + example: + name: connection-1 + href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f + type: null + uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d properties: + href: + description: Connection URI + example: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f + format: uri + type: string type: - description: Routing protocol type - enum: - - BGP + $ref: '#/components/schemas/ConnectionType' + uuid: + description: Route Filter identifier + example: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + format: uuid type: string name: - example: My-BGP-route-1 + example: connection-1 type: string - bgpIpv4: - $ref: '#/components/schemas/BGPConnectionIpv4' - bgpIpv6: - $ref: '#/components/schemas/BGPConnectionIpv6' - customerAsn: - description: Customer asn - example: 65002 - format: int64 - type: integer - equinixAsn: - description: Equinix asn - example: 65002 - format: int64 - type: integer - bgpAuthKey: - description: BGP authorization key - example: testAuthKey + type: object + RouteFilterRuleState: + description: Route Filter Rule status + enum: + - PROVISIONING + - REPROVISIONING + - DEPROVISIONING + - PROVISIONED + - DEPROVISIONED + - NOT_PROVISIONED + - NOT_DEPROVISIONED + type: string + RouteFilterRulesChange: + description: Current state of latest Route Filter Rule change + example: + href: https://openapi-generator.tech + type: BGP_IPv4_PREFIX_FILTER_RULE_UPDATE + uuid: uuid + properties: + uuid: + description: Uniquely identifies a change + type: string + type: + description: Type of change + enum: + - BGP_IPv4_PREFIX_FILTER_RULE_UPDATE + - BGP_IPv4_PREFIX_FILTER_RULE_CREATION + - BGP_IPv4_PREFIX_FILTER_RULE_DELETION + - BGP_IPv6_PREFIX_FILTER_RULE_UPDATE + - BGP_IPv6_PREFIX_FILTER_RULE_CREATION + - BGP_IPv6_PREFIX_FILTER_RULE_DELETION type: string - asOverrideEnabled: - description: Enable AS number override - type: boolean - bfd: - $ref: '#/components/schemas/RoutingProtocolBFD' href: - description: Routing Protocol URI - example: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routingProtocols/69762051-85ed-4d13-b6b4-e32e93c672b5 + description: Route Filter Change URI format: uri type: string - uuid: - description: Routing protocol identifier - example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - format: uuid + required: + - type + - uuid + type: object + RouteFilterRulesPatchRequestItem: + description: Route Filter Rule change operation data + example: + op: replace + path: /prefixMatch + value: "{}" + properties: + op: + description: Handy shortcut for operation name + example: replace type: string - state: - enum: - - PROVISIONED - - DEPROVISIONED - - PROVISIONING - - DEPROVISIONING - - REPROVISIONING - - FAILED + path: + description: path to change + example: /prefixMatch type: string - operation: - $ref: '#/components/schemas/RoutingProtocolOperation' - change: - $ref: '#/components/schemas/RoutingProtocolChange' - changelog: - $ref: '#/components/schemas/Changelog' + value: + description: new value for updated parameter + type: object + required: + - op + - path + - value type: object - RoutingProtocolDirectData: + RouteFilterRulesChangeOperation: + description: Route Filter Rule change operation data + example: + op: add + path: / + value: + prefix: 192.168.0.0/24 + name: Private-subnet-filter + description: description + prefixMatch: "orlonger, exact" properties: - type: - description: Routing protocol type + op: + description: Handy shortcut for operation name enum: - - DIRECT + - add + - replace + - remove type: string - name: - example: My-direct-route-1 + path: + description: path inside document leading to updated parameter + example: / type: string - directIpv4: - $ref: '#/components/schemas/DirectConnectionIpv4' - directIpv6: - $ref: '#/components/schemas/DirectConnectionIpv6' + value: + $ref: '#/components/schemas/RouteFilterRulesBase' + required: + - op + - path + - value + type: object + SimplifiedLocationWithoutIBX: + example: + metroName: Amsterdam + metroCode: AM + href: href + region: "AMER, APAC, EMEA" + properties: href: - description: Routing Protocol URI - example: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f/routingProtocols/69762051-85ed-4d13-b6b4-e32e93c672b5 + description: The Canonical URL at which the resource resides. + type: string + region: + example: "AMER, APAC, EMEA" + type: string + metroName: + example: Amsterdam + type: string + metroCode: + example: AM + type: string + required: + - metroCode + type: object + CloudRouterPostRequestPackage: + description: Fabric Cloud Router Package Type + example: + code: LAB + href: https://api.equinix.com/fabric/v4/routerPackages/LAB + type: ROUTER_PACKAGE + properties: + href: + description: Fabric Cloud Router URI + example: https://api.equinix.com/fabric/v4/routerPackages/LAB format: uri type: string - uuid: - description: Routing protocol identifier - example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 - format: uuid + type: + description: Cloud Router package type + enum: + - ROUTER_PACKAGE + example: ROUTER_PACKAGE type: string - state: + code: + description: Cloud Router package code enum: - - PROVISIONED - - DEPROVISIONED - - PROVISIONING - - DEPROVISIONING - - REPROVISIONING - - FAILED + - LAB + - ADVANCED + - STANDARD + - PREMIUM + example: LAB type: string - operation: - $ref: '#/components/schemas/RoutingProtocolOperation' - change: - $ref: '#/components/schemas/RoutingProtocolChange' - changelog: - $ref: '#/components/schemas/Changelog' + required: + - code type: object - BGPActions: - description: BGP action type - enum: - - CLEAR_BGPIPV4 - - CLEAR_BGPIPV6 - - CLEAR_BGPIPV4_INBOUND - - CLEAR_BGPIPV6_INBOUND - - RESET_BGPIPV4 - - RESET_BGPIPV6 - type: string - BGPActionStates: - description: BGP action state + CloudRouterAccessPointState: + description: Access point lifecycle state enum: - - PENDING - - FAILED - - SUCCEEDED + - PROVISIONED + - PROVISIONING + - DEPROVISIONING + - DEPROVISIONED + - REPROVISIONING + - NOT_PROVISIONED + - NOT_DEPROVISIONED type: string - RoutingProtocolChange: - description: Current state of latest Routing Protocol change + CloudRouterChange: + description: Current state of latest CloudRouter change + example: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z properties: uuid: description: Uniquely identifies a change @@ -44168,1675 +60597,3359 @@ components: type: description: Type of change enum: - - ROUTING_PROTOCOL_UPDATE - - ROUTING_PROTOCOL_CREATION - - ROUTING_PROTOCOL_DELETION + - ROUTER_UPDATE + - ROUTER_PACKAGE_UPDATE type: string - href: - description: Routing Protocol Change URI - format: uri + status: + description: Current outcome of the change flow + enum: + - COMPLETED + - FAILED + - REQUESTED + type: string + createdDateTime: + description: Set when change flow starts + example: 2020-11-06T07:00:00Z + format: date-time + type: string + updatedDateTime: + description: Set when change object is updated + example: 2020-11-06T07:00:00Z + format: date-time type: string + information: + description: Additional information + type: string + data: + $ref: '#/components/schemas/CloudRouterChangeOperation' required: - type - - uuid + - updatedDateTime type: object - RoutingProtocolChangeOperation: - description: Routing Protocol change operation data + CloudRouterChangeOperation: + description: Fabric Cloud Router change operation data example: - op: add - path: / - value: - type: BGP + op: replace + path: path + value: "{}" properties: op: description: Handy shortcut for operation name enum: - - add - replace + - add - remove type: string path: description: path inside document leading to updated parameter - example: / type: string value: - $ref: '#/components/schemas/RoutingProtocolBase' + description: new value for updated parameter + type: object required: - op - path - value type: object - PaginationRequest: - description: Pagination request information + CloudRouterActionType: + description: Cloud Router action type + enum: + - BGP_SESSION_STATUS_UPDATE + - ROUTE_TABLE_ENTRY_UPDATE + - RECEIVED_ROUTE_ENTRY_UPDATE + - ADVERTISED_ROUTE_ENTRY_UPDATE + type: string + RouterActionsConnection: + description: Connection object for router actions example: - offset: 0 - limit: 1 + uuid: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 properties: - offset: - default: 0 - description: Index of the first element. - minimum: 0 - type: integer - limit: - default: 20 - description: "Number of elements to be requested per page. Number must be\ - \ between 1 and 100, and the default is 20." - minimum: 1 - type: integer + uuid: + description: Connection UUID + example: 557400f8-d360-11e9-bb65-2a2ae2dbcce4 + type: string type: object - SortDirection: - default: DESC - description: Sorting direction - enum: - - DESC - - ASC - type: string - SortBy: - default: /changeLog/updatedDateTime - description: Possible field names to use on sorting - enum: - - /name - - /direction - - /aSide/accessPoint/name - - /aSide/accessPoint/type - - /aSide/accessPoint/account/accountName - - /aSide/accessPoint/location/metroName - - /aSide/accessPoint/location/metroCode - - /aSide/accessPoint/linkProtocol/vlanCTag - - /aSide/accessPoint/linkProtocol/vlanSTag - - /zSide/accessPoint/name - - /zSide/accessPoint/type - - /zSide/accessPoint/account/accountName - - /zSide/accessPoint/location/metroName - - /zSide/accessPoint/location/metroCode - - /zSide/accessPoint/linkProtocol/vlanCTag - - /zSide/accessPoint/linkProtocol/vlanSTag - - /zSide/accessPoint/authenticationKey - - /bandwidth - - /geoScope - - /uuid - - /changeLog/createdDateTime - - /changeLog/updatedDateTime - - /operation/equinixStatus - - /operation/providerStatus - - /redundancy/priority - type: string - SortCriteriaResponse: + Operation: + description: Operation object for router actions example: - property: null - direction: null + bgpIpv4RoutesCount: 6 + bgpIpv6RoutesCount: 6 properties: - direction: - $ref: '#/components/schemas/SortDirection' - property: - $ref: '#/components/schemas/SortBy' + bgpIpv4RoutesCount: + description: IPV4 Route Count + example: 6 + type: integer + bgpIpv6RoutesCount: + description: IPV6 Route Count + example: 6 + type: integer type: object - Price: + RouteTableEntry: + description: Route table entry object example: - code: code - catgory: null - ipBlock: - prefixLength: 5 - location: - metroCode: metroCode - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - description: description - type: null - charges: - - price: 0.08008281904610115 - type: MONTHLY_RECURRING - - price: 0.08008281904610115 - type: MONTHLY_RECURRING - router: - package: - code: null - location: - metroCode: metroCode - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - termLength: 6 - port: - serviceType: null - settings: - buyout: false - lag: - enabled: false - bandwidth: 2 - connectivitySource: - type: null - location: - ibx: ibx - physicalPortsQuantity: 5 - redundancy: - enabled: false - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - name: name - currency: currency + nextHop: 10.10.10.5 + prefix: 192.168.10.0/24 + localPreference: 200 + asPath: + - asPath + - asPath + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z connection: - bandwidth: 0 - aSide: - accessPoint: - port: - settings: - buyout: false - location: - metroCode: metroCode - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - zSide: - accessPoint: - port: - settings: - buyout: false - profile: - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - location: - metroCode: metroCode - bridge: - package: - code: null - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - href: http://example.com/aeiou - account: - resellerOrgId: 5 - organizationName: organizationName - resellerAccountNumber: 1 - accountName: accountName - ucmId: ucmId - resellerUcmId: resellerUcmId - globalOrganizationName: globalOrganizationName - globalOrgId: globalOrgId - resellerAccountName: resellerAccountName - accountNumber: 0 - globalCustId: globalCustId - orgId: 6 + name: connection_1 + uuid: 81331c52-04c0-4656-a4a7-18c52669348f + protocolType: null + state: null + type: null + MED: 5 + age: PT5M30S properties: - href: - description: An absolute URL that returns specified pricing data - format: url - type: string type: - $ref: '#/components/schemas/ProductType' - code: - description: Equinix-assigned product code + $ref: '#/components/schemas/RouteTableEntryType' + protocolType: + $ref: '#/components/schemas/RouteTableEntryProtocolType' + state: + $ref: '#/components/schemas/RouteTableEntryState' + age: + example: PT5M30S type: string - name: - description: Full product name + prefix: + example: 192.168.10.0/24 type: string - description: - description: Product description + nextHop: + example: 10.10.10.5 type: string - account: - $ref: '#/components/schemas/SimplifiedAccount' - charges: + MED: + example: 5 + type: integer + localPreference: + example: 200 + type: integer + asPath: items: - $ref: '#/components/schemas/PriceCharge' + type: string type: array - currency: - description: Product offering price currency - type: string - termLength: - description: In months. No value means unlimited - enum: - - 12 - - 24 - - 36 - type: integer - catgory: - $ref: '#/components/schemas/PriceCategory' connection: - $ref: '#/components/schemas/VirtualConnectionPrice' - ipBlock: - $ref: '#/components/schemas/IpBlockPrice' - router: - $ref: '#/components/schemas/FabricCloudRouterPrice' - port: - $ref: '#/components/schemas/VirtualPortPrice' + $ref: '#/components/schemas/ConnectionRouteTableEntry_connection' + changeLog: + $ref: '#/components/schemas/Changelog' + required: + - changeLog + - state + - type type: object - ServiceProfileTypeEnum: - description: Service profile type - enum: - - L2_PROFILE - - L3_PROFILE - - IA_PROFILE - example: L2_PROFILE - type: string - ServiceProfileVisibilityEnum: + code: + description: Cloud Router package code enum: - - PRIVATE - - PUBLIC + - LAB + - ADVANCED + - STANDARD + - PREMIUM + example: LAB type: string - SimplifiedLocation: + PackageChangeLog: + description: Cloud Router package change log example: - metroName: Amsterdam - metroCode: AM - metroHref: https://api.equinix.com/fabric/v4/metros/AM - region: "AMER, APAC, EMEA" - ibx: AM1 + createdDateTime: 2020-11-06T07:00:00Z + updatedDateTime: 2020-11-06T07:00:00Z properties: - region: - example: "AMER, APAC, EMEA" + createdDateTime: + example: 2020-11-06T07:00:00Z + format: date-time type: string - metroName: - example: Amsterdam + updatedDateTime: + example: 2020-11-06T07:00:00Z + format: date-time type: string - metroCode: - example: AM + type: object + ApiServices: + description: Available services details + example: + changedDateTime: changedDateTime + route: route + status: status + properties: + route: + description: service routes type: string - metroHref: - example: https://api.equinix.com/fabric/v4/metros/AM + status: + description: service status type: string - ibx: - example: AM1 + changedDateTime: + description: service status change date type: string type: object - ServiceProfileStateEnum: - description: Equinix assigned state. - enum: - - ACTIVE - - PENDING_APPROVAL - - DELETED - - REJECTED - example: ACTIVE - type: string - ServiceTokenType: - description: Type of Service Token - enum: - - VC_TOKEN - type: string - ServiceTokenConnection: - description: Service Token Connection Type Information + ValidateConnectionResponse: + description: Validate Connection specification example: - allowRemoteConnection: false + bandwidth: 4004 aSide: - accessPointSelectors: - - port: + internetAccess: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 + globalOrgId: globalOrgId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false href: https://openapi-generator.tech - type: type + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile href: https://openapi-generator.tech - type: type + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - bandwidthLimit: 23021 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - supportedBandwidths: - - 7 - - 7 - zSide: - accessPointSelectors: - - port: + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: href: https://openapi-generator.tech - type: type + id: 5 + type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: href: https://openapi-generator.tech - type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - properties: - type: - description: Type of Connection - enum: - - EVPL_VC - type: string - href: - description: An absolute URL that is the subject of the link's context. - format: uri - readOnly: true - type: string - uuid: - description: Equinix-assigned connection identifier - format: uuid - type: string - allowRemoteConnection: - default: false - description: Authorization to connect remotely - type: boolean - bandwidthLimit: - description: Connection bandwidth limit in Mbps - maximum: 100000 - minimum: 0 - type: integer - supportedBandwidths: - description: List of permitted bandwidths. - items: - type: integer - type: array - aSide: - $ref: '#/components/schemas/ServiceTokenSide' - zSide: - $ref: '#/components/schemas/ServiceTokenSide' - required: - - type - type: object - ServiceTokenState: - description: Service token state - enum: - - ACTIVE - - INACTIVE - - EXPIRED - - DELETED - type: string - ServiceTokenChangeOperation: - description: Service Token change operation data - example: - op: replace - path: /expirationDateTime - value: "{}" - properties: - op: - description: Handy shortcut for operation name - enum: - - replace - - add - - remove - type: string - path: - description: path inside document leading to updated parameter - example: /expirationDateTime - type: string - value: - description: new value for updated parameter - type: object - required: - - op - - path - - value - type: object - ServiceTokenActions: - description: Service Token action type - enum: - - RESEND_EMAIL_NOTIFICATION - type: string - PortType: - description: Type of Port - enum: - - XF_PORT - - IX_PORT - type: string - PortState: - description: Port lifecycle state - enum: - - PENDING - - PROVISIONING - - PROVISIONED - - ACTIVE - - DEPROVISIONING - - DEPROVISIONED - - INACTIVE - - FAILED - - ADDED - - DELETED - - TO_BE_ADDED - - TO_BE_DELETED - type: string - PortOrder: - example: - customerReferenceId: customerReferenceId - orderNumber: orderNumber - orderId: orderId - signature: - delegate: - firstName: firstName - lastName: lastName - email: email - signatory: DELEGATE - purchaseOrder: - number: number - amount: amount - selectionType: EXEMPTION - endDate: endDate - attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - startDate: startDate - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - properties: - purchaseOrder: - $ref: '#/components/schemas/PortOrder_purchaseOrder' - orderId: - description: Order Identification - type: string - customerReferenceId: - description: Customer order reference Id - type: string - orderNumber: - description: Order Reference Number - type: string - uuid: - description: Equinix-assigned order identifier - format: uuid - type: string - signature: - $ref: '#/components/schemas/PortOrder_signature' - type: object - PortOperation: - description: Operational specifications for ports. - example: - operationalStatus: UP - connectionCount: 4 - opStatusChangedAt: 2020-11-06T07:00:00Z - properties: - operationalStatus: - description: Availability of a given physical port. - enum: - - UP - - DOWN - type: string - connectionCount: - description: Total number of connections. - type: integer - opStatusChangedAt: - description: Date and time at which port availability changed. - example: 2020-11-06T07:00:00Z - format: date-time - type: string - type: object - PortDevice: - description: Port device - example: - name: name + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion redundancy: - priority: PRIMARY + priority: null group: group - properties: - name: - description: Device name - type: string - redundancy: - $ref: '#/components/schemas/PortDeviceRedundancy' - type: object - PortInterface: - description: Port interface - example: - ifIndex: ifIndex - name: name - type: type - properties: - type: - description: Port interface type - type: string - ifIndex: - description: Port interface index - type: string - name: - description: Port interface name - type: string - type: object - PortDemarcationPoint: - description: Customer physical Port - example: - patchPanel: patchPanel - patchPanelName: patchPanelName - connectorType: connectorType - cabinetUniqueSpaceId: cabinetUniqueSpaceId - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cageUniqueSpaceId: cageUniqueSpaceId - ibx: ibx - properties: - cabinetUniqueSpaceId: - description: Port cabinet unique space id - type: string - cageUniqueSpaceId: - description: Port cage unique space id - type: string - patchPanel: - description: Port patch panel - type: string - patchPanelName: - deprecated: true - description: Port patch panel - type: string - patchPanelPortA: - description: Port patch panel port A - type: string - patchPanelPortB: - description: Port patch panel port B - type: string - connectorType: - description: Port connector type - type: string - ibx: - description: Port ibx identifier - type: string - type: object - PortRedundancy: - description: Port redundancy configuration - example: - priority: null - enabled: true - group: group - properties: - enabled: - description: Access point redundancy - type: boolean - group: - description: Port UUID of respective primary port - type: string - priority: - $ref: '#/components/schemas/PortPriority' - type: object - PortEncapsulation: - description: Port encapsulation configuration - example: - tagProtocolId: tagProtocolId - type: "NULL" - properties: - type: - description: Port encapsulation protocol type - enum: - - "NULL" - - DOT1Q - - QINQ - - UNTAGGED - type: string - tagProtocolId: - description: Port encapsulation tag protocol identifier - type: string - type: object - PortLag: - description: Port Lag - example: - name: name - memberStatus: memberStatus - id: id - enabled: true - properties: - id: - description: id - type: string - enabled: - description: enabled - type: boolean - name: - description: name - type: string - memberStatus: - description: member status - type: string - type: object - PortSettings: - description: Port configuration settings - example: - product: product - productCode: productCode - layer3Enabled: true - buyout: true - viewPortPermission: true - placeVcOrderPermission: true - sharedPortType: true - packageType: STANDARD - sharedPortProduct: NETWORK_EDGE - properties: - product: - description: Product name - type: string - buyout: - type: boolean - viewPortPermission: - type: boolean - placeVcOrderPermission: - type: boolean - layer3Enabled: - type: boolean - productCode: - type: string - sharedPortType: - type: boolean - sharedPortProduct: - enum: - - NETWORK_EDGE - - VIRTUAL_GATEWAY - - SMARTKEY - - EDGE_METAL - type: string - packageType: - description: Type of Port Package - enum: - - STANDARD - - UNTAGGED - - UNLIMITED - - UNLIMITED PLUS - type: string - type: object - PortNotification: - example: - registeredUsers: - - registeredUsers - - registeredUsers - type: NOTIFICATION - properties: - type: - description: Notification Type - enum: - - NOTIFICATION - - TECHNICAL - - PEERING - - ESCALATION - type: string - registeredUsers: - description: Array of registered users - items: - type: string - type: array - required: - - registeredUsers - - type - type: object - PortAdditionalInfo: - description: Additional information - example: - value: value - key: key - properties: - key: - description: Key - type: string - value: - description: Value - type: string - type: object - PortLoa: - description: Port Loas - example: - href: https://openapi-generator.tech - type: CTR_LOA uuid: uuid + zSide: + internetAccess: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + invitation: + ctrDraftOrderId: ctrDraftOrderId + message: "Hello, Please accept my invitation" + email: test@equinix.com + additionalInfo: + - value: value + key: key + - value: value + key: key + companyProfile: + name: Company-1 + globalOrgId: globalOrgId + id: 1 + serviceToken: + expirationDateTime: 2020-11-06T07:00:00Z + description: description + changelog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + issuerSide: ASIDE + name: name + connection: + allowRemoteConnection: false + aSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + bandwidthLimit: 23021 + allowCustomBandwidth: false + href: https://openapi-generator.tech + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + supportedBandwidths: + - 7 + - 7 + zSide: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + href: https://openapi-generator.tech + state: null + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion properties: uuid: - description: uuid - type: string - href: - description: Loa uri. - format: uri - readOnly: true - type: string - type: - description: Loa type - enum: - - CTR_LOA - type: string - type: object - PhysicalPortType: - description: Type of Port - enum: - - XF_PHYSICAL_PORT - type: string - PortTether: - description: Port physical connection - example: - patchPanel: patchPanel - systemName: systemName - patchPanelPortB: patchPanelPortB - patchPanelPortA: patchPanelPortA - cabinetNumber: cabinetNumber - ibx: ibx - crossConnectId: crossConnectId - properties: - crossConnectId: - description: Port cross connect identifier - type: string - cabinetNumber: - description: Port cabinet number - type: string - systemName: - description: Port system name - type: string - patchPanel: - description: Port patch panel - type: string - patchPanelPortA: - description: Port patch panel port A - type: string - patchPanelPortB: - description: Port patch panel port B - type: string - ibx: - description: z-side/Equinix IBX - type: string - type: object - LinkProtocolResponse: - description: Link Protocol response - example: - vlanTag: 20 - vlanCTag: 20 - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - type: null - vlanSTag: 20 - vlanCTagMin: 20 - uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 - vlanTagMin: 20 - subInterface: - unit: 200 - name: name - vni: 20 - href: https://openapi-generator.tech - state: null - vlanTagMax: 200 - asset: - bandwidth: 100 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: cd67f685-41b0-1b07-6de0-320a5c00abe - serviceToken: - bandwidth: 1000 - href: https://openapi-generator.tech - type: TOKEN - uuid: cd67f685-41b0-1b07-6de0-0320a5c00abe - vlanCTagMax: 200 - properties: - href: - description: LinkProtocol URI - format: uri - readOnly: true - type: string - uuid: - description: Equinix-assigned network identifier - example: 92dc376a-a932-43aa-a6a2-c806dedbd784 - format: uuid + description: Equinix-assigned connection identifier type: string - state: - $ref: '#/components/schemas/LinkProtocolState' - type: - $ref: '#/components/schemas/LinkProtocolRequestType' - vlanTag: - example: 20 - type: integer - vni: - example: 20 - type: integer - vlanTagMin: - example: 20 - type: integer - vlanTagMax: - example: 200 - type: integer - vlanSTag: - example: 20 - type: integer - vlanCTag: - example: 20 - type: integer - vlanCTagMin: - example: 20 - type: integer - vlanCTagMax: - example: 200 + bandwidth: + description: Connection bandwidth in Mbps + maximum: 50000 + minimum: 0 type: integer - subInterface: - $ref: '#/components/schemas/SubInterface' - asset: - $ref: '#/components/schemas/LinkProtocolConnection' - serviceToken: - $ref: '#/components/schemas/LinkProtocolServiceToken' - changeLog: - $ref: '#/components/schemas/Changelog' + redundancy: + $ref: '#/components/schemas/ConnectionRedundancy' + aSide: + $ref: '#/components/schemas/ConnectionSide' + zSide: + $ref: '#/components/schemas/ConnectionSide' type: object - PortSortDirection: - default: DESC - description: Sorting direction + NetworkType: + description: Network type enum: - - DESC - - ASC + - EVPLAN + - EPLAN + - IPWAN type: string - PortSortBy: - default: /device/name - description: Possible field names to use on sorting + NetworkScope: + description: Network scope enum: - - /device/name + - REGIONAL + - GLOBAL + - LOCAL type: string - RouteFilterState: - description: Route Filter status + NetworkState: + description: Network status enum: - - PROVISIONING - - REPROVISIONING - - DEPROVISIONING - - PROVISIONED - - DEPROVISIONED - - NOT_PROVISIONED - - NOT_DEPROVISIONED + - ACTIVE + - INACTIVE + - DELETED + example: ACTIVE type: string - RouteFiltersChange: - description: Current state of latest Route Filter change + SimplifiedNetworkChange: + description: Current state of latest network change example: - href: https://openapi-generator.tech - type: BGP_IPv4_PREFIX_FILTER_UPDATE - uuid: uuid + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 properties: - uuid: - description: Uniquely identifies a change - type: string - type: - description: Type of change - enum: - - BGP_IPv4_PREFIX_FILTER_UPDATE - - BGP_IPv4_PREFIX_FILTER_CREATION - - BGP_IPv4_PREFIX_FILTER_DELETION - - BGP_IPv6_PREFIX_FILTER_UPDATE - - BGP_IPv6_PREFIX_FILTER_CREATION - - BGP_IPv6_PREFIX_FILTER_DELETION - type: string href: - description: Route Filter Change URI + description: Network URI + example: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 format: uri + readOnly: true type: string - required: - - type - - uuid - type: object - RouteFiltersPatchRequestItem: - description: Route Filter change operation data - example: - op: replace - path: /name - value: "{}" - properties: - op: - description: Handy shortcut for operation name - example: replace - type: string - path: - description: path to change - example: /name + uuid: + description: Uniquely identifies a change + example: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + format: uuid type: string - value: - description: new value for updated parameter - type: object - required: - - op - - path - - value + type: + $ref: '#/components/schemas/NetworkChangeType' type: object - RouteFiltersChangeOperation: - description: Route Filter change operation data + NetworkOperation: + description: Network operational data example: - op: add - path: / - value: - name: My-direct-route-1 - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: BGP_IPv4_PREFIX_FILTER + equinixStatus: null properties: - op: - description: Handy shortcut for operation name - enum: - - add - - replace - - remove - type: string - path: - description: path inside document leading to updated parameter - example: / - type: string - value: - $ref: '#/components/schemas/RouteFiltersBase' - required: - - op - - path - - value + equinixStatus: + $ref: '#/components/schemas/NetworkEquinixStatus' type: object - RouteFilterConnectionsData: + Link: example: - name: connection-1 - href: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f - type: null - uuid: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d + authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType properties: href: - description: Connection URI - example: https://api.equinix.com/fabric/v4/connections/81331c52-04c0-4656-a4a7-18c52669348f + description: Resource URI format: uri + readOnly: true type: string - type: - $ref: '#/components/schemas/ConnectionType' - uuid: - description: Route Filter identifier - example: 695a8471-6595-4ac6-a2f4-b3d96ed3a59d - format: uuid - type: string - name: - example: connection-1 - type: string - type: object - RouteFilterRuleState: - description: Route Filter Rule status - enum: - - PROVISIONING - - REPROVISIONING - - DEPROVISIONING - - PROVISIONED - - DEPROVISIONED - - NOT_PROVISIONED - - NOT_DEPROVISIONED - type: string - RouteFilterRulesChange: - description: Current state of latest Route Filter Rule change - example: - href: https://openapi-generator.tech - type: BGP_IPv4_PREFIX_FILTER_RULE_UPDATE - uuid: uuid - properties: - uuid: - description: Uniquely identifies a change + rel: + description: OperationId from Swagger hub spec type: string - type: - description: Type of change - enum: - - BGP_IPv4_PREFIX_FILTER_RULE_UPDATE - - BGP_IPv4_PREFIX_FILTER_RULE_CREATION - - BGP_IPv4_PREFIX_FILTER_RULE_DELETION - - BGP_IPv6_PREFIX_FILTER_RULE_UPDATE - - BGP_IPv6_PREFIX_FILTER_RULE_CREATION - - BGP_IPv6_PREFIX_FILTER_RULE_DELETION + method: + description: Http method type type: string - href: - description: Route Filter Change URI - format: uri + contentType: + description: Content type for the response type: string - required: - - type - - uuid + authenticate: + description: Authentication required or not + type: boolean type: object - RouteFilterRulesPatchRequestItem: - description: Route Filter Rule change operation data + NetworkChangeOperation: + description: Network change operation data example: op: replace - path: /prefixMatch + path: /name value: "{}" - properties: - op: - description: Handy shortcut for operation name - example: replace - type: string - path: - description: path to change - example: /prefixMatch - type: string - value: - description: new value for updated parameter - type: object - required: - - op - - path - - value - type: object - RouteFilterRulesChangeOperation: - description: Route Filter Rule change operation data - example: - op: add - path: / - value: - prefix: 192.168.0.0/24 - name: Private-subnet-filter - description: description - prefixMatch: "orlonger, exact" properties: op: description: Handy shortcut for operation name enum: - - add - replace + - add - remove type: string path: description: path inside document leading to updated parameter - example: / + example: /name type: string value: - $ref: '#/components/schemas/RouteFilterRulesBase' + description: new value for updated parameter + type: object required: - op - path - value type: object - SimplifiedLocationWithoutIBX: + NetworkSortCriteriaResponse: example: - metroName: Amsterdam - metroCode: AM - href: href - region: "AMER, APAC, EMEA" + property: null + direction: null properties: - href: - description: The Canonical URL at which the resource resides. - type: string - region: - example: "AMER, APAC, EMEA" - type: string - metroName: - example: Amsterdam - type: string - metroCode: - example: AM - type: string - required: - - metroCode + direction: + $ref: '#/components/schemas/NetworkSortDirectionResponse' + property: + $ref: '#/components/schemas/NetworkSortByResponse' type: object - CloudRouterPostRequestPackage: - description: Fabric Cloud Router Package Type + NetworkChangeType: + description: Type of change + enum: + - NETWORK_CREATION + - NETWORK_UPDATE + - NETWORK_DELETION + type: string + NetworkChangeStatus: + description: Current outcome of the change flow + enum: + - APPROVED + - COMPLETED + - FAILED + - REJECTED + - REQUESTED + - SUBMITTED_FOR_APPROVAL + type: string + precisionTimePackageRequest: + description: Precision Time Service Level Request example: - code: LAB - href: https://api.equinix.com/fabric/v4/routerPackages/LAB - type: ROUTER_PACKAGE + code: NTP_STANDARD properties: - href: - description: Fabric Cloud Router URI - example: https://api.equinix.com/fabric/v4/routerPackages/LAB - format: uri - type: string - type: - description: Cloud Router package type - enum: - - ROUTER_PACKAGE - example: ROUTER_PACKAGE - type: string code: - description: Cloud Router package code + description: Precision Time Service Level enum: - - LAB - - ADVANCED - - STANDARD - - PREMIUM - example: LAB + - NTP_STANDARD + - NTP_ENTERPRISE + - PTP_STANDARD + - PTP_ENTERPRISE type: string required: - code + title: precisionTimePackageRequest type: object - CloudRouterAccessPointState: - description: Access point lifecycle state - enum: - - PROVISIONED - - PROVISIONING - - DEPROVISIONING - - DEPROVISIONED - - LOCKED - - NOT_PROVISIONED - - NOT_DEPROVISIONED - type: string - CloudRouterChange: - description: Current state of latest CloudRouter change + virtualConnectionUuid: + description: UUID of the Fabric Connection Instance example: - data: - op: replace - path: path - value: "{}" - createdDateTime: 2020-11-06T07:00:00Z - information: information - type: ROUTER_UPDATE - uuid: uuid - status: COMPLETED - updatedDateTime: 2020-11-06T07:00:00Z + uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f properties: - uuid: - description: Uniquely identifies a change + href: + description: Connection URI + format: uri + readOnly: true type: string type: - description: Type of change - enum: - - ROUTER_UPDATE - - ROUTER_PACKAGE_UPDATE - type: string - status: - description: Current outcome of the change flow - enum: - - COMPLETED - - FAILED - - REQUESTED - type: string - createdDateTime: - description: Set when change flow starts - example: 2020-11-06T07:00:00Z - format: date-time + description: Connection Type type: string - updatedDateTime: - description: Set when change object is updated - example: 2020-11-06T07:00:00Z - format: date-time - type: string - information: - description: Additional information - type: string - data: - $ref: '#/components/schemas/CloudRouterChangeOperation' - required: - - type - - updatedDateTime - type: object - CloudRouterChangeOperation: - description: Fabric Cloud Router change operation data - example: - op: replace - path: path - value: "{}" - properties: - op: - description: Handy shortcut for operation name - enum: - - replace - - add - - remove - type: string - path: - description: path inside document leading to updated parameter + uuid: + description: Connection UUID. + format: uuid type: string - value: - description: new value for updated parameter - type: object required: - - op - - path - - value + - uuid + title: fabricConnectionUuid type: object - CloudRouterActionType: - description: Cloud Router action type - enum: - - BGP_SESSION_STATUS_UPDATE - - ROUTE_TABLE_ENTRY_UPDATE - type: string - RouteTableEntry: - description: Route table entry object + ipv4: + description: EPT service network information example: - nextHop: 10.10.10.5 - metric: 5 - prefix: 192.168.10.0/24 - localPreference: 200 - asPath: - - 0 - - 0 - changeLog: - createdByEmail: john.smith@example.com - deletedByFullName: John Smith - updatedBy: johnsmith - createdBy: johnsmith - updatedByEmail: john.smith@example.com - createdByFullName: John Smith - createdDateTime: 2020-11-06T07:00:00Z - deletedDateTime: 2020-11-06T07:00:00Z - updatedByFullName: John Smith - deletedBy: johnsmith - deletedByEmail: john.smith@example.com - updatedDateTime: 2020-11-06T07:00:00Z - connection: - name: connection_1 - uuid: 81331c52-04c0-4656-a4a7-18c52669348f - protocolType: null - state: null - type: null - age: PT5M30S + primary: 10.0.0.1 + secondary: 10.0.0.2 + networkMask: 255.255.255.240 + defaultGateway: 10.0.0.3 properties: - type: - $ref: '#/components/schemas/RouteTableEntryType' - protocolType: - $ref: '#/components/schemas/RouteTableEntryProtocolType' - state: - $ref: '#/components/schemas/RouteTableEntryState' - age: - example: PT5M30S + primary: + description: Primary Timing Server IP Address + format: ipv4 type: string - prefix: - example: 192.168.10.0/24 + secondary: + description: Secondary Timing Server IP Address + format: ipv4 type: string - nextHop: - example: 10.10.10.5 + networkMask: + description: Network Mask + format: ipv4 + type: string + defaultGateway: + description: Gateway Interface IP address + format: ipv4 type: string - metric: - example: 5 - type: integer - localPreference: - example: 200 - type: integer - asPath: - items: - type: integer - type: array - connection: - $ref: '#/components/schemas/RouteTableEntry_connection' - changeLog: - $ref: '#/components/schemas/Changelog' required: - - changeLog - - state - - type + - networkMask + - primary + - secondary + title: ipv4 type: object - code: - description: Cloud Router package code - enum: - - LAB - - ADVANCED - - STANDARD - - PREMIUM - example: LAB - type: string - PackageChangeLog: - description: Cloud Router package change log + ntpAdvanceConfiguration: + description: NTP Advanced configuration - MD5 Authentication. + items: + $ref: '#/components/schemas/md5' + type: array + ptpAdvanceConfiguration: + description: PTP Advanced Configuration. example: - createdDateTime: 2020-11-06T07:00:00Z - updatedDateTime: 2020-11-06T07:00:00Z + timeScale: ARB + grantTime: 300 + logDelayReqInterval: -4 + domain: 0 + logSyncInterval: -4 + priority2: 128 + transportMode: MULTICAST + priority1: 128 + logAnnounceInterval: 1 properties: - createdDateTime: - example: 2020-11-06T07:00:00Z - format: date-time + timeScale: + description: "Time Scale value, ARB denotes Arbitrary and PTP denotes Precision\ + \ Time Protocol." + enum: + - ARB + - PTP + example: ARB type: string - updatedDateTime: - example: 2020-11-06T07:00:00Z - format: date-time + domain: + description: The PTP domain value. + example: 0 + maximum: 127 + minimum: 0 + type: integer + priority1: + description: "The priority1 value determines the best primary clock, Lower\ + \ value indicates higher priority." + example: 128 + maximum: 248 + minimum: 0 + type: integer + priority2: + description: The priority2 value differentiates and prioritizes the primary + clock to avoid confusion when priority1-value is the same for different + primary clocks in a network. + example: 128 + maximum: 248 + minimum: 0 + type: integer + logAnnounceInterval: + description: "Logarithmic value that controls the rate of PTP Announce packets\ + \ from the PTP time server. Default is 1 (1 packet every 2 seconds), Unit\ + \ packets/second." + enum: + - -3 + - -2 + - -1 + - 0 + - 1 + example: 1 + type: integer + logSyncInterval: + description: "Logarithmic value that controls the rate of PTP Sync packets.\ + \ Default is -4 (16 packets per second), Unit packets/second.." + enum: + - -5 + - -4 + - -3 + - -2 + - -1 + - 0 + - 1 + example: -4 + type: integer + logDelayReqInterval: + description: "Logarithmic value that controls the rate of PTP DelayReq packets.\ + \ Default is -4 (16 packets per second), Unit packets/second.." + enum: + - -5 + - -4 + - -3 + - -2 + - -1 + - 0 + - 1 + example: -4 + type: integer + transportMode: + enum: + - MULTICAST + - UNICAST + - HYBRID type: string + grantTime: + description: "Unicast Grant Time in seconds. For Multicast and Hybrid transport\ + \ modes, grant time defaults to 300 seconds. For Unicast mode, grant time\ + \ can be between 30 to 7200." + example: 300 + maximum: 7200 + minimum: 30 + type: integer type: object - ApiServices: - description: Available services details + precisionTimeOrder: + description: Precision Time Order example: - changedDateTime: changedDateTime - route: route - status: status + orderNumber: orderNumber + customerReferenceNumber: customerReferenceNumber + purchaseOrderNumber: purchaseOrderNumber properties: - route: - description: service routes + purchaseOrderNumber: + description: Purchase order number type: string - status: - description: service status + customerReferenceNumber: + description: Customer reference number type: string - changedDateTime: - description: service status change date + orderNumber: + description: Order Reference Number type: string + title: precisionTimeOrder type: object - NetworkType: - description: Network type - enum: - - EVPLAN - - EPLAN - - IPWAN - type: string - NetworkScope: - description: Network scope - enum: - - REGIONAL - - GLOBAL - - LOCAL - type: string - NetworkState: - description: Network status - enum: - - ACTIVE - - INACTIVE - - DELETED - example: ACTIVE - type: string - SimplifiedNetworkChange: - description: Current state of latest network change + virtualConnectionTimeServiceResponse: + description: Fabric Connection Precision Time Service Response Object example: - href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 - type: null - uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + aSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion + href: https://openapi-generator.tech + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + zSide: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile + href: https://openapi-generator.tech + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion properties: href: - description: Network URI - example: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + description: Connection URI format: uri readOnly: true type: string - uuid: - description: Uniquely identifies a change - example: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 - format: uuid - type: string type: - $ref: '#/components/schemas/NetworkChangeType' - type: object - NetworkOperation: - description: Network operational data - example: - equinixStatus: null - properties: - equinixStatus: - $ref: '#/components/schemas/NetworkEquinixStatus' - type: object - Link: - example: - authenticate: true - method: method - rel: rel - href: https://openapi-generator.tech - contentType: contentType - properties: - href: - description: Resource URI - format: uri - readOnly: true - type: string - rel: - description: OperationId from Swagger hub spec - type: string - method: - description: Http method type - type: string - contentType: - description: Content type for the response - type: string - authenticate: - description: Authentication required or not - type: boolean - type: object - NetworkChangeOperation: - description: Network change operation data - example: - op: replace - path: /name - value: "{}" - properties: - op: - description: Handy shortcut for operation name - enum: - - replace - - add - - remove - type: string - path: - description: path inside document leading to updated parameter - example: /name + description: Connection Type. type: string - value: - description: new value for updated parameter - type: object - required: - - op - - path - - value - type: object - NetworkSortCriteriaResponse: - example: - property: null - direction: null - properties: - direction: - $ref: '#/components/schemas/NetworkSortDirectionResponse' - property: - $ref: '#/components/schemas/NetworkSortByResponse' - type: object - NetworkChangeType: - description: Type of change - enum: - - NETWORK_CREATION - - NETWORK_UPDATE - - NETWORK_DELETION - type: string - NetworkChangeStatus: - description: Current outcome of the change flow - enum: - - APPROVED - - COMPLETED - - FAILED - - REJECTED - - REQUESTED - - SUBMITTED_FOR_APPROVAL - type: string - fabricConnectionUuid: - description: UUID of the Fabric Connection Instance - example: - uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f - properties: uuid: - description: uuid of the Fabric L2 connection + description: Connection UUID. format: uuid type: string - href: - description: the href for the L2 connection - format: uri - type: string - type: - type: string + aSide: + $ref: '#/components/schemas/virtualConnectionSide' + zSide: + $ref: '#/components/schemas/virtualConnectionSide' required: + - href + - type - uuid - title: fabricConnectionUuid - type: object - ipv4: - description: EPT service network information - example: - primary: 10.0.0.1 - secondary: 10.0.0.2 - networkMask: 255.255.255.240 - defaultGateway: 10.0.0.3 - properties: - primary: - format: ipv4 - type: string - secondary: - format: ipv4 - type: string - networkMask: - format: ipv4 - type: string - defaultGateway: - format: ipv4 - type: string - title: ipv4 - type: object - account: - description: "Account model, includes account number and flag to indicate if\ - \ this account is reseller" - example: - accountNumber: 123456 - properties: - accountNumber: - type: integer - isResellerAccount: - type: boolean - orgId: - type: string - globalOrgId: - type: string - required: - - accountNumber - type: object - advanceConfiguration: - description: Advance Configuration for NTP/PTP - example: - ntp: - - password: password - id: 0 - type: ASCII - - password: password - id: 0 - type: ASCII - ptp: - timeScale: ARB - grantTime: 300 - logDelayReqInterval: 0 - domain: 0 - logSyncInterval: 0 - priority2: 0 - transportMode: Multicast - priority1: 0 - logAnnounceInterval: 0 - properties: - ntp: - items: - $ref: '#/components/schemas/md5' - type: array - ptp: - $ref: '#/components/schemas/ptpAdvanceConfiguration' + title: fabricConnectionResponse type: object - precisionTimePackageRequest: - description: EPT Package Request + connectionLink: example: - code: NTP_STANDARD + href: https://api.equinix.com/fabric/v4/timeServices/92dc376a-a932-43aa-a6a2-c806dedbd784/connections + type: EVPL_VC + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: href: + example: https://api.equinix.com/fabric/v4/timeServices/92dc376a-a932-43aa-a6a2-c806dedbd784/connections format: uri type: string - code: + type: enum: - - NTP_STANDARD - - NTP_ENTERPRISE - - PTP_STANDARD - - PTP_ENTERPRISE + - EVPL_VC + type: string + uuid: + format: uuid type: string - required: - - code - title: precisionTimePackageRequest type: object - precisionTimeServiceResponse: - description: EPT service instance + StreamGetSubscriptions: + description: Stream object example: - advanceConfiguration: - ntp: - - password: password - id: 0 - type: ASCII - - password: password - id: 0 - type: ASCII - ptp: - timeScale: ARB - grantTime: 300 - logDelayReqInterval: 0 - domain: 0 - logSyncInterval: 0 - priority2: 0 - transportMode: Multicast - priority1: 0 - logAnnounceInterval: 0 - package: - href: https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD - code: NTP_STANDARD - type: TIME_SERVICE_PACKAGE - bandwidth: 10 - accuracyUnit: microseconds - accuracySla: 50 - accuracyAvgMin: 1 - accuracyAvgMax: 10 - clientsPerSecondMax: 100 - redundancySupported: true - multiSubnetSupported: true - changeLog: - createdDateTime: 2023-05-16T07:50:49.749Z - updatedDateTime: 2023-05-17T07:50:49.749Z - description: description - project: - projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 - type: NTP - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - ipv4: - primary: 10.0.0.1 - secondary: 10.0.0.2 - networkMask: 255.255.255.240 - defaultGateway: 10.0.0.3 - name: name href: https://openapi-generator.tech - state: PROVISIONED - connections: - - uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f - - uuid: 095be615-a8ad-4c33-8e9c-c7612fbf6c9f - account: - accountNumber: 123456 - order: - orderNumber: orderNumber - customerReferenceNumber: customerReferenceNumber - orderId: orderId - purchaseOrderNumber: purchaseOrderNumber - billingTier: billingTier + type: STREAM_SUBSCRIPTION + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 properties: - type: - enum: - - NTP - - PTP - type: string href: + description: Stream Get Stream Subscriptions URI format: uri + readOnly: true type: string uuid: - description: uuid of the ept service + description: Equinix-assigned access point identifier + example: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 format: uuid type: string - name: - description: name of the ept service - type: string - description: - type: string - state: - description: indicate service state + type: + description: Stream subscription type enum: - - PROVISIONED - - PROVISIONING - - PROVISIONING_FAILED - - CONFIGURING - - CANCELLED - - DEPROVISIONING_FAILED - - PENDING_CONFIGURATION - - DEPROVISIONED - - CONFIGURING_FAILED - - DEPROVISIONING + - STREAM_SUBSCRIPTION type: string - package: - $ref: '#/components/schemas/precisionTimePackageResponse' - connections: - description: fabric l2 connections used for the ept service - items: - $ref: '#/components/schemas/fabricConnectionUuid' - maxItems: 2 - minItems: 1 - type: array - uniqueItems: true - order: - $ref: '#/components/schemas/Order' - ipv4: - $ref: '#/components/schemas/ipv4' - advanceConfiguration: - $ref: '#/components/schemas/advanceConfiguration' - project: - $ref: '#/components/schemas/Project' - account: - $ref: '#/components/schemas/account' - required: - - href - - ipv4 - - order - - package - - state - - type - - uuid - title: precisionTimeServiceResponse type: object - connectionLink: + StreamTarget: + description: Stream uuid example: - href: https://api.equinix.com/fabric/v4/timeServices/92dc376a-a932-43aa-a6a2-c806dedbd784/connections - type: EVPL_VC - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + uuid: 657400f8-d360-11e9-bb65-2a2ae2dbcce5 properties: - href: - example: https://api.equinix.com/fabric/v4/timeServices/92dc376a-a932-43aa-a6a2-c806dedbd784/connections - format: uri - type: string - type: - enum: - - EVPL_VC - type: string uuid: + description: Stream UUID + example: 657400f8-d360-11e9-bb65-2a2ae2dbcce5 format: uuid type: string type: object @@ -45966,7 +64079,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -45976,7 +64089,7 @@ components: ibxs: - ibxs - ibxs - vcBandwidthMax: 1 + vcBandwidthMax: 3 displayName: displayName name: name inTrail: true @@ -46002,7 +64115,7 @@ components: type: null interface: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -46115,20 +64228,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -46136,8 +64247,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -46155,6 +64264,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -46165,7 +64277,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -46190,19 +64305,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -46242,9 +64363,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -46269,19 +64394,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -46321,9 +64452,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -46333,8 +64464,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -46377,10 +64511,10 @@ components: orgId: 6 peeringType: null linkProtocol: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 sellerRegion: sellerRegion properties: type: @@ -46529,6 +64663,23 @@ components: - CANCELLED - PENDING_INTERFACE_CONFIGURATION type: string + RouteTableEntryType: + description: Route table entry type + enum: + - IPv4_BGP_ROUTE + - IPv4_STATIC_ROUTE + - IPv4_DIRECT_ROUTE + - IPv6_BGP_ROUTE + - IPv6_STATIC_ROUTE + - IPv6_DIRECT_ROUTE + type: string + RouteTableEntryProtocolType: + description: Route table entry protocol type + enum: + - BGP + - STATIC + - DIRECT + type: string BGPConnectionOperation: description: BGP IPv4 or IPv6 Connection State operational data properties: @@ -46670,294 +64821,871 @@ components: description: Preferences and settings for a virtual port connected to an internet service provider (ISP) or other Equinix platform entity. example: - serviceType: null - settings: - buyout: false - lag: - enabled: false - bandwidth: 2 - connectivitySource: - type: null - location: - ibx: ibx - physicalPortsQuantity: 5 - redundancy: - enabled: false - type: null - uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + serviceType: null + settings: + buyout: false + lag: + enabled: false + bandwidth: 2 + connectivitySource: + type: null + location: + ibx: ibx + physicalPortsQuantity: 5 + redundancy: + enabled: false + type: null + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + uuid: + description: Unique identifier assigned to the virtual port. Either the + uuid or the remaining attributes must be supplied. + format: uuid + type: string + type: + $ref: '#/components/schemas/VirtualPortType' + location: + $ref: '#/components/schemas/VirtualPortLocation' + lag: + $ref: '#/components/schemas/LinkAggregationGroup' + physicalPortsQuantity: + default: 1 + description: Number of physical ports requested. The defaults is 1. + type: integer + bandwidth: + description: "Aggregated data transfer capacity, expressed as follows
\ + \ -> Mbps, megabits (1 million bits) per second
-> Gbps, gigabits\ + \ (1 billion bits) per second
Bandwidth must be divisible by physicalPortsQuantity." + type: integer + redundancy: + $ref: '#/components/schemas/VirtualPortRedundancy' + connectivitySource: + $ref: '#/components/schemas/ConnectivitySource' + serviceType: + $ref: '#/components/schemas/VirtualPortServiceType' + settings: + $ref: '#/components/schemas/VirtualPortConfiguration' + type: object + ServiceTokenSide: + description: "Connection link protocol,virtual device or network configuration" + example: + accessPointSelectors: + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + portName: portName + type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: COLO + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + accessPointSelectors: + description: List of AccessPointSelectors + items: + $ref: '#/components/schemas/AccessPointSelector' + type: array + type: object + PortDeviceRedundancy: + description: Device redundancy + example: + priority: PRIMARY + group: group + properties: + group: + description: Device redundancy group + type: string + priority: + description: Device redundancy priority + enum: + - PRIMARY + - SECONDARY + type: string + type: object + PortPriority: + description: Port priority in redundancy group + enum: + - PRIMARY + - SECONDARY + type: string + LinkProtocolState: + description: Network status + enum: + - RESERVED + - RELEASED + type: string + LinkProtocolRequestType: + description: Type of Link Protocol + enum: + - UNTAGGED + - DOT1Q + - QINQ + - VXLAN + type: string + SubInterface: + description: Sub Interface information + example: + unit: 200 + name: name + properties: + name: + description: name of subinterafce of a port + type: string + unit: + example: 200 + type: integer + type: object + LinkProtocolConnection: + description: Connection details of Link Protocol + example: + bandwidth: 100 + href: https://openapi-generator.tech + type: EVPL_VC + uuid: cd67f685-41b0-1b07-6de0-320a5c00abe + properties: + href: + description: Connection URI + format: uri + readOnly: true + type: string + uuid: + example: cd67f685-41b0-1b07-6de0-320a5c00abe + format: string + type: string + type: + example: EVPL_VC + type: string + bandwidth: + example: 100 + format: int64 + type: integer + type: object + LinkProtocolServiceToken: + description: Service Token details of Link Protocol + example: + bandwidth: 1000 + href: https://openapi-generator.tech + type: TOKEN + uuid: cd67f685-41b0-1b07-6de0-0320a5c00abe + properties: + href: + description: Service Token URI + format: uri + readOnly: true + type: string + uuid: + example: cd67f685-41b0-1b07-6de0-0320a5c00abe + format: uuid + type: string + type: + example: TOKEN + type: string + bandwidth: + example: 1000 + format: int64 + type: integer + type: object + RouteTableEntryState: + description: Route table entry state + enum: + - ACTIVE + type: string + NetworkEquinixStatus: + description: Network status + enum: + - PROVISIONING + - PROVISIONED + - NOT_PROVISIONED + - DEPROVISIONING + - DEPROVISIONED + - NOT_DEPROVISIONED + type: string + NetworkSortDirectionResponse: + default: DESC + description: Sorting direction + enum: + - DESC + - ASC + type: string + NetworkSortByResponse: + default: /changeLog/updatedDateTime + description: Possible field names to use on sorting + enum: + - /name + - /type + - /uuid + - /state + - /scope + - /location/region + - /changeLog/createdDateTime + - /changeLog/updatedDateTime + type: string + md5: + example: + keyNumber: 10 + type: ASCII + key: key properties: - uuid: - description: Unique identifier assigned to the virtual port. Either the - uuid or the remaining attributes must be supplied. - format: uuid - type: string type: - $ref: '#/components/schemas/VirtualPortType' - location: - $ref: '#/components/schemas/VirtualPortLocation' - lag: - $ref: '#/components/schemas/LinkAggregationGroup' - physicalPortsQuantity: - default: 1 - description: Number of physical ports requested. The defaults is 1. - type: integer - bandwidth: - description: "Aggregated data transfer capacity, expressed as follows
\ - \ -> Mbps, megabits (1 million bits) per second
-> Gbps, gigabits\ - \ (1 billion bits) per second
Bandwidth must be divisible by physicalPortsQuantity." + enum: + - ASCII + - HEX + type: string + keyNumber: + description: The authentication Key ID. + example: 10 + maximum: 65534 + minimum: 1 type: integer - redundancy: - $ref: '#/components/schemas/VirtualPortRedundancy' - connectivitySource: - $ref: '#/components/schemas/ConnectivitySource' - serviceType: - $ref: '#/components/schemas/VirtualPortServiceType' - settings: - $ref: '#/components/schemas/VirtualPortConfiguration' + key: + description: "The plaintext authentication key. For ASCII type, the key\ + \ must contain printable ASCII characters, range 10-20 characters. For\ + \ HEX type, range should be 10-40 characters." + maxLength: 40 + minLength: 10 + type: string type: object - ServiceTokenSide: - description: Connection link protocol configuration + virtualConnectionSide: + description: Fabric Connection access point object. example: - accessPointSelectors: - - port: + accessPoint: + providerConnectionId: providerConnectionId + interconnection: + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + profile: + visibility: null + customFields: + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + - dataType: STRING + options: + - options + - options + description: Provide a valid account number + label: Account Number + required: true + captureInEmail: true + description: offering connectivity to my-network + marketingInfo: + logo: logo + promotion: true + processSteps: + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + - subTitle: subTitle + description: description + title: title + type: L2_PROFILE + ports: + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + - sellerRegionDescription: sellerRegionDescription + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: XF_PORT + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + sellerRegion: sellerRegion + crossConnectId: crossConnectId + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + accessPointTypeConfigs: + - null + - null + selfProfile: true + tags: + - tags + - tags + allowedEmails: + - allowedEmails + - allowedEmails + virtualDevices: + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + - interfaceUuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + type: VD + uuid: 94662143-e21b-4098-bfcf-e9416f47eae1 + name: Sample Service Profile href: https://openapi-generator.tech - type: type + projectId: projectId + notifications: + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + - emails: + - emails + - emails + sendInterval: sendInterval + registeredUsers: + - registeredUsers + - registeredUsers + type: BANDWIDTH_ALERT + metros: + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + - code: code + sellerRegions: + key: sellerRegions + ibxs: + - ibxs + - ibxs + vcBandwidthMax: 3 + displayName: displayName + name: name + inTrail: true + virtualDevice: + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - - port: + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + authenticationKey: authenticationKey + type: null + interface: + href: https://openapi-generator.tech + id: 5 + type: CLOUD + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + projectId: projectId + network: + change: + href: https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9 + type: null + uuid: 4b17da68-3d6b-436d-9c8f-2105f3b950d9 + scope: null + name: My EVPLAN Network + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + links: + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + - authenticate: true + method: method + rel: rel + href: https://openapi-generator.tech + contentType: contentType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + state: ACTIVE + type: null + uuid: 92dc376a-a932-43aa-a6a2-c806dedbd784 + operation: + equinixStatus: null + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + virtualNetwork: + href: https://openapi-generator.tech + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + router: + bgpIpv4RoutesCount: 0 + equinixAsn: 30000 + change: + data: + op: replace + path: path + value: "{}" + createdDateTime: 2020-11-06T07:00:00Z + information: information + type: ROUTER_UPDATE + uuid: uuid + status: COMPLETED + updatedDateTime: 2020-11-06T07:00:00Z + changeLog: + createdByEmail: john.smith@example.com + deletedByFullName: John Smith + updatedBy: johnsmith + createdBy: johnsmith + updatedByEmail: john.smith@example.com + createdByFullName: John Smith + createdDateTime: 2020-11-06T07:00:00Z + deletedDateTime: 2020-11-06T07:00:00Z + updatedByFullName: John Smith + deletedBy: johnsmith + deletedByEmail: john.smith@example.com + updatedDateTime: 2020-11-06T07:00:00Z + bgpIpv6RoutesCount: 0 + uuid: c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + connectionsCount: 0 + distinctIpv4PrefixesCount: 0 + name: test-fg-1 + distinctIpv6PrefixesCount: 0 + href: https://api.equinix.com/fabric/v4/routers/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170 + state: null + marketplaceSubscription: + href: https://api.equinix.com/fabric/v4/marketplaceSubscriptions/20d32a80-0d61-4333-bc03-707b591ae2f5 + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 20d32a80-0d61-4333-bc03-707b591ae2f5 + port: + serviceType: EPL + encapsulation: + tagProtocolId: tagProtocolId + type: "NULL" + lagEnabled: true + description: description + project: + projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + physicalPortsSpeed: 0 + connectionsCount: 0 + physicalPortQuantity: 8 + usedBandwidth: 0 + additionalInfo: + - value: value + key: key + - value: value + key: key + id: 1 + href: https://openapi-generator.tech + state: null + redundancy: + priority: null + enabled: true + group: group + settings: + layer3Enabled: true + buyout: true + viewPortPermission: true + placeVcOrderPermission: true + sharedPortType: true + packageType: STANDARD + sharedPortProduct: NETWORK_EDGE + availableBandwidth: 0 + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + package: + code: STANDARD + type: EPL + bandwidth: 0 + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + physicalPorts: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: + patchPanel: patchPanel + patchPanelName: patchPanelName + connectorType: connectorType + cabinetUniqueSpaceId: cabinetUniqueSpaceId + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cageUniqueSpaceId: cageUniqueSpaceId + ibx: ibx + tether: + patchPanel: patchPanel + systemName: systemName + patchPanelPortB: patchPanelPortB + patchPanelPortA: patchPanelPortA + cabinetNumber: cabinetNumber + ibx: ibx + crossConnectId: crossConnectId + loas: + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + - href: https://openapi-generator.tech + type: CTR_LOA + uuid: uuid + type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + interfaceType: interfaceType + additionalInfo: + - value: value + key: key + - value: value + key: key + href: https://openapi-generator.tech + id: 9 + state: null + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + interfaceSpeed: 0 + notifications: + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + - registeredUsers: + - registeredUsers + - registeredUsers + type: NOTIFICATION + order: + customerReferenceId: customerReferenceId + orderNumber: orderNumber + orderId: orderId + signature: + delegate: + firstName: firstName + lastName: lastName + email: email + signatory: DELEGATE + purchaseOrder: + number: number + amount: amount + selectionType: EXEMPTION + endDate: endDate + attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION + startDate: startDate + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + operation: + operationalStatus: UP + evplVCCount: 1 + connectionCount: 7 + opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 + device: + name: name + redundancy: + priority: PRIMARY + group: group + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + vpic_interface: href: https://openapi-generator.tech - type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - type: COLO - linkProtocol: null - properties: - accessPointSelectors: - description: List of AccessPointSelectors - items: - $ref: '#/components/schemas/AccessPointSelector' - type: array - type: object - PortDeviceRedundancy: - description: Device redundancy - example: - priority: PRIMARY - group: group - properties: - group: - description: Device redundancy group - type: string - priority: - description: Device redundancy priority - enum: - - PRIMARY - - SECONDARY - type: string - type: object - PortPriority: - description: Port priority in redundancy group - enum: - - PRIMARY - - SECONDARY - type: string - LinkProtocolState: - description: Network status - enum: - - RESERVED - - RELEASED - type: string - LinkProtocolRequestType: - description: Type of Link Protocol - enum: - - UNTAGGED - - DOT1Q - - QINQ - - VXLAN - type: string - SubInterface: - description: Sub Interface information - example: - unit: 200 - name: name - properties: - name: - description: name of subinterafce of a port - type: string - unit: - example: 200 - type: integer - type: object - LinkProtocolConnection: - description: Connection details of Link Protocol - example: - bandwidth: 100 - href: https://openapi-generator.tech - type: EVPL_VC - uuid: cd67f685-41b0-1b07-6de0-320a5c00abe - properties: - href: - description: Connection URI - format: uri - readOnly: true - type: string - uuid: - example: cd67f685-41b0-1b07-6de0-320a5c00abe - format: string - type: string - type: - example: EVPL_VC - type: string - bandwidth: - example: 100 - format: int64 - type: integer - type: object - LinkProtocolServiceToken: - description: Service Token details of Link Protocol - example: - bandwidth: 1000 - href: https://openapi-generator.tech - type: TOKEN - uuid: cd67f685-41b0-1b07-6de0-0320a5c00abe - properties: - href: - description: Service Token URI - format: uri - readOnly: true - type: string - uuid: - example: cd67f685-41b0-1b07-6de0-0320a5c00abe - format: uuid - type: string - type: - example: TOKEN - type: string - bandwidth: - example: 1000 - format: int64 - type: integer - type: object - RouteTableEntryType: - description: Route table entry type - enum: - - IPv4_BGP_ROUTE - - IPv4_STATIC_ROUTE - - IPv4_DIRECT_ROUTE - - IPv6_BGP_ROUTE - - IPv6_STATIC_ROUTE - - IPv6_DIRECT_ROUTE - type: string - RouteTableEntryProtocolType: - description: Route table entry protocol type - enum: - - BGP - - STATIC - - DIRECT - type: string - RouteTableEntryState: - description: Route table entry state - enum: - - ACTIVE - type: string - NetworkEquinixStatus: - description: Network status - enum: - - PROVISIONING - - PROVISIONED - - NOT_PROVISIONED - - DEPROVISIONING - - DEPROVISIONED - - NOT_DEPROVISIONED - type: string - NetworkSortDirectionResponse: - default: DESC - description: Sorting direction - enum: - - DESC - - ASC - type: string - NetworkSortByResponse: - default: /changeLog/updatedDateTime - description: Possible field names to use on sorting - enum: - - /name - - /type - - /uuid - - /state - - /scope - - /location/region - - /changeLog/createdDateTime - - /changeLog/updatedDateTime - type: string - ntpAdvanceConfiguration: - items: - $ref: '#/components/schemas/md5' - type: array - ptpAdvanceConfiguration: - example: - timeScale: ARB - grantTime: 300 - logDelayReqInterval: 0 - domain: 0 - logSyncInterval: 0 - priority2: 0 - transportMode: Multicast - priority1: 0 - logAnnounceInterval: 0 + account: + resellerOrgId: 5 + organizationName: organizationName + resellerAccountNumber: 1 + accountName: accountName + ucmId: ucmId + resellerUcmId: resellerUcmId + globalOrganizationName: globalOrganizationName + globalOrgId: globalOrgId + resellerAccountName: resellerAccountName + accountNumber: 0 + globalCustId: globalCustId + orgId: 6 + peeringType: null + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + sellerRegion: sellerRegion properties: - timeScale: - description: "Time Scale value, ARB denotes Arbitrary and PTP denotes Precision\ - \ Time Protocol." - enum: - - ARB - - PTP - example: ARB - type: string - domain: - example: 0 - maximum: 127 - minimum: 0 - type: integer - priority1: - example: 0 - maximum: 248 - minimum: 0 - type: integer - priority2: - example: 0 - maximum: 248 - minimum: 0 - type: integer - logAnnounceInterval: - description: The mean time interval between Announce messages. A shorter - interval makes ptp4l react faster to the changes in the master-slave hierarchy. - The interval should be the same in the whole domain. It's specified as - a power of two in seconds. The default is 1 (2 seconds). - example: 0 - type: integer - logSyncInterval: - description: The mean time interval between Sync messages. A shorter interval - may improve accuracy of the local clock. It's specified as a power of - two in seconds. The default is 0 (1 second). - example: 0 - type: integer - logDelayReqInterval: - example: 0 - type: integer - transportMode: - enum: - - Multicast - - Unicast - - Hybrid - type: string - grantTime: - description: "Unicast Grant Time in seconds. For Multicast and Hybrid transport\ - \ modes, grant time defaults to 300 seconds. For Unicast mode, grant time\ - \ can be between 30 to 7200." - example: 300 - maximum: 7200 - minimum: 30 - type: integer + accessPoint: + $ref: '#/components/schemas/AccessPoint' + title: fabricConnectionAccessPoint type: object AccessPointType: description: Access point type @@ -46986,20 +65714,18 @@ components: projectId: 44f4c4f8-2f39-494e-838c-d8e640591be5 type: null interface: - ifIndex: ifIndex - name: name type: type uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 physicalPortsSpeed: 0 connectionsCount: 0 - physicalPortQuantity: 1 + physicalPortQuantity: 8 usedBandwidth: 0 additionalInfo: - value: value key: key - value: value key: key - id: 9 + id: 1 href: https://openapi-generator.tech state: null redundancy: @@ -47007,8 +65733,6 @@ components: enabled: true group: group settings: - product: product - productCode: productCode layer3Enabled: true buyout: true viewPortPermission: true @@ -47026,6 +65750,9 @@ components: patchPanelPortA: patchPanelPortA cageUniqueSpaceId: cageUniqueSpaceId ibx: ibx + package: + code: STANDARD + type: EPL bandwidth: 0 tether: patchPanel: patchPanel @@ -47036,7 +65763,10 @@ components: ibx: ibx crossConnectId: crossConnectId physicalPorts: - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -47061,19 +65791,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -47113,9 +65849,13 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - - demarcationPoint: + - settings: + errorMessage: errorMessage + packageType: packageType + demarcationPoint: patchPanel: patchPanel patchPanelName: patchPanelName connectorType: connectorType @@ -47140,19 +65880,25 @@ components: type: CTR_LOA uuid: uuid type: null + interface: + type: type + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 interfaceType: interfaceType additionalInfo: - value: value key: key - value: value key: key - id: 6 href: https://openapi-generator.tech + id: 9 state: null operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 account: resellerOrgId: 5 organizationName: organizationName @@ -47192,9 +65938,9 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - cvpId: cvpId name: name location: metroName: Amsterdam @@ -47204,8 +65950,11 @@ components: ibx: AM1 operation: operationalStatus: UP - connectionCount: 4 + evplVCCount: 1 + connectionCount: 7 opStatusChangedAt: 2020-11-06T07:00:00Z + accessVCCount: 5 + fgVCCount: 4 device: name: name redundancy: @@ -47258,15 +66007,12 @@ components: $ref: '#/components/schemas/Project' state: $ref: '#/components/schemas/PortState' - cvpId: - description: Equinix assigned response attribute for Unique ID for a virtual - port. - type: string operation: $ref: '#/components/schemas/PortOperation' account: $ref: '#/components/schemas/SimplifiedAccount' serviceType: + deprecated: true description: Port service Type enum: - EPL @@ -47274,16 +66020,19 @@ components: type: string bandwidth: description: Equinix assigned response attribute for Port bandwidth in Mbps + format: int64 minimum: 0 type: integer availableBandwidth: description: Equinix assigned response attribute for Port available bandwidth in Mbps + format: int64 minimum: 0 type: integer usedBandwidth: description: Equinix assigned response attribute for Port used bandwidth in Mbps + format: int64 minimum: 0 type: integer location: @@ -47303,6 +66052,8 @@ components: lagEnabled: description: If LAG enabled type: boolean + package: + $ref: '#/components/schemas/Package' settings: $ref: '#/components/schemas/PortSettings' physicalPortQuantity: @@ -47322,10 +66073,10 @@ components: SimplifiedLinkProtocol: description: Connection link protocol Configuration example: - vlanTag: 3585 - vlanCTag: 2635 + vlanTag: 831 + vlanCTag: 3022 type: null - vlanSTag: 3690 + vlanSTag: 1697 properties: type: $ref: '#/components/schemas/LinkProtocolType' @@ -47390,7 +66141,7 @@ components: description: Interface Information example: href: https://openapi-generator.tech - id: 3 + id: 5 type: CLOUD uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectId: projectId @@ -47707,37 +66458,67 @@ components: \ efficiency, security, compatibility, and availability." example: port: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + virtualDevice: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 type: COLO - linkProtocol: null + interface: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + linkProtocol: + vlanTag: 831 + vlanCTag: 3022 + type: null + vlanSTag: 1697 + network: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: type: description: Type of Access point enum: - COLO + - VD + - NETWORK type: string port: $ref: '#/components/schemas/SimplifiedMetadataEntity' linkProtocol: - $ref: '#/components/schemas/LinkProtocol' - type: object - md5: - example: - password: password - id: 0 - type: ASCII - properties: - type: - enum: - - ASCII - - HEX - type: string - id: - type: integer - password: - type: string + $ref: '#/components/schemas/SimplifiedLinkProtocol' + virtualDevice: + $ref: '#/components/schemas/SimplifiedVirtualDevice' + interface: + $ref: '#/components/schemas/VirtualDeviceInterface' + network: + $ref: '#/components/schemas/SimplifiedTokenNetwork' type: object LinkProtocolType: description: Type of Link Protocol @@ -47787,8 +66568,20 @@ components: SimplifiedMetadataEntity: description: Configuration details for port used at the access point. example: + cvpId: 9 + bandwidth: 3.616076749251911 + accountName: accountName + encapsulationProtocolType: encapsulationProtocolType + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 href: https://openapi-generator.tech + portName: portName type: type + priority: priority uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: href: @@ -47802,130 +66595,116 @@ components: type: description: Type of Port type: string - type: object - LinkProtocol: - description: Connection link protocol Configuration - discriminator: - mapping: - UNTAGGED: '#/components/schemas/LinkProtocolUntagged' - DOT1Q: '#/components/schemas/LinkProtocolDot1q' - QINQ: '#/components/schemas/LinkProtocolQinq' - VXLAN: '#/components/schemas/LinkProtocolVxlan' - EVPN_VXLAN: '#/components/schemas/LinkProtocolEvpnVxlan' - propertyName: type - oneOf: - - $ref: '#/components/schemas/LinkProtocolUntagged' - - $ref: '#/components/schemas/LinkProtocolDot1q' - - $ref: '#/components/schemas/LinkProtocolQinq' - - $ref: '#/components/schemas/LinkProtocolVxlan' - - $ref: '#/components/schemas/LinkProtocolEvpnVxlan' - required: - - type - type: object - LinkProtocolUntagged: - description: Connection link protocol configuration - UNTAGGED - properties: - type: - $ref: '#/components/schemas/LinkProtocolType' - ipv4: - $ref: '#/components/schemas/LinkProtocolIpv4Ipv6Config' - ipv6: - $ref: '#/components/schemas/LinkProtocolIpv4Ipv6Config' - type: object - LinkProtocolDot1q: - description: Connection link protocol configuration - DOT1Q - properties: - type: - $ref: '#/components/schemas/LinkProtocolType' - tagProtocolId: - description: Tag protocol identifier + cvpId: + description: Customer virtual port Id + type: integer + bandwidth: + description: Port Bandwidth + type: number + portName: + description: Port Name type: string - vlanTag: - description: VLAN tag + encapsulationProtocolType: + description: Port Encapsulation type: string - vlanTagMin: - description: VLAN tag Min value specified for DOT1Q connections - type: integer - vlanTagMax: - description: VLAN tag Max value specified for DOT1Q connections - type: integer - required: - - vlanTag + accountName: + description: Account Name + type: string + priority: + description: Port Priority + type: string + location: + $ref: '#/components/schemas/SimplifiedLocation' type: object - LinkProtocolQinq: - description: Connection link protocol configuration - QINQ + SimplifiedVirtualDevice: + example: + cluster: cluster + name: name + href: https://openapi-generator.tech + type: EDGE + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: + href: + description: url to entity + format: uri + type: string + uuid: + description: Network Edge assigned Virtual Device Identifier + format: uuid + type: string type: - $ref: '#/components/schemas/LinkProtocolType' - innerTagProtocolId: - description: Inner tag protocol identifier - type: integer - outerTagProtocolId: - description: Outer tag protocol identifier - type: integer - vlanCTag: - description: "Inner tag, i.e., C-VLAN tag" - type: integer - vlanSTag: - description: "Outer tag, i.e., S-VLAN tag" - type: integer - vlanCTagMin: - description: Outer tag Min value specified for QINQ connections - type: integer - vlanCTagMax: - description: Outer tag Max value specified for QINQ connections - type: integer - subInterface: - description: Subinterface identifier - type: integer - required: - - innerTagProtocolId - - outerTagProtocolId - - vlanCTag - - vlanSTag + description: Type of Virtual Device + enum: + - EDGE + type: string + name: + description: Customer-assigned Virtual Device name + type: string + cluster: + description: Virtual Device Cluster Information + type: string type: object - LinkProtocolVxlan: - description: Connection link protocol configuration - VXLAN + VirtualDeviceInterface: + description: Virtual Device Interface Information + example: + id: 1 + type: NETWORK + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: type: - $ref: '#/components/schemas/LinkProtocolType' - vni: - description: Virtual Network Identifier - maximum: 16777215 - minimum: 4097 + description: Type of interface + enum: + - NETWORK + type: string + id: + description: Network Edge assigned identifier type: integer - required: - - vni + uuid: + description: Interface identifier + format: uuid + type: string type: object - LinkProtocolEvpnVxlan: - description: Connection link protocol configuration - EVPN_VXLAN + SimplifiedTokenNetwork: + example: + scope: LOCAL + name: name + location: + metroName: Amsterdam + metroCode: AM + metroHref: https://api.equinix.com/fabric/v4/metros/AM + region: "AMER, APAC, EMEA" + ibx: AM1 + href: https://openapi-generator.tech + type: EVPLAN + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: + href: + description: url to entity + format: uri + type: string + uuid: + description: Network Identifier + format: uuid + type: string type: - $ref: '#/components/schemas/LinkProtocolType' - vnid: - description: Virtual Network Identifier - maximum: 40000 - minimum: 20001 - type: integer - type5vni: - description: Type 5 VNI identifier - type: integer - required: - - type5vni - - vnid - type: object - LinkProtocolIpv4Ipv6Config: - description: IPv4 or IPv6 specific configuration - properties: - linkPrefix: - description: Link subnet prefix + description: Type of Network + enum: + - EVPLAN + - EPLAN + - IPWAN type: string - localIfaceIp: - description: Prefix datatype when linkPrefix not specified + name: + description: Network Name type: string - remoteIfaceIp: - description: Equinix-side link interface address + scope: + description: scope of Network + enum: + - LOCAL + - REGIONAL + - GLOBAL type: string + location: + $ref: '#/components/schemas/SimplifiedLocation' type: object PriceError_additionalInfo: example: @@ -48012,6 +66791,18 @@ components: $ref: '#/components/schemas/ValidateRequest_filter_and' type: array type: object + ConnectionRouteTableEntry_connection: + example: + name: connection_1 + uuid: 81331c52-04c0-4656-a4a7-18c52669348f + properties: + uuid: + example: 81331c52-04c0-4656-a4a7-18c52669348f + type: string + name: + example: connection_1 + type: string + type: object PortOrder_purchaseOrder: description: purchase order example: @@ -48020,6 +66811,7 @@ components: selectionType: EXEMPTION endDate: endDate attachmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: EXEMPTION startDate: startDate properties: number: @@ -48038,6 +66830,14 @@ components: format: uuid type: string selectionType: + deprecated: true + enum: + - EXEMPTION + - EXISTING + - NEW + - BLANKET + type: string + type: enum: - EXEMPTION - EXISTING @@ -48081,18 +66881,6 @@ components: delegate: $ref: '#/components/schemas/PortOrder_signature_delegate' type: object - RouteTableEntry_connection: - example: - name: connection_1 - uuid: 81331c52-04c0-4656-a4a7-18c52669348f - properties: - uuid: - example: 81331c52-04c0-4656-a4a7-18c52669348f - type: string - name: - example: connection_1 - type: string - type: object VirtualConnectionPriceASide_accessPoint_port_settings: example: buyout: false @@ -48181,6 +66969,12 @@ components: bridge: $ref: '#/components/schemas/VirtualConnectionPriceZSide_accessPoint_bridge' type: object + Port_operation: + allOf: + - $ref: '#/components/schemas/PortOperation' + Port_lag: + allOf: + - $ref: '#/components/schemas/PortLag' Network_allOf: properties: href: diff --git a/equinix-openapi-fabric/docs/AccessPointSelector.md b/equinix-openapi-fabric/docs/AccessPointSelector.md index 32064bdf..5c506dcb 100644 --- a/equinix-openapi-fabric/docs/AccessPointSelector.md +++ b/equinix-openapi-fabric/docs/AccessPointSelector.md @@ -10,7 +10,10 @@ List of criteria for selecting network access points with optimal efficiency, se |------------ | ------------- | ------------- | -------------| |**type** | [**TypeEnum**](#TypeEnum) | Type of Access point | [optional] | |**port** | [**SimplifiedMetadataEntity**](SimplifiedMetadataEntity.md) | | [optional] | -|**linkProtocol** | [**LinkProtocol**](LinkProtocol.md) | | [optional] | +|**linkProtocol** | [**SimplifiedLinkProtocol**](SimplifiedLinkProtocol.md) | | [optional] | +|**virtualDevice** | [**SimplifiedVirtualDevice**](SimplifiedVirtualDevice.md) | | [optional] | +|**_interface** | [**VirtualDeviceInterface**](VirtualDeviceInterface.md) | | [optional] | +|**network** | [**SimplifiedTokenNetwork**](SimplifiedTokenNetwork.md) | | [optional] | @@ -19,6 +22,8 @@ List of criteria for selecting network access points with optimal efficiency, se | Name | Value | |---- | -----| | COLO | "COLO" | +| VD | "VD" | +| NETWORK | "NETWORK" | diff --git a/equinix-openapi-fabric/docs/Account.md b/equinix-openapi-fabric/docs/Account.md deleted file mode 100644 index bff122a3..00000000 --- a/equinix-openapi-fabric/docs/Account.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# Account - -Account model, includes account number and flag to indicate if this account is reseller - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**accountNumber** | **Integer** | | | -|**isResellerAccount** | **Boolean** | | [optional] | -|**orgId** | **String** | | [optional] | -|**globalOrgId** | **String** | | [optional] | - - - diff --git a/equinix-openapi-fabric/docs/AdvanceConfiguration.md b/equinix-openapi-fabric/docs/AdvanceConfiguration.md deleted file mode 100644 index d998aa2f..00000000 --- a/equinix-openapi-fabric/docs/AdvanceConfiguration.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# AdvanceConfiguration - -Advance Configuration for NTP/PTP - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**ntp** | [**List<Md5>**](Md5.md) | | [optional] | -|**ptp** | [**PtpAdvanceConfiguration**](PtpAdvanceConfiguration.md) | | [optional] | - - - diff --git a/equinix-openapi-fabric/docs/Asset.md b/equinix-openapi-fabric/docs/Asset.md new file mode 100644 index 00000000..d50a647c --- /dev/null +++ b/equinix-openapi-fabric/docs/Asset.md @@ -0,0 +1,17 @@ + + +# Asset + +## Enum + + +* `PORTS` (value: `"ports"`) + +* `CONNECTIONS` (value: `"connections"`) + +* `ROUTERS` (value: `"routers"`) + +* `METROS` (value: `"metros"`) + + + diff --git a/equinix-openapi-fabric/docs/BGPConnectionIpv4.md b/equinix-openapi-fabric/docs/BGPConnectionIpv4.md index 15199088..49fdc29a 100644 --- a/equinix-openapi-fabric/docs/BGPConnectionIpv4.md +++ b/equinix-openapi-fabric/docs/BGPConnectionIpv4.md @@ -11,8 +11,9 @@ |**equinixPeerIp** | **String** | Equinix side peering ip | [optional] | |**enabled** | **Boolean** | Admin status for the BGP session | | |**outboundASPrependCount** | **Long** | AS path prepend count | [optional] | -|**inboundMED** | **Long** | inbound Multi Exit Discriminator attribute | [optional] | -|**outboundMED** | **Long** | inbound Multi Exit Discriminator attribute | [optional] | +|**inboundMED** | **Long** | Inbound Multi Exit Discriminator attribute | [optional] | +|**outboundMED** | **Long** | Outbound Multi Exit Discriminator attribute | [optional] | +|**routesMax** | **Long** | Maximum learnt prefixes limit | [optional] | |**operation** | [**BGPConnectionOperation**](BGPConnectionOperation.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/BGPConnectionIpv6.md b/equinix-openapi-fabric/docs/BGPConnectionIpv6.md index d7cad619..d4e2f5e7 100644 --- a/equinix-openapi-fabric/docs/BGPConnectionIpv6.md +++ b/equinix-openapi-fabric/docs/BGPConnectionIpv6.md @@ -11,8 +11,9 @@ |**equinixPeerIp** | **String** | Equinix side peering ip | [optional] | |**enabled** | **Boolean** | Admin status for the BGP session | | |**outboundASPrependCount** | **Long** | AS path prepend count | [optional] | -|**inboundMED** | **Long** | inbound Multi Exit Discriminator attribute | [optional] | -|**outboundMED** | **Long** | inbound Multi Exit Discriminator attribute | [optional] | +|**inboundMED** | **Long** | Inbound Multi Exit Discriminator attribute | [optional] | +|**outboundMED** | **Long** | Outbound Multi Exit Discriminator attribute | [optional] | +|**routesMax** | **Long** | Maximum learnt prefixes limit | [optional] | |**operation** | [**BGPConnectionOperation**](BGPConnectionOperation.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/BulkPort.md b/equinix-openapi-fabric/docs/BulkPort.md index 6820ddf4..e7dd8cb3 100644 --- a/equinix-openapi-fabric/docs/BulkPort.md +++ b/equinix-openapi-fabric/docs/BulkPort.md @@ -2,13 +2,13 @@ # BulkPort -Create bulk port request +Bulk Port specification ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**data** | [**List<Port>**](Port.md) | | [optional] | +|**data** | [**List<Port>**](Port.md) | Ports that are part of BulkPort | [optional] | diff --git a/equinix-openapi-fabric/docs/BulkPortRequest.md b/equinix-openapi-fabric/docs/BulkPortRequest.md new file mode 100644 index 00000000..24b58dfe --- /dev/null +++ b/equinix-openapi-fabric/docs/BulkPortRequest.md @@ -0,0 +1,14 @@ + + +# BulkPortRequest + +Create bulk port request + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**data** | [**List<PortRequest>**](PortRequest.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/CloudRouterAccessPointState.md b/equinix-openapi-fabric/docs/CloudRouterAccessPointState.md index 88dec192..6aaf1469 100644 --- a/equinix-openapi-fabric/docs/CloudRouterAccessPointState.md +++ b/equinix-openapi-fabric/docs/CloudRouterAccessPointState.md @@ -13,7 +13,7 @@ * `DEPROVISIONED` (value: `"DEPROVISIONED"`) -* `LOCKED` (value: `"LOCKED"`) +* `REPROVISIONING` (value: `"REPROVISIONING"`) * `NOT_PROVISIONED` (value: `"NOT_PROVISIONED"`) diff --git a/equinix-openapi-fabric/docs/CloudRouterActionRequest.md b/equinix-openapi-fabric/docs/CloudRouterActionRequest.md index 52ae1524..14f4c2e8 100644 --- a/equinix-openapi-fabric/docs/CloudRouterActionRequest.md +++ b/equinix-openapi-fabric/docs/CloudRouterActionRequest.md @@ -9,6 +9,7 @@ Cloud Router action request | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**type** | **CloudRouterActionType** | | | +|**connection** | [**RouterActionsConnection**](RouterActionsConnection.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/CloudRouterActionResponse.md b/equinix-openapi-fabric/docs/CloudRouterActionResponse.md index bdb8c56e..038afdef 100644 --- a/equinix-openapi-fabric/docs/CloudRouterActionResponse.md +++ b/equinix-openapi-fabric/docs/CloudRouterActionResponse.md @@ -13,6 +13,9 @@ Cloud Router actions response object |**description** | **String** | | [optional] | |**state** | **CloudRouterActionState** | | | |**changeLog** | [**Changelog**](Changelog.md) | | | +|**href** | **String** | | [optional] | +|**connection** | [**RouterActionsConnection**](RouterActionsConnection.md) | | [optional] | +|**operation** | [**Operation**](Operation.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/CloudRouterActionState.md b/equinix-openapi-fabric/docs/CloudRouterActionState.md index f005e6d2..7048cb47 100644 --- a/equinix-openapi-fabric/docs/CloudRouterActionState.md +++ b/equinix-openapi-fabric/docs/CloudRouterActionState.md @@ -5,7 +5,7 @@ ## Enum -* `DONE` (value: `"DONE"`) +* `SUCCEEDED` (value: `"SUCCEEDED"`) * `FAILED` (value: `"FAILED"`) diff --git a/equinix-openapi-fabric/docs/CloudRouterActionType.md b/equinix-openapi-fabric/docs/CloudRouterActionType.md index c750a628..61ff4fa9 100644 --- a/equinix-openapi-fabric/docs/CloudRouterActionType.md +++ b/equinix-openapi-fabric/docs/CloudRouterActionType.md @@ -9,5 +9,9 @@ * `ROUTE_TABLE_ENTRY_UPDATE` (value: `"ROUTE_TABLE_ENTRY_UPDATE"`) +* `RECEIVED_ROUTE_ENTRY_UPDATE` (value: `"RECEIVED_ROUTE_ENTRY_UPDATE"`) + +* `ADVERTISED_ROUTE_ENTRY_UPDATE` (value: `"ADVERTISED_ROUTE_ENTRY_UPDATE"`) + diff --git a/equinix-openapi-fabric/docs/CloudRouterActionsSearchExpression.md b/equinix-openapi-fabric/docs/CloudRouterActionsSearchExpression.md new file mode 100644 index 00000000..c87e7c2d --- /dev/null +++ b/equinix-openapi-fabric/docs/CloudRouterActionsSearchExpression.md @@ -0,0 +1,15 @@ + + +# CloudRouterActionsSearchExpression + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**property** | **String** | Possible field names to use on filters: * `/type` - type of update * `/state` - action state * `/connection/uuid` - connection uuid associated * `/_*` - all-category search | [optional] | +|**operator** | **String** | Possible operators to use on filters: * `=` - equal * `!=` - not equal * `>` - greater than * `>=` - greater than or equal to * `<` - less than * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `~*` - case-insensitive like | [optional] | +|**values** | **List<String>** | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/CloudRouterActionsSearchFilter.md b/equinix-openapi-fabric/docs/CloudRouterActionsSearchFilter.md new file mode 100644 index 00000000..8baf777a --- /dev/null +++ b/equinix-openapi-fabric/docs/CloudRouterActionsSearchFilter.md @@ -0,0 +1,16 @@ + + +# CloudRouterActionsSearchFilter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**property** | **String** | Possible field names to use on filters: * `/type` - type of update * `/state` - action state * `/connection/uuid` - connection uuid associated * `/_*` - all-category search | [optional] | +|**operator** | **String** | Possible operators to use on filters: * `=` - equal * `!=` - not equal * `>` - greater than * `>=` - greater than or equal to * `<` - less than * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `~*` - case-insensitive like | [optional] | +|**values** | **List<String>** | | [optional] | +|**or** | [**List<CloudRouterActionsSearchExpression>**](CloudRouterActionsSearchExpression.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/CloudRouterActionsSearchFilters.md b/equinix-openapi-fabric/docs/CloudRouterActionsSearchFilters.md new file mode 100644 index 00000000..263d1f6a --- /dev/null +++ b/equinix-openapi-fabric/docs/CloudRouterActionsSearchFilters.md @@ -0,0 +1,13 @@ + + +# CloudRouterActionsSearchFilters + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**and** | [**List<CloudRouterActionsSearchFilter>**](CloudRouterActionsSearchFilter.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/CloudRouterActionsSearchOrFilter.md b/equinix-openapi-fabric/docs/CloudRouterActionsSearchOrFilter.md new file mode 100644 index 00000000..f9321c6e --- /dev/null +++ b/equinix-openapi-fabric/docs/CloudRouterActionsSearchOrFilter.md @@ -0,0 +1,13 @@ + + +# CloudRouterActionsSearchOrFilter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**or** | [**List<CloudRouterActionsSearchExpression>**](CloudRouterActionsSearchExpression.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/CloudRouterActionsSearchRequest.md b/equinix-openapi-fabric/docs/CloudRouterActionsSearchRequest.md new file mode 100644 index 00000000..d42ad4d4 --- /dev/null +++ b/equinix-openapi-fabric/docs/CloudRouterActionsSearchRequest.md @@ -0,0 +1,16 @@ + + +# CloudRouterActionsSearchRequest + +Search requests containing criteria + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**filter** | [**CloudRouterActionsSearchFilters**](CloudRouterActionsSearchFilters.md) | | [optional] | +|**pagination** | [**PaginationRequest**](PaginationRequest.md) | | [optional] | +|**sort** | [**List<CloudRouterActionsSearchSortCriteria>**](CloudRouterActionsSearchSortCriteria.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/CloudRouterActionsSearchResponse.md b/equinix-openapi-fabric/docs/CloudRouterActionsSearchResponse.md new file mode 100644 index 00000000..a3ca25b9 --- /dev/null +++ b/equinix-openapi-fabric/docs/CloudRouterActionsSearchResponse.md @@ -0,0 +1,14 @@ + + +# CloudRouterActionsSearchResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pagination** | [**Pagination**](Pagination.md) | | [optional] | +|**data** | [**List<CloudRouterActionResponse>**](CloudRouterActionResponse.md) | Data returned from the API call. | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/CloudRouterActionsSearchSortBy.md b/equinix-openapi-fabric/docs/CloudRouterActionsSearchSortBy.md new file mode 100644 index 00000000..1a9e8b72 --- /dev/null +++ b/equinix-openapi-fabric/docs/CloudRouterActionsSearchSortBy.md @@ -0,0 +1,17 @@ + + +# CloudRouterActionsSearchSortBy + +## Enum + + +* `CHANGELOG_CREATEDDATETIME` (value: `"/changeLog/createdDateTime"`) + +* `CHANGELOG_UPDATEDDATETIME` (value: `"/changeLog/updatedDateTime"`) + +* `CONNECTION_NAME` (value: `"/connection/name"`) + +* `TYPE` (value: `"/type"`) + + + diff --git a/equinix-openapi-fabric/docs/CloudRouterActionsSearchSortCriteria.md b/equinix-openapi-fabric/docs/CloudRouterActionsSearchSortCriteria.md new file mode 100644 index 00000000..49b110e2 --- /dev/null +++ b/equinix-openapi-fabric/docs/CloudRouterActionsSearchSortCriteria.md @@ -0,0 +1,14 @@ + + +# CloudRouterActionsSearchSortCriteria + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**direction** | **CloudRouterActionsSearchSortDirection** | | [optional] | +|**property** | **CloudRouterActionsSearchSortBy** | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/CloudRouterActionsSearchSortDirection.md b/equinix-openapi-fabric/docs/CloudRouterActionsSearchSortDirection.md new file mode 100644 index 00000000..92b75bd1 --- /dev/null +++ b/equinix-openapi-fabric/docs/CloudRouterActionsSearchSortDirection.md @@ -0,0 +1,13 @@ + + +# CloudRouterActionsSearchSortDirection + +## Enum + + +* `DESC` (value: `"DESC"`) + +* `ASC` (value: `"ASC"`) + + + diff --git a/equinix-openapi-fabric/docs/CloudRoutersApi.md b/equinix-openapi-fabric/docs/CloudRoutersApi.md index 6f13c763..e6de82fc 100644 --- a/equinix-openapi-fabric/docs/CloudRoutersApi.md +++ b/equinix-openapi-fabric/docs/CloudRoutersApi.md @@ -8,11 +8,15 @@ All URIs are relative to *https://api.equinix.com* | [**createCloudRouterAction**](CloudRoutersApi.md#createCloudRouterAction) | **POST** /fabric/v4/routers/{routerId}/actions | Route table actions | | [**deleteCloudRouterByUuid**](CloudRoutersApi.md#deleteCloudRouterByUuid) | **DELETE** /fabric/v4/routers/{routerId} | Delete Routers | | [**getCloudRouterActions**](CloudRoutersApi.md#getCloudRouterActions) | **GET** /fabric/v4/routers/{routerId}/actions | Get actions | +| [**getCloudRouterActionsByUuid**](CloudRoutersApi.md#getCloudRouterActionsByUuid) | **GET** /fabric/v4/routers/{routerId}/actions/{actionId} | Get actions | | [**getCloudRouterByUuid**](CloudRoutersApi.md#getCloudRouterByUuid) | **GET** /fabric/v4/routers/{routerId} | Get Routers | | [**getCloudRouterPackageByCode**](CloudRoutersApi.md#getCloudRouterPackageByCode) | **GET** /fabric/v4/routerPackages/{routerPackageCode} | Get Package Details | | [**getCloudRouterPackages**](CloudRoutersApi.md#getCloudRouterPackages) | **GET** /fabric/v4/routerPackages | List Packages | | [**searchCloudRouterRoutes**](CloudRoutersApi.md#searchCloudRouterRoutes) | **POST** /fabric/v4/routers/{routerId}/routes/search | Search Route Table | | [**searchCloudRouters**](CloudRoutersApi.md#searchCloudRouters) | **POST** /fabric/v4/routers/search | Search Routers | +| [**searchConnectionAdvertisedRoutes**](CloudRoutersApi.md#searchConnectionAdvertisedRoutes) | **POST** /fabric/v4/connections/{connectionId}/advertisedRoutes/search | search advertised | +| [**searchConnectionReceivedRoutes**](CloudRoutersApi.md#searchConnectionReceivedRoutes) | **POST** /fabric/v4/connections/{connectionId}/receivedRoutes/search | Search received | +| [**searchRouterActions**](CloudRoutersApi.md#searchRouterActions) | **POST** /fabric/v4/routers/{routerId}/actions/search | Search actions | | [**updateCloudRouterByUuid**](CloudRoutersApi.md#updateCloudRouterByUuid) | **PATCH** /fabric/v4/routers/{routerId} | Update Routers | @@ -263,7 +267,7 @@ public class Example { CloudRoutersApi apiInstance = new CloudRoutersApi(defaultClient); UUID routerId = UUID.randomUUID(); // UUID | Router UUID - CloudRouterActionState state = CloudRouterActionState.fromValue("DONE"); // CloudRouterActionState | Action state + CloudRouterActionState state = CloudRouterActionState.fromValue("SUCCEEDED"); // CloudRouterActionState | Action state try { CloudRouterActionResponse result = apiInstance.getCloudRouterActions(routerId, state); System.out.println(result); @@ -283,7 +287,84 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **routerId** | **UUID**| Router UUID | | -| **state** | [**CloudRouterActionState**](.md)| Action state | [optional] [enum: DONE, FAILED, PENDING] | +| **state** | [**CloudRouterActionState**](.md)| Action state | [optional] [enum: SUCCEEDED, FAILED, PENDING] | + +### Return type + +[**CloudRouterActionResponse**](CloudRouterActionResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful operation | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **415** | Internal server error | - | +| **500** | Internal server error | - | + + +# **getCloudRouterActionsByUuid** +> CloudRouterActionResponse getCloudRouterActionsByUuid(routerId, actionId, state) + +Get actions + +This API provides capability to fetch action status + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.CloudRoutersApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + CloudRoutersApi apiInstance = new CloudRoutersApi(defaultClient); + UUID routerId = UUID.randomUUID(); // UUID | Router UUID + UUID actionId = UUID.randomUUID(); // UUID | Action UUID + CloudRouterActionState state = CloudRouterActionState.fromValue("SUCCEEDED"); // CloudRouterActionState | Action state + try { + CloudRouterActionResponse result = apiInstance.getCloudRouterActionsByUuid(routerId, actionId, state); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CloudRoutersApi#getCloudRouterActionsByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **routerId** | **UUID**| Router UUID | | +| **actionId** | **UUID**| Action UUID | | +| **state** | [**CloudRouterActionState**](.md)| Action state | [optional] [enum: SUCCEEDED, FAILED, PENDING] | ### Return type @@ -672,6 +753,227 @@ public class Example { | **415** | Unsupported Media Type | - | | **500** | Internal server error | - | + +# **searchConnectionAdvertisedRoutes** +> ConnectionRouteTableEntrySearchResponse searchConnectionAdvertisedRoutes(connectionId, connectionRouteSearchRequest) + +search advertised + +The API provides capability to get list of user's advertised routes using search criteria, including optional filtering, pagination and sorting + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.CloudRoutersApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + CloudRoutersApi apiInstance = new CloudRoutersApi(defaultClient); + String connectionId = "connectionId_example"; // String | Connection Id + ConnectionRouteSearchRequest connectionRouteSearchRequest = new ConnectionRouteSearchRequest(); // ConnectionRouteSearchRequest | + try { + ConnectionRouteTableEntrySearchResponse result = apiInstance.searchConnectionAdvertisedRoutes(connectionId, connectionRouteSearchRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CloudRoutersApi#searchConnectionAdvertisedRoutes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **connectionId** | **String**| Connection Id | | +| **connectionRouteSearchRequest** | [**ConnectionRouteSearchRequest**](ConnectionRouteSearchRequest.md)| | | + +### Return type + +[**ConnectionRouteTableEntrySearchResponse**](ConnectionRouteTableEntrySearchResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful operation | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | + + +# **searchConnectionReceivedRoutes** +> ConnectionRouteTableEntrySearchResponse searchConnectionReceivedRoutes(connectionId, connectionRouteSearchRequest) + +Search received + +The API provides capability to get list of received routes using search criteria, including optional filtering, pagination and sorting + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.CloudRoutersApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + CloudRoutersApi apiInstance = new CloudRoutersApi(defaultClient); + String connectionId = "connectionId_example"; // String | Connection Id + ConnectionRouteSearchRequest connectionRouteSearchRequest = new ConnectionRouteSearchRequest(); // ConnectionRouteSearchRequest | + try { + ConnectionRouteTableEntrySearchResponse result = apiInstance.searchConnectionReceivedRoutes(connectionId, connectionRouteSearchRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CloudRoutersApi#searchConnectionReceivedRoutes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **connectionId** | **String**| Connection Id | | +| **connectionRouteSearchRequest** | [**ConnectionRouteSearchRequest**](ConnectionRouteSearchRequest.md)| | | + +### Return type + +[**ConnectionRouteTableEntrySearchResponse**](ConnectionRouteTableEntrySearchResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful operation | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | + + +# **searchRouterActions** +> CloudRouterActionsSearchResponse searchRouterActions(routerId, cloudRouterActionsSearchRequest) + +Search actions + +This API provides capability to refresh route table and bgp session summary information + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.CloudRoutersApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + CloudRoutersApi apiInstance = new CloudRoutersApi(defaultClient); + UUID routerId = UUID.randomUUID(); // UUID | Router UUID + CloudRouterActionsSearchRequest cloudRouterActionsSearchRequest = new CloudRouterActionsSearchRequest(); // CloudRouterActionsSearchRequest | + try { + CloudRouterActionsSearchResponse result = apiInstance.searchRouterActions(routerId, cloudRouterActionsSearchRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling CloudRoutersApi#searchRouterActions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **routerId** | **UUID**| Router UUID | | +| **cloudRouterActionsSearchRequest** | [**CloudRouterActionsSearchRequest**](CloudRouterActionsSearchRequest.md)| | | + +### Return type + +[**CloudRouterActionsSearchResponse**](CloudRouterActionsSearchResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful operation | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **415** | Internal server error | - | +| **500** | Internal server error | - | + # **updateCloudRouterByUuid** > CloudRouter updateCloudRouterByUuid(routerId, cloudRouterChangeOperation) diff --git a/equinix-openapi-fabric/docs/Connection.md b/equinix-openapi-fabric/docs/Connection.md index e8ceb266..aaec8ced 100644 --- a/equinix-openapi-fabric/docs/Connection.md +++ b/equinix-openapi-fabric/docs/Connection.md @@ -8,8 +8,8 @@ Connection specification | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | **ConnectionType** | | | |**href** | **URI** | Connection URI | [optional] [readonly] | +|**type** | **ConnectionType** | | | |**uuid** | **String** | Equinix-assigned connection identifier | [optional] | |**name** | **String** | Customer-provided connection name | | |**description** | **String** | Customer-provided connection description | [optional] | diff --git a/equinix-openapi-fabric/docs/ConnectionActionRequest.md b/equinix-openapi-fabric/docs/ConnectionActionRequest.md index 50070372..3bbf4391 100644 --- a/equinix-openapi-fabric/docs/ConnectionActionRequest.md +++ b/equinix-openapi-fabric/docs/ConnectionActionRequest.md @@ -9,7 +9,7 @@ Connection action request | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**type** | **Actions** | | | -|**description** | **String** | Connection rejection reason datail | [optional] | +|**description** | **String** | Connection rejection reason detail | [optional] | |**data** | [**ConnectionAcceptanceData**](ConnectionAcceptanceData.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/ConnectionResponse.md b/equinix-openapi-fabric/docs/ConnectionResponse.md index b738d89a..cf32eb80 100644 --- a/equinix-openapi-fabric/docs/ConnectionResponse.md +++ b/equinix-openapi-fabric/docs/ConnectionResponse.md @@ -9,7 +9,7 @@ ValidateResponse | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**additionalInfo** | [**List<ConnectionSideAdditionalInfo>**](ConnectionSideAdditionalInfo.md) | Additional information | [optional] | -|**data** | [**List<Connection>**](Connection.md) | Connection response data | [optional] | +|**data** | [**List<ValidateConnectionResponse>**](ValidateConnectionResponse.md) | Connection response data | [optional] | diff --git a/equinix-openapi-fabric/docs/ConnectionRouteEntryFilter.md b/equinix-openapi-fabric/docs/ConnectionRouteEntryFilter.md new file mode 100644 index 00000000..1ba83496 --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteEntryFilter.md @@ -0,0 +1,16 @@ + + +# ConnectionRouteEntryFilter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**property** | **String** | Possible field names to use on filters: * `/type` - Route table entry type * `/state` - Route table entry state * `/prefix` - Route table entry prefix * `/nextHop` - Route table entry nextHop * `/_*` - all-category search | [optional] | +|**operator** | **String** | Possible operators to use on filters: * `=` - equal * `!=` - not equal * `>` - greater than * `>=` - greater than or equal to * `<` - less than * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `~*` - case-insensitive like | [optional] | +|**values** | **List<String>** | | [optional] | +|**or** | [**List<ConnectionRouteEntrySimpleExpression>**](ConnectionRouteEntrySimpleExpression.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/ConnectionRouteEntryFilters.md b/equinix-openapi-fabric/docs/ConnectionRouteEntryFilters.md new file mode 100644 index 00000000..4c5b3f84 --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteEntryFilters.md @@ -0,0 +1,13 @@ + + +# ConnectionRouteEntryFilters + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**and** | [**List<ConnectionRouteEntryFilter>**](ConnectionRouteEntryFilter.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/ConnectionRouteEntryOrFilter.md b/equinix-openapi-fabric/docs/ConnectionRouteEntryOrFilter.md new file mode 100644 index 00000000..60071386 --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteEntryOrFilter.md @@ -0,0 +1,13 @@ + + +# ConnectionRouteEntryOrFilter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**or** | [**List<ConnectionRouteEntrySimpleExpression>**](ConnectionRouteEntrySimpleExpression.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/ConnectionRouteEntrySimpleExpression.md b/equinix-openapi-fabric/docs/ConnectionRouteEntrySimpleExpression.md new file mode 100644 index 00000000..4acd51e6 --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteEntrySimpleExpression.md @@ -0,0 +1,15 @@ + + +# ConnectionRouteEntrySimpleExpression + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**property** | **String** | Possible field names to use on filters: * `/type` - Route table entry type * `/state` - Route table entry state * `/prefix` - Route table entry prefix * `/nextHop` - Route table entry nextHop * `/_*` - all-category search | [optional] | +|**operator** | **String** | Possible operators to use on filters: * `=` - equal * `!=` - not equal * `>` - greater than * `>=` - greater than or equal to * `<` - less than * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `~*` - case-insensitive like | [optional] | +|**values** | **List<String>** | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/ConnectionRouteEntrySortBy.md b/equinix-openapi-fabric/docs/ConnectionRouteEntrySortBy.md new file mode 100644 index 00000000..9fdc7052 --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteEntrySortBy.md @@ -0,0 +1,23 @@ + + +# ConnectionRouteEntrySortBy + +## Enum + + +* `CHANGELOG_CREATEDDATETIME` (value: `"/changeLog/createdDateTime"`) + +* `CHANGELOG_UPDATEDDATETIME` (value: `"/changeLog/updatedDateTime"`) + +* `MED` (value: `"/med"`) + +* `CONNECTION_NAME` (value: `"/connection/name"`) + +* `TYPE` (value: `"/type"`) + +* `PREFIX` (value: `"/prefix"`) + +* `NEXTHOP` (value: `"/nextHop"`) + + + diff --git a/equinix-openapi-fabric/docs/ConnectionRouteEntrySortDirection.md b/equinix-openapi-fabric/docs/ConnectionRouteEntrySortDirection.md new file mode 100644 index 00000000..18744a5d --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteEntrySortDirection.md @@ -0,0 +1,13 @@ + + +# ConnectionRouteEntrySortDirection + +## Enum + + +* `DESC` (value: `"DESC"`) + +* `ASC` (value: `"ASC"`) + + + diff --git a/equinix-openapi-fabric/docs/ConnectionRouteSearchRequest.md b/equinix-openapi-fabric/docs/ConnectionRouteSearchRequest.md new file mode 100644 index 00000000..4bcd3991 --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteSearchRequest.md @@ -0,0 +1,16 @@ + + +# ConnectionRouteSearchRequest + +Search requests containing criteria + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**filter** | [**ConnectionRouteEntryFilters**](ConnectionRouteEntryFilters.md) | | [optional] | +|**pagination** | [**PaginationRequest**](PaginationRequest.md) | | [optional] | +|**sort** | [**List<ConnectionRouteSortCriteria>**](ConnectionRouteSortCriteria.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/ConnectionRouteSortCriteria.md b/equinix-openapi-fabric/docs/ConnectionRouteSortCriteria.md new file mode 100644 index 00000000..a9b43eb3 --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteSortCriteria.md @@ -0,0 +1,14 @@ + + +# ConnectionRouteSortCriteria + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**direction** | **ConnectionRouteEntrySortDirection** | | [optional] | +|**property** | **ConnectionRouteEntrySortBy** | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/ConnectionRouteTableEntry.md b/equinix-openapi-fabric/docs/ConnectionRouteTableEntry.md new file mode 100644 index 00000000..7cd8ffba --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteTableEntry.md @@ -0,0 +1,33 @@ + + +# ConnectionRouteTableEntry + +Adv/Rec Route table entry object + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **RouteTableEntryType** | | | +|**protocolType** | **RouteTableEntryProtocolType** | | [optional] | +|**state** | [**StateEnum**](#StateEnum) | | | +|**age** | **String** | | [optional] | +|**prefix** | **String** | | [optional] | +|**nextHop** | **String** | | [optional] | +|**MED** | **Integer** | | [optional] | +|**localPreference** | **Integer** | | [optional] | +|**asPath** | **List<String>** | | [optional] | +|**connection** | [**ConnectionRouteTableEntryConnection**](ConnectionRouteTableEntryConnection.md) | | [optional] | +|**changeLog** | [**Changelog**](Changelog.md) | | | + + + +## Enum: StateEnum + +| Name | Value | +|---- | -----| +| ACTIVE | "ACTIVE" | +| INACTIVE | "INACTIVE" | + + + diff --git a/equinix-openapi-fabric/docs/RouteTableEntryConnection.md b/equinix-openapi-fabric/docs/ConnectionRouteTableEntryConnection.md similarity index 84% rename from equinix-openapi-fabric/docs/RouteTableEntryConnection.md rename to equinix-openapi-fabric/docs/ConnectionRouteTableEntryConnection.md index 95a7705a..9c7f3cf7 100644 --- a/equinix-openapi-fabric/docs/RouteTableEntryConnection.md +++ b/equinix-openapi-fabric/docs/ConnectionRouteTableEntryConnection.md @@ -1,6 +1,6 @@ -# RouteTableEntryConnection +# ConnectionRouteTableEntryConnection ## Properties diff --git a/equinix-openapi-fabric/docs/ConnectionRouteTableEntrySearchResponse.md b/equinix-openapi-fabric/docs/ConnectionRouteTableEntrySearchResponse.md new file mode 100644 index 00000000..95e90e4e --- /dev/null +++ b/equinix-openapi-fabric/docs/ConnectionRouteTableEntrySearchResponse.md @@ -0,0 +1,14 @@ + + +# ConnectionRouteTableEntrySearchResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pagination** | [**Pagination**](Pagination.md) | | [optional] | +|**data** | [**List<ConnectionRouteTableEntry>**](ConnectionRouteTableEntry.md) | Data returned from the API call. | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/FabricConnectionUuid.md b/equinix-openapi-fabric/docs/FabricConnectionUuid.md deleted file mode 100644 index 798ff2bb..00000000 --- a/equinix-openapi-fabric/docs/FabricConnectionUuid.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# FabricConnectionUuid - -UUID of the Fabric Connection Instance - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**uuid** | **UUID** | uuid of the Fabric L2 connection | | -|**href** | **URI** | the href for the L2 connection | [optional] | -|**type** | **String** | | [optional] | - - - diff --git a/equinix-openapi-fabric/docs/GetAllStreamAssetResponse.md b/equinix-openapi-fabric/docs/GetAllStreamAssetResponse.md new file mode 100644 index 00000000..4d5f1efc --- /dev/null +++ b/equinix-openapi-fabric/docs/GetAllStreamAssetResponse.md @@ -0,0 +1,14 @@ + + +# GetAllStreamAssetResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pagination** | [**Pagination**](Pagination.md) | | [optional] | +|**data** | [**List<StreamAsset>**](StreamAsset.md) | Data returned from the API call. | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/GetAllStreamResponse.md b/equinix-openapi-fabric/docs/GetAllStreamResponse.md new file mode 100644 index 00000000..4b0d21e5 --- /dev/null +++ b/equinix-openapi-fabric/docs/GetAllStreamResponse.md @@ -0,0 +1,14 @@ + + +# GetAllStreamResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pagination** | [**Pagination**](Pagination.md) | | [optional] | +|**data** | [**List<Stream>**](Stream.md) | Data returned from the API call. | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/GetAllStreamSubscriptionResponse.md b/equinix-openapi-fabric/docs/GetAllStreamSubscriptionResponse.md new file mode 100644 index 00000000..7c6b5ea4 --- /dev/null +++ b/equinix-openapi-fabric/docs/GetAllStreamSubscriptionResponse.md @@ -0,0 +1,14 @@ + + +# GetAllStreamSubscriptionResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pagination** | [**Pagination**](Pagination.md) | | [optional] | +|**data** | [**List<StreamSubscription>**](StreamSubscription.md) | Data returned from the API call. | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/GetSubscriptionsInStreamResponse.md b/equinix-openapi-fabric/docs/GetSubscriptionsInStreamResponse.md new file mode 100644 index 00000000..dde14e11 --- /dev/null +++ b/equinix-openapi-fabric/docs/GetSubscriptionsInStreamResponse.md @@ -0,0 +1,14 @@ + + +# GetSubscriptionsInStreamResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**pagination** | [**Pagination**](Pagination.md) | | [optional] | +|**data** | [**List<StreamGetSubscriptions>**](StreamGetSubscriptions.md) | Data returned from the API call. | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/Ipv4.md b/equinix-openapi-fabric/docs/Ipv4.md index 92ea7f77..c190b75d 100644 --- a/equinix-openapi-fabric/docs/Ipv4.md +++ b/equinix-openapi-fabric/docs/Ipv4.md @@ -8,10 +8,10 @@ EPT service network information | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**primary** | **String** | | [optional] | -|**secondary** | **String** | | [optional] | -|**networkMask** | **String** | | [optional] | -|**defaultGateway** | **String** | | [optional] | +|**primary** | **String** | Primary Timing Server IP Address | | +|**secondary** | **String** | Secondary Timing Server IP Address | | +|**networkMask** | **String** | Network Mask | | +|**defaultGateway** | **String** | Gateway Interface IP address | [optional] | diff --git a/equinix-openapi-fabric/docs/LinkProtocol.md b/equinix-openapi-fabric/docs/LinkProtocol.md deleted file mode 100644 index 5fbef4e7..00000000 --- a/equinix-openapi-fabric/docs/LinkProtocol.md +++ /dev/null @@ -1,30 +0,0 @@ - - -# LinkProtocol - -Connection link protocol Configuration - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **LinkProtocolType** | | | -|**ipv4** | [**LinkProtocolIpv4Ipv6Config**](LinkProtocolIpv4Ipv6Config.md) | | [optional] | -|**ipv6** | [**LinkProtocolIpv4Ipv6Config**](LinkProtocolIpv4Ipv6Config.md) | | [optional] | -|**tagProtocolId** | **String** | Tag protocol identifier | [optional] | -|**vlanTag** | **String** | VLAN tag | | -|**vlanTagMin** | **Integer** | VLAN tag Min value specified for DOT1Q connections | [optional] | -|**vlanTagMax** | **Integer** | VLAN tag Max value specified for DOT1Q connections | [optional] | -|**innerTagProtocolId** | **Integer** | Inner tag protocol identifier | | -|**outerTagProtocolId** | **Integer** | Outer tag protocol identifier | | -|**vlanCTag** | **Integer** | Inner tag, i.e., C-VLAN tag | | -|**vlanSTag** | **Integer** | Outer tag, i.e., S-VLAN tag | | -|**vlanCTagMin** | **Integer** | Outer tag Min value specified for QINQ connections | [optional] | -|**vlanCTagMax** | **Integer** | Outer tag Max value specified for QINQ connections | [optional] | -|**subInterface** | **Integer** | Subinterface identifier | [optional] | -|**vni** | **Integer** | Virtual Network Identifier | | -|**vnid** | **Integer** | Virtual Network Identifier | | -|**type5vni** | **Integer** | Type 5 VNI identifier | | - - - diff --git a/equinix-openapi-fabric/docs/LinkProtocolDot1q.md b/equinix-openapi-fabric/docs/LinkProtocolDot1q.md deleted file mode 100644 index aa622f56..00000000 --- a/equinix-openapi-fabric/docs/LinkProtocolDot1q.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# LinkProtocolDot1q - -Connection link protocol configuration - DOT1Q - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **LinkProtocolType** | | [optional] | -|**tagProtocolId** | **String** | Tag protocol identifier | [optional] | -|**vlanTag** | **String** | VLAN tag | | -|**vlanTagMin** | **Integer** | VLAN tag Min value specified for DOT1Q connections | [optional] | -|**vlanTagMax** | **Integer** | VLAN tag Max value specified for DOT1Q connections | [optional] | - - - diff --git a/equinix-openapi-fabric/docs/LinkProtocolEvpnVxlan.md b/equinix-openapi-fabric/docs/LinkProtocolEvpnVxlan.md deleted file mode 100644 index 06b32b3b..00000000 --- a/equinix-openapi-fabric/docs/LinkProtocolEvpnVxlan.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# LinkProtocolEvpnVxlan - -Connection link protocol configuration - EVPN_VXLAN - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **LinkProtocolType** | | [optional] | -|**vnid** | **Integer** | Virtual Network Identifier | | -|**type5vni** | **Integer** | Type 5 VNI identifier | | - - - diff --git a/equinix-openapi-fabric/docs/LinkProtocolIpv4Ipv6Config.md b/equinix-openapi-fabric/docs/LinkProtocolIpv4Ipv6Config.md deleted file mode 100644 index 1731e2d7..00000000 --- a/equinix-openapi-fabric/docs/LinkProtocolIpv4Ipv6Config.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# LinkProtocolIpv4Ipv6Config - -IPv4 or IPv6 specific configuration - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**linkPrefix** | **String** | Link subnet prefix | [optional] | -|**localIfaceIp** | **String** | Prefix datatype when linkPrefix not specified | [optional] | -|**remoteIfaceIp** | **String** | Equinix-side link interface address | [optional] | - - - diff --git a/equinix-openapi-fabric/docs/LinkProtocolQinq.md b/equinix-openapi-fabric/docs/LinkProtocolQinq.md deleted file mode 100644 index c0c3e5a8..00000000 --- a/equinix-openapi-fabric/docs/LinkProtocolQinq.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# LinkProtocolQinq - -Connection link protocol configuration - QINQ - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **LinkProtocolType** | | [optional] | -|**innerTagProtocolId** | **Integer** | Inner tag protocol identifier | | -|**outerTagProtocolId** | **Integer** | Outer tag protocol identifier | | -|**vlanCTag** | **Integer** | Inner tag, i.e., C-VLAN tag | | -|**vlanSTag** | **Integer** | Outer tag, i.e., S-VLAN tag | | -|**vlanCTagMin** | **Integer** | Outer tag Min value specified for QINQ connections | [optional] | -|**vlanCTagMax** | **Integer** | Outer tag Max value specified for QINQ connections | [optional] | -|**subInterface** | **Integer** | Subinterface identifier | [optional] | - - - diff --git a/equinix-openapi-fabric/docs/LinkProtocolUntagged.md b/equinix-openapi-fabric/docs/LinkProtocolUntagged.md deleted file mode 100644 index 4fbb3686..00000000 --- a/equinix-openapi-fabric/docs/LinkProtocolUntagged.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# LinkProtocolUntagged - -Connection link protocol configuration - UNTAGGED - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **LinkProtocolType** | | [optional] | -|**ipv4** | [**LinkProtocolIpv4Ipv6Config**](LinkProtocolIpv4Ipv6Config.md) | | [optional] | -|**ipv6** | [**LinkProtocolIpv4Ipv6Config**](LinkProtocolIpv4Ipv6Config.md) | | [optional] | - - - diff --git a/equinix-openapi-fabric/docs/LinkProtocolVxlan.md b/equinix-openapi-fabric/docs/LinkProtocolVxlan.md deleted file mode 100644 index 7680f8c3..00000000 --- a/equinix-openapi-fabric/docs/LinkProtocolVxlan.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# LinkProtocolVxlan - -Connection link protocol configuration - VXLAN - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | **LinkProtocolType** | | [optional] | -|**vni** | **Integer** | Virtual Network Identifier | | - - - diff --git a/equinix-openapi-fabric/docs/Md5.md b/equinix-openapi-fabric/docs/Md5.md index ad773bd4..f46f121c 100644 --- a/equinix-openapi-fabric/docs/Md5.md +++ b/equinix-openapi-fabric/docs/Md5.md @@ -8,8 +8,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**type** | [**TypeEnum**](#TypeEnum) | | [optional] | -|**id** | **Integer** | | [optional] | -|**password** | **String** | | [optional] | +|**keyNumber** | **Integer** | The authentication Key ID. | [optional] | +|**key** | **String** | The plaintext authentication key. For ASCII type, the key must contain printable ASCII characters, range 10-20 characters. For HEX type, range should be 10-40 characters. | [optional] | diff --git a/equinix-openapi-fabric/docs/ModelPackage.md b/equinix-openapi-fabric/docs/ModelPackage.md new file mode 100644 index 00000000..c77fdb8a --- /dev/null +++ b/equinix-openapi-fabric/docs/ModelPackage.md @@ -0,0 +1,34 @@ + + +# ModelPackage + +Package settings for port + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**code** | [**CodeEnum**](#CodeEnum) | Type of Port Package | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | Port service Type | [optional] | + + + +## Enum: CodeEnum + +| Name | Value | +|---- | -----| +| STANDARD | "STANDARD" | +| UNLIMITED | "UNLIMITED" | +| UNLIMITED_PLUS | "UNLIMITED_PLUS" | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| EPL | "EPL" | +| MSP | "MSP" | + + + diff --git a/equinix-openapi-fabric/docs/Operation.md b/equinix-openapi-fabric/docs/Operation.md new file mode 100644 index 00000000..07c17cb3 --- /dev/null +++ b/equinix-openapi-fabric/docs/Operation.md @@ -0,0 +1,15 @@ + + +# Operation + +Operation object for router actions + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bgpIpv4RoutesCount** | **Integer** | IPV4 Route Count | [optional] | +|**bgpIpv6RoutesCount** | **Integer** | IPV6 Route Count | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/PhysicalPort.md b/equinix-openapi-fabric/docs/PhysicalPort.md index 71265506..9050479a 100644 --- a/equinix-openapi-fabric/docs/PhysicalPort.md +++ b/equinix-openapi-fabric/docs/PhysicalPort.md @@ -8,15 +8,18 @@ Physical Port specification | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**href** | **URI** | Equinix assigned response attribute for an absolute URL that is the subject of the link's context. | [optional] [readonly] | |**type** | **PhysicalPortType** | | [optional] | |**id** | **Integer** | Equinix assigned response attribute for Physical Port Id | [optional] | -|**href** | **URI** | Equinix assigned response attribute for an absolute URL that is the subject of the link's context. | [optional] [readonly] | |**state** | **PortState** | | [optional] | |**account** | [**SimplifiedAccount**](SimplifiedAccount.md) | | [optional] | |**interfaceSpeed** | **Integer** | Physical Port Speed in Mbps | [optional] | |**interfaceType** | **String** | Physical Port Interface Type | [optional] | +|**uuid** | **UUID** | Equinix assigned response attribute for physical port identifier | [optional] | |**tether** | [**PortTether**](PortTether.md) | | [optional] | |**demarcationPoint** | [**PortDemarcationPoint**](PortDemarcationPoint.md) | | [optional] | +|**settings** | [**PhysicalPortSettings**](PhysicalPortSettings.md) | | [optional] | +|**_interface** | [**PortInterface**](PortInterface.md) | | [optional] | |**notifications** | [**List<PortNotification>**](PortNotification.md) | Notification preferences | [optional] | |**additionalInfo** | [**List<PortAdditionalInfo>**](PortAdditionalInfo.md) | Physical Port additional information | [optional] | |**order** | [**PortOrder**](PortOrder.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/PhysicalPortSettings.md b/equinix-openapi-fabric/docs/PhysicalPortSettings.md new file mode 100644 index 00000000..f8888c75 --- /dev/null +++ b/equinix-openapi-fabric/docs/PhysicalPortSettings.md @@ -0,0 +1,15 @@ + + +# PhysicalPortSettings + +Physical Port configuration settings + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**errorMessage** | **String** | | [optional] | +|**packageType** | **String** | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/Port.md b/equinix-openapi-fabric/docs/Port.md index add8711c..d4fb5b6a 100644 --- a/equinix-openapi-fabric/docs/Port.md +++ b/equinix-openapi-fabric/docs/Port.md @@ -8,9 +8,9 @@ Port specification | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**href** | **URI** | Equinix assigned response attribute for an absolute URL that is the subject of the link's context. | [optional] [readonly] | |**type** | **PortType** | | [optional] | |**id** | **Integer** | Equinix assigned response attribute for Port Id | [optional] | -|**href** | **URI** | Equinix assigned response attribute for an absolute URL that is the subject of the link's context. | [optional] [readonly] | |**uuid** | **UUID** | Equinix assigned response attribute for port identifier | [optional] | |**name** | **String** | Equinix assigned response attribute for Port name | [optional] | |**description** | **String** | Equinix assigned response attribute for Port description | [optional] | @@ -23,26 +23,26 @@ Port specification |**project** | [**Project**](Project.md) | | [optional] | |**state** | **PortState** | | [optional] | |**order** | [**PortOrder**](PortOrder.md) | | [optional] | -|**cvpId** | **String** | Equinix assigned response attribute for Unique ID for a virtual port. | [optional] | |**operation** | [**PortOperation**](PortOperation.md) | | [optional] | -|**account** | [**SimplifiedAccount**](SimplifiedAccount.md) | | | -|**changelog** | [**Changelog**](Changelog.md) | | [optional] | +|**account** | [**SimplifiedAccount**](SimplifiedAccount.md) | | [optional] | +|**changeLog** | [**Changelog**](Changelog.md) | | [optional] | |**serviceType** | [**ServiceTypeEnum**](#ServiceTypeEnum) | Port service Type | [optional] | |**bandwidth** | **Integer** | Equinix assigned response attribute for Port bandwidth in Mbps | [optional] | |**availableBandwidth** | **Integer** | Equinix assigned response attribute for Port available bandwidth in Mbps | [optional] | |**usedBandwidth** | **Integer** | Equinix assigned response attribute for Port used bandwidth in Mbps | [optional] | -|**location** | [**SimplifiedLocation**](SimplifiedLocation.md) | | | +|**location** | [**SimplifiedLocation**](SimplifiedLocation.md) | | [optional] | |**device** | [**PortDevice**](PortDevice.md) | | [optional] | |**_interface** | [**PortInterface**](PortInterface.md) | | [optional] | |**demarcationPointIbx** | **String** | A-side/Equinix ibx | [optional] | |**tetherIbx** | **String** | z-side/Equinix ibx | [optional] | |**demarcationPoint** | [**PortDemarcationPoint**](PortDemarcationPoint.md) | | [optional] | |**redundancy** | [**PortRedundancy**](PortRedundancy.md) | | [optional] | -|**encapsulation** | [**PortEncapsulation**](PortEncapsulation.md) | | | +|**encapsulation** | [**PortEncapsulation**](PortEncapsulation.md) | | [optional] | |**lagEnabled** | **Boolean** | If LAG enabled | [optional] | |**lag** | [**PortLag**](PortLag.md) | | [optional] | |**asn** | **Integer** | Port ASN | [optional] | -|**settings** | [**PortSettings**](PortSettings.md) | | | +|**_package** | [**ModelPackage**](ModelPackage.md) | | [optional] | +|**settings** | [**PortSettings**](PortSettings.md) | | [optional] | |**physicalPortQuantity** | **Integer** | Number of physical ports | [optional] | |**notifications** | [**List<PortNotification>**](PortNotification.md) | Notification preferences | [optional] | |**additionalInfo** | [**List<PortAdditionalInfo>**](PortAdditionalInfo.md) | Port additional information | [optional] | diff --git a/equinix-openapi-fabric/docs/PortInterface.md b/equinix-openapi-fabric/docs/PortInterface.md index a117fa98..e85dac50 100644 --- a/equinix-openapi-fabric/docs/PortInterface.md +++ b/equinix-openapi-fabric/docs/PortInterface.md @@ -9,8 +9,6 @@ Port interface | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**type** | **String** | Port interface type | [optional] | -|**ifIndex** | **String** | Port interface index | [optional] | -|**name** | **String** | Port interface name | [optional] | diff --git a/equinix-openapi-fabric/docs/PortLag.md b/equinix-openapi-fabric/docs/PortLag.md index d0ac0be7..05ecdf85 100644 --- a/equinix-openapi-fabric/docs/PortLag.md +++ b/equinix-openapi-fabric/docs/PortLag.md @@ -2,7 +2,6 @@ # PortLag -Port Lag ## Properties diff --git a/equinix-openapi-fabric/docs/PortOperation.md b/equinix-openapi-fabric/docs/PortOperation.md index 48ca98d1..dbc3c8f6 100644 --- a/equinix-openapi-fabric/docs/PortOperation.md +++ b/equinix-openapi-fabric/docs/PortOperation.md @@ -2,14 +2,16 @@ # PortOperation -Operational specifications for ports. ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**operationalStatus** | [**OperationalStatusEnum**](#OperationalStatusEnum) | Availability of a given physical port. | [optional] | -|**connectionCount** | **Integer** | Total number of connections. | [optional] | +|**connectionCount** | **Long** | Total number of connections. | [optional] | +|**evplVCCount** | **Long** | Total number of connections. | [optional] | +|**fgVCCount** | **Long** | Total number of connections. | [optional] | +|**accessVCCount** | **Long** | Total number of connections. | [optional] | |**opStatusChangedAt** | **OffsetDateTime** | Date and time at which port availability changed. | [optional] | @@ -20,6 +22,7 @@ Operational specifications for ports. |---- | -----| | UP | "UP" | | DOWN | "DOWN" | +| PARTIAL | "PARTIAL" | diff --git a/equinix-openapi-fabric/docs/PortOrder.md b/equinix-openapi-fabric/docs/PortOrder.md index 69020c27..6d676577 100644 --- a/equinix-openapi-fabric/docs/PortOrder.md +++ b/equinix-openapi-fabric/docs/PortOrder.md @@ -11,7 +11,7 @@ |**orderId** | **String** | Order Identification | [optional] | |**customerReferenceId** | **String** | Customer order reference Id | [optional] | |**orderNumber** | **String** | Order Reference Number | [optional] | -|**uuid** | **UUID** | Equinix-assigned order identifier | [optional] | +|**uuid** | **UUID** | Equinix-assigned order identifier, this is a derived response atrribute | [optional] | |**signature** | [**PortOrderSignature**](PortOrderSignature.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/PortOrderPurchaseOrder.md b/equinix-openapi-fabric/docs/PortOrderPurchaseOrder.md index aa5e725a..0f8fcb4c 100644 --- a/equinix-openapi-fabric/docs/PortOrderPurchaseOrder.md +++ b/equinix-openapi-fabric/docs/PortOrderPurchaseOrder.md @@ -14,6 +14,7 @@ purchase order |**endDate** | **String** | | [optional] | |**attachmentId** | **UUID** | | [optional] | |**selectionType** | [**SelectionTypeEnum**](#SelectionTypeEnum) | | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | | [optional] | @@ -28,3 +29,14 @@ purchase order +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| EXEMPTION | "EXEMPTION" | +| EXISTING | "EXISTING" | +| NEW | "NEW" | +| BLANKET | "BLANKET" | + + + diff --git a/equinix-openapi-fabric/docs/PortRequest.md b/equinix-openapi-fabric/docs/PortRequest.md new file mode 100644 index 00000000..0101c0d8 --- /dev/null +++ b/equinix-openapi-fabric/docs/PortRequest.md @@ -0,0 +1,93 @@ + + +# PortRequest + +PortRequest is the Request Object for creating single and bulk fabric ports + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**href** | **URI** | Equinix assigned response attribute for an absolute URL that is the subject of the link's context. | [optional] [readonly] | +|**type** | **PortType** | | | +|**id** | **Integer** | Equinix assigned response attribute for Port Id | [optional] | +|**uuid** | **UUID** | Equinix assigned response attribute for port identifier | [optional] | +|**name** | **String** | Equinix assigned response attribute for Port name | [optional] | +|**description** | **String** | Equinix assigned response attribute for Port description | [optional] | +|**physicalPortsSpeed** | **Integer** | Physical Ports Speed in Mbps | | +|**connectionsCount** | **Integer** | Equinix assigned response attribute for Connection count | [optional] | +|**physicalPortsType** | [**PhysicalPortsTypeEnum**](#PhysicalPortsTypeEnum) | Physical Ports Type | | +|**physicalPortsCount** | **Integer** | | [optional] | +|**connectivitySourceType** | [**ConnectivitySourceTypeEnum**](#ConnectivitySourceTypeEnum) | Port connectivity type | | +|**bmmrType** | [**BmmrTypeEnum**](#BmmrTypeEnum) | | [optional] | +|**project** | [**Project**](Project.md) | | [optional] | +|**state** | **PortState** | | [optional] | +|**order** | [**PortOrder**](PortOrder.md) | | [optional] | +|**operation** | [**PortOperation**](PortOperation.md) | | [optional] | +|**account** | [**SimplifiedAccount**](SimplifiedAccount.md) | | | +|**changeLog** | [**Changelog**](Changelog.md) | | [optional] | +|**serviceType** | [**ServiceTypeEnum**](#ServiceTypeEnum) | Port service Type | [optional] | +|**bandwidth** | **Integer** | Equinix assigned response attribute for Port bandwidth in Mbps | [optional] | +|**availableBandwidth** | **Integer** | Equinix assigned response attribute for Port available bandwidth in Mbps | [optional] | +|**usedBandwidth** | **Integer** | Equinix assigned response attribute for Port used bandwidth in Mbps | [optional] | +|**location** | [**SimplifiedLocation**](SimplifiedLocation.md) | | | +|**device** | [**PortDevice**](PortDevice.md) | | [optional] | +|**_interface** | [**PortInterface**](PortInterface.md) | | [optional] | +|**demarcationPointIbx** | **String** | A-side/Equinix ibx | [optional] | +|**tetherIbx** | **String** | z-side/Equinix ibx | [optional] | +|**demarcationPoint** | [**PortDemarcationPoint**](PortDemarcationPoint.md) | | [optional] | +|**redundancy** | [**PortRedundancy**](PortRedundancy.md) | | [optional] | +|**encapsulation** | [**PortEncapsulation**](PortEncapsulation.md) | | | +|**lagEnabled** | **Boolean** | If LAG enabled | [optional] | +|**lag** | [**PortLag**](PortLag.md) | | [optional] | +|**asn** | **Integer** | Port ASN | [optional] | +|**_package** | [**ModelPackage**](ModelPackage.md) | | [optional] | +|**settings** | [**PortSettings**](PortSettings.md) | | | +|**physicalPortQuantity** | **Integer** | Number of physical ports | [optional] | +|**notifications** | [**List<PortNotification>**](PortNotification.md) | Notification preferences | [optional] | +|**additionalInfo** | [**List<PortAdditionalInfo>**](PortAdditionalInfo.md) | Port additional information | [optional] | +|**physicalPorts** | [**List<PhysicalPort>**](PhysicalPort.md) | Physical ports that implement this port | [optional] | +|**loas** | [**List<PortLoa>**](PortLoa.md) | Port Loas | [optional] | + + + +## Enum: PhysicalPortsTypeEnum + +| Name | Value | +|---- | -----| +| _1000BASE_LX | "1000BASE_LX" | +| _10GBASE_LR | "10GBASE_LR" | +| _100GBASE_LR4 | "100GBASE_LR4" | +| _10GBASE_ER | "10GBASE_ER" | +| _1000BASE_SX | "1000BASE_SX" | + + + +## Enum: ConnectivitySourceTypeEnum + +| Name | Value | +|---- | -----| +| COLO | "COLO" | +| BMMR | "BMMR" | +| REMOTE | "REMOTE" | + + + +## Enum: BmmrTypeEnum + +| Name | Value | +|---- | -----| +| SELF | "SELF" | +| EQUINIX | "EQUINIX" | + + + +## Enum: ServiceTypeEnum + +| Name | Value | +|---- | -----| +| EPL | "EPL" | +| MSP | "MSP" | + + + diff --git a/equinix-openapi-fabric/docs/PortSettings.md b/equinix-openapi-fabric/docs/PortSettings.md index c8c1a74e..ef9cf452 100644 --- a/equinix-openapi-fabric/docs/PortSettings.md +++ b/equinix-openapi-fabric/docs/PortSettings.md @@ -8,12 +8,10 @@ Port configuration settings | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**product** | **String** | Product name | [optional] | |**buyout** | **Boolean** | | [optional] | |**viewPortPermission** | **Boolean** | | [optional] | |**placeVcOrderPermission** | **Boolean** | | [optional] | |**layer3Enabled** | **Boolean** | | [optional] | -|**productCode** | **String** | | [optional] | |**sharedPortType** | **Boolean** | | [optional] | |**sharedPortProduct** | [**SharedPortProductEnum**](#SharedPortProductEnum) | | [optional] | |**packageType** | [**PackageTypeEnum**](#PackageTypeEnum) | Type of Port Package | [optional] | @@ -36,9 +34,8 @@ Port configuration settings | Name | Value | |---- | -----| | STANDARD | "STANDARD" | -| UNTAGGED | "UNTAGGED" | | UNLIMITED | "UNLIMITED" | -| UNLIMITED_PLUS | "UNLIMITED PLUS" | +| UNLIMITED_PLUS | "UNLIMITED_PLUS" | diff --git a/equinix-openapi-fabric/docs/PortsApi.md b/equinix-openapi-fabric/docs/PortsApi.md index 62d77239..273e0cc0 100644 --- a/equinix-openapi-fabric/docs/PortsApi.md +++ b/equinix-openapi-fabric/docs/PortsApi.md @@ -88,7 +88,7 @@ public class Example { # **createBulkPort** -> AllPortsResponse createBulkPort(bulkPort) +> BulkPort createBulkPort(bulkPortRequest) Create Port @@ -114,9 +114,9 @@ public class Example { BearerAuth.setBearerToken("BEARER TOKEN"); PortsApi apiInstance = new PortsApi(defaultClient); - BulkPort bulkPort = new BulkPort(); // BulkPort | + BulkPortRequest bulkPortRequest = new BulkPortRequest(); // BulkPortRequest | try { - AllPortsResponse result = apiInstance.createBulkPort(bulkPort); + BulkPort result = apiInstance.createBulkPort(bulkPortRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PortsApi#createBulkPort"); @@ -133,11 +133,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **bulkPort** | [**BulkPort**](BulkPort.md)| | | +| **bulkPortRequest** | [**BulkPortRequest**](BulkPortRequest.md)| | | ### Return type -[**AllPortsResponse**](AllPortsResponse.md) +[**BulkPort**](BulkPort.md) ### Authorization @@ -155,7 +155,7 @@ public class Example { # **createPort** -> Port createPort(port) +> Port createPort(portRequest) Create Port @@ -181,9 +181,9 @@ public class Example { BearerAuth.setBearerToken("BEARER TOKEN"); PortsApi apiInstance = new PortsApi(defaultClient); - Port port = new Port(); // Port | + PortRequest portRequest = new PortRequest(); // PortRequest | try { - Port result = apiInstance.createPort(port); + Port result = apiInstance.createPort(portRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PortsApi#createPort"); @@ -200,7 +200,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **port** | [**Port**](Port.md)| | | +| **portRequest** | [**PortRequest**](PortRequest.md)| | | ### Return type diff --git a/equinix-openapi-fabric/docs/PrecisionTimeApi.md b/equinix-openapi-fabric/docs/PrecisionTimeApi.md index a3e81747..6ef5656d 100644 --- a/equinix-openapi-fabric/docs/PrecisionTimeApi.md +++ b/equinix-openapi-fabric/docs/PrecisionTimeApi.md @@ -5,22 +5,23 @@ All URIs are relative to *https://api.equinix.com* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**createTimeServices**](PrecisionTimeApi.md#createTimeServices) | **POST** /fabric/v4/timeServices | Create Time Service | -| [**deleteTimeServiceById**](PrecisionTimeApi.md#deleteTimeServiceById) | **DELETE** /fabric/v4/timeServices/{serviceId} | Delete time service | -| [**getTimeServicesById**](PrecisionTimeApi.md#getTimeServicesById) | **GET** /fabric/v4/timeServices/{serviceId} | Get Time Service | +| [**deleteTimeServiceById**](PrecisionTimeApi.md#deleteTimeServiceById) | **DELETE** /fabric/v4/timeServices/{serviceId} | Delete by ID. | +| [**fulfillTimeServices**](PrecisionTimeApi.md#fulfillTimeServices) | **PUT** /fabric/v4/timeServices/{serviceId} | Configure Service. | +| [**getTimeServicesById**](PrecisionTimeApi.md#getTimeServicesById) | **GET** /fabric/v4/timeServices/{serviceId} | Get Service By ID. | | [**getTimeServicesConnectionsByServiceId**](PrecisionTimeApi.md#getTimeServicesConnectionsByServiceId) | **GET** /fabric/v4/timeServices/{serviceId}/connections | Get Connection Links | | [**getTimeServicesPackageByCode**](PrecisionTimeApi.md#getTimeServicesPackageByCode) | **GET** /fabric/v4/timeServicePackages/{packageCode} | Get Package By Code | | [**getTimeServicesPackages**](PrecisionTimeApi.md#getTimeServicesPackages) | **GET** /fabric/v4/timeServicePackages | Get Packages | | [**searchTimeServices**](PrecisionTimeApi.md#searchTimeServices) | **POST** /fabric/v4/timeServices/search | Search Time Services | -| [**updateTimeServicesById**](PrecisionTimeApi.md#updateTimeServicesById) | **PATCH** /fabric/v4/timeServices/{serviceId} | Patch time service | +| [**updateTimeServicesById**](PrecisionTimeApi.md#updateTimeServicesById) | **PATCH** /fabric/v4/timeServices/{serviceId} | Update By ID. | # **createTimeServices** -> PrecisionTimeServiceCreateResponse createTimeServices(precisionTimeServiceRequest) +> PrecisionTimeServiceResponse createTimeServices(precisionTimeServiceRequest) Create Time Service -The API provides capability to create timing service +The API provides capability to create Precision Time service ### Example ```java @@ -44,7 +45,7 @@ public class Example { PrecisionTimeApi apiInstance = new PrecisionTimeApi(defaultClient); PrecisionTimeServiceRequest precisionTimeServiceRequest = new PrecisionTimeServiceRequest(); // PrecisionTimeServiceRequest | try { - PrecisionTimeServiceCreateResponse result = apiInstance.createTimeServices(precisionTimeServiceRequest); + PrecisionTimeServiceResponse result = apiInstance.createTimeServices(precisionTimeServiceRequest); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PrecisionTimeApi#createTimeServices"); @@ -65,7 +66,7 @@ public class Example { ### Return type -[**PrecisionTimeServiceCreateResponse**](PrecisionTimeServiceCreateResponse.md) +[**PrecisionTimeServiceResponse**](PrecisionTimeServiceResponse.md) ### Authorization @@ -79,7 +80,7 @@ public class Example { ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **202** | Successful operation | - | +| **202** | Successful Accepted operation | - | | **400** | Bad request | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | @@ -88,11 +89,11 @@ public class Example { # **deleteTimeServiceById** -> PrecisionTimeServiceCreateResponse deleteTimeServiceById(serviceId) +> PrecisionTimeServiceResponse deleteTimeServiceById(serviceId) -Delete time service +Delete by ID. -Delete EPT service by it's uuid +The API provides capability to delete Precision Time Service by service id. ### Example ```java @@ -116,7 +117,7 @@ public class Example { PrecisionTimeApi apiInstance = new PrecisionTimeApi(defaultClient); UUID serviceId = UUID.randomUUID(); // UUID | Service UUID try { - PrecisionTimeServiceCreateResponse result = apiInstance.deleteTimeServiceById(serviceId); + PrecisionTimeServiceResponse result = apiInstance.deleteTimeServiceById(serviceId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PrecisionTimeApi#deleteTimeServiceById"); @@ -137,7 +138,7 @@ public class Example { ### Return type -[**PrecisionTimeServiceCreateResponse**](PrecisionTimeServiceCreateResponse.md) +[**PrecisionTimeServiceResponse**](PrecisionTimeServiceResponse.md) ### Authorization @@ -151,19 +152,95 @@ public class Example { ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **202** | Successful operation | - | +| **202** | Successful Delete | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | +| **404** | Not Found | - | +| **415** | Unsupported Media Type | - | +| **500** | Internal server error | - | + + +# **fulfillTimeServices** +> PrecisionTimeServiceResponse fulfillTimeServices(serviceId, precisionTimeServiceRequest) + +Configure Service. + +The API provides capability to Configure/Fulfill the Precision Time Service. + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.PrecisionTimeApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + PrecisionTimeApi apiInstance = new PrecisionTimeApi(defaultClient); + UUID serviceId = UUID.randomUUID(); // UUID | Service UUID + PrecisionTimeServiceRequest precisionTimeServiceRequest = new PrecisionTimeServiceRequest(); // PrecisionTimeServiceRequest | + try { + PrecisionTimeServiceResponse result = apiInstance.fulfillTimeServices(serviceId, precisionTimeServiceRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling PrecisionTimeApi#fulfillTimeServices"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **serviceId** | **UUID**| Service UUID | | +| **precisionTimeServiceRequest** | [**PrecisionTimeServiceRequest**](PrecisionTimeServiceRequest.md)| | | + +### Return type + +[**PrecisionTimeServiceResponse**](PrecisionTimeServiceResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Successful Accepted operation | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | | **415** | Unsupported Media Type | - | | **500** | Internal server error | - | # **getTimeServicesById** -> PrecisionTimeServiceCreateResponse getTimeServicesById(serviceId) +> PrecisionTimeServiceResponse getTimeServicesById(serviceId) -Get Time Service +Get Service By ID. -The API provides capability to get precision timing service's details +The API provides capability to get Precision Time Service details ### Example ```java @@ -187,7 +264,7 @@ public class Example { PrecisionTimeApi apiInstance = new PrecisionTimeApi(defaultClient); UUID serviceId = UUID.randomUUID(); // UUID | Service UUID try { - PrecisionTimeServiceCreateResponse result = apiInstance.getTimeServicesById(serviceId); + PrecisionTimeServiceResponse result = apiInstance.getTimeServicesById(serviceId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PrecisionTimeApi#getTimeServicesById"); @@ -208,7 +285,7 @@ public class Example { ### Return type -[**PrecisionTimeServiceCreateResponse**](PrecisionTimeServiceCreateResponse.md) +[**PrecisionTimeServiceResponse**](PrecisionTimeServiceResponse.md) ### Authorization @@ -226,6 +303,7 @@ public class Example { | **400** | Bad request | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | +| **404** | Not Found | - | | **415** | Unsupported Media Type | - | | **500** | Internal server error | - | @@ -508,11 +586,11 @@ public class Example { # **updateTimeServicesById** -> PrecisionTimeServiceCreateResponse updateTimeServicesById(serviceId, precisionTimeChangeOperation) +> PrecisionTimeServiceResponse updateTimeServicesById(serviceId, precisionTimeChangeOperation) -Patch time service +Update By ID. -The API provides capability to update timing service +The API provides capability to update Precision Time Service by service id. ### Example ```java @@ -537,7 +615,7 @@ public class Example { UUID serviceId = UUID.randomUUID(); // UUID | Service UUID List precisionTimeChangeOperation = Arrays.asList(); // List | try { - PrecisionTimeServiceCreateResponse result = apiInstance.updateTimeServicesById(serviceId, precisionTimeChangeOperation); + PrecisionTimeServiceResponse result = apiInstance.updateTimeServicesById(serviceId, precisionTimeChangeOperation); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling PrecisionTimeApi#updateTimeServicesById"); @@ -559,7 +637,7 @@ public class Example { ### Return type -[**PrecisionTimeServiceCreateResponse**](PrecisionTimeServiceCreateResponse.md) +[**PrecisionTimeServiceResponse**](PrecisionTimeServiceResponse.md) ### Authorization @@ -573,10 +651,11 @@ public class Example { ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **202** | Successful operation | - | +| **202** | Successful Accepted operation | - | | **400** | Bad request | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | +| **404** | Not Found | - | | **415** | Unsupported Media Type | - | | **500** | Internal server error | - | diff --git a/equinix-openapi-fabric/docs/PrecisionTimeChangeOperation.md b/equinix-openapi-fabric/docs/PrecisionTimeChangeOperation.md index 4929ce18..027eb7c0 100644 --- a/equinix-openapi-fabric/docs/PrecisionTimeChangeOperation.md +++ b/equinix-openapi-fabric/docs/PrecisionTimeChangeOperation.md @@ -19,6 +19,8 @@ Fabric Precision Timing change operation data | Name | Value | |---- | -----| | REPLACE | "replace" | +| ADD | "add" | +| REMOVE | "remove" | @@ -28,6 +30,9 @@ Fabric Precision Timing change operation data |---- | -----| | NAME | "/name" | | PACKAGE_CODE | "/package/code" | +| IPV4 | "/ipv4" | +| NTPADVANCEDCONFIGURATION | "/ntpAdvancedConfiguration" | +| PTPADVANCEDCONFIGURATION | "/ptpAdvancedConfiguration" | diff --git a/equinix-openapi-fabric/docs/PrecisionTimeOrder.md b/equinix-openapi-fabric/docs/PrecisionTimeOrder.md new file mode 100644 index 00000000..fcc73f2e --- /dev/null +++ b/equinix-openapi-fabric/docs/PrecisionTimeOrder.md @@ -0,0 +1,16 @@ + + +# PrecisionTimeOrder + +Precision Time Order + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**purchaseOrderNumber** | **String** | Purchase order number | [optional] | +|**customerReferenceNumber** | **String** | Customer reference number | [optional] | +|**orderNumber** | **String** | Order Reference Number | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/PrecisionTimePackageRequest.md b/equinix-openapi-fabric/docs/PrecisionTimePackageRequest.md index cab370c1..251b205b 100644 --- a/equinix-openapi-fabric/docs/PrecisionTimePackageRequest.md +++ b/equinix-openapi-fabric/docs/PrecisionTimePackageRequest.md @@ -2,14 +2,13 @@ # PrecisionTimePackageRequest -EPT Package Request +Precision Time Service Level Request ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**href** | **URI** | | [optional] | -|**code** | [**CodeEnum**](#CodeEnum) | | | +|**code** | [**CodeEnum**](#CodeEnum) | Precision Time Service Level | | diff --git a/equinix-openapi-fabric/docs/PrecisionTimePackageResponse.md b/equinix-openapi-fabric/docs/PrecisionTimePackageResponse.md index baf9dc19..565a2cc0 100644 --- a/equinix-openapi-fabric/docs/PrecisionTimePackageResponse.md +++ b/equinix-openapi-fabric/docs/PrecisionTimePackageResponse.md @@ -9,36 +9,36 @@ EPT Service Package Information | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**href** | **URI** | | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | | | |**code** | [**CodeEnum**](#CodeEnum) | | | -|**type** | [**TypeEnum**](#TypeEnum) | | [optional] | -|**bandwidth** | **Integer** | | [optional] | -|**clientsPerSecondMax** | **Integer** | | [optional] | -|**redundancySupported** | **Boolean** | | [optional] | -|**multiSubnetSupported** | **Boolean** | | [optional] | -|**accuracyUnit** | **String** | | [optional] | -|**accuracySla** | **Integer** | | [optional] | -|**accuracyAvgMin** | **Integer** | | [optional] | -|**accuracyAvgMax** | **Integer** | | [optional] | +|**bandwidth** | **Integer** | Connection bandwidth in Mbps. | | +|**clientsPerSecondMax** | **Integer** | Max. number of clients that can be synchronized per second at a packet rate of 1 per second. | [optional] | +|**redundancySupported** | **Boolean** | Is Redundant virtual connection supported for the package code. | [optional] | +|**multiSubnetSupported** | **Boolean** | Is Multiple subnet supported for the package code. | [optional] | +|**accuracySlaUnit** | **String** | Accuracy SLA unit. | [optional] | +|**accuracySla** | **Integer** | Accuracy SLA for the package code, -1 value denotes the accuracySla is not published. | [optional] | +|**accuracySlaMin** | **Integer** | Typical minimum Accuracy for the package code. | [optional] | +|**accuracySlaMax** | **Integer** | Typical maximum Accuracy for the package code. | [optional] | |**changelog** | [**Changelog**](Changelog.md) | | [optional] | -## Enum: CodeEnum +## Enum: TypeEnum | Name | Value | |---- | -----| -| NTP_STANDARD | "NTP_STANDARD" | -| NTP_ENTERPRISE | "NTP_ENTERPRISE" | -| PTP_STANDARD | "PTP_STANDARD" | -| PTP_ENTERPRISE | "PTP_ENTERPRISE" | +| TIME_SERVICE_PACKAGE | "TIME_SERVICE_PACKAGE" | -## Enum: TypeEnum +## Enum: CodeEnum | Name | Value | |---- | -----| -| TIME_SERVICE_PACKAGE | "TIME_SERVICE_PACKAGE" | +| NTP_STANDARD | "NTP_STANDARD" | +| NTP_ENTERPRISE | "NTP_ENTERPRISE" | +| PTP_STANDARD | "PTP_STANDARD" | +| PTP_ENTERPRISE | "PTP_ENTERPRISE" | diff --git a/equinix-openapi-fabric/docs/PrecisionTimeServiceCreateResponse.md b/equinix-openapi-fabric/docs/PrecisionTimeServiceCreateResponse.md deleted file mode 100644 index 21e64ae6..00000000 --- a/equinix-openapi-fabric/docs/PrecisionTimeServiceCreateResponse.md +++ /dev/null @@ -1,51 +0,0 @@ - - -# PrecisionTimeServiceCreateResponse - -EPT service instance - -## Properties - -| Name | Type | Description | Notes | -|------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | | | -|**href** | **URI** | | | -|**uuid** | **UUID** | uuid of the ept service | | -|**name** | **String** | name of the ept service | [optional] | -|**description** | **String** | | [optional] | -|**state** | [**StateEnum**](#StateEnum) | indicate service state | | -|**_package** | [**PrecisionTimePackageResponse**](PrecisionTimePackageResponse.md) | | | -|**connections** | [**Set<FabricConnectionUuid>**](FabricConnectionUuid.md) | fabric l2 connections used for the ept service | [optional] | -|**ipv4** | [**Ipv4**](Ipv4.md) | | | -|**account** | [**Account**](Account.md) | | [optional] | -|**advanceConfiguration** | [**AdvanceConfiguration**](AdvanceConfiguration.md) | | [optional] | -|**project** | [**Project**](Project.md) | | [optional] | - - - -## Enum: TypeEnum - -| Name | Value | -|---- | -----| -| NTP | "NTP" | -| PTP | "PTP" | - - - -## Enum: StateEnum - -| Name | Value | -|---- | -----| -| PROVISIONED | "PROVISIONED" | -| PROVISIONING | "PROVISIONING" | -| PROVISIONING_FAILED | "PROVISIONING_FAILED" | -| CONFIGURING | "CONFIGURING" | -| CANCELLED | "CANCELLED" | -| DEPROVISIONING_FAILED | "DEPROVISIONING_FAILED" | -| PENDING_CONFIGURATION | "PENDING_CONFIGURATION" | -| DEPROVISIONED | "DEPROVISIONED" | -| CONFIGURING_FAILED | "CONFIGURING_FAILED" | -| DEPROVISIONING | "DEPROVISIONING" | - - - diff --git a/equinix-openapi-fabric/docs/PrecisionTimeServiceRequest.md b/equinix-openapi-fabric/docs/PrecisionTimeServiceRequest.md index 19a8f16f..df918f7a 100644 --- a/equinix-openapi-fabric/docs/PrecisionTimeServiceRequest.md +++ b/equinix-openapi-fabric/docs/PrecisionTimeServiceRequest.md @@ -2,20 +2,21 @@ # PrecisionTimeServiceRequest -EPT service instance +Create Precision Time Service Request Schema. ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | Indicate the entity is EPT service | | -|**name** | **String** | | | -|**description** | **String** | | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | Precision Time Service Type refers to the corresponding Protocol. | | +|**name** | **String** | Precision Time Service name. | | |**_package** | [**PrecisionTimePackageRequest**](PrecisionTimePackageRequest.md) | | | -|**connections** | [**List<FabricConnectionUuid>**](FabricConnectionUuid.md) | | | +|**connections** | [**List<VirtualConnectionUuid>**](VirtualConnectionUuid.md) | | | |**ipv4** | [**Ipv4**](Ipv4.md) | | | -|**advanceConfiguration** | [**AdvanceConfiguration**](AdvanceConfiguration.md) | | [optional] | +|**ntpAdvancedConfiguration** | [**List<Md5>**](Md5.md) | NTP Advanced configuration - MD5 Authentication. | [optional] | +|**ptpAdvancedConfiguration** | [**PtpAdvanceConfiguration**](PtpAdvanceConfiguration.md) | | [optional] | |**project** | [**Project**](Project.md) | | [optional] | +|**order** | [**PrecisionTimeOrder**](PrecisionTimeOrder.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/PrecisionTimeServiceResponse.md b/equinix-openapi-fabric/docs/PrecisionTimeServiceResponse.md index 85ba199d..7549d2e7 100644 --- a/equinix-openapi-fabric/docs/PrecisionTimeServiceResponse.md +++ b/equinix-openapi-fabric/docs/PrecisionTimeServiceResponse.md @@ -2,25 +2,26 @@ # PrecisionTimeServiceResponse -EPT service instance +Precision Time Service Response Schema. ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | [**TypeEnum**](#TypeEnum) | | | -|**href** | **URI** | | | -|**uuid** | **UUID** | uuid of the ept service | | -|**name** | **String** | name of the ept service | [optional] | -|**description** | **String** | | [optional] | -|**state** | [**StateEnum**](#StateEnum) | indicate service state | | +|**href** | **URI** | Precision Time Service URI. | | +|**type** | [**TypeEnum**](#TypeEnum) | Precision Time Service type refers to the corresponding protocol. | | +|**name** | **String** | Precision Time Service Name. | [optional] | +|**uuid** | **UUID** | Precision Time Service UUID. | | +|**state** | [**StateEnum**](#StateEnum) | Precision Time Service Status. | | |**_package** | [**PrecisionTimePackageResponse**](PrecisionTimePackageResponse.md) | | | -|**connections** | [**Set<FabricConnectionUuid>**](FabricConnectionUuid.md) | fabric l2 connections used for the ept service | [optional] | -|**order** | [**Order**](Order.md) | | | -|**ipv4** | [**Ipv4**](Ipv4.md) | | | -|**advanceConfiguration** | [**AdvanceConfiguration**](AdvanceConfiguration.md) | | [optional] | +|**connections** | [**Set<VirtualConnectionTimeServiceResponse>**](VirtualConnectionTimeServiceResponse.md) | Fabric Connections associated with Precision Time Service. | [optional] | +|**ipv4** | [**Ipv4**](Ipv4.md) | | [optional] | +|**ntpAdvancedConfiguration** | [**List<Md5>**](Md5.md) | NTP Advanced configuration - MD5 Authentication. | [optional] | +|**ptpAdvancedConfiguration** | [**PtpAdvanceConfiguration**](PtpAdvanceConfiguration.md) | | [optional] | |**project** | [**Project**](Project.md) | | [optional] | -|**account** | [**Account**](Account.md) | | [optional] | +|**account** | [**SimplifiedAccount**](SimplifiedAccount.md) | | [optional] | +|**order** | [**PrecisionTimeOrder**](PrecisionTimeOrder.md) | | [optional] | +|**changeLog** | [**Changelog**](Changelog.md) | | [optional] | @@ -37,16 +38,18 @@ EPT service instance | Name | Value | |---- | -----| -| PROVISIONED | "PROVISIONED" | -| PROVISIONING | "PROVISIONING" | -| PROVISIONING_FAILED | "PROVISIONING_FAILED" | -| CONFIGURING | "CONFIGURING" | | CANCELLED | "CANCELLED" | -| DEPROVISIONING_FAILED | "DEPROVISIONING_FAILED" | -| PENDING_CONFIGURATION | "PENDING_CONFIGURATION" | -| DEPROVISIONED | "DEPROVISIONED" | +| CONFIGURING | "CONFIGURING" | | CONFIGURING_FAILED | "CONFIGURING_FAILED" | +| DRAFT | "DRAFT" | | DEPROVISIONING | "DEPROVISIONING" | +| DEPROVISIONING_FAILED | "DEPROVISIONING_FAILED" | +| DEPROVISIONED | "DEPROVISIONED" | +| PROVISIONED | "PROVISIONED" | +| PROVISIONING | "PROVISIONING" | +| PROVISIONING_FAILED | "PROVISIONING_FAILED" | +| REPROVISIONING | "REPROVISIONING" | +| REPROVISIONING_FAILED | "REPROVISIONING_FAILED" | diff --git a/equinix-openapi-fabric/docs/PtpAdvanceConfiguration.md b/equinix-openapi-fabric/docs/PtpAdvanceConfiguration.md index f81e48cd..3b8a12b6 100644 --- a/equinix-openapi-fabric/docs/PtpAdvanceConfiguration.md +++ b/equinix-openapi-fabric/docs/PtpAdvanceConfiguration.md @@ -2,18 +2,19 @@ # PtpAdvanceConfiguration +PTP Advanced Configuration. ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**timeScale** | [**TimeScaleEnum**](#TimeScaleEnum) | Time Scale value, ARB denotes Arbitrary and PTP denotes Precision Time Protocol. | [optional] | -|**domain** | **Integer** | | [optional] | -|**priority1** | **Integer** | | [optional] | -|**priority2** | **Integer** | | [optional] | -|**logAnnounceInterval** | **Integer** | The mean time interval between Announce messages. A shorter interval makes ptp4l react faster to the changes in the master-slave hierarchy. The interval should be the same in the whole domain. It's specified as a power of two in seconds. The default is 1 (2 seconds). | [optional] | -|**logSyncInterval** | **Integer** | The mean time interval between Sync messages. A shorter interval may improve accuracy of the local clock. It's specified as a power of two in seconds. The default is 0 (1 second). | [optional] | -|**logDelayReqInterval** | **Integer** | | [optional] | +|**domain** | **Integer** | The PTP domain value. | [optional] | +|**priority1** | **Integer** | The priority1 value determines the best primary clock, Lower value indicates higher priority. | [optional] | +|**priority2** | **Integer** | The priority2 value differentiates and prioritizes the primary clock to avoid confusion when priority1-value is the same for different primary clocks in a network. | [optional] | +|**logAnnounceInterval** | [**LogAnnounceIntervalEnum**](#LogAnnounceIntervalEnum) | Logarithmic value that controls the rate of PTP Announce packets from the PTP time server. Default is 1 (1 packet every 2 seconds), Unit packets/second. | [optional] | +|**logSyncInterval** | [**LogSyncIntervalEnum**](#LogSyncIntervalEnum) | Logarithmic value that controls the rate of PTP Sync packets. Default is -4 (16 packets per second), Unit packets/second.. | [optional] | +|**logDelayReqInterval** | [**LogDelayReqIntervalEnum**](#LogDelayReqIntervalEnum) | Logarithmic value that controls the rate of PTP DelayReq packets. Default is -4 (16 packets per second), Unit packets/second.. | [optional] | |**transportMode** | [**TransportModeEnum**](#TransportModeEnum) | | [optional] | |**grantTime** | **Integer** | Unicast Grant Time in seconds. For Multicast and Hybrid transport modes, grant time defaults to 300 seconds. For Unicast mode, grant time can be between 30 to 7200. | [optional] | @@ -28,13 +29,53 @@ +## Enum: LogAnnounceIntervalEnum + +| Name | Value | +|---- | -----| +| NUMBER_MINUS_3 | -3 | +| NUMBER_MINUS_2 | -2 | +| NUMBER_MINUS_1 | -1 | +| NUMBER_0 | 0 | +| NUMBER_1 | 1 | + + + +## Enum: LogSyncIntervalEnum + +| Name | Value | +|---- | -----| +| NUMBER_MINUS_5 | -5 | +| NUMBER_MINUS_4 | -4 | +| NUMBER_MINUS_3 | -3 | +| NUMBER_MINUS_2 | -2 | +| NUMBER_MINUS_1 | -1 | +| NUMBER_0 | 0 | +| NUMBER_1 | 1 | + + + +## Enum: LogDelayReqIntervalEnum + +| Name | Value | +|---- | -----| +| NUMBER_MINUS_5 | -5 | +| NUMBER_MINUS_4 | -4 | +| NUMBER_MINUS_3 | -3 | +| NUMBER_MINUS_2 | -2 | +| NUMBER_MINUS_1 | -1 | +| NUMBER_0 | 0 | +| NUMBER_1 | 1 | + + + ## Enum: TransportModeEnum | Name | Value | |---- | -----| -| MULTICAST | "Multicast" | -| UNICAST | "Unicast" | -| HYBRID | "Hybrid" | +| MULTICAST | "MULTICAST" | +| UNICAST | "UNICAST" | +| HYBRID | "HYBRID" | diff --git a/equinix-openapi-fabric/docs/RouteTableEntry.md b/equinix-openapi-fabric/docs/RouteTableEntry.md index 541c1afc..2e462645 100644 --- a/equinix-openapi-fabric/docs/RouteTableEntry.md +++ b/equinix-openapi-fabric/docs/RouteTableEntry.md @@ -14,10 +14,10 @@ Route table entry object |**age** | **String** | | [optional] | |**prefix** | **String** | | [optional] | |**nextHop** | **String** | | [optional] | -|**metric** | **Integer** | | [optional] | +|**MED** | **Integer** | | [optional] | |**localPreference** | **Integer** | | [optional] | -|**asPath** | **List<Integer>** | | [optional] | -|**connection** | [**RouteTableEntryConnection**](RouteTableEntryConnection.md) | | [optional] | +|**asPath** | **List<String>** | | [optional] | +|**connection** | [**ConnectionRouteTableEntryConnection**](ConnectionRouteTableEntryConnection.md) | | [optional] | |**changeLog** | [**Changelog**](Changelog.md) | | | diff --git a/equinix-openapi-fabric/docs/RouterActionsConnection.md b/equinix-openapi-fabric/docs/RouterActionsConnection.md new file mode 100644 index 00000000..8dfa6679 --- /dev/null +++ b/equinix-openapi-fabric/docs/RouterActionsConnection.md @@ -0,0 +1,14 @@ + + +# RouterActionsConnection + +Connection object for router actions + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**uuid** | **String** | Connection UUID | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/ServiceToken.md b/equinix-openapi-fabric/docs/ServiceToken.md index 1dd8d549..9bb12460 100644 --- a/equinix-openapi-fabric/docs/ServiceToken.md +++ b/equinix-openapi-fabric/docs/ServiceToken.md @@ -10,7 +10,8 @@ Create Service Tokens (v4) generates Equinix Fabric service tokens. These tokens |------------ | ------------- | ------------- | -------------| |**type** | **ServiceTokenType** | | [optional] | |**href** | **URI** | An absolute URL that is the subject of the link's context. | [optional] [readonly] | -|**uuid** | **UUID** | Equinix-assigned service token identifier | | +|**uuid** | **UUID** | Equinix-assigned service token identifier | [optional] | +|**issuerSide** | [**IssuerSideEnum**](#IssuerSideEnum) | information about token side | [optional] | |**name** | **String** | Customer-provided service token name | [optional] | |**description** | **String** | Customer-provided service token description | [optional] | |**expirationDateTime** | **OffsetDateTime** | Expiration date and time of the service token. | [optional] | @@ -23,3 +24,12 @@ Create Service Tokens (v4) generates Equinix Fabric service tokens. These tokens +## Enum: IssuerSideEnum + +| Name | Value | +|---- | -----| +| ASIDE | "ASIDE" | +| ZSIDE | "ZSIDE" | + + + diff --git a/equinix-openapi-fabric/docs/ServiceTokenConnection.md b/equinix-openapi-fabric/docs/ServiceTokenConnection.md index e02a7f97..5c2a1eeb 100644 --- a/equinix-openapi-fabric/docs/ServiceTokenConnection.md +++ b/equinix-openapi-fabric/docs/ServiceTokenConnection.md @@ -12,6 +12,7 @@ Service Token Connection Type Information |**href** | **URI** | An absolute URL that is the subject of the link's context. | [optional] [readonly] | |**uuid** | **UUID** | Equinix-assigned connection identifier | [optional] | |**allowRemoteConnection** | **Boolean** | Authorization to connect remotely | [optional] | +|**allowCustomBandwidth** | **Boolean** | Allow custom bandwidth value | [optional] | |**bandwidthLimit** | **Integer** | Connection bandwidth limit in Mbps | [optional] | |**supportedBandwidths** | **List<Integer>** | List of permitted bandwidths. | [optional] | |**aSide** | [**ServiceTokenSide**](ServiceTokenSide.md) | | [optional] | @@ -24,6 +25,9 @@ Service Token Connection Type Information | Name | Value | |---- | -----| | EVPL_VC | "EVPL_VC" | +| EVPLAN_VC | "EVPLAN_VC" | +| EPLAN_VC | "EPLAN_VC" | +| IPWAN_VC | "IPWAN_VC" | diff --git a/equinix-openapi-fabric/docs/ServiceTokenSide.md b/equinix-openapi-fabric/docs/ServiceTokenSide.md index 0bba8519..9550c51b 100644 --- a/equinix-openapi-fabric/docs/ServiceTokenSide.md +++ b/equinix-openapi-fabric/docs/ServiceTokenSide.md @@ -2,7 +2,7 @@ # ServiceTokenSide -Connection link protocol configuration +Connection link protocol,virtual device or network configuration ## Properties diff --git a/equinix-openapi-fabric/docs/ServiceTokenType.md b/equinix-openapi-fabric/docs/ServiceTokenType.md index afb785c8..868dcc7c 100644 --- a/equinix-openapi-fabric/docs/ServiceTokenType.md +++ b/equinix-openapi-fabric/docs/ServiceTokenType.md @@ -7,5 +7,7 @@ * `VC_TOKEN` (value: `"VC_TOKEN"`) +* `EPL_TOKEN` (value: `"EPL_TOKEN"`) + diff --git a/equinix-openapi-fabric/docs/ServiceTokensApi.md b/equinix-openapi-fabric/docs/ServiceTokensApi.md index 80219c68..d67dcb5e 100644 --- a/equinix-openapi-fabric/docs/ServiceTokensApi.md +++ b/equinix-openapi-fabric/docs/ServiceTokensApi.md @@ -158,7 +158,7 @@ public class Example { # **deleteServiceTokenByUuid** -> deleteServiceTokenByUuid(serviceTokenId) +> ServiceToken deleteServiceTokenByUuid(serviceTokenId) Delete Token by uuid @@ -186,7 +186,8 @@ public class Example { ServiceTokensApi apiInstance = new ServiceTokensApi(defaultClient); UUID serviceTokenId = UUID.randomUUID(); // UUID | Service Token UUID try { - apiInstance.deleteServiceTokenByUuid(serviceTokenId); + ServiceToken result = apiInstance.deleteServiceTokenByUuid(serviceTokenId); + System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ServiceTokensApi#deleteServiceTokenByUuid"); System.err.println("Status code: " + e.getCode()); @@ -206,7 +207,7 @@ public class Example { ### Return type -null (empty response body) +[**ServiceToken**](ServiceToken.md) ### Authorization @@ -220,9 +221,10 @@ null (empty response body) ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **204** | Deleted Service Token Successfully | - | +| **200** | Successful operation | - | | **400** | Bad request | - | -| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **500** | Internal server error | - | # **getServiceTokenByUuid** @@ -366,7 +368,7 @@ public class Example { # **searchServiceTokens** -> ServiceTokens searchServiceTokens(serviceTokenSearchRequest) +> ServiceTokens searchServiceTokens(serviceTokenSearchRequest, offset, limit) Search servicetokens @@ -393,8 +395,10 @@ public class Example { ServiceTokensApi apiInstance = new ServiceTokensApi(defaultClient); ServiceTokenSearchRequest serviceTokenSearchRequest = new ServiceTokenSearchRequest(); // ServiceTokenSearchRequest | + BigDecimal offset = new BigDecimal(78); // BigDecimal | offset + BigDecimal limit = new BigDecimal(78); // BigDecimal | number of records to fetch try { - ServiceTokens result = apiInstance.searchServiceTokens(serviceTokenSearchRequest); + ServiceTokens result = apiInstance.searchServiceTokens(serviceTokenSearchRequest, offset, limit); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling ServiceTokensApi#searchServiceTokens"); @@ -412,6 +416,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **serviceTokenSearchRequest** | [**ServiceTokenSearchRequest**](ServiceTokenSearchRequest.md)| | | +| **offset** | **BigDecimal**| offset | [optional] | +| **limit** | **BigDecimal**| number of records to fetch | [optional] | ### Return type @@ -505,4 +511,5 @@ public class Example { | **200** | Successful operation | - | | **400** | Bad request | - | | **403** | Forbidden | - | +| **500** | Internal server error | - | diff --git a/equinix-openapi-fabric/docs/SimplifiedMetadataEntity.md b/equinix-openapi-fabric/docs/SimplifiedMetadataEntity.md index aa9ce57f..caae46c5 100644 --- a/equinix-openapi-fabric/docs/SimplifiedMetadataEntity.md +++ b/equinix-openapi-fabric/docs/SimplifiedMetadataEntity.md @@ -11,6 +11,13 @@ Configuration details for port used at the access point. |**href** | **URI** | url to entity | [optional] | |**uuid** | **UUID** | Equinix assigned Identifier | [optional] | |**type** | **String** | Type of Port | [optional] | +|**cvpId** | **Integer** | Customer virtual port Id | [optional] | +|**bandwidth** | **BigDecimal** | Port Bandwidth | [optional] | +|**portName** | **String** | Port Name | [optional] | +|**encapsulationProtocolType** | **String** | Port Encapsulation | [optional] | +|**accountName** | **String** | Account Name | [optional] | +|**priority** | **String** | Port Priority | [optional] | +|**location** | [**SimplifiedLocation**](SimplifiedLocation.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/SimplifiedPort.md b/equinix-openapi-fabric/docs/SimplifiedPort.md index 48239f8d..00e840be 100644 --- a/equinix-openapi-fabric/docs/SimplifiedPort.md +++ b/equinix-openapi-fabric/docs/SimplifiedPort.md @@ -18,13 +18,12 @@ Port specification |**connectionsCount** | **Integer** | Equinix assigned response attribute for Connection count | [optional] | |**project** | [**Project**](Project.md) | | [optional] | |**state** | **PortState** | | [optional] | -|**cvpId** | **String** | Equinix assigned response attribute for Unique ID for a virtual port. | [optional] | |**operation** | [**PortOperation**](PortOperation.md) | | [optional] | |**account** | [**SimplifiedAccount**](SimplifiedAccount.md) | | [optional] | |**serviceType** | [**ServiceTypeEnum**](#ServiceTypeEnum) | Port service Type | [optional] | -|**bandwidth** | **Integer** | Equinix assigned response attribute for Port bandwidth in Mbps | [optional] | -|**availableBandwidth** | **Integer** | Equinix assigned response attribute for Port available bandwidth in Mbps | [optional] | -|**usedBandwidth** | **Integer** | Equinix assigned response attribute for Port used bandwidth in Mbps | [optional] | +|**bandwidth** | **Long** | Equinix assigned response attribute for Port bandwidth in Mbps | [optional] | +|**availableBandwidth** | **Long** | Equinix assigned response attribute for Port available bandwidth in Mbps | [optional] | +|**usedBandwidth** | **Long** | Equinix assigned response attribute for Port used bandwidth in Mbps | [optional] | |**location** | [**SimplifiedLocation**](SimplifiedLocation.md) | | [optional] | |**device** | [**PortDevice**](PortDevice.md) | | [optional] | |**_interface** | [**PortInterface**](PortInterface.md) | | [optional] | @@ -33,6 +32,7 @@ Port specification |**redundancy** | [**PortRedundancy**](PortRedundancy.md) | | [optional] | |**encapsulation** | [**PortEncapsulation**](PortEncapsulation.md) | | [optional] | |**lagEnabled** | **Boolean** | If LAG enabled | [optional] | +|**_package** | [**ModelPackage**](ModelPackage.md) | | [optional] | |**settings** | [**PortSettings**](PortSettings.md) | | [optional] | |**physicalPortQuantity** | **Integer** | Number of physical ports | [optional] | |**additionalInfo** | [**List<PortAdditionalInfo>**](PortAdditionalInfo.md) | Port additional information | [optional] | diff --git a/equinix-openapi-fabric/docs/SimplifiedTokenNetwork.md b/equinix-openapi-fabric/docs/SimplifiedTokenNetwork.md new file mode 100644 index 00000000..55fa9896 --- /dev/null +++ b/equinix-openapi-fabric/docs/SimplifiedTokenNetwork.md @@ -0,0 +1,38 @@ + + +# SimplifiedTokenNetwork + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**href** | **URI** | url to entity | [optional] | +|**uuid** | **UUID** | Network Identifier | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | Type of Network | [optional] | +|**name** | **String** | Network Name | [optional] | +|**scope** | [**ScopeEnum**](#ScopeEnum) | scope of Network | [optional] | +|**location** | [**SimplifiedLocation**](SimplifiedLocation.md) | | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| EVPLAN | "EVPLAN" | +| EPLAN | "EPLAN" | +| IPWAN | "IPWAN" | + + + +## Enum: ScopeEnum + +| Name | Value | +|---- | -----| +| LOCAL | "LOCAL" | +| REGIONAL | "REGIONAL" | +| GLOBAL | "GLOBAL" | + + + diff --git a/equinix-openapi-fabric/docs/SimplifiedVirtualDevice.md b/equinix-openapi-fabric/docs/SimplifiedVirtualDevice.md new file mode 100644 index 00000000..515d0f69 --- /dev/null +++ b/equinix-openapi-fabric/docs/SimplifiedVirtualDevice.md @@ -0,0 +1,25 @@ + + +# SimplifiedVirtualDevice + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**href** | **URI** | url to entity | [optional] | +|**uuid** | **UUID** | Network Edge assigned Virtual Device Identifier | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | Type of Virtual Device | [optional] | +|**name** | **String** | Customer-assigned Virtual Device name | [optional] | +|**cluster** | **String** | Virtual Device Cluster Information | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| EDGE | "EDGE" | + + + diff --git a/equinix-openapi-fabric/docs/Stream.md b/equinix-openapi-fabric/docs/Stream.md new file mode 100644 index 00000000..c54c5679 --- /dev/null +++ b/equinix-openapi-fabric/docs/Stream.md @@ -0,0 +1,44 @@ + + +# Stream + +Stream object + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**href** | **URI** | Stream URI | [optional] [readonly] | +|**uuid** | **UUID** | Equinix-assigned access point identifier | [optional] | +|**state** | [**StateEnum**](#StateEnum) | Stream provision state | [optional] | +|**assetsCount** | **Integer** | Stream assets count | [optional] | +|**streamSubscriptionsCount** | **Integer** | Stream subscriptions count | [optional] | +|**changelog** | [**Changelog**](Changelog.md) | | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | | [optional] | +|**name** | **String** | Customer-provided stream name | [optional] | +|**description** | **String** | Customer-provided stream description | [optional] | +|**project** | [**Project**](Project.md) | | [optional] | +|**enabled** | **Boolean** | Stream enabled status | [optional] | + + + +## Enum: StateEnum + +| Name | Value | +|---- | -----| +| PROVISIONING | "PROVISIONING" | +| PROVISIONED | "PROVISIONED" | +| DEPROVISIONING | "DEPROVISIONING" | +| DEPROVISIONED | "DEPROVISIONED" | +| FAILED | "FAILED" | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| TELEMETRY_STREAM | "TELEMETRY_STREAM" | + + + diff --git a/equinix-openapi-fabric/docs/StreamAsset.md b/equinix-openapi-fabric/docs/StreamAsset.md new file mode 100644 index 00000000..24901ee1 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAsset.md @@ -0,0 +1,29 @@ + + +# StreamAsset + +Stream object + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**href** | **URI** | Stream Asset URI | [optional] [readonly] | +|**uuid** | **UUID** | Equinix-assigned access point identifier | [optional] | +|**metricsEnabled** | **Boolean** | enable metric | [optional] | +|**attachmentStatus** | [**AttachmentStatusEnum**](#AttachmentStatusEnum) | asset status | [optional] | + + + +## Enum: AttachmentStatusEnum + +| Name | Value | +|---- | -----| +| ATTACHING | "ATTACHING" | +| ATTACHED | "ATTACHED" | +| DETACHED | "DETACHED" | +| DETACHING | "DETACHING" | +| FAILED | "FAILED" | + + + diff --git a/equinix-openapi-fabric/docs/StreamAssetFilter.md b/equinix-openapi-fabric/docs/StreamAssetFilter.md new file mode 100644 index 00000000..a5f6a73e --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAssetFilter.md @@ -0,0 +1,16 @@ + + +# StreamAssetFilter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**property** | **String** | Possible field names to use on filters: * `/uuid` - Asset uuid * `/streamUuid` - Stream uuid * `/projectId` - Asset projectId * `/_*` - all-category search | [optional] | +|**operator** | **String** | Possible operators to use on filters: * `=` - equal * `!=` - not equal * `>` - greater than * `>=` - greater than or equal to * `<` - less than * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `ILIKE` - case-insensitive like | [optional] | +|**values** | **List<String>** | | [optional] | +|**or** | [**List<StreamAssetSimpleExpression>**](StreamAssetSimpleExpression.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamAssetFilters.md b/equinix-openapi-fabric/docs/StreamAssetFilters.md new file mode 100644 index 00000000..34437a64 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAssetFilters.md @@ -0,0 +1,13 @@ + + +# StreamAssetFilters + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**and** | [**List<StreamAssetFilter>**](StreamAssetFilter.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamAssetOrFilter.md b/equinix-openapi-fabric/docs/StreamAssetOrFilter.md new file mode 100644 index 00000000..0b9f0236 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAssetOrFilter.md @@ -0,0 +1,13 @@ + + +# StreamAssetOrFilter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**or** | [**List<StreamAssetSimpleExpression>**](StreamAssetSimpleExpression.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamAssetPutRequest.md b/equinix-openapi-fabric/docs/StreamAssetPutRequest.md new file mode 100644 index 00000000..ae68be4b --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAssetPutRequest.md @@ -0,0 +1,14 @@ + + +# StreamAssetPutRequest + +Update Stream Asset + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**metricsEnabled** | **Boolean** | enable metric | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamAssetSearchRequest.md b/equinix-openapi-fabric/docs/StreamAssetSearchRequest.md new file mode 100644 index 00000000..2fd113e7 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAssetSearchRequest.md @@ -0,0 +1,16 @@ + + +# StreamAssetSearchRequest + +Search requests containing criteria + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**filter** | [**StreamAssetFilters**](StreamAssetFilters.md) | | [optional] | +|**pagination** | [**PaginationRequest**](PaginationRequest.md) | | [optional] | +|**sort** | [**List<StreamAssetSortCriteria>**](StreamAssetSortCriteria.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamAssetSimpleExpression.md b/equinix-openapi-fabric/docs/StreamAssetSimpleExpression.md new file mode 100644 index 00000000..2b739a94 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAssetSimpleExpression.md @@ -0,0 +1,15 @@ + + +# StreamAssetSimpleExpression + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**property** | **String** | Possible field names to use on filters: * `/uuid` - Asset uuid * `/streamUuid` - Stream uuid * `/projectId` - Asset projectId * `/_*` - all-category search | [optional] | +|**operator** | **String** | Possible operators to use on filters: * `=` - equal * `!=` - not equal * `>` - greater than * `>=` - greater than or equal to * `<` - less than * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `ILIKE` - case-insensitive like | [optional] | +|**values** | **List<String>** | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamAssetSortBy.md b/equinix-openapi-fabric/docs/StreamAssetSortBy.md new file mode 100644 index 00000000..24a2ee6b --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAssetSortBy.md @@ -0,0 +1,11 @@ + + +# StreamAssetSortBy + +## Enum + + +* `_UUID` (value: `"/uuid"`) + + + diff --git a/equinix-openapi-fabric/docs/StreamAssetSortCriteria.md b/equinix-openapi-fabric/docs/StreamAssetSortCriteria.md new file mode 100644 index 00000000..b735d1c0 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAssetSortCriteria.md @@ -0,0 +1,14 @@ + + +# StreamAssetSortCriteria + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**direction** | **StreamAssetSortDirection** | | [optional] | +|**property** | **StreamAssetSortBy** | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamAssetSortDirection.md b/equinix-openapi-fabric/docs/StreamAssetSortDirection.md new file mode 100644 index 00000000..4cc8f369 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamAssetSortDirection.md @@ -0,0 +1,13 @@ + + +# StreamAssetSortDirection + +## Enum + + +* `DESC` (value: `"DESC"`) + +* `ASC` (value: `"ASC"`) + + + diff --git a/equinix-openapi-fabric/docs/StreamFilter.md b/equinix-openapi-fabric/docs/StreamFilter.md new file mode 100644 index 00000000..6e332cef --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamFilter.md @@ -0,0 +1,16 @@ + + +# StreamFilter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**property** | **String** | Possible field names to use on filters: * `/subject` - subject * `/type` - type | [optional] | +|**operator** | **String** | Possible operators to use on filters: * `=` - equal * `in` - in * `LIKE` - case-sensitive like * `ILIKE` - case-insensitive like | [optional] | +|**values** | **List<String>** | | [optional] | +|**or** | [**List<StreamFilterSimpleExpression>**](StreamFilterSimpleExpression.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamFilterOrFilter.md b/equinix-openapi-fabric/docs/StreamFilterOrFilter.md new file mode 100644 index 00000000..91072401 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamFilterOrFilter.md @@ -0,0 +1,13 @@ + + +# StreamFilterOrFilter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**or** | [**List<StreamFilterSimpleExpression>**](StreamFilterSimpleExpression.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamFilterSimpleExpression.md b/equinix-openapi-fabric/docs/StreamFilterSimpleExpression.md new file mode 100644 index 00000000..318a64a9 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamFilterSimpleExpression.md @@ -0,0 +1,15 @@ + + +# StreamFilterSimpleExpression + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**property** | **String** | Possible field names to use on filters: * `/subject` - subject * `/type` - type | [optional] | +|**operator** | **String** | Possible operators to use on filters: * `=` - equal * `in` - in * `LIKE` - case-sensitive like * `ILIKE` - case-insensitive like | [optional] | +|**values** | **List<String>** | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamGetSubscriptions.md b/equinix-openapi-fabric/docs/StreamGetSubscriptions.md new file mode 100644 index 00000000..798d0199 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamGetSubscriptions.md @@ -0,0 +1,24 @@ + + +# StreamGetSubscriptions + +Stream object + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**href** | **URI** | Stream Get Stream Subscriptions URI | [optional] [readonly] | +|**uuid** | **UUID** | Equinix-assigned access point identifier | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | Stream subscription type | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| STREAM_SUBSCRIPTION | "STREAM_SUBSCRIPTION" | + + + diff --git a/equinix-openapi-fabric/docs/StreamPostRequest.md b/equinix-openapi-fabric/docs/StreamPostRequest.md new file mode 100644 index 00000000..57557151 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamPostRequest.md @@ -0,0 +1,26 @@ + + +# StreamPostRequest + +Create Stream + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | [**TypeEnum**](#TypeEnum) | | [optional] | +|**name** | **String** | Customer-provided stream name | [optional] | +|**description** | **String** | Customer-provided stream description | [optional] | +|**project** | [**Project**](Project.md) | | [optional] | +|**enabled** | **Boolean** | Stream enabled status | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| TELEMETRY_STREAM | "TELEMETRY_STREAM" | + + + diff --git a/equinix-openapi-fabric/docs/StreamPutRequest.md b/equinix-openapi-fabric/docs/StreamPutRequest.md new file mode 100644 index 00000000..6c9e1cd7 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamPutRequest.md @@ -0,0 +1,16 @@ + + +# StreamPutRequest + +Update Stream + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Customer-provided stream name | [optional] | +|**description** | **String** | Customer-provided stream description | [optional] | +|**enabled** | **Boolean** | stream state | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamSubscription.md b/equinix-openapi-fabric/docs/StreamSubscription.md new file mode 100644 index 00000000..49db6c41 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamSubscription.md @@ -0,0 +1,45 @@ + + +# StreamSubscription + +Stream Subscription object + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**href** | **URI** | Stream Subscription URI | [optional] [readonly] | +|**uuid** | **UUID** | Equinix-assigned access point identifier | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | type | [optional] | +|**name** | **String** | Customer-provided subscription name | [optional] | +|**description** | **String** | Customer-provided subscription description | [optional] | +|**project** | [**Project**](Project.md) | | [optional] | +|**state** | [**StateEnum**](#StateEnum) | Steam subscription provision state | [optional] | +|**enabled** | **Boolean** | Stream subscription enabled status | [optional] | +|**stream** | [**StreamTarget**](StreamTarget.md) | | [optional] | +|**filters** | [**StreamSubscriptionFilter**](StreamSubscriptionFilter.md) | | [optional] | +|**sink** | [**StreamSubscriptionSink**](StreamSubscriptionSink.md) | | [optional] | +|**changelog** | [**Changelog**](Changelog.md) | | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| STREAM_SUBSCRIPTION | "STREAM_SUBSCRIPTION" | + + + +## Enum: StateEnum + +| Name | Value | +|---- | -----| +| PROVISIONING | "PROVISIONING" | +| PROVISIONED | "PROVISIONED" | +| DEPROVISIONING | "DEPROVISIONING" | +| DEPROVISIONED | "DEPROVISIONED" | +| FAILED | "FAILED" | + + + diff --git a/equinix-openapi-fabric/docs/StreamSubscriptionFilter.md b/equinix-openapi-fabric/docs/StreamSubscriptionFilter.md new file mode 100644 index 00000000..c497a0a8 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamSubscriptionFilter.md @@ -0,0 +1,13 @@ + + +# StreamSubscriptionFilter + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**and** | [**List<StreamFilter>**](StreamFilter.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamSubscriptionPostRequest.md b/equinix-openapi-fabric/docs/StreamSubscriptionPostRequest.md new file mode 100644 index 00000000..bf0546d8 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamSubscriptionPostRequest.md @@ -0,0 +1,29 @@ + + +# StreamSubscriptionPostRequest + +Create Stream Subscription + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | [**TypeEnum**](#TypeEnum) | | [optional] | +|**name** | **String** | Customer-provided stream subscription name | [optional] | +|**description** | **String** | Customer-provided stream subscription description | [optional] | +|**project** | [**Project**](Project.md) | | [optional] | +|**enabled** | **Boolean** | Stream subscription enabled status | [optional] | +|**stream** | [**StreamTarget**](StreamTarget.md) | | [optional] | +|**filters** | [**StreamSubscriptionFilter**](StreamSubscriptionFilter.md) | | [optional] | +|**sink** | [**StreamSubscriptionSink**](StreamSubscriptionSink.md) | | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| STREAM_SUBSCRIPTION | "STREAM_SUBSCRIPTION" | + + + diff --git a/equinix-openapi-fabric/docs/StreamSubscriptionPutRequest.md b/equinix-openapi-fabric/docs/StreamSubscriptionPutRequest.md new file mode 100644 index 00000000..20f498f7 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamSubscriptionPutRequest.md @@ -0,0 +1,19 @@ + + +# StreamSubscriptionPutRequest + +Update Stream Subscription + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Customer-provided stream subscription name | [optional] | +|**description** | **String** | Customer-provided stream subscription description | [optional] | +|**stream** | [**StreamTarget**](StreamTarget.md) | | [optional] | +|**enabled** | **Boolean** | Stream subscription enabled status | [optional] | +|**filters** | [**StreamSubscriptionFilter**](StreamSubscriptionFilter.md) | | [optional] | +|**sink** | [**StreamSubscriptionSink**](StreamSubscriptionSink.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamSubscriptionSink.md b/equinix-openapi-fabric/docs/StreamSubscriptionSink.md new file mode 100644 index 00000000..93030c36 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamSubscriptionSink.md @@ -0,0 +1,33 @@ + + +# StreamSubscriptionSink + +Create Stream destination + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**uri** | **String** | any publicly reachable http endpoint | [optional] | +|**type** | [**TypeEnum**](#TypeEnum) | destination type | [optional] | +|**batchEnabled** | **Boolean** | batch mode on/off | [optional] | +|**batchSizeMax** | **Integer** | maximum batch size | [optional] | +|**batchWaitTimeMax** | **Integer** | maximum batch waiting time | [optional] | +|**credential** | [**StreamSubscriptionSinkCredential**](StreamSubscriptionSinkCredential.md) | | [optional] | +|**settings** | [**StreamSubscriptionSinkSetting**](StreamSubscriptionSinkSetting.md) | | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| DATADOG | "DATADOG" | +| PAGERDUTY | "PAGERDUTY" | +| SPLUNK_HEC | "SPLUNK_HEC" | +| SLACK | "SLACK" | +| TEAMS | "TEAMS" | +| CUSTOM | "CUSTOM" | + + + diff --git a/equinix-openapi-fabric/docs/StreamSubscriptionSinkCredential.md b/equinix-openapi-fabric/docs/StreamSubscriptionSinkCredential.md new file mode 100644 index 00000000..9a9ab302 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamSubscriptionSinkCredential.md @@ -0,0 +1,27 @@ + + +# StreamSubscriptionSinkCredential + +Stream subscription sink credentials + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | [**TypeEnum**](#TypeEnum) | credential type | [optional] | +|**accessToken** | **String** | passed as Authorization header value | [optional] | +|**integrationKey** | **String** | passed as Authorization header value | [optional] | +|**apiKey** | **String** | passed as Authorization header value | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| ACCESS_TOKEN | "ACCESS_TOKEN" | +| INTEGRATION_KEY | "INTEGRATION_KEY" | +| API_KEY | "API_KEY" | + + + diff --git a/equinix-openapi-fabric/docs/StreamSubscriptionSinkSetting.md b/equinix-openapi-fabric/docs/StreamSubscriptionSinkSetting.md new file mode 100644 index 00000000..8e0711ed --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamSubscriptionSinkSetting.md @@ -0,0 +1,17 @@ + + +# StreamSubscriptionSinkSetting + +Stream subscription sink settings + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**eventIndex** | **String** | event index | [optional] | +|**metricIndex** | **String** | metric index | [optional] | +|**source** | **String** | source | [optional] | +|**applicationKey** | **String** | Application key | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamSubscriptionsApi.md b/equinix-openapi-fabric/docs/StreamSubscriptionsApi.md new file mode 100644 index 00000000..0d570a4e --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamSubscriptionsApi.md @@ -0,0 +1,377 @@ +# StreamSubscriptionsApi + +All URIs are relative to *https://api.equinix.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createStreamSubscriptions**](StreamSubscriptionsApi.md#createStreamSubscriptions) | **POST** /fabric/v4/streamSubscriptions | Create Subscription | +| [**deleteStreamSubscriptionByUuid**](StreamSubscriptionsApi.md#deleteStreamSubscriptionByUuid) | **DELETE** /fabric/v4/streamSubscriptions/{streamSubscriptionId} | Delete Subscription | +| [**getStreamSubscriptionByUuid**](StreamSubscriptionsApi.md#getStreamSubscriptionByUuid) | **GET** /fabric/v4/streamSubscriptions/{streamSubscriptionId} | Get Subscription | +| [**getStreamSubscriptions**](StreamSubscriptionsApi.md#getStreamSubscriptions) | **GET** /fabric/v4/streamSubscriptions | Get Subscriptions | +| [**updateStreamSubscriptionByUuid**](StreamSubscriptionsApi.md#updateStreamSubscriptionByUuid) | **PUT** /fabric/v4/streamSubscriptions/{streamSubscriptionId} | Update Subscription | + + + +# **createStreamSubscriptions** +> StreamSubscription createStreamSubscriptions(streamSubscriptionPostRequest) + +Create Subscription + +This API provides capability to create user's Stream Subscriptions + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamSubscriptionsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamSubscriptionsApi apiInstance = new StreamSubscriptionsApi(defaultClient); + StreamSubscriptionPostRequest streamSubscriptionPostRequest = new StreamSubscriptionPostRequest(); // StreamSubscriptionPostRequest | + try { + StreamSubscription result = apiInstance.createStreamSubscriptions(streamSubscriptionPostRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamSubscriptionsApi#createStreamSubscriptions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamSubscriptionPostRequest** | [**StreamSubscriptionPostRequest**](StreamSubscriptionPostRequest.md)| | | + +### Return type + +[**StreamSubscription**](StreamSubscription.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Stream Subscription object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **415** | Unsupported Media Type | - | +| **500** | Internal server error | - | + + +# **deleteStreamSubscriptionByUuid** +> StreamSubscription deleteStreamSubscriptionByUuid(streamSubscriptionId) + +Delete Subscription + +This API provides capability to delete user's Stream Subscriptions + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamSubscriptionsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamSubscriptionsApi apiInstance = new StreamSubscriptionsApi(defaultClient); + UUID streamSubscriptionId = UUID.randomUUID(); // UUID | Stream Subscription UUID + try { + StreamSubscription result = apiInstance.deleteStreamSubscriptionByUuid(streamSubscriptionId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamSubscriptionsApi#deleteStreamSubscriptionByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamSubscriptionId** | **UUID**| Stream Subscription UUID | | + +### Return type + +[**StreamSubscription**](StreamSubscription.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Stream Subscription object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **getStreamSubscriptionByUuid** +> StreamSubscription getStreamSubscriptionByUuid(streamSubscriptionId) + +Get Subscription + +This API provides capability to delete user's get Stream Subscriptions + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamSubscriptionsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamSubscriptionsApi apiInstance = new StreamSubscriptionsApi(defaultClient); + UUID streamSubscriptionId = UUID.randomUUID(); // UUID | Stream Subscription UUID + try { + StreamSubscription result = apiInstance.getStreamSubscriptionByUuid(streamSubscriptionId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamSubscriptionsApi#getStreamSubscriptionByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamSubscriptionId** | **UUID**| Stream Subscription UUID | | + +### Return type + +[**StreamSubscription**](StreamSubscription.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Stream Subscription object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **getStreamSubscriptions** +> GetAllStreamSubscriptionResponse getStreamSubscriptions(offset, limit) + +Get Subscriptions + +This API provides capability to retrieve stream subscriptions + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamSubscriptionsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamSubscriptionsApi apiInstance = new StreamSubscriptionsApi(defaultClient); + Integer offset = 1; // Integer | offset + Integer limit = 10; // Integer | number of records to fetch + try { + GetAllStreamSubscriptionResponse result = apiInstance.getStreamSubscriptions(offset, limit); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamSubscriptionsApi#getStreamSubscriptions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **offset** | **Integer**| offset | [optional] | +| **limit** | **Integer**| number of records to fetch | [optional] | + +### Return type + +[**GetAllStreamSubscriptionResponse**](GetAllStreamSubscriptionResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful operation | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **updateStreamSubscriptionByUuid** +> StreamSubscription updateStreamSubscriptionByUuid(streamSubscriptionId, streamSubscriptionPutRequest) + +Update Subscription + +This API provides capability to update user's Stream Subscriptions + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamSubscriptionsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamSubscriptionsApi apiInstance = new StreamSubscriptionsApi(defaultClient); + UUID streamSubscriptionId = UUID.randomUUID(); // UUID | Stream Subscription UUID + StreamSubscriptionPutRequest streamSubscriptionPutRequest = new StreamSubscriptionPutRequest(); // StreamSubscriptionPutRequest | + try { + StreamSubscription result = apiInstance.updateStreamSubscriptionByUuid(streamSubscriptionId, streamSubscriptionPutRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamSubscriptionsApi#updateStreamSubscriptionByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamSubscriptionId** | **UUID**| Stream Subscription UUID | | +| **streamSubscriptionPutRequest** | [**StreamSubscriptionPutRequest**](StreamSubscriptionPutRequest.md)| | | + +### Return type + +[**StreamSubscription**](StreamSubscription.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Stream Subscription object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **415** | Unsupported Media Type | - | +| **500** | Internal server error | - | + diff --git a/equinix-openapi-fabric/docs/StreamTarget.md b/equinix-openapi-fabric/docs/StreamTarget.md new file mode 100644 index 00000000..e0fea334 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamTarget.md @@ -0,0 +1,14 @@ + + +# StreamTarget + +Stream uuid + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**uuid** | **UUID** | Stream UUID | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/StreamsApi.md b/equinix-openapi-fabric/docs/StreamsApi.md new file mode 100644 index 00000000..8a91e310 --- /dev/null +++ b/equinix-openapi-fabric/docs/StreamsApi.md @@ -0,0 +1,763 @@ +# StreamsApi + +All URIs are relative to *https://api.equinix.com* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createStreams**](StreamsApi.md#createStreams) | **POST** /fabric/v4/streams | Create Stream | +| [**deleteStreamAssetByUuid**](StreamsApi.md#deleteStreamAssetByUuid) | **DELETE** /fabric/v4/streams/{streamId}/{asset}/{assetId} | Detach Asset | +| [**deleteStreamByUuid**](StreamsApi.md#deleteStreamByUuid) | **DELETE** /fabric/v4/streams/{streamId} | Delete Stream | +| [**getStreamAssetByUuid**](StreamsApi.md#getStreamAssetByUuid) | **GET** /fabric/v4/streams/{streamId}/{asset}/{assetId} | Get Asset | +| [**getStreamByUuid**](StreamsApi.md#getStreamByUuid) | **GET** /fabric/v4/streams/{streamId} | Get Stream | +| [**getStreams**](StreamsApi.md#getStreams) | **GET** /fabric/v4/streams | Get Streams | +| [**getStreamsAssets**](StreamsApi.md#getStreamsAssets) | **POST** /fabric/v4/streamAssets/search | Get Assets | +| [**getSubscriptionsInStream**](StreamsApi.md#getSubscriptionsInStream) | **GET** /fabric/v4/streams/{streamId}/streamSubscriptions | Get Stream's Subs | +| [**updateStreamAssetByUuid**](StreamsApi.md#updateStreamAssetByUuid) | **PUT** /fabric/v4/streams/{streamId}/{asset}/{assetId} | Attach Asset | +| [**updateStreamByUuid**](StreamsApi.md#updateStreamByUuid) | **PUT** /fabric/v4/streams/{streamId} | Update Stream | + + + +# **createStreams** +> Stream createStreams(streamPostRequest) + +Create Stream + +This API provides capability to create user's stream + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + StreamPostRequest streamPostRequest = new StreamPostRequest(); // StreamPostRequest | + try { + Stream result = apiInstance.createStreams(streamPostRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#createStreams"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamPostRequest** | [**StreamPostRequest**](StreamPostRequest.md)| | | + +### Return type + +[**Stream**](Stream.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Stream object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **415** | Unsupported Media Type | - | +| **500** | Internal server error | - | + + +# **deleteStreamAssetByUuid** +> StreamAsset deleteStreamAssetByUuid(assetId, asset, streamId) + +Detach Asset + +This API provides capability to detach an asset from a stream + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + UUID assetId = UUID.randomUUID(); // UUID | asset UUID + Asset asset = Asset.fromValue("ports"); // Asset | asset + UUID streamId = UUID.randomUUID(); // UUID | Stream UUID + try { + StreamAsset result = apiInstance.deleteStreamAssetByUuid(assetId, asset, streamId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#deleteStreamAssetByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assetId** | **UUID**| asset UUID | | +| **asset** | [**Asset**](.md)| asset | [enum: ports, connections, routers, metros] | +| **streamId** | **UUID**| Stream UUID | | + +### Return type + +[**StreamAsset**](StreamAsset.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Stream object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **deleteStreamByUuid** +> Stream deleteStreamByUuid(streamId) + +Delete Stream + +This API provides capability to delete user's stream + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + UUID streamId = UUID.randomUUID(); // UUID | Stream UUID + try { + Stream result = apiInstance.deleteStreamByUuid(streamId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#deleteStreamByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamId** | **UUID**| Stream UUID | | + +### Return type + +[**Stream**](Stream.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Stream object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **getStreamAssetByUuid** +> StreamAsset getStreamAssetByUuid(assetId, asset, streamId) + +Get Asset + +This API provides capability to get user's assets attached to a stream + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + UUID assetId = UUID.randomUUID(); // UUID | asset UUID + Asset asset = Asset.fromValue("ports"); // Asset | asset + UUID streamId = UUID.randomUUID(); // UUID | Stream UUID + try { + StreamAsset result = apiInstance.getStreamAssetByUuid(assetId, asset, streamId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#getStreamAssetByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assetId** | **UUID**| asset UUID | | +| **asset** | [**Asset**](.md)| asset | [enum: ports, connections, routers, metros] | +| **streamId** | **UUID**| Stream UUID | | + +### Return type + +[**StreamAsset**](StreamAsset.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Stream asset object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **getStreamByUuid** +> Stream getStreamByUuid(streamId) + +Get Stream + +This API provides capability to get user's stream + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + UUID streamId = UUID.randomUUID(); // UUID | Stream UUID + try { + Stream result = apiInstance.getStreamByUuid(streamId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#getStreamByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamId** | **UUID**| Stream UUID | | + +### Return type + +[**Stream**](Stream.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Stream object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **getStreams** +> GetAllStreamResponse getStreams(offset, limit) + +Get Streams + +This API provides capability to retrieve streams + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + Integer offset = 1; // Integer | offset + Integer limit = 10; // Integer | number of records to fetch + try { + GetAllStreamResponse result = apiInstance.getStreams(offset, limit); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#getStreams"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **offset** | **Integer**| offset | [optional] | +| **limit** | **Integer**| number of records to fetch | [optional] | + +### Return type + +[**GetAllStreamResponse**](GetAllStreamResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful operation | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **getStreamsAssets** +> GetAllStreamAssetResponse getStreamsAssets(streamAssetSearchRequest, offset, limit) + +Get Assets + +This API provides capability to retrieve stream assets + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + StreamAssetSearchRequest streamAssetSearchRequest = new StreamAssetSearchRequest(); // StreamAssetSearchRequest | + Integer offset = 1; // Integer | offset + Integer limit = 10; // Integer | number of records to fetch + try { + GetAllStreamAssetResponse result = apiInstance.getStreamsAssets(streamAssetSearchRequest, offset, limit); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#getStreamsAssets"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamAssetSearchRequest** | [**StreamAssetSearchRequest**](StreamAssetSearchRequest.md)| | | +| **offset** | **Integer**| offset | [optional] | +| **limit** | **Integer**| number of records to fetch | [optional] | + +### Return type + +[**GetAllStreamAssetResponse**](GetAllStreamAssetResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful operation | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **getSubscriptionsInStream** +> GetSubscriptionsInStreamResponse getSubscriptionsInStream(streamId, offset, limit) + +Get Stream's Subs + +This API provides capability to retrieve subscriptions in a stream + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + UUID streamId = UUID.randomUUID(); // UUID | Stream UUID + Integer offset = 1; // Integer | offset + Integer limit = 10; // Integer | number of records to fetch + try { + GetSubscriptionsInStreamResponse result = apiInstance.getSubscriptionsInStream(streamId, offset, limit); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#getSubscriptionsInStream"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamId** | **UUID**| Stream UUID | | +| **offset** | **Integer**| offset | [optional] | +| **limit** | **Integer**| number of records to fetch | [optional] | + +### Return type + +[**GetSubscriptionsInStreamResponse**](GetSubscriptionsInStreamResponse.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | Successful operation | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **500** | Internal server error | - | + + +# **updateStreamAssetByUuid** +> StreamAsset updateStreamAssetByUuid(assetId, asset, streamId, streamAssetPutRequest) + +Attach Asset + +This API provides capability to attach an asset to a stream + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + UUID assetId = UUID.randomUUID(); // UUID | asset UUID + Asset asset = Asset.fromValue("ports"); // Asset | asset + UUID streamId = UUID.randomUUID(); // UUID | Stream UUID + StreamAssetPutRequest streamAssetPutRequest = new StreamAssetPutRequest(); // StreamAssetPutRequest | + try { + StreamAsset result = apiInstance.updateStreamAssetByUuid(assetId, asset, streamId, streamAssetPutRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#updateStreamAssetByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **assetId** | **UUID**| asset UUID | | +| **asset** | [**Asset**](.md)| asset | [enum: ports, connections, routers, metros] | +| **streamId** | **UUID**| Stream UUID | | +| **streamAssetPutRequest** | [**StreamAssetPutRequest**](StreamAssetPutRequest.md)| | | + +### Return type + +[**StreamAsset**](StreamAsset.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Stream object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **415** | Unsupported Media Type | - | +| **500** | Internal server error | - | + + +# **updateStreamByUuid** +> Stream updateStreamByUuid(streamId, streamPutRequest) + +Update Stream + +This API provides capability to update user's stream + +### Example +```java +// Import classes: +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.auth.*; +import com.equinix.openapi.fabric.models.*; +import com.equinix.openapi.fabric.v4.api.StreamsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("https://api.equinix.com"); + + // Configure HTTP bearer authorization: BearerAuth + HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth"); + BearerAuth.setBearerToken("BEARER TOKEN"); + + StreamsApi apiInstance = new StreamsApi(defaultClient); + UUID streamId = UUID.randomUUID(); // UUID | Stream UUID + StreamPutRequest streamPutRequest = new StreamPutRequest(); // StreamPutRequest | + try { + Stream result = apiInstance.updateStreamByUuid(streamId, streamPutRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling StreamsApi#updateStreamByUuid"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **streamId** | **UUID**| Stream UUID | | +| **streamPutRequest** | [**StreamPutRequest**](StreamPutRequest.md)| | | + +### Return type + +[**Stream**](Stream.md) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **202** | Stream object | - | +| **400** | Bad request | - | +| **401** | Unauthorized | - | +| **403** | Forbidden | - | +| **404** | Not Found | - | +| **415** | Unsupported Media Type | - | +| **500** | Internal server error | - | + diff --git a/equinix-openapi-fabric/docs/SubscriptionAsset.md b/equinix-openapi-fabric/docs/SubscriptionAsset.md index c7670668..b54c88e1 100644 --- a/equinix-openapi-fabric/docs/SubscriptionAsset.md +++ b/equinix-openapi-fabric/docs/SubscriptionAsset.md @@ -8,9 +8,9 @@ Asset information | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | **SubscriptionAssetType** | | [optional] | +|**type** | **String** | Type of the subscription asset ( XF_ROUTER ,IP_VC, IPWAN_VC ) | [optional] | |**_package** | [**SubscriptionRouterPackageType**](SubscriptionRouterPackageType.md) | | [optional] | -|**bandwidth** | **Integer** | | [optional] | +|**bandwidth** | **Integer** | Bandwidth of the asset in Mbps | [optional] | diff --git a/equinix-openapi-fabric/docs/SubscriptionAssetType.md b/equinix-openapi-fabric/docs/SubscriptionAssetType.md deleted file mode 100644 index 7d26e8f4..00000000 --- a/equinix-openapi-fabric/docs/SubscriptionAssetType.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# SubscriptionAssetType - -## Enum - - -* `XF_ROUTER` (value: `"XF_ROUTER"`) - -* `IP_VC` (value: `"IP_VC"`) - - - diff --git a/equinix-openapi-fabric/docs/SubscriptionEntitlementResponse.md b/equinix-openapi-fabric/docs/SubscriptionEntitlementResponse.md index 92408488..bc683c21 100644 --- a/equinix-openapi-fabric/docs/SubscriptionEntitlementResponse.md +++ b/equinix-openapi-fabric/docs/SubscriptionEntitlementResponse.md @@ -9,9 +9,9 @@ Subscription entitlement | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**uuid** | **UUID** | Subscription Entitlement Id | [optional] | -|**quantityEntitled** | **Integer** | | [optional] | -|**quantityConsumed** | **Integer** | | [optional] | -|**quantityAvailable** | **Integer** | | [optional] | +|**quantityEntitled** | **Integer** | Quantity entitled for the subscription | [optional] | +|**quantityConsumed** | **Integer** | Quantity consumed from the entitlement | [optional] | +|**quantityAvailable** | **Integer** | Quantity available from the entitlement | [optional] | |**asset** | [**SubscriptionAsset**](SubscriptionAsset.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/SubscriptionResponse.md b/equinix-openapi-fabric/docs/SubscriptionResponse.md index c8abeb4f..a0f2b459 100644 --- a/equinix-openapi-fabric/docs/SubscriptionResponse.md +++ b/equinix-openapi-fabric/docs/SubscriptionResponse.md @@ -2,22 +2,22 @@ # SubscriptionResponse -Subscription +Subscription Response ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**href** | **URI** | | [optional] | -|**uuid** | **UUID** | | [optional] | -|**status** | **SubscriptionStatus** | | [optional] | -|**marketplace** | [**MarketplaceEnum**](#MarketplaceEnum) | | [optional] | -|**offerType** | [**OfferTypeEnum**](#OfferTypeEnum) | | [optional] | -|**isAutoRenew** | **Boolean** | | [optional] | -|**offerId** | **String** | | [optional] | +|**href** | **URI** | Subscription URL | [optional] | +|**uuid** | **UUID** | Unique identifier of the Subscription | [optional] | +|**state** | **SubscriptionState** | | | +|**marketplace** | [**MarketplaceEnum**](#MarketplaceEnum) | Marketplace Type | | +|**offerType** | [**OfferTypeEnum**](#OfferTypeEnum) | Marketplace Offer Type | [optional] | +|**isAutoRenew** | **Boolean** | Is Auto Renewal Enabled | [optional] | +|**offerId** | **String** | Marketplace Offer Id | [optional] | |**trial** | [**SubscriptionTrial**](SubscriptionTrial.md) | | [optional] | -|**subscriptionKey** | **String** | | [optional] | -|**entitlements** | [**List<SubscriptionEntitlementResponse>**](SubscriptionEntitlementResponse.md) | | [optional] | +|**subscriptionKey** | **String** | Subscription Key | [optional] | +|**entitlements** | [**List<SubscriptionEntitlementResponse>**](SubscriptionEntitlementResponse.md) | List of entitlements associated with the subscription | | |**changelog** | [**Changelog**](Changelog.md) | | [optional] | diff --git a/equinix-openapi-fabric/docs/SubscriptionStatus.md b/equinix-openapi-fabric/docs/SubscriptionState.md similarity index 88% rename from equinix-openapi-fabric/docs/SubscriptionStatus.md rename to equinix-openapi-fabric/docs/SubscriptionState.md index 191e111a..6801ec05 100644 --- a/equinix-openapi-fabric/docs/SubscriptionStatus.md +++ b/equinix-openapi-fabric/docs/SubscriptionState.md @@ -1,6 +1,6 @@ -# SubscriptionStatus +# SubscriptionState ## Enum diff --git a/equinix-openapi-fabric/docs/SubscriptionTrial.md b/equinix-openapi-fabric/docs/SubscriptionTrial.md index ff12c8d9..7886a50f 100644 --- a/equinix-openapi-fabric/docs/SubscriptionTrial.md +++ b/equinix-openapi-fabric/docs/SubscriptionTrial.md @@ -2,14 +2,14 @@ # SubscriptionTrial -Trial +Free Trial Subscription ## Properties | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**enabled** | **Boolean** | | [optional] | -|**expiryDateTime** | **OffsetDateTime** | | [optional] | +|**enabled** | **Boolean** | Free Trial Enabled | [optional] | +|**expiryDateTime** | **OffsetDateTime** | Free Trial Expiry Date | [optional] | diff --git a/equinix-openapi-fabric/docs/ValidateConnectionResponse.md b/equinix-openapi-fabric/docs/ValidateConnectionResponse.md new file mode 100644 index 00000000..e5f3d6c7 --- /dev/null +++ b/equinix-openapi-fabric/docs/ValidateConnectionResponse.md @@ -0,0 +1,18 @@ + + +# ValidateConnectionResponse + +Validate Connection specification + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**uuid** | **String** | Equinix-assigned connection identifier | [optional] | +|**bandwidth** | **Integer** | Connection bandwidth in Mbps | [optional] | +|**redundancy** | [**ConnectionRedundancy**](ConnectionRedundancy.md) | | [optional] | +|**aSide** | [**ConnectionSide**](ConnectionSide.md) | | [optional] | +|**zSide** | [**ConnectionSide**](ConnectionSide.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/VirtualConnectionSide.md b/equinix-openapi-fabric/docs/VirtualConnectionSide.md new file mode 100644 index 00000000..ee1e951e --- /dev/null +++ b/equinix-openapi-fabric/docs/VirtualConnectionSide.md @@ -0,0 +1,14 @@ + + +# VirtualConnectionSide + +Fabric Connection access point object. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**accessPoint** | [**AccessPoint**](AccessPoint.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/VirtualConnectionTimeServiceResponse.md b/equinix-openapi-fabric/docs/VirtualConnectionTimeServiceResponse.md new file mode 100644 index 00000000..06fa30d1 --- /dev/null +++ b/equinix-openapi-fabric/docs/VirtualConnectionTimeServiceResponse.md @@ -0,0 +1,18 @@ + + +# VirtualConnectionTimeServiceResponse + +Fabric Connection Precision Time Service Response Object + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**href** | **URI** | Connection URI | [readonly] | +|**type** | **String** | Connection Type. | | +|**uuid** | **UUID** | Connection UUID. | | +|**aSide** | [**VirtualConnectionSide**](VirtualConnectionSide.md) | | [optional] | +|**zSide** | [**VirtualConnectionSide**](VirtualConnectionSide.md) | | [optional] | + + + diff --git a/equinix-openapi-fabric/docs/VirtualConnectionUuid.md b/equinix-openapi-fabric/docs/VirtualConnectionUuid.md new file mode 100644 index 00000000..2c7c2774 --- /dev/null +++ b/equinix-openapi-fabric/docs/VirtualConnectionUuid.md @@ -0,0 +1,16 @@ + + +# VirtualConnectionUuid + +UUID of the Fabric Connection Instance + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**href** | **URI** | Connection URI | [optional] [readonly] | +|**type** | **String** | Connection Type | [optional] | +|**uuid** | **UUID** | Connection UUID. | | + + + diff --git a/equinix-openapi-fabric/docs/VirtualDeviceInterface.md b/equinix-openapi-fabric/docs/VirtualDeviceInterface.md new file mode 100644 index 00000000..2ace658f --- /dev/null +++ b/equinix-openapi-fabric/docs/VirtualDeviceInterface.md @@ -0,0 +1,24 @@ + + +# VirtualDeviceInterface + +Virtual Device Interface Information + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | [**TypeEnum**](#TypeEnum) | Type of interface | [optional] | +|**id** | **Integer** | Network Edge assigned identifier | [optional] | +|**uuid** | **UUID** | Interface identifier | [optional] | + + + +## Enum: TypeEnum + +| Name | Value | +|---- | -----| +| NETWORK | "NETWORK" | + + + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiCallback.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiCallback.java index 57353126..c8b5ba50 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiCallback.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiCallback.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiClient.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiClient.java index 9cd1bd34..05d14351 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiClient.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiClient.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiException.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiException.java index 6dc994e8..58818e00 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiException.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiException.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiResponse.java index 54aec6b2..f4ebf034 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ApiResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/Configuration.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/Configuration.java index ae15d470..b5655914 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/Configuration.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/Configuration.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/GzipRequestInterceptor.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/GzipRequestInterceptor.java index b81f9eef..2cbaf088 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/GzipRequestInterceptor.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/GzipRequestInterceptor.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/JSON.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/JSON.java index 75fff561..1b9029d2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/JSON.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/JSON.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -72,20 +72,6 @@ public class JSON { @SuppressWarnings("unchecked") public static GsonBuilder createGson() { GsonFireBuilder fireBuilder = new GsonFireBuilder() - .registerTypeSelector(com.equinix.openapi.fabric.v4.model.LinkProtocol.class, new TypeSelector() { - @Override - public Class getClassForElement(JsonElement readElement) { - Map classByDiscriminatorValue = new HashMap(); - classByDiscriminatorValue.put("DOT1Q", com.equinix.openapi.fabric.v4.model.LinkProtocolDot1q.class); - classByDiscriminatorValue.put("EVPN_VXLAN", com.equinix.openapi.fabric.v4.model.LinkProtocolEvpnVxlan.class); - classByDiscriminatorValue.put("QINQ", com.equinix.openapi.fabric.v4.model.LinkProtocolQinq.class); - classByDiscriminatorValue.put("UNTAGGED", com.equinix.openapi.fabric.v4.model.LinkProtocolUntagged.class); - classByDiscriminatorValue.put("VXLAN", com.equinix.openapi.fabric.v4.model.LinkProtocolVxlan.class); - classByDiscriminatorValue.put("LinkProtocol", com.equinix.openapi.fabric.v4.model.LinkProtocol.class); - return getClassByDiscriminator(classByDiscriminatorValue, - getDiscriminatorValue(readElement, "type")); - } - }) .registerTypeSelector(com.equinix.openapi.fabric.v4.model.MetroError.class, new TypeSelector() { @Override public Class getClassForElement(JsonElement readElement) { @@ -157,9 +143,7 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.AccessPoint.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.AccessPointSelector.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Account.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.AddOperation.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.AdvanceConfiguration.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.AllPhysicalPortsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.AllPortsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ApiConfig.CustomTypeAdapterFactory()); @@ -174,11 +158,19 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.BandwidthUtilization.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.BulkPhysicalPort.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.BulkPort.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.BulkPortRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Change.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Changelog.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouter.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterActionRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterActionResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchExpression.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchFilter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchFilters.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchOrFilter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchSortCriteria.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterChange.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterChangeOperation.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.CloudRouterFilter.CustomTypeAdapterFactory()); @@ -203,8 +195,17 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionPostRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRedundancy.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteEntryFilter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteEntryFilters.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteEntryOrFilter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteEntrySimpleExpression.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteFilterData.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteFiltersBase.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteSearchRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteSortCriteria.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteTableEntry.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteTableEntryConnection.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRouteTableEntrySearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionRoutingProtocolPostRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ConnectionSide.CustomTypeAdapterFactory()); @@ -218,13 +219,16 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Expression.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.FabricCloudRouterPackages.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.FabricCloudRouterPrice.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.FabricConnectionUuid.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.FilterBody.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.GeoCoordinates.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.GetAllConnectionRouteFiltersResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.GetAllStreamAssetResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.GetAllStreamResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.GetAllStreamSubscriptionResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.GetResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.GetRouteFilterGetConnectionsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.GetRouteFilterRulesResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.GetSubscriptionsInStreamResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.HealthResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.InternetAccess.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.IpBlockPrice.CustomTypeAdapterFactory()); @@ -232,17 +236,10 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.JsonPatchOperation.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Link.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkAggregationGroup.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocol.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolConnection.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolDot1q.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolEvpnVxlan.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolGetResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolIpv4Ipv6Config.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolQinq.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolServiceToken.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolUntagged.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.LinkProtocolVxlan.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.MarketingInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.MarketplaceSubscription.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Md5.CustomTypeAdapterFactory()); @@ -252,6 +249,7 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.MetroError.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.MetroResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ModelInterface.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ModelPackage.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Network.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.NetworkAllOf.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.NetworkChange.CustomTypeAdapterFactory()); @@ -265,12 +263,14 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.NetworkSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.NetworkSortCriteria.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.NetworkSortCriteriaResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Operation.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Order.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PackageChangeLog.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PackageResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Pagination.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PaginationRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PhysicalPort.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PhysicalPortSettings.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Port.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortAdditionalInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortDemarcationPoint.CustomTypeAdapterFactory()); @@ -288,15 +288,16 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortOrderSignature.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortOrderSignatureDelegate.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortRedundancy.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortSettings.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortSortCriteria.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortTether.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PortV4SearchRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PrecisionTimeChangeOperation.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PrecisionTimeOrder.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PrecisionTimePackageRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PrecisionTimePackageResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PrecisionTimeServiceConnectionsResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PrecisionTimeServiceCreateResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PrecisionTimeServicePackagesResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PrecisionTimeServiceRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.PrecisionTimeServiceResponse.CustomTypeAdapterFactory()); @@ -333,7 +334,6 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteFiltersSearchFilterItem.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteFiltersSearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteTableEntry.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteTableEntryConnection.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteTableEntryFilter.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteTableEntryFilters.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteTableEntryOrFilter.CustomTypeAdapterFactory()); @@ -341,6 +341,7 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteTableEntrySearchResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteTableEntrySimpleExpression.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouteTableEntrySortCriteria.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RouterActionsConnection.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RoutingProtocolBFD.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RoutingProtocolBGPData.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.RoutingProtocolBGPType.CustomTypeAdapterFactory()); @@ -392,10 +393,35 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SimplifiedNotification.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SimplifiedPort.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SimplifiedServiceProfile.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SimplifiedTokenNetwork.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SimplifiedVirtualDevice.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SortCriteria.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SortCriteriaResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SortItem.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Statistics.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.Stream.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamAsset.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamAssetFilter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamAssetFilters.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamAssetOrFilter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamAssetPutRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamAssetSearchRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamAssetSimpleExpression.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamAssetSortCriteria.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamFilter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamFilterOrFilter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamFilterSimpleExpression.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamGetSubscriptions.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamPostRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamPutRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamSubscription.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamSubscriptionFilter.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamSubscriptionPostRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamSubscriptionPutRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamSubscriptionSink.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamSubscriptionSinkCredential.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamSubscriptionSinkSetting.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.StreamTarget.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SubInterface.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SubscriptionAsset.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.SubscriptionEntitlementResponse.CustomTypeAdapterFactory()); @@ -409,6 +435,7 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.TimeServiceSortCriteria.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.TimeServicesSearchRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.TopUtilizedStatistics.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ValidateConnectionResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ValidateRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ValidateRequestFilter.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.ValidateRequestFilterAnd.CustomTypeAdapterFactory()); @@ -423,7 +450,11 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualConnectionPriceZSideAccessPointBridge.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualConnectionPriceZSideAccessPointBridgePackage.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualConnectionPriceZSideAccessPointProfile.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualConnectionSide.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualConnectionTimeServiceResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualConnectionUuid.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualDevice.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualDeviceInterface.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualNetwork.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualPortConfiguration.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VirtualPortLocation.CustomTypeAdapterFactory()); diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/Pair.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/Pair.java index 0461a2c9..41039fa3 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/Pair.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/Pair.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ProgressRequestBody.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ProgressRequestBody.java index cf1bfe7c..4e72af45 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ProgressRequestBody.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ProgressRequestBody.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ProgressResponseBody.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ProgressResponseBody.java index 27565e70..a2ca556c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ProgressResponseBody.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/ProgressResponseBody.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/StringUtil.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/StringUtil.java index c44d06d6..40677739 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/StringUtil.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/StringUtil.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/ApiKeyAuth.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/ApiKeyAuth.java index 41049726..ae4c2cb1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/ApiKeyAuth.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/ApiKeyAuth.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/Authentication.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/Authentication.java index 52bed670..92b7ff5c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/Authentication.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/Authentication.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/HttpBasicAuth.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/HttpBasicAuth.java index 58ca7dc6..b1703af9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/HttpBasicAuth.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/HttpBasicAuth.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/HttpBearerAuth.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/HttpBearerAuth.java index 3f3a0905..f2aa6842 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/HttpBearerAuth.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/auth/HttpBearerAuth.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/CloudRoutersApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/CloudRoutersApi.java index 74568560..4e051546 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/CloudRoutersApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/CloudRoutersApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -29,10 +29,14 @@ import com.equinix.openapi.fabric.v4.model.CloudRouterActionRequest; import com.equinix.openapi.fabric.v4.model.CloudRouterActionResponse; import com.equinix.openapi.fabric.v4.model.CloudRouterActionState; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchRequest; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchResponse; import com.equinix.openapi.fabric.v4.model.CloudRouterChangeOperation; import com.equinix.openapi.fabric.v4.model.CloudRouterPackage; import com.equinix.openapi.fabric.v4.model.CloudRouterPostRequest; import com.equinix.openapi.fabric.v4.model.CloudRouterSearchRequest; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteSearchRequest; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteTableEntrySearchResponse; import com.equinix.openapi.fabric.v4.model.Error; import com.equinix.openapi.fabric.v4.model.PackageResponse; import com.equinix.openapi.fabric.v4.model.RouteTableEntrySearchRequest; @@ -679,6 +683,171 @@ public okhttp3.Call getCloudRouterActionsAsync(UUID routerId, CloudRouterActionS localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for getCloudRouterActionsByUuid + * @param routerId Router UUID (required) + * @param actionId Action UUID (required) + * @param state Action state (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Internal server error -
500 Internal server error -
+ */ + public okhttp3.Call getCloudRouterActionsByUuidCall(UUID routerId, UUID actionId, CloudRouterActionState state, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/routers/{routerId}/actions/{actionId}" + .replace("{" + "routerId" + "}", localVarApiClient.escapeString(routerId.toString())) + .replace("{" + "actionId" + "}", localVarApiClient.escapeString(actionId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (state != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("state", state)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getCloudRouterActionsByUuidValidateBeforeCall(UUID routerId, UUID actionId, CloudRouterActionState state, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'routerId' is set + if (routerId == null) { + throw new ApiException("Missing the required parameter 'routerId' when calling getCloudRouterActionsByUuid(Async)"); + } + + // verify the required parameter 'actionId' is set + if (actionId == null) { + throw new ApiException("Missing the required parameter 'actionId' when calling getCloudRouterActionsByUuid(Async)"); + } + + return getCloudRouterActionsByUuidCall(routerId, actionId, state, _callback); + + } + + /** + * Get actions + * This API provides capability to fetch action status + * @param routerId Router UUID (required) + * @param actionId Action UUID (required) + * @param state Action state (optional) + * @return CloudRouterActionResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Internal server error -
500 Internal server error -
+ */ + public CloudRouterActionResponse getCloudRouterActionsByUuid(UUID routerId, UUID actionId, CloudRouterActionState state) throws ApiException { + ApiResponse localVarResp = getCloudRouterActionsByUuidWithHttpInfo(routerId, actionId, state); + return localVarResp.getData(); + } + + /** + * Get actions + * This API provides capability to fetch action status + * @param routerId Router UUID (required) + * @param actionId Action UUID (required) + * @param state Action state (optional) + * @return ApiResponse<CloudRouterActionResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Internal server error -
500 Internal server error -
+ */ + public ApiResponse getCloudRouterActionsByUuidWithHttpInfo(UUID routerId, UUID actionId, CloudRouterActionState state) throws ApiException { + okhttp3.Call localVarCall = getCloudRouterActionsByUuidValidateBeforeCall(routerId, actionId, state, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get actions (asynchronously) + * This API provides capability to fetch action status + * @param routerId Router UUID (required) + * @param actionId Action UUID (required) + * @param state Action state (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Internal server error -
500 Internal server error -
+ */ + public okhttp3.Call getCloudRouterActionsByUuidAsync(UUID routerId, UUID actionId, CloudRouterActionState state, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getCloudRouterActionsByUuidValidateBeforeCall(routerId, actionId, state, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for getCloudRouterByUuid * @param routerId Cloud Router UUID (required) @@ -1406,6 +1575,461 @@ public okhttp3.Call searchCloudRoutersAsync(CloudRouterSearchRequest cloudRouter localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for searchConnectionAdvertisedRoutes + * @param connectionId Connection Id (required) + * @param connectionRouteSearchRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
+ */ + public okhttp3.Call searchConnectionAdvertisedRoutesCall(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = connectionRouteSearchRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/connections/{connectionId}/advertisedRoutes/search" + .replace("{" + "connectionId" + "}", localVarApiClient.escapeString(connectionId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call searchConnectionAdvertisedRoutesValidateBeforeCall(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'connectionId' is set + if (connectionId == null) { + throw new ApiException("Missing the required parameter 'connectionId' when calling searchConnectionAdvertisedRoutes(Async)"); + } + + // verify the required parameter 'connectionRouteSearchRequest' is set + if (connectionRouteSearchRequest == null) { + throw new ApiException("Missing the required parameter 'connectionRouteSearchRequest' when calling searchConnectionAdvertisedRoutes(Async)"); + } + + return searchConnectionAdvertisedRoutesCall(connectionId, connectionRouteSearchRequest, _callback); + + } + + /** + * search advertised + * The API provides capability to get list of user's advertised routes using search criteria, including optional filtering, pagination and sorting + * @param connectionId Connection Id (required) + * @param connectionRouteSearchRequest (required) + * @return ConnectionRouteTableEntrySearchResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
+ */ + public ConnectionRouteTableEntrySearchResponse searchConnectionAdvertisedRoutes(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest) throws ApiException { + ApiResponse localVarResp = searchConnectionAdvertisedRoutesWithHttpInfo(connectionId, connectionRouteSearchRequest); + return localVarResp.getData(); + } + + /** + * search advertised + * The API provides capability to get list of user's advertised routes using search criteria, including optional filtering, pagination and sorting + * @param connectionId Connection Id (required) + * @param connectionRouteSearchRequest (required) + * @return ApiResponse<ConnectionRouteTableEntrySearchResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
+ */ + public ApiResponse searchConnectionAdvertisedRoutesWithHttpInfo(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest) throws ApiException { + okhttp3.Call localVarCall = searchConnectionAdvertisedRoutesValidateBeforeCall(connectionId, connectionRouteSearchRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * search advertised (asynchronously) + * The API provides capability to get list of user's advertised routes using search criteria, including optional filtering, pagination and sorting + * @param connectionId Connection Id (required) + * @param connectionRouteSearchRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
+ */ + public okhttp3.Call searchConnectionAdvertisedRoutesAsync(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = searchConnectionAdvertisedRoutesValidateBeforeCall(connectionId, connectionRouteSearchRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for searchConnectionReceivedRoutes + * @param connectionId Connection Id (required) + * @param connectionRouteSearchRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
+ */ + public okhttp3.Call searchConnectionReceivedRoutesCall(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = connectionRouteSearchRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/connections/{connectionId}/receivedRoutes/search" + .replace("{" + "connectionId" + "}", localVarApiClient.escapeString(connectionId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call searchConnectionReceivedRoutesValidateBeforeCall(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'connectionId' is set + if (connectionId == null) { + throw new ApiException("Missing the required parameter 'connectionId' when calling searchConnectionReceivedRoutes(Async)"); + } + + // verify the required parameter 'connectionRouteSearchRequest' is set + if (connectionRouteSearchRequest == null) { + throw new ApiException("Missing the required parameter 'connectionRouteSearchRequest' when calling searchConnectionReceivedRoutes(Async)"); + } + + return searchConnectionReceivedRoutesCall(connectionId, connectionRouteSearchRequest, _callback); + + } + + /** + * Search received + * The API provides capability to get list of received routes using search criteria, including optional filtering, pagination and sorting + * @param connectionId Connection Id (required) + * @param connectionRouteSearchRequest (required) + * @return ConnectionRouteTableEntrySearchResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
+ */ + public ConnectionRouteTableEntrySearchResponse searchConnectionReceivedRoutes(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest) throws ApiException { + ApiResponse localVarResp = searchConnectionReceivedRoutesWithHttpInfo(connectionId, connectionRouteSearchRequest); + return localVarResp.getData(); + } + + /** + * Search received + * The API provides capability to get list of received routes using search criteria, including optional filtering, pagination and sorting + * @param connectionId Connection Id (required) + * @param connectionRouteSearchRequest (required) + * @return ApiResponse<ConnectionRouteTableEntrySearchResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
+ */ + public ApiResponse searchConnectionReceivedRoutesWithHttpInfo(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest) throws ApiException { + okhttp3.Call localVarCall = searchConnectionReceivedRoutesValidateBeforeCall(connectionId, connectionRouteSearchRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Search received (asynchronously) + * The API provides capability to get list of received routes using search criteria, including optional filtering, pagination and sorting + * @param connectionId Connection Id (required) + * @param connectionRouteSearchRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
+ */ + public okhttp3.Call searchConnectionReceivedRoutesAsync(String connectionId, ConnectionRouteSearchRequest connectionRouteSearchRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = searchConnectionReceivedRoutesValidateBeforeCall(connectionId, connectionRouteSearchRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for searchRouterActions + * @param routerId Router UUID (required) + * @param cloudRouterActionsSearchRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Internal server error -
500 Internal server error -
+ */ + public okhttp3.Call searchRouterActionsCall(UUID routerId, CloudRouterActionsSearchRequest cloudRouterActionsSearchRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = cloudRouterActionsSearchRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/routers/{routerId}/actions/search" + .replace("{" + "routerId" + "}", localVarApiClient.escapeString(routerId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call searchRouterActionsValidateBeforeCall(UUID routerId, CloudRouterActionsSearchRequest cloudRouterActionsSearchRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'routerId' is set + if (routerId == null) { + throw new ApiException("Missing the required parameter 'routerId' when calling searchRouterActions(Async)"); + } + + // verify the required parameter 'cloudRouterActionsSearchRequest' is set + if (cloudRouterActionsSearchRequest == null) { + throw new ApiException("Missing the required parameter 'cloudRouterActionsSearchRequest' when calling searchRouterActions(Async)"); + } + + return searchRouterActionsCall(routerId, cloudRouterActionsSearchRequest, _callback); + + } + + /** + * Search actions + * This API provides capability to refresh route table and bgp session summary information + * @param routerId Router UUID (required) + * @param cloudRouterActionsSearchRequest (required) + * @return CloudRouterActionsSearchResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Internal server error -
500 Internal server error -
+ */ + public CloudRouterActionsSearchResponse searchRouterActions(UUID routerId, CloudRouterActionsSearchRequest cloudRouterActionsSearchRequest) throws ApiException { + ApiResponse localVarResp = searchRouterActionsWithHttpInfo(routerId, cloudRouterActionsSearchRequest); + return localVarResp.getData(); + } + + /** + * Search actions + * This API provides capability to refresh route table and bgp session summary information + * @param routerId Router UUID (required) + * @param cloudRouterActionsSearchRequest (required) + * @return ApiResponse<CloudRouterActionsSearchResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Internal server error -
500 Internal server error -
+ */ + public ApiResponse searchRouterActionsWithHttpInfo(UUID routerId, CloudRouterActionsSearchRequest cloudRouterActionsSearchRequest) throws ApiException { + okhttp3.Call localVarCall = searchRouterActionsValidateBeforeCall(routerId, cloudRouterActionsSearchRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Search actions (asynchronously) + * This API provides capability to refresh route table and bgp session summary information + * @param routerId Router UUID (required) + * @param cloudRouterActionsSearchRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Internal server error -
500 Internal server error -
+ */ + public okhttp3.Call searchRouterActionsAsync(UUID routerId, CloudRouterActionsSearchRequest cloudRouterActionsSearchRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = searchRouterActionsValidateBeforeCall(routerId, cloudRouterActionsSearchRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } /** * Build call for updateCloudRouterByUuid * @param routerId Cloud Router UUID (required) diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ConnectionsApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ConnectionsApi.java index d7adbe51..c1999ae6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ConnectionsApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ConnectionsApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/HealthApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/HealthApi.java index 4112ed66..c3363811 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/HealthApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/HealthApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/MarketplaceSubscriptionsApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/MarketplaceSubscriptionsApi.java index 2d484e05..8a927211 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/MarketplaceSubscriptionsApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/MarketplaceSubscriptionsApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/MetrosApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/MetrosApi.java index 8785ace6..95c6664b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/MetrosApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/MetrosApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/NetworksApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/NetworksApi.java index c677de17..ded30af9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/NetworksApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/NetworksApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PortsApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PortsApi.java index 6ffd2d36..1ac63562 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PortsApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PortsApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -29,9 +29,11 @@ import com.equinix.openapi.fabric.v4.model.AllPortsResponse; import com.equinix.openapi.fabric.v4.model.BulkPhysicalPort; import com.equinix.openapi.fabric.v4.model.BulkPort; +import com.equinix.openapi.fabric.v4.model.BulkPortRequest; import com.equinix.openapi.fabric.v4.model.Error; import com.equinix.openapi.fabric.v4.model.LinkProtocolGetResponse; import com.equinix.openapi.fabric.v4.model.Port; +import com.equinix.openapi.fabric.v4.model.PortRequest; import com.equinix.openapi.fabric.v4.model.PortV4SearchRequest; import java.util.UUID; @@ -226,7 +228,7 @@ public okhttp3.Call addToLagAsync(UUID portId, BulkPhysicalPort bulkPhysicalPort } /** * Build call for createBulkPort - * @param bulkPort (required) + * @param bulkPortRequest (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -236,7 +238,7 @@ public okhttp3.Call addToLagAsync(UUID portId, BulkPhysicalPort bulkPhysicalPort 201 Successful operation for COLO Bulk Port - */ - public okhttp3.Call createBulkPortCall(BulkPort bulkPort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createBulkPortCall(BulkPortRequest bulkPortRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -250,7 +252,7 @@ public okhttp3.Call createBulkPortCall(BulkPort bulkPort, final ApiCallback _cal basePath = null; } - Object localVarPostBody = bulkPort; + Object localVarPostBody = bulkPortRequest; // create path and map variables String localVarPath = "/fabric/v4/ports/bulk"; @@ -282,21 +284,21 @@ public okhttp3.Call createBulkPortCall(BulkPort bulkPort, final ApiCallback _cal } @SuppressWarnings("rawtypes") - private okhttp3.Call createBulkPortValidateBeforeCall(BulkPort bulkPort, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'bulkPort' is set - if (bulkPort == null) { - throw new ApiException("Missing the required parameter 'bulkPort' when calling createBulkPort(Async)"); + private okhttp3.Call createBulkPortValidateBeforeCall(BulkPortRequest bulkPortRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'bulkPortRequest' is set + if (bulkPortRequest == null) { + throw new ApiException("Missing the required parameter 'bulkPortRequest' when calling createBulkPort(Async)"); } - return createBulkPortCall(bulkPort, _callback); + return createBulkPortCall(bulkPortRequest, _callback); } /** * Create Port * Create Port creates Equinix Fabric? Port.<font color=\"red\"> <sup color='red'>Preview</sup></font> - * @param bulkPort (required) - * @return AllPortsResponse + * @param bulkPortRequest (required) + * @return BulkPort * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -304,16 +306,16 @@ private okhttp3.Call createBulkPortValidateBeforeCall(BulkPort bulkPort, final A
201 Successful operation for COLO Bulk Port -
*/ - public AllPortsResponse createBulkPort(BulkPort bulkPort) throws ApiException { - ApiResponse localVarResp = createBulkPortWithHttpInfo(bulkPort); + public BulkPort createBulkPort(BulkPortRequest bulkPortRequest) throws ApiException { + ApiResponse localVarResp = createBulkPortWithHttpInfo(bulkPortRequest); return localVarResp.getData(); } /** * Create Port * Create Port creates Equinix Fabric? Port.<font color=\"red\"> <sup color='red'>Preview</sup></font> - * @param bulkPort (required) - * @return ApiResponse<AllPortsResponse> + * @param bulkPortRequest (required) + * @return ApiResponse<BulkPort> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -321,16 +323,16 @@ public AllPortsResponse createBulkPort(BulkPort bulkPort) throws ApiException {
201 Successful operation for COLO Bulk Port -
*/ - public ApiResponse createBulkPortWithHttpInfo(BulkPort bulkPort) throws ApiException { - okhttp3.Call localVarCall = createBulkPortValidateBeforeCall(bulkPort, null); - Type localVarReturnType = new TypeToken(){}.getType(); + public ApiResponse createBulkPortWithHttpInfo(BulkPortRequest bulkPortRequest) throws ApiException { + okhttp3.Call localVarCall = createBulkPortValidateBeforeCall(bulkPortRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Create Port (asynchronously) * Create Port creates Equinix Fabric? Port.<font color=\"red\"> <sup color='red'>Preview</sup></font> - * @param bulkPort (required) + * @param bulkPortRequest (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -340,16 +342,16 @@ public ApiResponse createBulkPortWithHttpInfo(BulkPort bulkPor 201 Successful operation for COLO Bulk Port - */ - public okhttp3.Call createBulkPortAsync(BulkPort bulkPort, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createBulkPortAsync(BulkPortRequest bulkPortRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createBulkPortValidateBeforeCall(bulkPort, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + okhttp3.Call localVarCall = createBulkPortValidateBeforeCall(bulkPortRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** * Build call for createPort - * @param port (required) + * @param portRequest (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -361,7 +363,7 @@ public okhttp3.Call createBulkPortAsync(BulkPort bulkPort, final ApiCallback 500 Internal Server Error - */ - public okhttp3.Call createPortCall(Port port, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createPortCall(PortRequest portRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -375,7 +377,7 @@ public okhttp3.Call createPortCall(Port port, final ApiCallback _callback) throw basePath = null; } - Object localVarPostBody = port; + Object localVarPostBody = portRequest; // create path and map variables String localVarPath = "/fabric/v4/ports"; @@ -407,20 +409,20 @@ public okhttp3.Call createPortCall(Port port, final ApiCallback _callback) throw } @SuppressWarnings("rawtypes") - private okhttp3.Call createPortValidateBeforeCall(Port port, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'port' is set - if (port == null) { - throw new ApiException("Missing the required parameter 'port' when calling createPort(Async)"); + private okhttp3.Call createPortValidateBeforeCall(PortRequest portRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'portRequest' is set + if (portRequest == null) { + throw new ApiException("Missing the required parameter 'portRequest' when calling createPort(Async)"); } - return createPortCall(port, _callback); + return createPortCall(portRequest, _callback); } /** * Create Port * Creates Equinix Fabric? Port. - * @param port (required) + * @param portRequest (required) * @return Port * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -431,15 +433,15 @@ private okhttp3.Call createPortValidateBeforeCall(Port port, final ApiCallback _ 500 Internal Server Error - */ - public Port createPort(Port port) throws ApiException { - ApiResponse localVarResp = createPortWithHttpInfo(port); + public Port createPort(PortRequest portRequest) throws ApiException { + ApiResponse localVarResp = createPortWithHttpInfo(portRequest); return localVarResp.getData(); } /** * Create Port * Creates Equinix Fabric? Port. - * @param port (required) + * @param portRequest (required) * @return ApiResponse<Port> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -450,8 +452,8 @@ public Port createPort(Port port) throws ApiException { 500 Internal Server Error - */ - public ApiResponse createPortWithHttpInfo(Port port) throws ApiException { - okhttp3.Call localVarCall = createPortValidateBeforeCall(port, null); + public ApiResponse createPortWithHttpInfo(PortRequest portRequest) throws ApiException { + okhttp3.Call localVarCall = createPortValidateBeforeCall(portRequest, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -459,7 +461,7 @@ public ApiResponse createPortWithHttpInfo(Port port) throws ApiException { /** * Create Port (asynchronously) * Creates Equinix Fabric? Port. - * @param port (required) + * @param portRequest (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -471,9 +473,9 @@ public ApiResponse createPortWithHttpInfo(Port port) throws ApiException { 500 Internal Server Error - */ - public okhttp3.Call createPortAsync(Port port, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createPortAsync(PortRequest portRequest, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = createPortValidateBeforeCall(port, _callback); + okhttp3.Call localVarCall = createPortValidateBeforeCall(portRequest, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PrecisionTimeApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PrecisionTimeApi.java index 5e4e1e12..20ed7455 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PrecisionTimeApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PrecisionTimeApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -29,9 +29,9 @@ import com.equinix.openapi.fabric.v4.model.PrecisionTimeChangeOperation; import com.equinix.openapi.fabric.v4.model.PrecisionTimePackageResponse; import com.equinix.openapi.fabric.v4.model.PrecisionTimeServiceConnectionsResponse; -import com.equinix.openapi.fabric.v4.model.PrecisionTimeServiceCreateResponse; import com.equinix.openapi.fabric.v4.model.PrecisionTimeServicePackagesResponse; import com.equinix.openapi.fabric.v4.model.PrecisionTimeServiceRequest; +import com.equinix.openapi.fabric.v4.model.PrecisionTimeServiceResponse; import com.equinix.openapi.fabric.v4.model.ServiceSearchResponse; import com.equinix.openapi.fabric.v4.model.TimeServicesSearchRequest; import java.util.UUID; @@ -89,7 +89,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @http.response.details - + @@ -155,14 +155,14 @@ private okhttp3.Call createTimeServicesValidateBeforeCall(PrecisionTimeServiceRe /** * Create Time Service - * The API provides capability to create timing service + * The API provides capability to create Precision Time service * @param precisionTimeServiceRequest (required) - * @return PrecisionTimeServiceCreateResponse + * @return PrecisionTimeServiceResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
202 Successful operation -
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
- + @@ -170,21 +170,21 @@ private okhttp3.Call createTimeServicesValidateBeforeCall(PrecisionTimeServiceRe
Status Code Description Response Headers
202 Successful operation -
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
500 Internal server error -
*/ - public PrecisionTimeServiceCreateResponse createTimeServices(PrecisionTimeServiceRequest precisionTimeServiceRequest) throws ApiException { - ApiResponse localVarResp = createTimeServicesWithHttpInfo(precisionTimeServiceRequest); + public PrecisionTimeServiceResponse createTimeServices(PrecisionTimeServiceRequest precisionTimeServiceRequest) throws ApiException { + ApiResponse localVarResp = createTimeServicesWithHttpInfo(precisionTimeServiceRequest); return localVarResp.getData(); } /** * Create Time Service - * The API provides capability to create timing service + * The API provides capability to create Precision Time service * @param precisionTimeServiceRequest (required) - * @return ApiResponse<PrecisionTimeServiceCreateResponse> + * @return ApiResponse<PrecisionTimeServiceResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - + @@ -192,15 +192,15 @@ public PrecisionTimeServiceCreateResponse createTimeServices(PrecisionTimeServic
Status Code Description Response Headers
202 Successful operation -
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
500 Internal server error -
*/ - public ApiResponse createTimeServicesWithHttpInfo(PrecisionTimeServiceRequest precisionTimeServiceRequest) throws ApiException { + public ApiResponse createTimeServicesWithHttpInfo(PrecisionTimeServiceRequest precisionTimeServiceRequest) throws ApiException { okhttp3.Call localVarCall = createTimeServicesValidateBeforeCall(precisionTimeServiceRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** * Create Time Service (asynchronously) - * The API provides capability to create timing service + * The API provides capability to create Precision Time service * @param precisionTimeServiceRequest (required) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -208,7 +208,7 @@ public ApiResponse createTimeServicesWithHtt * @http.response.details - + @@ -216,10 +216,10 @@ public ApiResponse createTimeServicesWithHtt
Status Code Description Response Headers
202 Successful operation -
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
500 Internal server error -
*/ - public okhttp3.Call createTimeServicesAsync(PrecisionTimeServiceRequest precisionTimeServiceRequest, final ApiCallback _callback) throws ApiException { + public okhttp3.Call createTimeServicesAsync(PrecisionTimeServiceRequest precisionTimeServiceRequest, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = createTimeServicesValidateBeforeCall(precisionTimeServiceRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -232,9 +232,10 @@ public okhttp3.Call createTimeServicesAsync(PrecisionTimeServiceRequest precisio * @http.response.details - + +
Status Code Description Response Headers
202 Successful operation -
202 Successful Delete -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
@@ -296,51 +297,53 @@ private okhttp3.Call deleteTimeServiceByIdValidateBeforeCall(UUID serviceId, fin } /** - * Delete time service - * Delete EPT service by it's uuid + * Delete by ID. + * The API provides capability to delete Precision Time Service by service id. * @param serviceId Service UUID (required) - * @return PrecisionTimeServiceCreateResponse + * @return PrecisionTimeServiceResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - + +
Status Code Description Response Headers
202 Successful operation -
202 Successful Delete -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
*/ - public PrecisionTimeServiceCreateResponse deleteTimeServiceById(UUID serviceId) throws ApiException { - ApiResponse localVarResp = deleteTimeServiceByIdWithHttpInfo(serviceId); + public PrecisionTimeServiceResponse deleteTimeServiceById(UUID serviceId) throws ApiException { + ApiResponse localVarResp = deleteTimeServiceByIdWithHttpInfo(serviceId); return localVarResp.getData(); } /** - * Delete time service - * Delete EPT service by it's uuid + * Delete by ID. + * The API provides capability to delete Precision Time Service by service id. * @param serviceId Service UUID (required) - * @return ApiResponse<PrecisionTimeServiceCreateResponse> + * @return ApiResponse<PrecisionTimeServiceResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - + +
Status Code Description Response Headers
202 Successful operation -
202 Successful Delete -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
*/ - public ApiResponse deleteTimeServiceByIdWithHttpInfo(UUID serviceId) throws ApiException { + public ApiResponse deleteTimeServiceByIdWithHttpInfo(UUID serviceId) throws ApiException { okhttp3.Call localVarCall = deleteTimeServiceByIdValidateBeforeCall(serviceId, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Delete time service (asynchronously) - * Delete EPT service by it's uuid + * Delete by ID. (asynchronously) + * The API provides capability to delete Precision Time Service by service id. * @param serviceId Service UUID (required) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -348,17 +351,175 @@ public ApiResponse deleteTimeServiceByIdWith * @http.response.details - + +
Status Code Description Response Headers
202 Successful operation -
202 Successful Delete -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
*/ - public okhttp3.Call deleteTimeServiceByIdAsync(UUID serviceId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteTimeServiceByIdAsync(UUID serviceId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteTimeServiceByIdValidateBeforeCall(serviceId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for fulfillTimeServices + * @param serviceId Service UUID (required) + * @param precisionTimeServiceRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call fulfillTimeServicesCall(UUID serviceId, PrecisionTimeServiceRequest precisionTimeServiceRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = precisionTimeServiceRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/timeServices/{serviceId}" + .replace("{" + "serviceId" + "}", localVarApiClient.escapeString(serviceId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call fulfillTimeServicesValidateBeforeCall(UUID serviceId, PrecisionTimeServiceRequest precisionTimeServiceRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'serviceId' is set + if (serviceId == null) { + throw new ApiException("Missing the required parameter 'serviceId' when calling fulfillTimeServices(Async)"); + } + + // verify the required parameter 'precisionTimeServiceRequest' is set + if (precisionTimeServiceRequest == null) { + throw new ApiException("Missing the required parameter 'precisionTimeServiceRequest' when calling fulfillTimeServices(Async)"); + } + + return fulfillTimeServicesCall(serviceId, precisionTimeServiceRequest, _callback); + + } + + /** + * Configure Service. + * The API provides capability to Configure/Fulfill the Precision Time Service. + * @param serviceId Service UUID (required) + * @param precisionTimeServiceRequest (required) + * @return PrecisionTimeServiceResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public PrecisionTimeServiceResponse fulfillTimeServices(UUID serviceId, PrecisionTimeServiceRequest precisionTimeServiceRequest) throws ApiException { + ApiResponse localVarResp = fulfillTimeServicesWithHttpInfo(serviceId, precisionTimeServiceRequest); + return localVarResp.getData(); + } + + /** + * Configure Service. + * The API provides capability to Configure/Fulfill the Precision Time Service. + * @param serviceId Service UUID (required) + * @param precisionTimeServiceRequest (required) + * @return ApiResponse<PrecisionTimeServiceResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public ApiResponse fulfillTimeServicesWithHttpInfo(UUID serviceId, PrecisionTimeServiceRequest precisionTimeServiceRequest) throws ApiException { + okhttp3.Call localVarCall = fulfillTimeServicesValidateBeforeCall(serviceId, precisionTimeServiceRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Configure Service. (asynchronously) + * The API provides capability to Configure/Fulfill the Precision Time Service. + * @param serviceId Service UUID (required) + * @param precisionTimeServiceRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call fulfillTimeServicesAsync(UUID serviceId, PrecisionTimeServiceRequest precisionTimeServiceRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = fulfillTimeServicesValidateBeforeCall(serviceId, precisionTimeServiceRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -375,6 +536,7 @@ public okhttp3.Call deleteTimeServiceByIdAsync(UUID serviceId, final ApiCallback 400 Bad request - 401 Unauthorized - 403 Forbidden - + 404 Not Found - 415 Unsupported Media Type - 500 Internal server error - @@ -436,10 +598,10 @@ private okhttp3.Call getTimeServicesByIdValidateBeforeCall(UUID serviceId, final } /** - * Get Time Service - * The API provides capability to get precision timing service's details + * Get Service By ID. + * The API provides capability to get Precision Time Service details * @param serviceId Service UUID (required) - * @return PrecisionTimeServiceCreateResponse + * @return PrecisionTimeServiceResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -448,20 +610,21 @@ private okhttp3.Call getTimeServicesByIdValidateBeforeCall(UUID serviceId, final +
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
*/ - public PrecisionTimeServiceCreateResponse getTimeServicesById(UUID serviceId) throws ApiException { - ApiResponse localVarResp = getTimeServicesByIdWithHttpInfo(serviceId); + public PrecisionTimeServiceResponse getTimeServicesById(UUID serviceId) throws ApiException { + ApiResponse localVarResp = getTimeServicesByIdWithHttpInfo(serviceId); return localVarResp.getData(); } /** - * Get Time Service - * The API provides capability to get precision timing service's details + * Get Service By ID. + * The API provides capability to get Precision Time Service details * @param serviceId Service UUID (required) - * @return ApiResponse<PrecisionTimeServiceCreateResponse> + * @return ApiResponse<PrecisionTimeServiceResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -470,19 +633,20 @@ public PrecisionTimeServiceCreateResponse getTimeServicesById(UUID serviceId) th +
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
*/ - public ApiResponse getTimeServicesByIdWithHttpInfo(UUID serviceId) throws ApiException { + public ApiResponse getTimeServicesByIdWithHttpInfo(UUID serviceId) throws ApiException { okhttp3.Call localVarCall = getTimeServicesByIdValidateBeforeCall(serviceId, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get Time Service (asynchronously) - * The API provides capability to get precision timing service's details + * Get Service By ID. (asynchronously) + * The API provides capability to get Precision Time Service details * @param serviceId Service UUID (required) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -494,14 +658,15 @@ public ApiResponse getTimeServicesByIdWithHt 400 Bad request - 401 Unauthorized - 403 Forbidden - + 404 Not Found - 415 Unsupported Media Type - 500 Internal server error - */ - public okhttp3.Call getTimeServicesByIdAsync(UUID serviceId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getTimeServicesByIdAsync(UUID serviceId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getTimeServicesByIdValidateBeforeCall(serviceId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -1049,10 +1214,11 @@ public okhttp3.Call searchTimeServicesAsync(TimeServicesSearchRequest timeServic * @http.response.details - + +
Status Code Description Response Headers
202 Successful operation -
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
@@ -1120,55 +1286,57 @@ private okhttp3.Call updateTimeServicesByIdValidateBeforeCall(UUID serviceId, Li } /** - * Patch time service - * The API provides capability to update timing service + * Update By ID. + * The API provides capability to update Precision Time Service by service id. * @param serviceId Service UUID (required) * @param precisionTimeChangeOperation (required) - * @return PrecisionTimeServiceCreateResponse + * @return PrecisionTimeServiceResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - + +
Status Code Description Response Headers
202 Successful operation -
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
*/ - public PrecisionTimeServiceCreateResponse updateTimeServicesById(UUID serviceId, List precisionTimeChangeOperation) throws ApiException { - ApiResponse localVarResp = updateTimeServicesByIdWithHttpInfo(serviceId, precisionTimeChangeOperation); + public PrecisionTimeServiceResponse updateTimeServicesById(UUID serviceId, List precisionTimeChangeOperation) throws ApiException { + ApiResponse localVarResp = updateTimeServicesByIdWithHttpInfo(serviceId, precisionTimeChangeOperation); return localVarResp.getData(); } /** - * Patch time service - * The API provides capability to update timing service + * Update By ID. + * The API provides capability to update Precision Time Service by service id. * @param serviceId Service UUID (required) * @param precisionTimeChangeOperation (required) - * @return ApiResponse<PrecisionTimeServiceCreateResponse> + * @return ApiResponse<PrecisionTimeServiceResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - + +
Status Code Description Response Headers
202 Successful operation -
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
*/ - public ApiResponse updateTimeServicesByIdWithHttpInfo(UUID serviceId, List precisionTimeChangeOperation) throws ApiException { + public ApiResponse updateTimeServicesByIdWithHttpInfo(UUID serviceId, List precisionTimeChangeOperation) throws ApiException { okhttp3.Call localVarCall = updateTimeServicesByIdValidateBeforeCall(serviceId, precisionTimeChangeOperation, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Patch time service (asynchronously) - * The API provides capability to update timing service + * Update By ID. (asynchronously) + * The API provides capability to update Precision Time Service by service id. * @param serviceId Service UUID (required) * @param precisionTimeChangeOperation (required) * @param _callback The callback to be executed when the API call finishes @@ -1177,18 +1345,19 @@ public ApiResponse updateTimeServicesByIdWit * @http.response.details - + +
Status Code Description Response Headers
202 Successful operation -
202 Successful Accepted operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
*/ - public okhttp3.Call updateTimeServicesByIdAsync(UUID serviceId, List precisionTimeChangeOperation, final ApiCallback _callback) throws ApiException { + public okhttp3.Call updateTimeServicesByIdAsync(UUID serviceId, List precisionTimeChangeOperation, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = updateTimeServicesByIdValidateBeforeCall(serviceId, precisionTimeChangeOperation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PricesApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PricesApi.java index 5108d154..b5b9f821 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PricesApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/PricesApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RouteFilterRulesApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RouteFilterRulesApi.java index fc9c5949..4e3ba829 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RouteFilterRulesApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RouteFilterRulesApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RouteFiltersApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RouteFiltersApi.java index 403330e9..81ac3964 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RouteFiltersApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RouteFiltersApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RoutingProtocolsApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RoutingProtocolsApi.java index c74013e1..f1e5ddef 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RoutingProtocolsApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/RoutingProtocolsApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ServiceProfilesApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ServiceProfilesApi.java index 696061ef..0f68f8e0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ServiceProfilesApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ServiceProfilesApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ServiceTokensApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ServiceTokensApi.java index 298f8e47..97219305 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ServiceTokensApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/ServiceTokensApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -371,9 +371,10 @@ public okhttp3.Call createServiceTokenActionAsync(UUID serviceTokenId, ServiceTo * @http.response.details - + - + +
Status Code Description Response Headers
204 Deleted Service Token Successfully -
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
500 Internal server error -
*/ public okhttp3.Call deleteServiceTokenByUuidCall(UUID serviceTokenId, final ApiCallback _callback) throws ApiException { @@ -436,36 +437,41 @@ private okhttp3.Call deleteServiceTokenByUuidValidateBeforeCall(UUID serviceToke * Delete Token by uuid * Delete Service Tokens removes an Equinix Fabric service token corresponding to the specified uuid which are in INACTIVE state. * @param serviceTokenId Service Token UUID (required) + * @return ServiceToken * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - + - + +
Status Code Description Response Headers
204 Deleted Service Token Successfully -
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
500 Internal server error -
*/ - public void deleteServiceTokenByUuid(UUID serviceTokenId) throws ApiException { - deleteServiceTokenByUuidWithHttpInfo(serviceTokenId); + public ServiceToken deleteServiceTokenByUuid(UUID serviceTokenId) throws ApiException { + ApiResponse localVarResp = deleteServiceTokenByUuidWithHttpInfo(serviceTokenId); + return localVarResp.getData(); } /** * Delete Token by uuid * Delete Service Tokens removes an Equinix Fabric service token corresponding to the specified uuid which are in INACTIVE state. * @param serviceTokenId Service Token UUID (required) - * @return ApiResponse<Void> + * @return ApiResponse<ServiceToken> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - + - + +
Status Code Description Response Headers
204 Deleted Service Token Successfully -
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
500 Internal server error -
*/ - public ApiResponse deleteServiceTokenByUuidWithHttpInfo(UUID serviceTokenId) throws ApiException { + public ApiResponse deleteServiceTokenByUuidWithHttpInfo(UUID serviceTokenId) throws ApiException { okhttp3.Call localVarCall = deleteServiceTokenByUuidValidateBeforeCall(serviceTokenId, null); - return localVarApiClient.execute(localVarCall); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); } /** @@ -478,15 +484,17 @@ public ApiResponse deleteServiceTokenByUuidWithHttpInfo(UUID serviceTokenI * @http.response.details - + - + +
Status Code Description Response Headers
204 Deleted Service Token Successfully -
200 Successful operation -
400 Bad request -
401 Unauthorized -
403 Forbidden -
500 Internal server error -
*/ - public okhttp3.Call deleteServiceTokenByUuidAsync(UUID serviceTokenId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteServiceTokenByUuidAsync(UUID serviceTokenId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = deleteServiceTokenByUuidValidateBeforeCall(serviceTokenId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** @@ -760,6 +768,8 @@ public okhttp3.Call getServiceTokensAsync(BigDecimal offset, BigDecimal limit, f /** * Build call for searchServiceTokens * @param serviceTokenSearchRequest (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -773,7 +783,7 @@ public okhttp3.Call getServiceTokensAsync(BigDecimal offset, BigDecimal limit, f 500 Internal server error - */ - public okhttp3.Call searchServiceTokensCall(ServiceTokenSearchRequest serviceTokenSearchRequest, final ApiCallback _callback) throws ApiException { + public okhttp3.Call searchServiceTokensCall(ServiceTokenSearchRequest serviceTokenSearchRequest, BigDecimal offset, BigDecimal limit, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -798,6 +808,14 @@ public okhttp3.Call searchServiceTokensCall(ServiceTokenSearchRequest serviceTok Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (offset != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("offset", offset)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + final String[] localVarAccepts = { "application/json" }; @@ -819,13 +837,13 @@ public okhttp3.Call searchServiceTokensCall(ServiceTokenSearchRequest serviceTok } @SuppressWarnings("rawtypes") - private okhttp3.Call searchServiceTokensValidateBeforeCall(ServiceTokenSearchRequest serviceTokenSearchRequest, final ApiCallback _callback) throws ApiException { + private okhttp3.Call searchServiceTokensValidateBeforeCall(ServiceTokenSearchRequest serviceTokenSearchRequest, BigDecimal offset, BigDecimal limit, final ApiCallback _callback) throws ApiException { // verify the required parameter 'serviceTokenSearchRequest' is set if (serviceTokenSearchRequest == null) { throw new ApiException("Missing the required parameter 'serviceTokenSearchRequest' when calling searchServiceTokens(Async)"); } - return searchServiceTokensCall(serviceTokenSearchRequest, _callback); + return searchServiceTokensCall(serviceTokenSearchRequest, offset, limit, _callback); } @@ -833,6 +851,8 @@ private okhttp3.Call searchServiceTokensValidateBeforeCall(ServiceTokenSearchReq * Search servicetokens * The API provides capability to get list of user's servicetokens using search criteria, including optional filtering, pagination and sorting * @param serviceTokenSearchRequest (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) * @return ServiceTokens * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -845,8 +865,8 @@ private okhttp3.Call searchServiceTokensValidateBeforeCall(ServiceTokenSearchReq 500 Internal server error - */ - public ServiceTokens searchServiceTokens(ServiceTokenSearchRequest serviceTokenSearchRequest) throws ApiException { - ApiResponse localVarResp = searchServiceTokensWithHttpInfo(serviceTokenSearchRequest); + public ServiceTokens searchServiceTokens(ServiceTokenSearchRequest serviceTokenSearchRequest, BigDecimal offset, BigDecimal limit) throws ApiException { + ApiResponse localVarResp = searchServiceTokensWithHttpInfo(serviceTokenSearchRequest, offset, limit); return localVarResp.getData(); } @@ -854,6 +874,8 @@ public ServiceTokens searchServiceTokens(ServiceTokenSearchRequest serviceTokenS * Search servicetokens * The API provides capability to get list of user's servicetokens using search criteria, including optional filtering, pagination and sorting * @param serviceTokenSearchRequest (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) * @return ApiResponse<ServiceTokens> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -866,8 +888,8 @@ public ServiceTokens searchServiceTokens(ServiceTokenSearchRequest serviceTokenS 500 Internal server error - */ - public ApiResponse searchServiceTokensWithHttpInfo(ServiceTokenSearchRequest serviceTokenSearchRequest) throws ApiException { - okhttp3.Call localVarCall = searchServiceTokensValidateBeforeCall(serviceTokenSearchRequest, null); + public ApiResponse searchServiceTokensWithHttpInfo(ServiceTokenSearchRequest serviceTokenSearchRequest, BigDecimal offset, BigDecimal limit) throws ApiException { + okhttp3.Call localVarCall = searchServiceTokensValidateBeforeCall(serviceTokenSearchRequest, offset, limit, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -876,6 +898,8 @@ public ApiResponse searchServiceTokensWithHttpInfo(ServiceTokenSe * Search servicetokens (asynchronously) * The API provides capability to get list of user's servicetokens using search criteria, including optional filtering, pagination and sorting * @param serviceTokenSearchRequest (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -889,9 +913,9 @@ public ApiResponse searchServiceTokensWithHttpInfo(ServiceTokenSe 500 Internal server error - */ - public okhttp3.Call searchServiceTokensAsync(ServiceTokenSearchRequest serviceTokenSearchRequest, final ApiCallback _callback) throws ApiException { + public okhttp3.Call searchServiceTokensAsync(ServiceTokenSearchRequest serviceTokenSearchRequest, BigDecimal offset, BigDecimal limit, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = searchServiceTokensValidateBeforeCall(serviceTokenSearchRequest, _callback); + okhttp3.Call localVarCall = searchServiceTokensValidateBeforeCall(serviceTokenSearchRequest, offset, limit, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -909,6 +933,7 @@ public okhttp3.Call searchServiceTokensAsync(ServiceTokenSearchRequest serviceTo 200 Successful operation - 400 Bad request - 403 Forbidden - + 500 Internal server error - */ public okhttp3.Call updateServiceTokenByUuidCall(UUID serviceTokenId, List serviceTokenChangeOperation, final ApiCallback _callback) throws ApiException { @@ -986,6 +1011,7 @@ private okhttp3.Call updateServiceTokenByUuidValidateBeforeCall(UUID serviceToke 200 Successful operation - 400 Bad request - 403 Forbidden - + 500 Internal server error - */ public ServiceToken updateServiceTokenByUuid(UUID serviceTokenId, List serviceTokenChangeOperation) throws ApiException { @@ -1006,6 +1032,7 @@ public ServiceToken updateServiceTokenByUuid(UUID serviceTokenId, List 200 Successful operation - 400 Bad request - 403 Forbidden - + 500 Internal server error - */ public ApiResponse updateServiceTokenByUuidWithHttpInfo(UUID serviceTokenId, List serviceTokenChangeOperation) throws ApiException { @@ -1028,6 +1055,7 @@ public ApiResponse updateServiceTokenByUuidWithHttpInfo(UUID servi 200 Successful operation - 400 Bad request - 403 Forbidden - + 500 Internal server error - */ public okhttp3.Call updateServiceTokenByUuidAsync(UUID serviceTokenId, List serviceTokenChangeOperation, final ApiCallback _callback) throws ApiException { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StatisticsApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StatisticsApi.java index 346d3918..877654ad 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StatisticsApi.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StatisticsApi.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StreamSubscriptionsApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StreamSubscriptionsApi.java new file mode 100644 index 00000000..4705cd1d --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StreamSubscriptionsApi.java @@ -0,0 +1,810 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.api; + +import com.equinix.openapi.fabric.ApiCallback; +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.ApiResponse; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.Pair; +import com.equinix.openapi.fabric.ProgressRequestBody; +import com.equinix.openapi.fabric.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.equinix.openapi.fabric.v4.model.Error; +import com.equinix.openapi.fabric.v4.model.GetAllStreamSubscriptionResponse; +import com.equinix.openapi.fabric.v4.model.StreamSubscription; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionPostRequest; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionPutRequest; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class StreamSubscriptionsApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public StreamSubscriptionsApi() { + this(Configuration.getDefaultApiClient()); + } + + public StreamSubscriptionsApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createStreamSubscriptions + * @param streamSubscriptionPostRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call createStreamSubscriptionsCall(StreamSubscriptionPostRequest streamSubscriptionPostRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = streamSubscriptionPostRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/streamSubscriptions"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createStreamSubscriptionsValidateBeforeCall(StreamSubscriptionPostRequest streamSubscriptionPostRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamSubscriptionPostRequest' is set + if (streamSubscriptionPostRequest == null) { + throw new ApiException("Missing the required parameter 'streamSubscriptionPostRequest' when calling createStreamSubscriptions(Async)"); + } + + return createStreamSubscriptionsCall(streamSubscriptionPostRequest, _callback); + + } + + /** + * Create Subscription + * This API provides capability to create user's Stream Subscriptions + * @param streamSubscriptionPostRequest (required) + * @return StreamSubscription + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public StreamSubscription createStreamSubscriptions(StreamSubscriptionPostRequest streamSubscriptionPostRequest) throws ApiException { + ApiResponse localVarResp = createStreamSubscriptionsWithHttpInfo(streamSubscriptionPostRequest); + return localVarResp.getData(); + } + + /** + * Create Subscription + * This API provides capability to create user's Stream Subscriptions + * @param streamSubscriptionPostRequest (required) + * @return ApiResponse<StreamSubscription> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public ApiResponse createStreamSubscriptionsWithHttpInfo(StreamSubscriptionPostRequest streamSubscriptionPostRequest) throws ApiException { + okhttp3.Call localVarCall = createStreamSubscriptionsValidateBeforeCall(streamSubscriptionPostRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create Subscription (asynchronously) + * This API provides capability to create user's Stream Subscriptions + * @param streamSubscriptionPostRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call createStreamSubscriptionsAsync(StreamSubscriptionPostRequest streamSubscriptionPostRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createStreamSubscriptionsValidateBeforeCall(streamSubscriptionPostRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteStreamSubscriptionByUuid + * @param streamSubscriptionId Stream Subscription UUID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call deleteStreamSubscriptionByUuidCall(UUID streamSubscriptionId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/streamSubscriptions/{streamSubscriptionId}" + .replace("{" + "streamSubscriptionId" + "}", localVarApiClient.escapeString(streamSubscriptionId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteStreamSubscriptionByUuidValidateBeforeCall(UUID streamSubscriptionId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamSubscriptionId' is set + if (streamSubscriptionId == null) { + throw new ApiException("Missing the required parameter 'streamSubscriptionId' when calling deleteStreamSubscriptionByUuid(Async)"); + } + + return deleteStreamSubscriptionByUuidCall(streamSubscriptionId, _callback); + + } + + /** + * Delete Subscription + * This API provides capability to delete user's Stream Subscriptions + * @param streamSubscriptionId Stream Subscription UUID (required) + * @return StreamSubscription + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public StreamSubscription deleteStreamSubscriptionByUuid(UUID streamSubscriptionId) throws ApiException { + ApiResponse localVarResp = deleteStreamSubscriptionByUuidWithHttpInfo(streamSubscriptionId); + return localVarResp.getData(); + } + + /** + * Delete Subscription + * This API provides capability to delete user's Stream Subscriptions + * @param streamSubscriptionId Stream Subscription UUID (required) + * @return ApiResponse<StreamSubscription> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse deleteStreamSubscriptionByUuidWithHttpInfo(UUID streamSubscriptionId) throws ApiException { + okhttp3.Call localVarCall = deleteStreamSubscriptionByUuidValidateBeforeCall(streamSubscriptionId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Delete Subscription (asynchronously) + * This API provides capability to delete user's Stream Subscriptions + * @param streamSubscriptionId Stream Subscription UUID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call deleteStreamSubscriptionByUuidAsync(UUID streamSubscriptionId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteStreamSubscriptionByUuidValidateBeforeCall(streamSubscriptionId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getStreamSubscriptionByUuid + * @param streamSubscriptionId Stream Subscription UUID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamSubscriptionByUuidCall(UUID streamSubscriptionId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/streamSubscriptions/{streamSubscriptionId}" + .replace("{" + "streamSubscriptionId" + "}", localVarApiClient.escapeString(streamSubscriptionId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getStreamSubscriptionByUuidValidateBeforeCall(UUID streamSubscriptionId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamSubscriptionId' is set + if (streamSubscriptionId == null) { + throw new ApiException("Missing the required parameter 'streamSubscriptionId' when calling getStreamSubscriptionByUuid(Async)"); + } + + return getStreamSubscriptionByUuidCall(streamSubscriptionId, _callback); + + } + + /** + * Get Subscription + * This API provides capability to delete user's get Stream Subscriptions + * @param streamSubscriptionId Stream Subscription UUID (required) + * @return StreamSubscription + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public StreamSubscription getStreamSubscriptionByUuid(UUID streamSubscriptionId) throws ApiException { + ApiResponse localVarResp = getStreamSubscriptionByUuidWithHttpInfo(streamSubscriptionId); + return localVarResp.getData(); + } + + /** + * Get Subscription + * This API provides capability to delete user's get Stream Subscriptions + * @param streamSubscriptionId Stream Subscription UUID (required) + * @return ApiResponse<StreamSubscription> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse getStreamSubscriptionByUuidWithHttpInfo(UUID streamSubscriptionId) throws ApiException { + okhttp3.Call localVarCall = getStreamSubscriptionByUuidValidateBeforeCall(streamSubscriptionId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Subscription (asynchronously) + * This API provides capability to delete user's get Stream Subscriptions + * @param streamSubscriptionId Stream Subscription UUID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamSubscriptionByUuidAsync(UUID streamSubscriptionId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getStreamSubscriptionByUuidValidateBeforeCall(streamSubscriptionId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getStreamSubscriptions + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamSubscriptionsCall(Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/streamSubscriptions"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (offset != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("offset", offset)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getStreamSubscriptionsValidateBeforeCall(Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + return getStreamSubscriptionsCall(offset, limit, _callback); + + } + + /** + * Get Subscriptions + * This API provides capability to retrieve stream subscriptions + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @return GetAllStreamSubscriptionResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public GetAllStreamSubscriptionResponse getStreamSubscriptions(Integer offset, Integer limit) throws ApiException { + ApiResponse localVarResp = getStreamSubscriptionsWithHttpInfo(offset, limit); + return localVarResp.getData(); + } + + /** + * Get Subscriptions + * This API provides capability to retrieve stream subscriptions + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @return ApiResponse<GetAllStreamSubscriptionResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse getStreamSubscriptionsWithHttpInfo(Integer offset, Integer limit) throws ApiException { + okhttp3.Call localVarCall = getStreamSubscriptionsValidateBeforeCall(offset, limit, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Subscriptions (asynchronously) + * This API provides capability to retrieve stream subscriptions + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamSubscriptionsAsync(Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getStreamSubscriptionsValidateBeforeCall(offset, limit, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateStreamSubscriptionByUuid + * @param streamSubscriptionId Stream Subscription UUID (required) + * @param streamSubscriptionPutRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call updateStreamSubscriptionByUuidCall(UUID streamSubscriptionId, StreamSubscriptionPutRequest streamSubscriptionPutRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = streamSubscriptionPutRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/streamSubscriptions/{streamSubscriptionId}" + .replace("{" + "streamSubscriptionId" + "}", localVarApiClient.escapeString(streamSubscriptionId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateStreamSubscriptionByUuidValidateBeforeCall(UUID streamSubscriptionId, StreamSubscriptionPutRequest streamSubscriptionPutRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamSubscriptionId' is set + if (streamSubscriptionId == null) { + throw new ApiException("Missing the required parameter 'streamSubscriptionId' when calling updateStreamSubscriptionByUuid(Async)"); + } + + // verify the required parameter 'streamSubscriptionPutRequest' is set + if (streamSubscriptionPutRequest == null) { + throw new ApiException("Missing the required parameter 'streamSubscriptionPutRequest' when calling updateStreamSubscriptionByUuid(Async)"); + } + + return updateStreamSubscriptionByUuidCall(streamSubscriptionId, streamSubscriptionPutRequest, _callback); + + } + + /** + * Update Subscription + * This API provides capability to update user's Stream Subscriptions + * @param streamSubscriptionId Stream Subscription UUID (required) + * @param streamSubscriptionPutRequest (required) + * @return StreamSubscription + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public StreamSubscription updateStreamSubscriptionByUuid(UUID streamSubscriptionId, StreamSubscriptionPutRequest streamSubscriptionPutRequest) throws ApiException { + ApiResponse localVarResp = updateStreamSubscriptionByUuidWithHttpInfo(streamSubscriptionId, streamSubscriptionPutRequest); + return localVarResp.getData(); + } + + /** + * Update Subscription + * This API provides capability to update user's Stream Subscriptions + * @param streamSubscriptionId Stream Subscription UUID (required) + * @param streamSubscriptionPutRequest (required) + * @return ApiResponse<StreamSubscription> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public ApiResponse updateStreamSubscriptionByUuidWithHttpInfo(UUID streamSubscriptionId, StreamSubscriptionPutRequest streamSubscriptionPutRequest) throws ApiException { + okhttp3.Call localVarCall = updateStreamSubscriptionByUuidValidateBeforeCall(streamSubscriptionId, streamSubscriptionPutRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update Subscription (asynchronously) + * This API provides capability to update user's Stream Subscriptions + * @param streamSubscriptionId Stream Subscription UUID (required) + * @param streamSubscriptionPutRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream Subscription object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call updateStreamSubscriptionByUuidAsync(UUID streamSubscriptionId, StreamSubscriptionPutRequest streamSubscriptionPutRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateStreamSubscriptionByUuidValidateBeforeCall(streamSubscriptionId, streamSubscriptionPutRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StreamsApi.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StreamsApi.java new file mode 100644 index 00000000..0db7761d --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/api/StreamsApi.java @@ -0,0 +1,1629 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.api; + +import com.equinix.openapi.fabric.ApiCallback; +import com.equinix.openapi.fabric.ApiClient; +import com.equinix.openapi.fabric.ApiException; +import com.equinix.openapi.fabric.ApiResponse; +import com.equinix.openapi.fabric.Configuration; +import com.equinix.openapi.fabric.Pair; +import com.equinix.openapi.fabric.ProgressRequestBody; +import com.equinix.openapi.fabric.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.equinix.openapi.fabric.v4.model.Asset; +import com.equinix.openapi.fabric.v4.model.Error; +import com.equinix.openapi.fabric.v4.model.GetAllStreamAssetResponse; +import com.equinix.openapi.fabric.v4.model.GetAllStreamResponse; +import com.equinix.openapi.fabric.v4.model.GetSubscriptionsInStreamResponse; +import com.equinix.openapi.fabric.v4.model.Stream; +import com.equinix.openapi.fabric.v4.model.StreamAsset; +import com.equinix.openapi.fabric.v4.model.StreamAssetPutRequest; +import com.equinix.openapi.fabric.v4.model.StreamAssetSearchRequest; +import com.equinix.openapi.fabric.v4.model.StreamPostRequest; +import com.equinix.openapi.fabric.v4.model.StreamPutRequest; +import java.util.UUID; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.ws.rs.core.GenericType; + +public class StreamsApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public StreamsApi() { + this(Configuration.getDefaultApiClient()); + } + + public StreamsApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for createStreams + * @param streamPostRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call createStreamsCall(StreamPostRequest streamPostRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = streamPostRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/streams"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call createStreamsValidateBeforeCall(StreamPostRequest streamPostRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamPostRequest' is set + if (streamPostRequest == null) { + throw new ApiException("Missing the required parameter 'streamPostRequest' when calling createStreams(Async)"); + } + + return createStreamsCall(streamPostRequest, _callback); + + } + + /** + * Create Stream + * This API provides capability to create user's stream + * @param streamPostRequest (required) + * @return Stream + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public Stream createStreams(StreamPostRequest streamPostRequest) throws ApiException { + ApiResponse localVarResp = createStreamsWithHttpInfo(streamPostRequest); + return localVarResp.getData(); + } + + /** + * Create Stream + * This API provides capability to create user's stream + * @param streamPostRequest (required) + * @return ApiResponse<Stream> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public ApiResponse createStreamsWithHttpInfo(StreamPostRequest streamPostRequest) throws ApiException { + okhttp3.Call localVarCall = createStreamsValidateBeforeCall(streamPostRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Create Stream (asynchronously) + * This API provides capability to create user's stream + * @param streamPostRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call createStreamsAsync(StreamPostRequest streamPostRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = createStreamsValidateBeforeCall(streamPostRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteStreamAssetByUuid + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call deleteStreamAssetByUuidCall(UUID assetId, Asset asset, UUID streamId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/streams/{streamId}/{asset}/{assetId}" + .replace("{" + "assetId" + "}", localVarApiClient.escapeString(assetId.toString())) + .replace("{" + "asset" + "}", localVarApiClient.escapeString(asset.toString())) + .replace("{" + "streamId" + "}", localVarApiClient.escapeString(streamId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteStreamAssetByUuidValidateBeforeCall(UUID assetId, Asset asset, UUID streamId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'assetId' is set + if (assetId == null) { + throw new ApiException("Missing the required parameter 'assetId' when calling deleteStreamAssetByUuid(Async)"); + } + + // verify the required parameter 'asset' is set + if (asset == null) { + throw new ApiException("Missing the required parameter 'asset' when calling deleteStreamAssetByUuid(Async)"); + } + + // verify the required parameter 'streamId' is set + if (streamId == null) { + throw new ApiException("Missing the required parameter 'streamId' when calling deleteStreamAssetByUuid(Async)"); + } + + return deleteStreamAssetByUuidCall(assetId, asset, streamId, _callback); + + } + + /** + * Detach Asset + * This API provides capability to detach an asset from a stream + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @return StreamAsset + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public StreamAsset deleteStreamAssetByUuid(UUID assetId, Asset asset, UUID streamId) throws ApiException { + ApiResponse localVarResp = deleteStreamAssetByUuidWithHttpInfo(assetId, asset, streamId); + return localVarResp.getData(); + } + + /** + * Detach Asset + * This API provides capability to detach an asset from a stream + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @return ApiResponse<StreamAsset> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse deleteStreamAssetByUuidWithHttpInfo(UUID assetId, Asset asset, UUID streamId) throws ApiException { + okhttp3.Call localVarCall = deleteStreamAssetByUuidValidateBeforeCall(assetId, asset, streamId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Detach Asset (asynchronously) + * This API provides capability to detach an asset from a stream + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call deleteStreamAssetByUuidAsync(UUID assetId, Asset asset, UUID streamId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteStreamAssetByUuidValidateBeforeCall(assetId, asset, streamId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for deleteStreamByUuid + * @param streamId Stream UUID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call deleteStreamByUuidCall(UUID streamId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/streams/{streamId}" + .replace("{" + "streamId" + "}", localVarApiClient.escapeString(streamId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteStreamByUuidValidateBeforeCall(UUID streamId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamId' is set + if (streamId == null) { + throw new ApiException("Missing the required parameter 'streamId' when calling deleteStreamByUuid(Async)"); + } + + return deleteStreamByUuidCall(streamId, _callback); + + } + + /** + * Delete Stream + * This API provides capability to delete user's stream + * @param streamId Stream UUID (required) + * @return Stream + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public Stream deleteStreamByUuid(UUID streamId) throws ApiException { + ApiResponse localVarResp = deleteStreamByUuidWithHttpInfo(streamId); + return localVarResp.getData(); + } + + /** + * Delete Stream + * This API provides capability to delete user's stream + * @param streamId Stream UUID (required) + * @return ApiResponse<Stream> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse deleteStreamByUuidWithHttpInfo(UUID streamId) throws ApiException { + okhttp3.Call localVarCall = deleteStreamByUuidValidateBeforeCall(streamId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Delete Stream (asynchronously) + * This API provides capability to delete user's stream + * @param streamId Stream UUID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call deleteStreamByUuidAsync(UUID streamId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteStreamByUuidValidateBeforeCall(streamId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getStreamAssetByUuid + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream asset object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamAssetByUuidCall(UUID assetId, Asset asset, UUID streamId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/streams/{streamId}/{asset}/{assetId}" + .replace("{" + "assetId" + "}", localVarApiClient.escapeString(assetId.toString())) + .replace("{" + "asset" + "}", localVarApiClient.escapeString(asset.toString())) + .replace("{" + "streamId" + "}", localVarApiClient.escapeString(streamId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getStreamAssetByUuidValidateBeforeCall(UUID assetId, Asset asset, UUID streamId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'assetId' is set + if (assetId == null) { + throw new ApiException("Missing the required parameter 'assetId' when calling getStreamAssetByUuid(Async)"); + } + + // verify the required parameter 'asset' is set + if (asset == null) { + throw new ApiException("Missing the required parameter 'asset' when calling getStreamAssetByUuid(Async)"); + } + + // verify the required parameter 'streamId' is set + if (streamId == null) { + throw new ApiException("Missing the required parameter 'streamId' when calling getStreamAssetByUuid(Async)"); + } + + return getStreamAssetByUuidCall(assetId, asset, streamId, _callback); + + } + + /** + * Get Asset + * This API provides capability to get user's assets attached to a stream + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @return StreamAsset + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream asset object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public StreamAsset getStreamAssetByUuid(UUID assetId, Asset asset, UUID streamId) throws ApiException { + ApiResponse localVarResp = getStreamAssetByUuidWithHttpInfo(assetId, asset, streamId); + return localVarResp.getData(); + } + + /** + * Get Asset + * This API provides capability to get user's assets attached to a stream + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @return ApiResponse<StreamAsset> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream asset object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse getStreamAssetByUuidWithHttpInfo(UUID assetId, Asset asset, UUID streamId) throws ApiException { + okhttp3.Call localVarCall = getStreamAssetByUuidValidateBeforeCall(assetId, asset, streamId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Asset (asynchronously) + * This API provides capability to get user's assets attached to a stream + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream asset object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamAssetByUuidAsync(UUID assetId, Asset asset, UUID streamId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getStreamAssetByUuidValidateBeforeCall(assetId, asset, streamId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getStreamByUuid + * @param streamId Stream UUID (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamByUuidCall(UUID streamId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/streams/{streamId}" + .replace("{" + "streamId" + "}", localVarApiClient.escapeString(streamId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getStreamByUuidValidateBeforeCall(UUID streamId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamId' is set + if (streamId == null) { + throw new ApiException("Missing the required parameter 'streamId' when calling getStreamByUuid(Async)"); + } + + return getStreamByUuidCall(streamId, _callback); + + } + + /** + * Get Stream + * This API provides capability to get user's stream + * @param streamId Stream UUID (required) + * @return Stream + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public Stream getStreamByUuid(UUID streamId) throws ApiException { + ApiResponse localVarResp = getStreamByUuidWithHttpInfo(streamId); + return localVarResp.getData(); + } + + /** + * Get Stream + * This API provides capability to get user's stream + * @param streamId Stream UUID (required) + * @return ApiResponse<Stream> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse getStreamByUuidWithHttpInfo(UUID streamId) throws ApiException { + okhttp3.Call localVarCall = getStreamByUuidValidateBeforeCall(streamId, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Stream (asynchronously) + * This API provides capability to get user's stream + * @param streamId Stream UUID (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + +
Status Code Description Response Headers
200 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamByUuidAsync(UUID streamId, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getStreamByUuidValidateBeforeCall(streamId, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getStreams + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamsCall(Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/streams"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (offset != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("offset", offset)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getStreamsValidateBeforeCall(Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + return getStreamsCall(offset, limit, _callback); + + } + + /** + * Get Streams + * This API provides capability to retrieve streams + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @return GetAllStreamResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public GetAllStreamResponse getStreams(Integer offset, Integer limit) throws ApiException { + ApiResponse localVarResp = getStreamsWithHttpInfo(offset, limit); + return localVarResp.getData(); + } + + /** + * Get Streams + * This API provides capability to retrieve streams + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @return ApiResponse<GetAllStreamResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse getStreamsWithHttpInfo(Integer offset, Integer limit) throws ApiException { + okhttp3.Call localVarCall = getStreamsValidateBeforeCall(offset, limit, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Streams (asynchronously) + * This API provides capability to retrieve streams + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamsAsync(Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getStreamsValidateBeforeCall(offset, limit, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getStreamsAssets + * @param streamAssetSearchRequest (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamsAssetsCall(StreamAssetSearchRequest streamAssetSearchRequest, Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = streamAssetSearchRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/streamAssets/search"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (offset != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("offset", offset)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getStreamsAssetsValidateBeforeCall(StreamAssetSearchRequest streamAssetSearchRequest, Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamAssetSearchRequest' is set + if (streamAssetSearchRequest == null) { + throw new ApiException("Missing the required parameter 'streamAssetSearchRequest' when calling getStreamsAssets(Async)"); + } + + return getStreamsAssetsCall(streamAssetSearchRequest, offset, limit, _callback); + + } + + /** + * Get Assets + * This API provides capability to retrieve stream assets + * @param streamAssetSearchRequest (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @return GetAllStreamAssetResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public GetAllStreamAssetResponse getStreamsAssets(StreamAssetSearchRequest streamAssetSearchRequest, Integer offset, Integer limit) throws ApiException { + ApiResponse localVarResp = getStreamsAssetsWithHttpInfo(streamAssetSearchRequest, offset, limit); + return localVarResp.getData(); + } + + /** + * Get Assets + * This API provides capability to retrieve stream assets + * @param streamAssetSearchRequest (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @return ApiResponse<GetAllStreamAssetResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse getStreamsAssetsWithHttpInfo(StreamAssetSearchRequest streamAssetSearchRequest, Integer offset, Integer limit) throws ApiException { + okhttp3.Call localVarCall = getStreamsAssetsValidateBeforeCall(streamAssetSearchRequest, offset, limit, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Assets (asynchronously) + * This API provides capability to retrieve stream assets + * @param streamAssetSearchRequest (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getStreamsAssetsAsync(StreamAssetSearchRequest streamAssetSearchRequest, Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getStreamsAssetsValidateBeforeCall(streamAssetSearchRequest, offset, limit, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for getSubscriptionsInStream + * @param streamId Stream UUID (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getSubscriptionsInStreamCall(UUID streamId, Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/fabric/v4/streams/{streamId}/streamSubscriptions" + .replace("{" + "streamId" + "}", localVarApiClient.escapeString(streamId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (offset != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("offset", offset)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getSubscriptionsInStreamValidateBeforeCall(UUID streamId, Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamId' is set + if (streamId == null) { + throw new ApiException("Missing the required parameter 'streamId' when calling getSubscriptionsInStream(Async)"); + } + + return getSubscriptionsInStreamCall(streamId, offset, limit, _callback); + + } + + /** + * Get Stream's Subs + * This API provides capability to retrieve subscriptions in a stream + * @param streamId Stream UUID (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @return GetSubscriptionsInStreamResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public GetSubscriptionsInStreamResponse getSubscriptionsInStream(UUID streamId, Integer offset, Integer limit) throws ApiException { + ApiResponse localVarResp = getSubscriptionsInStreamWithHttpInfo(streamId, offset, limit); + return localVarResp.getData(); + } + + /** + * Get Stream's Subs + * This API provides capability to retrieve subscriptions in a stream + * @param streamId Stream UUID (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @return ApiResponse<GetSubscriptionsInStreamResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public ApiResponse getSubscriptionsInStreamWithHttpInfo(UUID streamId, Integer offset, Integer limit) throws ApiException { + okhttp3.Call localVarCall = getSubscriptionsInStreamValidateBeforeCall(streamId, offset, limit, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Stream's Subs (asynchronously) + * This API provides capability to retrieve subscriptions in a stream + * @param streamId Stream UUID (required) + * @param offset offset (optional) + * @param limit number of records to fetch (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + +
Status Code Description Response Headers
200 Successful operation -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal server error -
+ */ + public okhttp3.Call getSubscriptionsInStreamAsync(UUID streamId, Integer offset, Integer limit, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getSubscriptionsInStreamValidateBeforeCall(streamId, offset, limit, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateStreamAssetByUuid + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @param streamAssetPutRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call updateStreamAssetByUuidCall(UUID assetId, Asset asset, UUID streamId, StreamAssetPutRequest streamAssetPutRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = streamAssetPutRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/streams/{streamId}/{asset}/{assetId}" + .replace("{" + "assetId" + "}", localVarApiClient.escapeString(assetId.toString())) + .replace("{" + "asset" + "}", localVarApiClient.escapeString(asset.toString())) + .replace("{" + "streamId" + "}", localVarApiClient.escapeString(streamId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateStreamAssetByUuidValidateBeforeCall(UUID assetId, Asset asset, UUID streamId, StreamAssetPutRequest streamAssetPutRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'assetId' is set + if (assetId == null) { + throw new ApiException("Missing the required parameter 'assetId' when calling updateStreamAssetByUuid(Async)"); + } + + // verify the required parameter 'asset' is set + if (asset == null) { + throw new ApiException("Missing the required parameter 'asset' when calling updateStreamAssetByUuid(Async)"); + } + + // verify the required parameter 'streamId' is set + if (streamId == null) { + throw new ApiException("Missing the required parameter 'streamId' when calling updateStreamAssetByUuid(Async)"); + } + + // verify the required parameter 'streamAssetPutRequest' is set + if (streamAssetPutRequest == null) { + throw new ApiException("Missing the required parameter 'streamAssetPutRequest' when calling updateStreamAssetByUuid(Async)"); + } + + return updateStreamAssetByUuidCall(assetId, asset, streamId, streamAssetPutRequest, _callback); + + } + + /** + * Attach Asset + * This API provides capability to attach an asset to a stream + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @param streamAssetPutRequest (required) + * @return StreamAsset + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public StreamAsset updateStreamAssetByUuid(UUID assetId, Asset asset, UUID streamId, StreamAssetPutRequest streamAssetPutRequest) throws ApiException { + ApiResponse localVarResp = updateStreamAssetByUuidWithHttpInfo(assetId, asset, streamId, streamAssetPutRequest); + return localVarResp.getData(); + } + + /** + * Attach Asset + * This API provides capability to attach an asset to a stream + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @param streamAssetPutRequest (required) + * @return ApiResponse<StreamAsset> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public ApiResponse updateStreamAssetByUuidWithHttpInfo(UUID assetId, Asset asset, UUID streamId, StreamAssetPutRequest streamAssetPutRequest) throws ApiException { + okhttp3.Call localVarCall = updateStreamAssetByUuidValidateBeforeCall(assetId, asset, streamId, streamAssetPutRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Attach Asset (asynchronously) + * This API provides capability to attach an asset to a stream + * @param assetId asset UUID (required) + * @param asset asset (required) + * @param streamId Stream UUID (required) + * @param streamAssetPutRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call updateStreamAssetByUuidAsync(UUID assetId, Asset asset, UUID streamId, StreamAssetPutRequest streamAssetPutRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateStreamAssetByUuidValidateBeforeCall(assetId, asset, streamId, streamAssetPutRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** + * Build call for updateStreamByUuid + * @param streamId Stream UUID (required) + * @param streamPutRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call updateStreamByUuidCall(UUID streamId, StreamPutRequest streamPutRequest, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] { }; + + // Determine Base Path to Use + if (localCustomBaseUrl != null){ + basePath = localCustomBaseUrl; + } else if ( localBasePaths.length > 0 ) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = streamPutRequest; + + // create path and map variables + String localVarPath = "/fabric/v4/streams/{streamId}" + .replace("{" + "streamId" + "}", localVarApiClient.escapeString(streamId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] { "BearerAuth" }; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateStreamByUuidValidateBeforeCall(UUID streamId, StreamPutRequest streamPutRequest, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'streamId' is set + if (streamId == null) { + throw new ApiException("Missing the required parameter 'streamId' when calling updateStreamByUuid(Async)"); + } + + // verify the required parameter 'streamPutRequest' is set + if (streamPutRequest == null) { + throw new ApiException("Missing the required parameter 'streamPutRequest' when calling updateStreamByUuid(Async)"); + } + + return updateStreamByUuidCall(streamId, streamPutRequest, _callback); + + } + + /** + * Update Stream + * This API provides capability to update user's stream + * @param streamId Stream UUID (required) + * @param streamPutRequest (required) + * @return Stream + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public Stream updateStreamByUuid(UUID streamId, StreamPutRequest streamPutRequest) throws ApiException { + ApiResponse localVarResp = updateStreamByUuidWithHttpInfo(streamId, streamPutRequest); + return localVarResp.getData(); + } + + /** + * Update Stream + * This API provides capability to update user's stream + * @param streamId Stream UUID (required) + * @param streamPutRequest (required) + * @return ApiResponse<Stream> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public ApiResponse updateStreamByUuidWithHttpInfo(UUID streamId, StreamPutRequest streamPutRequest) throws ApiException { + okhttp3.Call localVarCall = updateStreamByUuidValidateBeforeCall(streamId, streamPutRequest, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update Stream (asynchronously) + * This API provides capability to update user's stream + * @param streamId Stream UUID (required) + * @param streamPutRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + + + + + + + + + +
Status Code Description Response Headers
202 Stream object -
400 Bad request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
415 Unsupported Media Type -
500 Internal server error -
+ */ + public okhttp3.Call updateStreamByUuidAsync(UUID streamId, StreamPutRequest streamPutRequest, final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateStreamByUuidValidateBeforeCall(streamId, streamPutRequest, _callback); + Type localVarReturnType = new TypeToken(){}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AbstractOpenApiSchema.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AbstractOpenApiSchema.java index 48b2830b..41830b61 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AbstractOpenApiSchema.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AbstractOpenApiSchema.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPoint.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPoint.java index 51fd53a6..3eebe724 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPoint.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPoint.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointSelector.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointSelector.java index 7cd8bf58..53f6a1f1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointSelector.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointSelector.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,8 +13,11 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.LinkProtocol; +import com.equinix.openapi.fabric.v4.model.SimplifiedLinkProtocol; import com.equinix.openapi.fabric.v4.model.SimplifiedMetadataEntity; +import com.equinix.openapi.fabric.v4.model.SimplifiedTokenNetwork; +import com.equinix.openapi.fabric.v4.model.SimplifiedVirtualDevice; +import com.equinix.openapi.fabric.v4.model.VirtualDeviceInterface; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -53,7 +56,11 @@ public class AccessPointSelector { */ @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { - COLO("COLO"); + COLO("COLO"), + + VD("VD"), + + NETWORK("NETWORK"); private String value; @@ -103,7 +110,19 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_LINK_PROTOCOL = "linkProtocol"; @SerializedName(SERIALIZED_NAME_LINK_PROTOCOL) - private LinkProtocol linkProtocol; + private SimplifiedLinkProtocol linkProtocol; + + public static final String SERIALIZED_NAME_VIRTUAL_DEVICE = "virtualDevice"; + @SerializedName(SERIALIZED_NAME_VIRTUAL_DEVICE) + private SimplifiedVirtualDevice virtualDevice; + + public static final String SERIALIZED_NAME_INTERFACE = "interface"; + @SerializedName(SERIALIZED_NAME_INTERFACE) + private VirtualDeviceInterface _interface; + + public static final String SERIALIZED_NAME_NETWORK = "network"; + @SerializedName(SERIALIZED_NAME_NETWORK) + private SimplifiedTokenNetwork network; public AccessPointSelector() { } @@ -152,7 +171,7 @@ public void setPort(SimplifiedMetadataEntity port) { } - public AccessPointSelector linkProtocol(LinkProtocol linkProtocol) { + public AccessPointSelector linkProtocol(SimplifiedLinkProtocol linkProtocol) { this.linkProtocol = linkProtocol; return this; @@ -164,15 +183,81 @@ public AccessPointSelector linkProtocol(LinkProtocol linkProtocol) { **/ @javax.annotation.Nullable - public LinkProtocol getLinkProtocol() { + public SimplifiedLinkProtocol getLinkProtocol() { return linkProtocol; } - public void setLinkProtocol(LinkProtocol linkProtocol) { + public void setLinkProtocol(SimplifiedLinkProtocol linkProtocol) { this.linkProtocol = linkProtocol; } + + public AccessPointSelector virtualDevice(SimplifiedVirtualDevice virtualDevice) { + + this.virtualDevice = virtualDevice; + return this; + } + + /** + * Get virtualDevice + * @return virtualDevice + **/ + @javax.annotation.Nullable + + public SimplifiedVirtualDevice getVirtualDevice() { + return virtualDevice; + } + + + public void setVirtualDevice(SimplifiedVirtualDevice virtualDevice) { + this.virtualDevice = virtualDevice; + } + + + public AccessPointSelector _interface(VirtualDeviceInterface _interface) { + + this._interface = _interface; + return this; + } + + /** + * Get _interface + * @return _interface + **/ + @javax.annotation.Nullable + + public VirtualDeviceInterface getInterface() { + return _interface; + } + + + public void setInterface(VirtualDeviceInterface _interface) { + this._interface = _interface; + } + + + public AccessPointSelector network(SimplifiedTokenNetwork network) { + + this.network = network; + return this; + } + + /** + * Get network + * @return network + **/ + @javax.annotation.Nullable + + public SimplifiedTokenNetwork getNetwork() { + return network; + } + + + public void setNetwork(SimplifiedTokenNetwork network) { + this.network = network; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -230,13 +315,16 @@ public boolean equals(Object o) { AccessPointSelector accessPointSelector = (AccessPointSelector) o; return Objects.equals(this.type, accessPointSelector.type) && Objects.equals(this.port, accessPointSelector.port) && - Objects.equals(this.linkProtocol, accessPointSelector.linkProtocol)&& + Objects.equals(this.linkProtocol, accessPointSelector.linkProtocol) && + Objects.equals(this.virtualDevice, accessPointSelector.virtualDevice) && + Objects.equals(this._interface, accessPointSelector._interface) && + Objects.equals(this.network, accessPointSelector.network)&& Objects.equals(this.additionalProperties, accessPointSelector.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, port, linkProtocol, additionalProperties); + return Objects.hash(type, port, linkProtocol, virtualDevice, _interface, network, additionalProperties); } @Override @@ -246,6 +334,9 @@ public String toString() { sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" port: ").append(toIndentedString(port)).append("\n"); sb.append(" linkProtocol: ").append(toIndentedString(linkProtocol)).append("\n"); + sb.append(" virtualDevice: ").append(toIndentedString(virtualDevice)).append("\n"); + sb.append(" _interface: ").append(toIndentedString(_interface)).append("\n"); + sb.append(" network: ").append(toIndentedString(network)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -272,6 +363,9 @@ private String toIndentedString(Object o) { openapiFields.add("type"); openapiFields.add("port"); openapiFields.add("linkProtocol"); + openapiFields.add("virtualDevice"); + openapiFields.add("interface"); + openapiFields.add("network"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -298,7 +392,19 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { } // validate the optional field `linkProtocol` if (jsonObj.get("linkProtocol") != null && !jsonObj.get("linkProtocol").isJsonNull()) { - LinkProtocol.validateJsonObject(jsonObj.getAsJsonObject("linkProtocol")); + SimplifiedLinkProtocol.validateJsonObject(jsonObj.getAsJsonObject("linkProtocol")); + } + // validate the optional field `virtualDevice` + if (jsonObj.get("virtualDevice") != null && !jsonObj.get("virtualDevice").isJsonNull()) { + SimplifiedVirtualDevice.validateJsonObject(jsonObj.getAsJsonObject("virtualDevice")); + } + // validate the optional field `interface` + if (jsonObj.get("interface") != null && !jsonObj.get("interface").isJsonNull()) { + VirtualDeviceInterface.validateJsonObject(jsonObj.getAsJsonObject("interface")); + } + // validate the optional field `network` + if (jsonObj.get("network") != null && !jsonObj.get("network").isJsonNull()) { + SimplifiedTokenNetwork.validateJsonObject(jsonObj.getAsJsonObject("network")); } } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointType.java index 91a84365..4abe7072 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AccessPointType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Actions.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Actions.java index 859af6fa..106db391 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Actions.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Actions.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AddOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AddOperation.java index ac5464aa..8ebcfae7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AddOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AddOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AllPhysicalPortsResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AllPhysicalPortsResponse.java index baad6f67..47462d67 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AllPhysicalPortsResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AllPhysicalPortsResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AllPortsResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AllPortsResponse.java index d03e13c7..b0f77477 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AllPortsResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AllPortsResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ApiConfig.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ApiConfig.java index ffc0eea5..b89022c6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ApiConfig.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ApiConfig.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ApiServices.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ApiServices.java index afb0b810..16dba261 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ApiServices.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ApiServices.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionAssetType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Asset.java similarity index 59% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionAssetType.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Asset.java index b1e1f066..e18a2aee 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionAssetType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Asset.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -22,18 +22,22 @@ import com.google.gson.stream.JsonWriter; /** - * Gets or Sets SubscriptionAssetType + * Gets or Sets Asset */ -@JsonAdapter(SubscriptionAssetType.Adapter.class) -public enum SubscriptionAssetType { +@JsonAdapter(Asset.Adapter.class) +public enum Asset { - XF_ROUTER("XF_ROUTER"), + PORTS("ports"), - IP_VC("IP_VC"); + CONNECTIONS("connections"), + + ROUTERS("routers"), + + METROS("metros"); private String value; - SubscriptionAssetType(String value) { + Asset(String value) { this.value = value; } @@ -46,8 +50,8 @@ public String toString() { return String.valueOf(value); } - public static SubscriptionAssetType fromValue(String value) { - for (SubscriptionAssetType b : SubscriptionAssetType.values()) { + public static Asset fromValue(String value) { + for (Asset b : Asset.values()) { if (b.value.equals(value)) { return b; } @@ -55,16 +59,16 @@ public static SubscriptionAssetType fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final SubscriptionAssetType enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final Asset enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public SubscriptionAssetType read(final JsonReader jsonReader) throws IOException { + public Asset read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return SubscriptionAssetType.fromValue(value); + return Asset.fromValue(value); } } } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AuthenticationKey.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AuthenticationKey.java index d8840c83..e58bca90 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AuthenticationKey.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AuthenticationKey.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionData.java index 11274557..8da67744 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionRequest.java index 1e6e7351..60616b6b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionStates.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionStates.java index 2a201bbf..e092e88f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionStates.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionStates.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActions.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActions.java index 8baf132d..0d171d60 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActions.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActions.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionsBulkData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionsBulkData.java index 63fff154..e50f1fcb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionsBulkData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPActionsBulkData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionIpv4.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionIpv4.java index 3e3bf6d9..04c5c5be 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionIpv4.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionIpv4.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -71,6 +71,10 @@ public class BGPConnectionIpv4 { @SerializedName(SERIALIZED_NAME_OUTBOUND_M_E_D) private Long outboundMED; + public static final String SERIALIZED_NAME_ROUTES_MAX = "routesMax"; + @SerializedName(SERIALIZED_NAME_ROUTES_MAX) + private Long routesMax; + public static final String SERIALIZED_NAME_OPERATION = "operation"; @SerializedName(SERIALIZED_NAME_OPERATION) private BGPConnectionOperation operation; @@ -173,7 +177,7 @@ public BGPConnectionIpv4 inboundMED(Long inboundMED) { } /** - * inbound Multi Exit Discriminator attribute + * Inbound Multi Exit Discriminator attribute * @return inboundMED **/ @javax.annotation.Nullable @@ -195,7 +199,7 @@ public BGPConnectionIpv4 outboundMED(Long outboundMED) { } /** - * inbound Multi Exit Discriminator attribute + * Outbound Multi Exit Discriminator attribute * @return outboundMED **/ @javax.annotation.Nullable @@ -210,6 +214,28 @@ public void setOutboundMED(Long outboundMED) { } + public BGPConnectionIpv4 routesMax(Long routesMax) { + + this.routesMax = routesMax; + return this; + } + + /** + * Maximum learnt prefixes limit + * @return routesMax + **/ + @javax.annotation.Nullable + + public Long getRoutesMax() { + return routesMax; + } + + + public void setRoutesMax(Long routesMax) { + this.routesMax = routesMax; + } + + public BGPConnectionIpv4 operation(BGPConnectionOperation operation) { this.operation = operation; @@ -292,13 +318,14 @@ public boolean equals(Object o) { Objects.equals(this.outboundASPrependCount, bgPConnectionIpv4.outboundASPrependCount) && Objects.equals(this.inboundMED, bgPConnectionIpv4.inboundMED) && Objects.equals(this.outboundMED, bgPConnectionIpv4.outboundMED) && + Objects.equals(this.routesMax, bgPConnectionIpv4.routesMax) && Objects.equals(this.operation, bgPConnectionIpv4.operation)&& Objects.equals(this.additionalProperties, bgPConnectionIpv4.additionalProperties); } @Override public int hashCode() { - return Objects.hash(customerPeerIp, equinixPeerIp, enabled, outboundASPrependCount, inboundMED, outboundMED, operation, additionalProperties); + return Objects.hash(customerPeerIp, equinixPeerIp, enabled, outboundASPrependCount, inboundMED, outboundMED, routesMax, operation, additionalProperties); } @Override @@ -311,6 +338,7 @@ public String toString() { sb.append(" outboundASPrependCount: ").append(toIndentedString(outboundASPrependCount)).append("\n"); sb.append(" inboundMED: ").append(toIndentedString(inboundMED)).append("\n"); sb.append(" outboundMED: ").append(toIndentedString(outboundMED)).append("\n"); + sb.append(" routesMax: ").append(toIndentedString(routesMax)).append("\n"); sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); @@ -341,6 +369,7 @@ private String toIndentedString(Object o) { openapiFields.add("outboundASPrependCount"); openapiFields.add("inboundMED"); openapiFields.add("outboundMED"); + openapiFields.add("routesMax"); openapiFields.add("operation"); // a set of required properties/fields (JSON key names) diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionIpv6.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionIpv6.java index 20a0d816..29c92d1f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionIpv6.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionIpv6.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -71,6 +71,10 @@ public class BGPConnectionIpv6 { @SerializedName(SERIALIZED_NAME_OUTBOUND_M_E_D) private Long outboundMED; + public static final String SERIALIZED_NAME_ROUTES_MAX = "routesMax"; + @SerializedName(SERIALIZED_NAME_ROUTES_MAX) + private Long routesMax; + public static final String SERIALIZED_NAME_OPERATION = "operation"; @SerializedName(SERIALIZED_NAME_OPERATION) private BGPConnectionOperation operation; @@ -173,7 +177,7 @@ public BGPConnectionIpv6 inboundMED(Long inboundMED) { } /** - * inbound Multi Exit Discriminator attribute + * Inbound Multi Exit Discriminator attribute * @return inboundMED **/ @javax.annotation.Nullable @@ -195,7 +199,7 @@ public BGPConnectionIpv6 outboundMED(Long outboundMED) { } /** - * inbound Multi Exit Discriminator attribute + * Outbound Multi Exit Discriminator attribute * @return outboundMED **/ @javax.annotation.Nullable @@ -210,6 +214,28 @@ public void setOutboundMED(Long outboundMED) { } + public BGPConnectionIpv6 routesMax(Long routesMax) { + + this.routesMax = routesMax; + return this; + } + + /** + * Maximum learnt prefixes limit + * @return routesMax + **/ + @javax.annotation.Nullable + + public Long getRoutesMax() { + return routesMax; + } + + + public void setRoutesMax(Long routesMax) { + this.routesMax = routesMax; + } + + public BGPConnectionIpv6 operation(BGPConnectionOperation operation) { this.operation = operation; @@ -292,13 +318,14 @@ public boolean equals(Object o) { Objects.equals(this.outboundASPrependCount, bgPConnectionIpv6.outboundASPrependCount) && Objects.equals(this.inboundMED, bgPConnectionIpv6.inboundMED) && Objects.equals(this.outboundMED, bgPConnectionIpv6.outboundMED) && + Objects.equals(this.routesMax, bgPConnectionIpv6.routesMax) && Objects.equals(this.operation, bgPConnectionIpv6.operation)&& Objects.equals(this.additionalProperties, bgPConnectionIpv6.additionalProperties); } @Override public int hashCode() { - return Objects.hash(customerPeerIp, equinixPeerIp, enabled, outboundASPrependCount, inboundMED, outboundMED, operation, additionalProperties); + return Objects.hash(customerPeerIp, equinixPeerIp, enabled, outboundASPrependCount, inboundMED, outboundMED, routesMax, operation, additionalProperties); } @Override @@ -311,6 +338,7 @@ public String toString() { sb.append(" outboundASPrependCount: ").append(toIndentedString(outboundASPrependCount)).append("\n"); sb.append(" inboundMED: ").append(toIndentedString(inboundMED)).append("\n"); sb.append(" outboundMED: ").append(toIndentedString(outboundMED)).append("\n"); + sb.append(" routesMax: ").append(toIndentedString(routesMax)).append("\n"); sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); @@ -341,6 +369,7 @@ private String toIndentedString(Object o) { openapiFields.add("outboundASPrependCount"); openapiFields.add("inboundMED"); openapiFields.add("outboundMED"); + openapiFields.add("routesMax"); openapiFields.add("operation"); // a set of required properties/fields (JSON key names) diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionOperation.java index f541540d..3f6ef330 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BGPConnectionOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BandwidthUtilization.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BandwidthUtilization.java index 1439814f..72845267 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BandwidthUtilization.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BandwidthUtilization.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPhysicalPort.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPhysicalPort.java index b1954cb0..0c593f44 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPhysicalPort.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPhysicalPort.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPort.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPort.java index 9b6e88e0..ea24d1f6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPort.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPort.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -45,7 +45,7 @@ import com.equinix.openapi.fabric.JSON; /** - * Create bulk port request + * Bulk Port specification */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class BulkPort { @@ -71,7 +71,7 @@ public BulkPort addDataItem(Port dataItem) { } /** - * Get data + * Ports that are part of BulkPort * @return data **/ @javax.annotation.Nullable diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPortRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPortRequest.java new file mode 100644 index 00000000..0082e52f --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/BulkPortRequest.java @@ -0,0 +1,300 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.PortRequest; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Create bulk port request + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class BulkPortRequest { + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); + + public BulkPortRequest() { + } + + public BulkPortRequest data(List data) { + + this.data = data; + return this; + } + + public BulkPortRequest addDataItem(PortRequest dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Get data + * @return data + **/ + @javax.annotation.Nullable + + public List getData() { + return data; + } + + + public void setData(List data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the BulkPortRequest instance itself + */ + public BulkPortRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BulkPortRequest bulkPortRequest = (BulkPortRequest) o; + return Objects.equals(this.data, bulkPortRequest.data)&& + Objects.equals(this.additionalProperties, bulkPortRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BulkPortRequest {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to BulkPortRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!BulkPortRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in BulkPortRequest is not found in the empty JSON string", BulkPortRequest.openapiRequiredFields.toString())); + } + } + if (jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `data` to be an array in the JSON string but got `%s`", jsonObj.get("data").toString())); + } + + // validate the optional field `data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + PortRequest.validateJsonObject(jsonArraydata.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!BulkPortRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'BulkPortRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(BulkPortRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, BulkPortRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public BulkPortRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + BulkPortRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of BulkPortRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of BulkPortRequest + * @throws IOException if the JSON string is invalid with respect to BulkPortRequest + */ + public static BulkPortRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, BulkPortRequest.class); + } + + /** + * Convert an instance of BulkPortRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Change.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Change.java index 8ceadb88..1fb4e8ba 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Change.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Change.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Changelog.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Changelog.java index f353a980..f3d6d8c1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Changelog.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Changelog.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouter.java index c81250e3..03f923c7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterAccessPointState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterAccessPointState.java index 4e323d81..b6a880c0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterAccessPointState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterAccessPointState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -35,7 +35,7 @@ public enum CloudRouterAccessPointState { DEPROVISIONED("DEPROVISIONED"), - LOCKED("LOCKED"), + REPROVISIONING("REPROVISIONING"), NOT_PROVISIONED("NOT_PROVISIONED"), diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionRequest.java index 41c8b289..45b3d79e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -14,6 +14,7 @@ import java.util.Objects; import java.util.Arrays; import com.equinix.openapi.fabric.v4.model.CloudRouterActionType; +import com.equinix.openapi.fabric.v4.model.RouterActionsConnection; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,10 @@ public class CloudRouterActionRequest { @SerializedName(SERIALIZED_NAME_TYPE) private CloudRouterActionType type; + public static final String SERIALIZED_NAME_CONNECTION = "connection"; + @SerializedName(SERIALIZED_NAME_CONNECTION) + private RouterActionsConnection connection; + public CloudRouterActionRequest() { } @@ -75,6 +80,28 @@ public void setType(CloudRouterActionType type) { this.type = type; } + + public CloudRouterActionRequest connection(RouterActionsConnection connection) { + + this.connection = connection; + return this; + } + + /** + * Get connection + * @return connection + **/ + @javax.annotation.Nullable + + public RouterActionsConnection getConnection() { + return connection; + } + + + public void setConnection(RouterActionsConnection connection) { + this.connection = connection; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -130,13 +157,14 @@ public boolean equals(Object o) { return false; } CloudRouterActionRequest cloudRouterActionRequest = (CloudRouterActionRequest) o; - return Objects.equals(this.type, cloudRouterActionRequest.type)&& + return Objects.equals(this.type, cloudRouterActionRequest.type) && + Objects.equals(this.connection, cloudRouterActionRequest.connection)&& Objects.equals(this.additionalProperties, cloudRouterActionRequest.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, additionalProperties); + return Objects.hash(type, connection, additionalProperties); } @Override @@ -144,6 +172,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CloudRouterActionRequest {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" connection: ").append(toIndentedString(connection)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -168,6 +197,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("type"); + openapiFields.add("connection"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -193,6 +223,10 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } + // validate the optional field `connection` + if (jsonObj.get("connection") != null && !jsonObj.get("connection").isJsonNull()) { + RouterActionsConnection.validateJsonObject(jsonObj.getAsJsonObject("connection")); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionResponse.java index b666073e..8fcc2771 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -16,6 +16,8 @@ import com.equinix.openapi.fabric.v4.model.Changelog; import com.equinix.openapi.fabric.v4.model.CloudRouterActionState; import com.equinix.openapi.fabric.v4.model.CloudRouterActionType; +import com.equinix.openapi.fabric.v4.model.Operation; +import com.equinix.openapi.fabric.v4.model.RouterActionsConnection; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -70,6 +72,18 @@ public class CloudRouterActionResponse { @SerializedName(SERIALIZED_NAME_CHANGE_LOG) private Changelog changeLog; + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private String href; + + public static final String SERIALIZED_NAME_CONNECTION = "connection"; + @SerializedName(SERIALIZED_NAME_CONNECTION) + private RouterActionsConnection connection; + + public static final String SERIALIZED_NAME_OPERATION = "operation"; + @SerializedName(SERIALIZED_NAME_OPERATION) + private Operation operation; + public CloudRouterActionResponse() { } @@ -182,6 +196,72 @@ public void setChangeLog(Changelog changeLog) { this.changeLog = changeLog; } + + public CloudRouterActionResponse href(String href) { + + this.href = href; + return this; + } + + /** + * Get href + * @return href + **/ + @javax.annotation.Nullable + + public String getHref() { + return href; + } + + + public void setHref(String href) { + this.href = href; + } + + + public CloudRouterActionResponse connection(RouterActionsConnection connection) { + + this.connection = connection; + return this; + } + + /** + * Get connection + * @return connection + **/ + @javax.annotation.Nullable + + public RouterActionsConnection getConnection() { + return connection; + } + + + public void setConnection(RouterActionsConnection connection) { + this.connection = connection; + } + + + public CloudRouterActionResponse operation(Operation operation) { + + this.operation = operation; + return this; + } + + /** + * Get operation + * @return operation + **/ + @javax.annotation.Nullable + + public Operation getOperation() { + return operation; + } + + + public void setOperation(Operation operation) { + this.operation = operation; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -241,13 +321,16 @@ public boolean equals(Object o) { Objects.equals(this.uuid, cloudRouterActionResponse.uuid) && Objects.equals(this.description, cloudRouterActionResponse.description) && Objects.equals(this.state, cloudRouterActionResponse.state) && - Objects.equals(this.changeLog, cloudRouterActionResponse.changeLog)&& + Objects.equals(this.changeLog, cloudRouterActionResponse.changeLog) && + Objects.equals(this.href, cloudRouterActionResponse.href) && + Objects.equals(this.connection, cloudRouterActionResponse.connection) && + Objects.equals(this.operation, cloudRouterActionResponse.operation)&& Objects.equals(this.additionalProperties, cloudRouterActionResponse.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, uuid, description, state, changeLog, additionalProperties); + return Objects.hash(type, uuid, description, state, changeLog, href, connection, operation, additionalProperties); } @Override @@ -259,6 +342,9 @@ public String toString() { sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append(" changeLog: ").append(toIndentedString(changeLog)).append("\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append(" connection: ").append(toIndentedString(connection)).append("\n"); + sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -287,6 +373,9 @@ private String toIndentedString(Object o) { openapiFields.add("description"); openapiFields.add("state"); openapiFields.add("changeLog"); + openapiFields.add("href"); + openapiFields.add("connection"); + openapiFields.add("operation"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -323,6 +412,17 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { } // validate the required field `changeLog` Changelog.validateJsonObject(jsonObj.getAsJsonObject("changeLog")); + if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); + } + // validate the optional field `connection` + if (jsonObj.get("connection") != null && !jsonObj.get("connection").isJsonNull()) { + RouterActionsConnection.validateJsonObject(jsonObj.getAsJsonObject("connection")); + } + // validate the optional field `operation` + if (jsonObj.get("operation") != null && !jsonObj.get("operation").isJsonNull()) { + Operation.validateJsonObject(jsonObj.getAsJsonObject("operation")); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionState.java index 626a9bed..af88863c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -27,7 +27,7 @@ @JsonAdapter(CloudRouterActionState.Adapter.class) public enum CloudRouterActionState { - DONE("DONE"), + SUCCEEDED("SUCCEEDED"), FAILED("FAILED"), diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionType.java index 01855be1..eaf9c07e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -29,7 +29,11 @@ public enum CloudRouterActionType { BGP_SESSION_STATUS_UPDATE("BGP_SESSION_STATUS_UPDATE"), - ROUTE_TABLE_ENTRY_UPDATE("ROUTE_TABLE_ENTRY_UPDATE"); + ROUTE_TABLE_ENTRY_UPDATE("ROUTE_TABLE_ENTRY_UPDATE"), + + RECEIVED_ROUTE_ENTRY_UPDATE("RECEIVED_ROUTE_ENTRY_UPDATE"), + + ADVERTISED_ROUTE_ENTRY_UPDATE("ADVERTISED_ROUTE_ENTRY_UPDATE"); private String value; diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchExpression.java new file mode 100644 index 00000000..b8fb808c --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchExpression.java @@ -0,0 +1,353 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * CloudRouterActionsSearchExpression + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class CloudRouterActionsSearchExpression { + public static final String SERIALIZED_NAME_PROPERTY = "property"; + @SerializedName(SERIALIZED_NAME_PROPERTY) + private String property; + + public static final String SERIALIZED_NAME_OPERATOR = "operator"; + @SerializedName(SERIALIZED_NAME_OPERATOR) + private String operator; + + public static final String SERIALIZED_NAME_VALUES = "values"; + @SerializedName(SERIALIZED_NAME_VALUES) + private List values = new ArrayList<>(); + + public CloudRouterActionsSearchExpression() { + } + + public CloudRouterActionsSearchExpression property(String property) { + + this.property = property; + return this; + } + + /** + * Possible field names to use on filters: * `/type` - type of update * `/state` - action state * `/connection/uuid` - connection uuid associated * `/_*` - all-category search + * @return property + **/ + @javax.annotation.Nullable + + public String getProperty() { + return property; + } + + + public void setProperty(String property) { + this.property = property; + } + + + public CloudRouterActionsSearchExpression operator(String operator) { + + this.operator = operator; + return this; + } + + /** + * Possible operators to use on filters: * `=` - equal * `!=` - not equal * `>` - greater than * `>=` - greater than or equal to * `<` - less than * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `~*` - case-insensitive like + * @return operator + **/ + @javax.annotation.Nullable + + public String getOperator() { + return operator; + } + + + public void setOperator(String operator) { + this.operator = operator; + } + + + public CloudRouterActionsSearchExpression values(List values) { + + this.values = values; + return this; + } + + public CloudRouterActionsSearchExpression addValuesItem(String valuesItem) { + if (this.values == null) { + this.values = new ArrayList<>(); + } + this.values.add(valuesItem); + return this; + } + + /** + * Get values + * @return values + **/ + @javax.annotation.Nullable + + public List getValues() { + return values; + } + + + public void setValues(List values) { + this.values = values; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the CloudRouterActionsSearchExpression instance itself + */ + public CloudRouterActionsSearchExpression putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CloudRouterActionsSearchExpression cloudRouterActionsSearchExpression = (CloudRouterActionsSearchExpression) o; + return Objects.equals(this.property, cloudRouterActionsSearchExpression.property) && + Objects.equals(this.operator, cloudRouterActionsSearchExpression.operator) && + Objects.equals(this.values, cloudRouterActionsSearchExpression.values)&& + Objects.equals(this.additionalProperties, cloudRouterActionsSearchExpression.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(property, operator, values, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CloudRouterActionsSearchExpression {\n"); + sb.append(" property: ").append(toIndentedString(property)).append("\n"); + sb.append(" operator: ").append(toIndentedString(operator)).append("\n"); + sb.append(" values: ").append(toIndentedString(values)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("property"); + openapiFields.add("operator"); + openapiFields.add("values"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CloudRouterActionsSearchExpression + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CloudRouterActionsSearchExpression.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CloudRouterActionsSearchExpression is not found in the empty JSON string", CloudRouterActionsSearchExpression.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("property") != null && !jsonObj.get("property").isJsonNull()) && !jsonObj.get("property").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `property` to be a primitive type in the JSON string but got `%s`", jsonObj.get("property").toString())); + } + if ((jsonObj.get("operator") != null && !jsonObj.get("operator").isJsonNull()) && !jsonObj.get("operator").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `operator` to be a primitive type in the JSON string but got `%s`", jsonObj.get("operator").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CloudRouterActionsSearchExpression.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CloudRouterActionsSearchExpression' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CloudRouterActionsSearchExpression.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CloudRouterActionsSearchExpression value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public CloudRouterActionsSearchExpression read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + CloudRouterActionsSearchExpression instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CloudRouterActionsSearchExpression given an JSON string + * + * @param jsonString JSON string + * @return An instance of CloudRouterActionsSearchExpression + * @throws IOException if the JSON string is invalid with respect to CloudRouterActionsSearchExpression + */ + public static CloudRouterActionsSearchExpression fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CloudRouterActionsSearchExpression.class); + } + + /** + * Convert an instance of CloudRouterActionsSearchExpression to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFilter.java new file mode 100644 index 00000000..5fe71624 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFilter.java @@ -0,0 +1,274 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchExpression; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchOrFilter; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import javax.ws.rs.core.GenericType; + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapter; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.JsonPrimitive; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; + +import com.equinix.openapi.fabric.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class CloudRouterActionsSearchFilter extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(CloudRouterActionsSearchFilter.class.getName()); + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CloudRouterActionsSearchFilter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CloudRouterActionsSearchFilter' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter adapterCloudRouterActionsSearchExpression = gson.getDelegateAdapter(this, TypeToken.get(CloudRouterActionsSearchExpression.class)); + final TypeAdapter adapterCloudRouterActionsSearchOrFilter = gson.getDelegateAdapter(this, TypeToken.get(CloudRouterActionsSearchOrFilter.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CloudRouterActionsSearchFilter value) throws IOException { + if (value == null || value.getActualInstance() == null) { + elementAdapter.write(out, null); + return; + } + + // check if the actual instance is of the type `CloudRouterActionsSearchExpression` + if (value.getActualInstance() instanceof CloudRouterActionsSearchExpression) { + JsonObject obj = adapterCloudRouterActionsSearchExpression.toJsonTree((CloudRouterActionsSearchExpression)value.getActualInstance()).getAsJsonObject(); + elementAdapter.write(out, obj); + return; + } + + // check if the actual instance is of the type `CloudRouterActionsSearchOrFilter` + if (value.getActualInstance() instanceof CloudRouterActionsSearchOrFilter) { + JsonObject obj = adapterCloudRouterActionsSearchOrFilter.toJsonTree((CloudRouterActionsSearchOrFilter)value.getActualInstance()).getAsJsonObject(); + elementAdapter.write(out, obj); + return; + } + + throw new IOException("Failed to serialize as the type doesn't match anyOf schemas: CloudRouterActionsSearchExpression, CloudRouterActionsSearchOrFilter"); + } + + @Override + public CloudRouterActionsSearchFilter read(JsonReader in) throws IOException { + Object deserialized = null; + JsonObject jsonObject = elementAdapter.read(in).getAsJsonObject(); + + // deserialize CloudRouterActionsSearchExpression + try { + // validate the JSON object to see if any exception is thrown + CloudRouterActionsSearchExpression.validateJsonObject(jsonObject); + log.log(Level.FINER, "Input data matches schema 'CloudRouterActionsSearchExpression'"); + CloudRouterActionsSearchFilter ret = new CloudRouterActionsSearchFilter(); + ret.setActualInstance(adapterCloudRouterActionsSearchExpression.fromJsonTree(jsonObject)); + return ret; + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'CloudRouterActionsSearchExpression'", e); + } + + // deserialize CloudRouterActionsSearchOrFilter + try { + // validate the JSON object to see if any exception is thrown + CloudRouterActionsSearchOrFilter.validateJsonObject(jsonObject); + log.log(Level.FINER, "Input data matches schema 'CloudRouterActionsSearchOrFilter'"); + CloudRouterActionsSearchFilter ret = new CloudRouterActionsSearchFilter(); + ret.setActualInstance(adapterCloudRouterActionsSearchOrFilter.fromJsonTree(jsonObject)); + return ret; + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'CloudRouterActionsSearchOrFilter'", e); + } + + + throw new IOException(String.format("Failed deserialization for CloudRouterActionsSearchFilter: no class matched. JSON: %s", jsonObject.toString())); + } + }.nullSafe(); + } + } + + // store a list of schema names defined in anyOf + public static final Map schemas = new HashMap(); + + public CloudRouterActionsSearchFilter() { + super("anyOf", Boolean.FALSE); + } + + public CloudRouterActionsSearchFilter(CloudRouterActionsSearchExpression o) { + super("anyOf", Boolean.FALSE); + setActualInstance(o); + } + + public CloudRouterActionsSearchFilter(CloudRouterActionsSearchOrFilter o) { + super("anyOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("CloudRouterActionsSearchExpression", new GenericType() { + }); + schemas.put("CloudRouterActionsSearchOrFilter", new GenericType() { + }); + } + + @Override + public Map getSchemas() { + return CloudRouterActionsSearchFilter.schemas; + } + + /** + * Set the instance that matches the anyOf child schema, check + * the instance parameter is valid against the anyOf child schemas: + * CloudRouterActionsSearchExpression, CloudRouterActionsSearchOrFilter + * + * It could be an instance of the 'anyOf' schemas. + * The anyOf child schemas may themselves be a composed schema (allOf, anyOf, anyOf). + */ + @Override + public void setActualInstance(Object instance) { + if (instance instanceof CloudRouterActionsSearchExpression) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof CloudRouterActionsSearchOrFilter) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be CloudRouterActionsSearchExpression, CloudRouterActionsSearchOrFilter"); + } + + /** + * Get the actual instance, which can be the following: + * CloudRouterActionsSearchExpression, CloudRouterActionsSearchOrFilter + * + * @return The actual instance (CloudRouterActionsSearchExpression, CloudRouterActionsSearchOrFilter) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `CloudRouterActionsSearchExpression`. If the actual instance is not `CloudRouterActionsSearchExpression`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `CloudRouterActionsSearchExpression` + * @throws ClassCastException if the instance is not `CloudRouterActionsSearchExpression` + */ + public CloudRouterActionsSearchExpression getCloudRouterActionsSearchExpression() throws ClassCastException { + return (CloudRouterActionsSearchExpression)super.getActualInstance(); + } + + /** + * Get the actual instance of `CloudRouterActionsSearchOrFilter`. If the actual instance is not `CloudRouterActionsSearchOrFilter`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `CloudRouterActionsSearchOrFilter` + * @throws ClassCastException if the instance is not `CloudRouterActionsSearchOrFilter` + */ + public CloudRouterActionsSearchOrFilter getCloudRouterActionsSearchOrFilter() throws ClassCastException { + return (CloudRouterActionsSearchOrFilter)super.getActualInstance(); + } + + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CloudRouterActionsSearchFilter + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + // validate anyOf schemas one by one + int validCount = 0; + // validate the json string with CloudRouterActionsSearchExpression + try { + CloudRouterActionsSearchExpression.validateJsonObject(jsonObj); + return; // return earlier as at least one schema is valid with respect to the Json object + //validCount++; + } catch (Exception e) { + // continue to the next one + } + // validate the json string with CloudRouterActionsSearchOrFilter + try { + CloudRouterActionsSearchOrFilter.validateJsonObject(jsonObj); + return; // return earlier as at least one schema is valid with respect to the Json object + //validCount++; + } catch (Exception e) { + // continue to the next one + } + if (validCount == 0) { + throw new IOException(String.format("The JSON string is invalid for CloudRouterActionsSearchFilter with anyOf schemas: CloudRouterActionsSearchExpression, CloudRouterActionsSearchOrFilter. JSON: %s", jsonObj.toString())); + } + } + + /** + * Create an instance of CloudRouterActionsSearchFilter given an JSON string + * + * @param jsonString JSON string + * @return An instance of CloudRouterActionsSearchFilter + * @throws IOException if the JSON string is invalid with respect to CloudRouterActionsSearchFilter + */ + public static CloudRouterActionsSearchFilter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CloudRouterActionsSearchFilter.class); + } + + /** + * Convert an instance of CloudRouterActionsSearchFilter to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFilters.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFilters.java new file mode 100644 index 00000000..e6b943cd --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchFilters.java @@ -0,0 +1,300 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchFilter; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * CloudRouterActionsSearchFilters + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class CloudRouterActionsSearchFilters { + public static final String SERIALIZED_NAME_AND = "and"; + @SerializedName(SERIALIZED_NAME_AND) + private List and = new ArrayList<>(); + + public CloudRouterActionsSearchFilters() { + } + + public CloudRouterActionsSearchFilters and(List and) { + + this.and = and; + return this; + } + + public CloudRouterActionsSearchFilters addAndItem(CloudRouterActionsSearchFilter andItem) { + if (this.and == null) { + this.and = new ArrayList<>(); + } + this.and.add(andItem); + return this; + } + + /** + * Get and + * @return and + **/ + @javax.annotation.Nullable + + public List getAnd() { + return and; + } + + + public void setAnd(List and) { + this.and = and; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the CloudRouterActionsSearchFilters instance itself + */ + public CloudRouterActionsSearchFilters putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CloudRouterActionsSearchFilters cloudRouterActionsSearchFilters = (CloudRouterActionsSearchFilters) o; + return Objects.equals(this.and, cloudRouterActionsSearchFilters.and)&& + Objects.equals(this.additionalProperties, cloudRouterActionsSearchFilters.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(and, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CloudRouterActionsSearchFilters {\n"); + sb.append(" and: ").append(toIndentedString(and)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("and"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CloudRouterActionsSearchFilters + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CloudRouterActionsSearchFilters.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CloudRouterActionsSearchFilters is not found in the empty JSON string", CloudRouterActionsSearchFilters.openapiRequiredFields.toString())); + } + } + if (jsonObj.get("and") != null && !jsonObj.get("and").isJsonNull()) { + JsonArray jsonArrayand = jsonObj.getAsJsonArray("and"); + if (jsonArrayand != null) { + // ensure the json data is an array + if (!jsonObj.get("and").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `and` to be an array in the JSON string but got `%s`", jsonObj.get("and").toString())); + } + + // validate the optional field `and` (array) + for (int i = 0; i < jsonArrayand.size(); i++) { + CloudRouterActionsSearchFilter.validateJsonObject(jsonArrayand.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CloudRouterActionsSearchFilters.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CloudRouterActionsSearchFilters' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CloudRouterActionsSearchFilters.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CloudRouterActionsSearchFilters value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public CloudRouterActionsSearchFilters read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + CloudRouterActionsSearchFilters instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CloudRouterActionsSearchFilters given an JSON string + * + * @param jsonString JSON string + * @return An instance of CloudRouterActionsSearchFilters + * @throws IOException if the JSON string is invalid with respect to CloudRouterActionsSearchFilters + */ + public static CloudRouterActionsSearchFilters fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CloudRouterActionsSearchFilters.class); + } + + /** + * Convert an instance of CloudRouterActionsSearchFilters to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchOrFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchOrFilter.java new file mode 100644 index 00000000..1cb09f12 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchOrFilter.java @@ -0,0 +1,300 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchExpression; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * CloudRouterActionsSearchOrFilter + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class CloudRouterActionsSearchOrFilter { + public static final String SERIALIZED_NAME_OR = "or"; + @SerializedName(SERIALIZED_NAME_OR) + private List or = new ArrayList<>(); + + public CloudRouterActionsSearchOrFilter() { + } + + public CloudRouterActionsSearchOrFilter or(List or) { + + this.or = or; + return this; + } + + public CloudRouterActionsSearchOrFilter addOrItem(CloudRouterActionsSearchExpression orItem) { + if (this.or == null) { + this.or = new ArrayList<>(); + } + this.or.add(orItem); + return this; + } + + /** + * Get or + * @return or + **/ + @javax.annotation.Nullable + + public List getOr() { + return or; + } + + + public void setOr(List or) { + this.or = or; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the CloudRouterActionsSearchOrFilter instance itself + */ + public CloudRouterActionsSearchOrFilter putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CloudRouterActionsSearchOrFilter cloudRouterActionsSearchOrFilter = (CloudRouterActionsSearchOrFilter) o; + return Objects.equals(this.or, cloudRouterActionsSearchOrFilter.or)&& + Objects.equals(this.additionalProperties, cloudRouterActionsSearchOrFilter.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(or, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CloudRouterActionsSearchOrFilter {\n"); + sb.append(" or: ").append(toIndentedString(or)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("or"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CloudRouterActionsSearchOrFilter + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CloudRouterActionsSearchOrFilter.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CloudRouterActionsSearchOrFilter is not found in the empty JSON string", CloudRouterActionsSearchOrFilter.openapiRequiredFields.toString())); + } + } + if (jsonObj.get("or") != null && !jsonObj.get("or").isJsonNull()) { + JsonArray jsonArrayor = jsonObj.getAsJsonArray("or"); + if (jsonArrayor != null) { + // ensure the json data is an array + if (!jsonObj.get("or").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `or` to be an array in the JSON string but got `%s`", jsonObj.get("or").toString())); + } + + // validate the optional field `or` (array) + for (int i = 0; i < jsonArrayor.size(); i++) { + CloudRouterActionsSearchExpression.validateJsonObject(jsonArrayor.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CloudRouterActionsSearchOrFilter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CloudRouterActionsSearchOrFilter' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CloudRouterActionsSearchOrFilter.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CloudRouterActionsSearchOrFilter value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public CloudRouterActionsSearchOrFilter read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + CloudRouterActionsSearchOrFilter instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CloudRouterActionsSearchOrFilter given an JSON string + * + * @param jsonString JSON string + * @return An instance of CloudRouterActionsSearchOrFilter + * @throws IOException if the JSON string is invalid with respect to CloudRouterActionsSearchOrFilter + */ + public static CloudRouterActionsSearchOrFilter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CloudRouterActionsSearchOrFilter.class); + } + + /** + * Convert an instance of CloudRouterActionsSearchOrFilter to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchRequest.java new file mode 100644 index 00000000..8afe5efa --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchRequest.java @@ -0,0 +1,368 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchFilters; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchSortCriteria; +import com.equinix.openapi.fabric.v4.model.PaginationRequest; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Search requests containing criteria + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class CloudRouterActionsSearchRequest { + public static final String SERIALIZED_NAME_FILTER = "filter"; + @SerializedName(SERIALIZED_NAME_FILTER) + private CloudRouterActionsSearchFilters filter; + + public static final String SERIALIZED_NAME_PAGINATION = "pagination"; + @SerializedName(SERIALIZED_NAME_PAGINATION) + private PaginationRequest pagination; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private List sort = new ArrayList<>(); + + public CloudRouterActionsSearchRequest() { + } + + public CloudRouterActionsSearchRequest filter(CloudRouterActionsSearchFilters filter) { + + this.filter = filter; + return this; + } + + /** + * Get filter + * @return filter + **/ + @javax.annotation.Nullable + + public CloudRouterActionsSearchFilters getFilter() { + return filter; + } + + + public void setFilter(CloudRouterActionsSearchFilters filter) { + this.filter = filter; + } + + + public CloudRouterActionsSearchRequest pagination(PaginationRequest pagination) { + + this.pagination = pagination; + return this; + } + + /** + * Get pagination + * @return pagination + **/ + @javax.annotation.Nullable + + public PaginationRequest getPagination() { + return pagination; + } + + + public void setPagination(PaginationRequest pagination) { + this.pagination = pagination; + } + + + public CloudRouterActionsSearchRequest sort(List sort) { + + this.sort = sort; + return this; + } + + public CloudRouterActionsSearchRequest addSortItem(CloudRouterActionsSearchSortCriteria sortItem) { + if (this.sort == null) { + this.sort = new ArrayList<>(); + } + this.sort.add(sortItem); + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + + public List getSort() { + return sort; + } + + + public void setSort(List sort) { + this.sort = sort; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the CloudRouterActionsSearchRequest instance itself + */ + public CloudRouterActionsSearchRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CloudRouterActionsSearchRequest cloudRouterActionsSearchRequest = (CloudRouterActionsSearchRequest) o; + return Objects.equals(this.filter, cloudRouterActionsSearchRequest.filter) && + Objects.equals(this.pagination, cloudRouterActionsSearchRequest.pagination) && + Objects.equals(this.sort, cloudRouterActionsSearchRequest.sort)&& + Objects.equals(this.additionalProperties, cloudRouterActionsSearchRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(filter, pagination, sort, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CloudRouterActionsSearchRequest {\n"); + sb.append(" filter: ").append(toIndentedString(filter)).append("\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("filter"); + openapiFields.add("pagination"); + openapiFields.add("sort"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CloudRouterActionsSearchRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CloudRouterActionsSearchRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CloudRouterActionsSearchRequest is not found in the empty JSON string", CloudRouterActionsSearchRequest.openapiRequiredFields.toString())); + } + } + // validate the optional field `filter` + if (jsonObj.get("filter") != null && !jsonObj.get("filter").isJsonNull()) { + CloudRouterActionsSearchFilters.validateJsonObject(jsonObj.getAsJsonObject("filter")); + } + // validate the optional field `pagination` + if (jsonObj.get("pagination") != null && !jsonObj.get("pagination").isJsonNull()) { + PaginationRequest.validateJsonObject(jsonObj.getAsJsonObject("pagination")); + } + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + JsonArray jsonArraysort = jsonObj.getAsJsonArray("sort"); + if (jsonArraysort != null) { + // ensure the json data is an array + if (!jsonObj.get("sort").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `sort` to be an array in the JSON string but got `%s`", jsonObj.get("sort").toString())); + } + + // validate the optional field `sort` (array) + for (int i = 0; i < jsonArraysort.size(); i++) { + CloudRouterActionsSearchSortCriteria.validateJsonObject(jsonArraysort.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CloudRouterActionsSearchRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CloudRouterActionsSearchRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CloudRouterActionsSearchRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CloudRouterActionsSearchRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public CloudRouterActionsSearchRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + CloudRouterActionsSearchRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CloudRouterActionsSearchRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of CloudRouterActionsSearchRequest + * @throws IOException if the JSON string is invalid with respect to CloudRouterActionsSearchRequest + */ + public static CloudRouterActionsSearchRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CloudRouterActionsSearchRequest.class); + } + + /** + * Convert an instance of CloudRouterActionsSearchRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchResponse.java new file mode 100644 index 00000000..1e532f09 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchResponse.java @@ -0,0 +1,334 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionResponse; +import com.equinix.openapi.fabric.v4.model.Pagination; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * CloudRouterActionsSearchResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class CloudRouterActionsSearchResponse { + public static final String SERIALIZED_NAME_PAGINATION = "pagination"; + @SerializedName(SERIALIZED_NAME_PAGINATION) + private Pagination pagination; + + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); + + public CloudRouterActionsSearchResponse() { + } + + public CloudRouterActionsSearchResponse pagination(Pagination pagination) { + + this.pagination = pagination; + return this; + } + + /** + * Get pagination + * @return pagination + **/ + @javax.annotation.Nullable + + public Pagination getPagination() { + return pagination; + } + + + public void setPagination(Pagination pagination) { + this.pagination = pagination; + } + + + public CloudRouterActionsSearchResponse data(List data) { + + this.data = data; + return this; + } + + public CloudRouterActionsSearchResponse addDataItem(CloudRouterActionResponse dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Data returned from the API call. + * @return data + **/ + @javax.annotation.Nullable + + public List getData() { + return data; + } + + + public void setData(List data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the CloudRouterActionsSearchResponse instance itself + */ + public CloudRouterActionsSearchResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CloudRouterActionsSearchResponse cloudRouterActionsSearchResponse = (CloudRouterActionsSearchResponse) o; + return Objects.equals(this.pagination, cloudRouterActionsSearchResponse.pagination) && + Objects.equals(this.data, cloudRouterActionsSearchResponse.data)&& + Objects.equals(this.additionalProperties, cloudRouterActionsSearchResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(pagination, data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CloudRouterActionsSearchResponse {\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("pagination"); + openapiFields.add("data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CloudRouterActionsSearchResponse + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CloudRouterActionsSearchResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CloudRouterActionsSearchResponse is not found in the empty JSON string", CloudRouterActionsSearchResponse.openapiRequiredFields.toString())); + } + } + // validate the optional field `pagination` + if (jsonObj.get("pagination") != null && !jsonObj.get("pagination").isJsonNull()) { + Pagination.validateJsonObject(jsonObj.getAsJsonObject("pagination")); + } + if (jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `data` to be an array in the JSON string but got `%s`", jsonObj.get("data").toString())); + } + + // validate the optional field `data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + CloudRouterActionResponse.validateJsonObject(jsonArraydata.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CloudRouterActionsSearchResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CloudRouterActionsSearchResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CloudRouterActionsSearchResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CloudRouterActionsSearchResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public CloudRouterActionsSearchResponse read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + CloudRouterActionsSearchResponse instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CloudRouterActionsSearchResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of CloudRouterActionsSearchResponse + * @throws IOException if the JSON string is invalid with respect to CloudRouterActionsSearchResponse + */ + public static CloudRouterActionsSearchResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CloudRouterActionsSearchResponse.class); + } + + /** + * Convert an instance of CloudRouterActionsSearchResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortBy.java new file mode 100644 index 00000000..ba03f084 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortBy.java @@ -0,0 +1,75 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Possible field names to use on sorting + */ +@JsonAdapter(CloudRouterActionsSearchSortBy.Adapter.class) +public enum CloudRouterActionsSearchSortBy { + + CHANGELOG_CREATEDDATETIME("/changeLog/createdDateTime"), + + CHANGELOG_UPDATEDDATETIME("/changeLog/updatedDateTime"), + + CONNECTION_NAME("/connection/name"), + + TYPE("/type"); + + private String value; + + CloudRouterActionsSearchSortBy(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CloudRouterActionsSearchSortBy fromValue(String value) { + for (CloudRouterActionsSearchSortBy b : CloudRouterActionsSearchSortBy.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CloudRouterActionsSearchSortBy enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CloudRouterActionsSearchSortBy read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CloudRouterActionsSearchSortBy.fromValue(value); + } + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortCriteria.java new file mode 100644 index 00000000..b24ce547 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortCriteria.java @@ -0,0 +1,306 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchSortBy; +import com.equinix.openapi.fabric.v4.model.CloudRouterActionsSearchSortDirection; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * CloudRouterActionsSearchSortCriteria + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class CloudRouterActionsSearchSortCriteria { + public static final String SERIALIZED_NAME_DIRECTION = "direction"; + @SerializedName(SERIALIZED_NAME_DIRECTION) + private CloudRouterActionsSearchSortDirection direction = CloudRouterActionsSearchSortDirection.DESC; + + public static final String SERIALIZED_NAME_PROPERTY = "property"; + @SerializedName(SERIALIZED_NAME_PROPERTY) + private CloudRouterActionsSearchSortBy property = CloudRouterActionsSearchSortBy.CHANGELOG_UPDATEDDATETIME; + + public CloudRouterActionsSearchSortCriteria() { + } + + public CloudRouterActionsSearchSortCriteria direction(CloudRouterActionsSearchSortDirection direction) { + + this.direction = direction; + return this; + } + + /** + * Get direction + * @return direction + **/ + @javax.annotation.Nullable + + public CloudRouterActionsSearchSortDirection getDirection() { + return direction; + } + + + public void setDirection(CloudRouterActionsSearchSortDirection direction) { + this.direction = direction; + } + + + public CloudRouterActionsSearchSortCriteria property(CloudRouterActionsSearchSortBy property) { + + this.property = property; + return this; + } + + /** + * Get property + * @return property + **/ + @javax.annotation.Nullable + + public CloudRouterActionsSearchSortBy getProperty() { + return property; + } + + + public void setProperty(CloudRouterActionsSearchSortBy property) { + this.property = property; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the CloudRouterActionsSearchSortCriteria instance itself + */ + public CloudRouterActionsSearchSortCriteria putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CloudRouterActionsSearchSortCriteria cloudRouterActionsSearchSortCriteria = (CloudRouterActionsSearchSortCriteria) o; + return Objects.equals(this.direction, cloudRouterActionsSearchSortCriteria.direction) && + Objects.equals(this.property, cloudRouterActionsSearchSortCriteria.property)&& + Objects.equals(this.additionalProperties, cloudRouterActionsSearchSortCriteria.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(direction, property, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CloudRouterActionsSearchSortCriteria {\n"); + sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); + sb.append(" property: ").append(toIndentedString(property)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("direction"); + openapiFields.add("property"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to CloudRouterActionsSearchSortCriteria + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!CloudRouterActionsSearchSortCriteria.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in CloudRouterActionsSearchSortCriteria is not found in the empty JSON string", CloudRouterActionsSearchSortCriteria.openapiRequiredFields.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!CloudRouterActionsSearchSortCriteria.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'CloudRouterActionsSearchSortCriteria' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(CloudRouterActionsSearchSortCriteria.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, CloudRouterActionsSearchSortCriteria value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public CloudRouterActionsSearchSortCriteria read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + CloudRouterActionsSearchSortCriteria instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of CloudRouterActionsSearchSortCriteria given an JSON string + * + * @param jsonString JSON string + * @return An instance of CloudRouterActionsSearchSortCriteria + * @throws IOException if the JSON string is invalid with respect to CloudRouterActionsSearchSortCriteria + */ + public static CloudRouterActionsSearchSortCriteria fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, CloudRouterActionsSearchSortCriteria.class); + } + + /** + * Convert an instance of CloudRouterActionsSearchSortCriteria to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortDirection.java new file mode 100644 index 00000000..605e0b2c --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterActionsSearchSortDirection.java @@ -0,0 +1,71 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Sorting direction + */ +@JsonAdapter(CloudRouterActionsSearchSortDirection.Adapter.class) +public enum CloudRouterActionsSearchSortDirection { + + DESC("DESC"), + + ASC("ASC"); + + private String value; + + CloudRouterActionsSearchSortDirection(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CloudRouterActionsSearchSortDirection fromValue(String value) { + for (CloudRouterActionsSearchSortDirection b : CloudRouterActionsSearchSortDirection.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CloudRouterActionsSearchSortDirection enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CloudRouterActionsSearchSortDirection read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CloudRouterActionsSearchSortDirection.fromValue(value); + } + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChange.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChange.java index b45fd9f4..ec9231a0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChange.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChange.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChangeOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChangeOperation.java index 18684ecb..15ddd52f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChangeOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterChangeOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilter.java index 203f2e46..42e53769 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilters.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilters.java index 6718d5dc..2b84865e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilters.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterFilters.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterOrFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterOrFilter.java index 7edb477e..ed13dea7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterOrFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterOrFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPackage.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPackage.java index d942fbd3..86091d65 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPackage.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPackage.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPostRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPostRequest.java index d69d703e..3f621efe 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPostRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPostRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPostRequestPackage.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPostRequestPackage.java index 423ec605..172ce0ab 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPostRequestPackage.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterPostRequestPackage.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSearchRequest.java index 9681faa4..b820ef77 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSearchRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSearchRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSimpleExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSimpleExpression.java index 19201d61..7c528e41 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSimpleExpression.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSimpleExpression.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortBy.java index bfe0fd47..8828c3dd 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortBy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortBy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortCriteria.java index fff66a6a..2b8981e9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortCriteria.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortCriteria.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortDirection.java index e039be93..c4a407c4 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortDirection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CloudRouterSortDirection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Code.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Code.java index 059cc43e..1b4a38a7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Code.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Code.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectedMetro.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectedMetro.java index f49bfb6d..35137783 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectedMetro.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectedMetro.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Connection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Connection.java index 61018dae..2a9a87c5 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Connection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Connection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -64,14 +64,14 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class Connection { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private ConnectionType type; - public static final String SERIALIZED_NAME_HREF = "href"; @SerializedName(SERIALIZED_NAME_HREF) private URI href; + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private ConnectionType type; + public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) private String uuid; @@ -163,6 +163,19 @@ public Connection( this.href = href; } + /** + * Connection URI + * @return href + **/ + @javax.annotation.Nullable + + public URI getHref() { + return href; + } + + + + public Connection type(ConnectionType type) { this.type = type; @@ -185,19 +198,6 @@ public void setType(ConnectionType type) { } - /** - * Connection URI - * @return href - **/ - @javax.annotation.Nullable - - public URI getHref() { - return href; - } - - - - public Connection uuid(String uuid) { this.uuid = uuid; @@ -710,8 +710,8 @@ public boolean equals(Object o) { return false; } Connection connection = (Connection) o; - return Objects.equals(this.type, connection.type) && - Objects.equals(this.href, connection.href) && + return Objects.equals(this.href, connection.href) && + Objects.equals(this.type, connection.type) && Objects.equals(this.uuid, connection.uuid) && Objects.equals(this.name, connection.name) && Objects.equals(this.description, connection.description) && @@ -737,15 +737,15 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(type, href, uuid, name, description, state, change, operation, order, notifications, account, changeLog, bandwidth, geoScope, redundancy, isRemote, direction, aSide, zSide, marketplaceSubscription, additionalInfo, project, additionalProperties); + return Objects.hash(href, type, uuid, name, description, state, change, operation, order, notifications, account, changeLog, bandwidth, geoScope, redundancy, isRemote, direction, aSide, zSide, marketplaceSubscription, additionalInfo, project, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Connection {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); @@ -789,8 +789,8 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("type"); openapiFields.add("href"); + openapiFields.add("type"); openapiFields.add("uuid"); openapiFields.add("name"); openapiFields.add("description"); diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionAcceptanceData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionAcceptanceData.java index 74e079c9..43c27516 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionAcceptanceData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionAcceptanceData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionAction.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionAction.java index 93f31a71..b0d07833 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionAction.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionAction.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionActionRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionActionRequest.java index 3da38844..423b2ffe 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionActionRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionActionRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -92,7 +92,7 @@ public ConnectionActionRequest description(String description) { } /** - * Connection rejection reason datail + * Connection rejection reason detail * @return description **/ @javax.annotation.Nullable diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionChangeOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionChangeOperation.java index 89bb35c3..1cab1170 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionChangeOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionChangeOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionCompanyProfile.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionCompanyProfile.java index 3fadb5f7..c44382b1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionCompanyProfile.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionCompanyProfile.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionDirection.java index ec841670..dd35a5c1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionDirection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionDirection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionInvitation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionInvitation.java index 62bdefdd..201bb062 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionInvitation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionInvitation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionLink.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionLink.java index ad34d853..e970052a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionLink.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionLink.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionOperation.java index 7c5437a1..013ebbc7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPostRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPostRequest.java index 7ae36387..e65b3a2b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPostRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPostRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPriority.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPriority.java index 037a5ee4..0e63712b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPriority.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionPriority.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRedundancy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRedundancy.java index 6e294c5f..e548433a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRedundancy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRedundancy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionResponse.java index b6ebc6e9..8e508684 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,8 +13,8 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.Connection; import com.equinix.openapi.fabric.v4.model.ConnectionSideAdditionalInfo; +import com.equinix.openapi.fabric.v4.model.ValidateConnectionResponse; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -56,7 +56,7 @@ public class ConnectionResponse { public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) - private List data = new ArrayList<>(); + private List data = new ArrayList<>(); public ConnectionResponse() { } @@ -91,13 +91,13 @@ public void setAdditionalInfo(List additionalInfo) } - public ConnectionResponse data(List data) { + public ConnectionResponse data(List data) { this.data = data; return this; } - public ConnectionResponse addDataItem(Connection dataItem) { + public ConnectionResponse addDataItem(ValidateConnectionResponse dataItem) { if (this.data == null) { this.data = new ArrayList<>(); } @@ -111,12 +111,12 @@ public ConnectionResponse addDataItem(Connection dataItem) { **/ @javax.annotation.Nullable - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; } @@ -257,7 +257,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { // validate the optional field `data` (array) for (int i = 0; i < jsonArraydata.size(); i++) { - Connection.validateJsonObject(jsonArraydata.get(i).getAsJsonObject()); + ValidateConnectionResponse.validateJsonObject(jsonArraydata.get(i).getAsJsonObject()); }; } } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFilter.java new file mode 100644 index 00000000..dd5af521 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFilter.java @@ -0,0 +1,274 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteEntryOrFilter; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteEntrySimpleExpression; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import javax.ws.rs.core.GenericType; + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapter; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.JsonPrimitive; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; + +import com.equinix.openapi.fabric.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ConnectionRouteEntryFilter extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(ConnectionRouteEntryFilter.class.getName()); + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectionRouteEntryFilter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectionRouteEntryFilter' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter adapterConnectionRouteEntryOrFilter = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteEntryOrFilter.class)); + final TypeAdapter adapterConnectionRouteEntrySimpleExpression = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteEntrySimpleExpression.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectionRouteEntryFilter value) throws IOException { + if (value == null || value.getActualInstance() == null) { + elementAdapter.write(out, null); + return; + } + + // check if the actual instance is of the type `ConnectionRouteEntryOrFilter` + if (value.getActualInstance() instanceof ConnectionRouteEntryOrFilter) { + JsonObject obj = adapterConnectionRouteEntryOrFilter.toJsonTree((ConnectionRouteEntryOrFilter)value.getActualInstance()).getAsJsonObject(); + elementAdapter.write(out, obj); + return; + } + + // check if the actual instance is of the type `ConnectionRouteEntrySimpleExpression` + if (value.getActualInstance() instanceof ConnectionRouteEntrySimpleExpression) { + JsonObject obj = adapterConnectionRouteEntrySimpleExpression.toJsonTree((ConnectionRouteEntrySimpleExpression)value.getActualInstance()).getAsJsonObject(); + elementAdapter.write(out, obj); + return; + } + + throw new IOException("Failed to serialize as the type doesn't match anyOf schemas: ConnectionRouteEntryOrFilter, ConnectionRouteEntrySimpleExpression"); + } + + @Override + public ConnectionRouteEntryFilter read(JsonReader in) throws IOException { + Object deserialized = null; + JsonObject jsonObject = elementAdapter.read(in).getAsJsonObject(); + + // deserialize ConnectionRouteEntryOrFilter + try { + // validate the JSON object to see if any exception is thrown + ConnectionRouteEntryOrFilter.validateJsonObject(jsonObject); + log.log(Level.FINER, "Input data matches schema 'ConnectionRouteEntryOrFilter'"); + ConnectionRouteEntryFilter ret = new ConnectionRouteEntryFilter(); + ret.setActualInstance(adapterConnectionRouteEntryOrFilter.fromJsonTree(jsonObject)); + return ret; + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'ConnectionRouteEntryOrFilter'", e); + } + + // deserialize ConnectionRouteEntrySimpleExpression + try { + // validate the JSON object to see if any exception is thrown + ConnectionRouteEntrySimpleExpression.validateJsonObject(jsonObject); + log.log(Level.FINER, "Input data matches schema 'ConnectionRouteEntrySimpleExpression'"); + ConnectionRouteEntryFilter ret = new ConnectionRouteEntryFilter(); + ret.setActualInstance(adapterConnectionRouteEntrySimpleExpression.fromJsonTree(jsonObject)); + return ret; + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'ConnectionRouteEntrySimpleExpression'", e); + } + + + throw new IOException(String.format("Failed deserialization for ConnectionRouteEntryFilter: no class matched. JSON: %s", jsonObject.toString())); + } + }.nullSafe(); + } + } + + // store a list of schema names defined in anyOf + public static final Map schemas = new HashMap(); + + public ConnectionRouteEntryFilter() { + super("anyOf", Boolean.FALSE); + } + + public ConnectionRouteEntryFilter(ConnectionRouteEntryOrFilter o) { + super("anyOf", Boolean.FALSE); + setActualInstance(o); + } + + public ConnectionRouteEntryFilter(ConnectionRouteEntrySimpleExpression o) { + super("anyOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("ConnectionRouteEntryOrFilter", new GenericType() { + }); + schemas.put("ConnectionRouteEntrySimpleExpression", new GenericType() { + }); + } + + @Override + public Map getSchemas() { + return ConnectionRouteEntryFilter.schemas; + } + + /** + * Set the instance that matches the anyOf child schema, check + * the instance parameter is valid against the anyOf child schemas: + * ConnectionRouteEntryOrFilter, ConnectionRouteEntrySimpleExpression + * + * It could be an instance of the 'anyOf' schemas. + * The anyOf child schemas may themselves be a composed schema (allOf, anyOf, anyOf). + */ + @Override + public void setActualInstance(Object instance) { + if (instance instanceof ConnectionRouteEntryOrFilter) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof ConnectionRouteEntrySimpleExpression) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be ConnectionRouteEntryOrFilter, ConnectionRouteEntrySimpleExpression"); + } + + /** + * Get the actual instance, which can be the following: + * ConnectionRouteEntryOrFilter, ConnectionRouteEntrySimpleExpression + * + * @return The actual instance (ConnectionRouteEntryOrFilter, ConnectionRouteEntrySimpleExpression) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `ConnectionRouteEntryOrFilter`. If the actual instance is not `ConnectionRouteEntryOrFilter`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ConnectionRouteEntryOrFilter` + * @throws ClassCastException if the instance is not `ConnectionRouteEntryOrFilter` + */ + public ConnectionRouteEntryOrFilter getConnectionRouteEntryOrFilter() throws ClassCastException { + return (ConnectionRouteEntryOrFilter)super.getActualInstance(); + } + + /** + * Get the actual instance of `ConnectionRouteEntrySimpleExpression`. If the actual instance is not `ConnectionRouteEntrySimpleExpression`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `ConnectionRouteEntrySimpleExpression` + * @throws ClassCastException if the instance is not `ConnectionRouteEntrySimpleExpression` + */ + public ConnectionRouteEntrySimpleExpression getConnectionRouteEntrySimpleExpression() throws ClassCastException { + return (ConnectionRouteEntrySimpleExpression)super.getActualInstance(); + } + + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectionRouteEntryFilter + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + // validate anyOf schemas one by one + int validCount = 0; + // validate the json string with ConnectionRouteEntryOrFilter + try { + ConnectionRouteEntryOrFilter.validateJsonObject(jsonObj); + return; // return earlier as at least one schema is valid with respect to the Json object + //validCount++; + } catch (Exception e) { + // continue to the next one + } + // validate the json string with ConnectionRouteEntrySimpleExpression + try { + ConnectionRouteEntrySimpleExpression.validateJsonObject(jsonObj); + return; // return earlier as at least one schema is valid with respect to the Json object + //validCount++; + } catch (Exception e) { + // continue to the next one + } + if (validCount == 0) { + throw new IOException(String.format("The JSON string is invalid for ConnectionRouteEntryFilter with anyOf schemas: ConnectionRouteEntryOrFilter, ConnectionRouteEntrySimpleExpression. JSON: %s", jsonObj.toString())); + } + } + + /** + * Create an instance of ConnectionRouteEntryFilter given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectionRouteEntryFilter + * @throws IOException if the JSON string is invalid with respect to ConnectionRouteEntryFilter + */ + public static ConnectionRouteEntryFilter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectionRouteEntryFilter.class); + } + + /** + * Convert an instance of ConnectionRouteEntryFilter to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFilters.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFilters.java new file mode 100644 index 00000000..9aad9037 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryFilters.java @@ -0,0 +1,300 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteEntryFilter; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * ConnectionRouteEntryFilters + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ConnectionRouteEntryFilters { + public static final String SERIALIZED_NAME_AND = "and"; + @SerializedName(SERIALIZED_NAME_AND) + private List and = new ArrayList<>(); + + public ConnectionRouteEntryFilters() { + } + + public ConnectionRouteEntryFilters and(List and) { + + this.and = and; + return this; + } + + public ConnectionRouteEntryFilters addAndItem(ConnectionRouteEntryFilter andItem) { + if (this.and == null) { + this.and = new ArrayList<>(); + } + this.and.add(andItem); + return this; + } + + /** + * Get and + * @return and + **/ + @javax.annotation.Nullable + + public List getAnd() { + return and; + } + + + public void setAnd(List and) { + this.and = and; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the ConnectionRouteEntryFilters instance itself + */ + public ConnectionRouteEntryFilters putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectionRouteEntryFilters connectionRouteEntryFilters = (ConnectionRouteEntryFilters) o; + return Objects.equals(this.and, connectionRouteEntryFilters.and)&& + Objects.equals(this.additionalProperties, connectionRouteEntryFilters.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(and, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectionRouteEntryFilters {\n"); + sb.append(" and: ").append(toIndentedString(and)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("and"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectionRouteEntryFilters + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectionRouteEntryFilters.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectionRouteEntryFilters is not found in the empty JSON string", ConnectionRouteEntryFilters.openapiRequiredFields.toString())); + } + } + if (jsonObj.get("and") != null && !jsonObj.get("and").isJsonNull()) { + JsonArray jsonArrayand = jsonObj.getAsJsonArray("and"); + if (jsonArrayand != null) { + // ensure the json data is an array + if (!jsonObj.get("and").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `and` to be an array in the JSON string but got `%s`", jsonObj.get("and").toString())); + } + + // validate the optional field `and` (array) + for (int i = 0; i < jsonArrayand.size(); i++) { + ConnectionRouteEntryFilter.validateJsonObject(jsonArrayand.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectionRouteEntryFilters.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectionRouteEntryFilters' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteEntryFilters.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectionRouteEntryFilters value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public ConnectionRouteEntryFilters read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + ConnectionRouteEntryFilters instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectionRouteEntryFilters given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectionRouteEntryFilters + * @throws IOException if the JSON string is invalid with respect to ConnectionRouteEntryFilters + */ + public static ConnectionRouteEntryFilters fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectionRouteEntryFilters.class); + } + + /** + * Convert an instance of ConnectionRouteEntryFilters to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryOrFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryOrFilter.java new file mode 100644 index 00000000..9c03efc7 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntryOrFilter.java @@ -0,0 +1,300 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteEntrySimpleExpression; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * ConnectionRouteEntryOrFilter + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ConnectionRouteEntryOrFilter { + public static final String SERIALIZED_NAME_OR = "or"; + @SerializedName(SERIALIZED_NAME_OR) + private List or = new ArrayList<>(); + + public ConnectionRouteEntryOrFilter() { + } + + public ConnectionRouteEntryOrFilter or(List or) { + + this.or = or; + return this; + } + + public ConnectionRouteEntryOrFilter addOrItem(ConnectionRouteEntrySimpleExpression orItem) { + if (this.or == null) { + this.or = new ArrayList<>(); + } + this.or.add(orItem); + return this; + } + + /** + * Get or + * @return or + **/ + @javax.annotation.Nullable + + public List getOr() { + return or; + } + + + public void setOr(List or) { + this.or = or; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the ConnectionRouteEntryOrFilter instance itself + */ + public ConnectionRouteEntryOrFilter putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectionRouteEntryOrFilter connectionRouteEntryOrFilter = (ConnectionRouteEntryOrFilter) o; + return Objects.equals(this.or, connectionRouteEntryOrFilter.or)&& + Objects.equals(this.additionalProperties, connectionRouteEntryOrFilter.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(or, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectionRouteEntryOrFilter {\n"); + sb.append(" or: ").append(toIndentedString(or)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("or"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectionRouteEntryOrFilter + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectionRouteEntryOrFilter.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectionRouteEntryOrFilter is not found in the empty JSON string", ConnectionRouteEntryOrFilter.openapiRequiredFields.toString())); + } + } + if (jsonObj.get("or") != null && !jsonObj.get("or").isJsonNull()) { + JsonArray jsonArrayor = jsonObj.getAsJsonArray("or"); + if (jsonArrayor != null) { + // ensure the json data is an array + if (!jsonObj.get("or").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `or` to be an array in the JSON string but got `%s`", jsonObj.get("or").toString())); + } + + // validate the optional field `or` (array) + for (int i = 0; i < jsonArrayor.size(); i++) { + ConnectionRouteEntrySimpleExpression.validateJsonObject(jsonArrayor.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectionRouteEntryOrFilter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectionRouteEntryOrFilter' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteEntryOrFilter.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectionRouteEntryOrFilter value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public ConnectionRouteEntryOrFilter read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + ConnectionRouteEntryOrFilter instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectionRouteEntryOrFilter given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectionRouteEntryOrFilter + * @throws IOException if the JSON string is invalid with respect to ConnectionRouteEntryOrFilter + */ + public static ConnectionRouteEntryOrFilter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectionRouteEntryOrFilter.class); + } + + /** + * Convert an instance of ConnectionRouteEntryOrFilter to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySimpleExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySimpleExpression.java new file mode 100644 index 00000000..4c56c298 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySimpleExpression.java @@ -0,0 +1,353 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * ConnectionRouteEntrySimpleExpression + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ConnectionRouteEntrySimpleExpression { + public static final String SERIALIZED_NAME_PROPERTY = "property"; + @SerializedName(SERIALIZED_NAME_PROPERTY) + private String property; + + public static final String SERIALIZED_NAME_OPERATOR = "operator"; + @SerializedName(SERIALIZED_NAME_OPERATOR) + private String operator; + + public static final String SERIALIZED_NAME_VALUES = "values"; + @SerializedName(SERIALIZED_NAME_VALUES) + private List values = new ArrayList<>(); + + public ConnectionRouteEntrySimpleExpression() { + } + + public ConnectionRouteEntrySimpleExpression property(String property) { + + this.property = property; + return this; + } + + /** + * Possible field names to use on filters: * `/type` - Route table entry type * `/state` - Route table entry state * `/prefix` - Route table entry prefix * `/nextHop` - Route table entry nextHop * `/_*` - all-category search + * @return property + **/ + @javax.annotation.Nullable + + public String getProperty() { + return property; + } + + + public void setProperty(String property) { + this.property = property; + } + + + public ConnectionRouteEntrySimpleExpression operator(String operator) { + + this.operator = operator; + return this; + } + + /** + * Possible operators to use on filters: * `=` - equal * `!=` - not equal * `>` - greater than * `>=` - greater than or equal to * `<` - less than * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `~*` - case-insensitive like + * @return operator + **/ + @javax.annotation.Nullable + + public String getOperator() { + return operator; + } + + + public void setOperator(String operator) { + this.operator = operator; + } + + + public ConnectionRouteEntrySimpleExpression values(List values) { + + this.values = values; + return this; + } + + public ConnectionRouteEntrySimpleExpression addValuesItem(String valuesItem) { + if (this.values == null) { + this.values = new ArrayList<>(); + } + this.values.add(valuesItem); + return this; + } + + /** + * Get values + * @return values + **/ + @javax.annotation.Nullable + + public List getValues() { + return values; + } + + + public void setValues(List values) { + this.values = values; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the ConnectionRouteEntrySimpleExpression instance itself + */ + public ConnectionRouteEntrySimpleExpression putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectionRouteEntrySimpleExpression connectionRouteEntrySimpleExpression = (ConnectionRouteEntrySimpleExpression) o; + return Objects.equals(this.property, connectionRouteEntrySimpleExpression.property) && + Objects.equals(this.operator, connectionRouteEntrySimpleExpression.operator) && + Objects.equals(this.values, connectionRouteEntrySimpleExpression.values)&& + Objects.equals(this.additionalProperties, connectionRouteEntrySimpleExpression.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(property, operator, values, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectionRouteEntrySimpleExpression {\n"); + sb.append(" property: ").append(toIndentedString(property)).append("\n"); + sb.append(" operator: ").append(toIndentedString(operator)).append("\n"); + sb.append(" values: ").append(toIndentedString(values)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("property"); + openapiFields.add("operator"); + openapiFields.add("values"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectionRouteEntrySimpleExpression + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectionRouteEntrySimpleExpression.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectionRouteEntrySimpleExpression is not found in the empty JSON string", ConnectionRouteEntrySimpleExpression.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("property") != null && !jsonObj.get("property").isJsonNull()) && !jsonObj.get("property").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `property` to be a primitive type in the JSON string but got `%s`", jsonObj.get("property").toString())); + } + if ((jsonObj.get("operator") != null && !jsonObj.get("operator").isJsonNull()) && !jsonObj.get("operator").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `operator` to be a primitive type in the JSON string but got `%s`", jsonObj.get("operator").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectionRouteEntrySimpleExpression.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectionRouteEntrySimpleExpression' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteEntrySimpleExpression.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectionRouteEntrySimpleExpression value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public ConnectionRouteEntrySimpleExpression read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + ConnectionRouteEntrySimpleExpression instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectionRouteEntrySimpleExpression given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectionRouteEntrySimpleExpression + * @throws IOException if the JSON string is invalid with respect to ConnectionRouteEntrySimpleExpression + */ + public static ConnectionRouteEntrySimpleExpression fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectionRouteEntrySimpleExpression.class); + } + + /** + * Convert an instance of ConnectionRouteEntrySimpleExpression to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortBy.java new file mode 100644 index 00000000..579316e9 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortBy.java @@ -0,0 +1,81 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Possible field names to use on sorting + */ +@JsonAdapter(ConnectionRouteEntrySortBy.Adapter.class) +public enum ConnectionRouteEntrySortBy { + + CHANGELOG_CREATEDDATETIME("/changeLog/createdDateTime"), + + CHANGELOG_UPDATEDDATETIME("/changeLog/updatedDateTime"), + + MED("/med"), + + CONNECTION_NAME("/connection/name"), + + TYPE("/type"), + + PREFIX("/prefix"), + + NEXTHOP("/nextHop"); + + private String value; + + ConnectionRouteEntrySortBy(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConnectionRouteEntrySortBy fromValue(String value) { + for (ConnectionRouteEntrySortBy b : ConnectionRouteEntrySortBy.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConnectionRouteEntrySortBy enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConnectionRouteEntrySortBy read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConnectionRouteEntrySortBy.fromValue(value); + } + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortDirection.java new file mode 100644 index 00000000..487b381e --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteEntrySortDirection.java @@ -0,0 +1,71 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Sorting direction + */ +@JsonAdapter(ConnectionRouteEntrySortDirection.Adapter.class) +public enum ConnectionRouteEntrySortDirection { + + DESC("DESC"), + + ASC("ASC"); + + private String value; + + ConnectionRouteEntrySortDirection(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConnectionRouteEntrySortDirection fromValue(String value) { + for (ConnectionRouteEntrySortDirection b : ConnectionRouteEntrySortDirection.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConnectionRouteEntrySortDirection enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConnectionRouteEntrySortDirection read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConnectionRouteEntrySortDirection.fromValue(value); + } + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFilterData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFilterData.java index d8fc1d9b..749454f3 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFilterData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFilterData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFiltersBase.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFiltersBase.java index a628398a..ab4bc885 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFiltersBase.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteFiltersBase.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSearchRequest.java new file mode 100644 index 00000000..4385bd8e --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSearchRequest.java @@ -0,0 +1,368 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteEntryFilters; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteSortCriteria; +import com.equinix.openapi.fabric.v4.model.PaginationRequest; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Search requests containing criteria + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ConnectionRouteSearchRequest { + public static final String SERIALIZED_NAME_FILTER = "filter"; + @SerializedName(SERIALIZED_NAME_FILTER) + private ConnectionRouteEntryFilters filter; + + public static final String SERIALIZED_NAME_PAGINATION = "pagination"; + @SerializedName(SERIALIZED_NAME_PAGINATION) + private PaginationRequest pagination; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private List sort = new ArrayList<>(); + + public ConnectionRouteSearchRequest() { + } + + public ConnectionRouteSearchRequest filter(ConnectionRouteEntryFilters filter) { + + this.filter = filter; + return this; + } + + /** + * Get filter + * @return filter + **/ + @javax.annotation.Nullable + + public ConnectionRouteEntryFilters getFilter() { + return filter; + } + + + public void setFilter(ConnectionRouteEntryFilters filter) { + this.filter = filter; + } + + + public ConnectionRouteSearchRequest pagination(PaginationRequest pagination) { + + this.pagination = pagination; + return this; + } + + /** + * Get pagination + * @return pagination + **/ + @javax.annotation.Nullable + + public PaginationRequest getPagination() { + return pagination; + } + + + public void setPagination(PaginationRequest pagination) { + this.pagination = pagination; + } + + + public ConnectionRouteSearchRequest sort(List sort) { + + this.sort = sort; + return this; + } + + public ConnectionRouteSearchRequest addSortItem(ConnectionRouteSortCriteria sortItem) { + if (this.sort == null) { + this.sort = new ArrayList<>(); + } + this.sort.add(sortItem); + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + + public List getSort() { + return sort; + } + + + public void setSort(List sort) { + this.sort = sort; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the ConnectionRouteSearchRequest instance itself + */ + public ConnectionRouteSearchRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectionRouteSearchRequest connectionRouteSearchRequest = (ConnectionRouteSearchRequest) o; + return Objects.equals(this.filter, connectionRouteSearchRequest.filter) && + Objects.equals(this.pagination, connectionRouteSearchRequest.pagination) && + Objects.equals(this.sort, connectionRouteSearchRequest.sort)&& + Objects.equals(this.additionalProperties, connectionRouteSearchRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(filter, pagination, sort, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectionRouteSearchRequest {\n"); + sb.append(" filter: ").append(toIndentedString(filter)).append("\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("filter"); + openapiFields.add("pagination"); + openapiFields.add("sort"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectionRouteSearchRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectionRouteSearchRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectionRouteSearchRequest is not found in the empty JSON string", ConnectionRouteSearchRequest.openapiRequiredFields.toString())); + } + } + // validate the optional field `filter` + if (jsonObj.get("filter") != null && !jsonObj.get("filter").isJsonNull()) { + ConnectionRouteEntryFilters.validateJsonObject(jsonObj.getAsJsonObject("filter")); + } + // validate the optional field `pagination` + if (jsonObj.get("pagination") != null && !jsonObj.get("pagination").isJsonNull()) { + PaginationRequest.validateJsonObject(jsonObj.getAsJsonObject("pagination")); + } + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + JsonArray jsonArraysort = jsonObj.getAsJsonArray("sort"); + if (jsonArraysort != null) { + // ensure the json data is an array + if (!jsonObj.get("sort").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `sort` to be an array in the JSON string but got `%s`", jsonObj.get("sort").toString())); + } + + // validate the optional field `sort` (array) + for (int i = 0; i < jsonArraysort.size(); i++) { + ConnectionRouteSortCriteria.validateJsonObject(jsonArraysort.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectionRouteSearchRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectionRouteSearchRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteSearchRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectionRouteSearchRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public ConnectionRouteSearchRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + ConnectionRouteSearchRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectionRouteSearchRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectionRouteSearchRequest + * @throws IOException if the JSON string is invalid with respect to ConnectionRouteSearchRequest + */ + public static ConnectionRouteSearchRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectionRouteSearchRequest.class); + } + + /** + * Convert an instance of ConnectionRouteSearchRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSortCriteria.java new file mode 100644 index 00000000..d694e3e8 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteSortCriteria.java @@ -0,0 +1,306 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteEntrySortBy; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteEntrySortDirection; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * ConnectionRouteSortCriteria + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ConnectionRouteSortCriteria { + public static final String SERIALIZED_NAME_DIRECTION = "direction"; + @SerializedName(SERIALIZED_NAME_DIRECTION) + private ConnectionRouteEntrySortDirection direction = ConnectionRouteEntrySortDirection.DESC; + + public static final String SERIALIZED_NAME_PROPERTY = "property"; + @SerializedName(SERIALIZED_NAME_PROPERTY) + private ConnectionRouteEntrySortBy property = ConnectionRouteEntrySortBy.CHANGELOG_UPDATEDDATETIME; + + public ConnectionRouteSortCriteria() { + } + + public ConnectionRouteSortCriteria direction(ConnectionRouteEntrySortDirection direction) { + + this.direction = direction; + return this; + } + + /** + * Get direction + * @return direction + **/ + @javax.annotation.Nullable + + public ConnectionRouteEntrySortDirection getDirection() { + return direction; + } + + + public void setDirection(ConnectionRouteEntrySortDirection direction) { + this.direction = direction; + } + + + public ConnectionRouteSortCriteria property(ConnectionRouteEntrySortBy property) { + + this.property = property; + return this; + } + + /** + * Get property + * @return property + **/ + @javax.annotation.Nullable + + public ConnectionRouteEntrySortBy getProperty() { + return property; + } + + + public void setProperty(ConnectionRouteEntrySortBy property) { + this.property = property; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the ConnectionRouteSortCriteria instance itself + */ + public ConnectionRouteSortCriteria putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectionRouteSortCriteria connectionRouteSortCriteria = (ConnectionRouteSortCriteria) o; + return Objects.equals(this.direction, connectionRouteSortCriteria.direction) && + Objects.equals(this.property, connectionRouteSortCriteria.property)&& + Objects.equals(this.additionalProperties, connectionRouteSortCriteria.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(direction, property, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectionRouteSortCriteria {\n"); + sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); + sb.append(" property: ").append(toIndentedString(property)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("direction"); + openapiFields.add("property"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectionRouteSortCriteria + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectionRouteSortCriteria.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectionRouteSortCriteria is not found in the empty JSON string", ConnectionRouteSortCriteria.openapiRequiredFields.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectionRouteSortCriteria.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectionRouteSortCriteria' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteSortCriteria.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectionRouteSortCriteria value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public ConnectionRouteSortCriteria read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + ConnectionRouteSortCriteria instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectionRouteSortCriteria given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectionRouteSortCriteria + * @throws IOException if the JSON string is invalid with respect to ConnectionRouteSortCriteria + */ + public static ConnectionRouteSortCriteria fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectionRouteSortCriteria.class); + } + + /** + * Convert an instance of ConnectionRouteSortCriteria to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntry.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntry.java new file mode 100644 index 00000000..ee19eff8 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntry.java @@ -0,0 +1,658 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.Changelog; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteTableEntryConnection; +import com.equinix.openapi.fabric.v4.model.RouteTableEntryProtocolType; +import com.equinix.openapi.fabric.v4.model.RouteTableEntryType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Adv/Rec Route table entry object + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ConnectionRouteTableEntry { + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private RouteTableEntryType type; + + public static final String SERIALIZED_NAME_PROTOCOL_TYPE = "protocolType"; + @SerializedName(SERIALIZED_NAME_PROTOCOL_TYPE) + private RouteTableEntryProtocolType protocolType; + + /** + * Gets or Sets state + */ + @JsonAdapter(StateEnum.Adapter.class) + public enum StateEnum { + ACTIVE("ACTIVE"), + + INACTIVE("INACTIVE"); + + private String value; + + StateEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static StateEnum fromValue(String value) { + for (StateEnum b : StateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final StateEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public StateEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return StateEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_STATE = "state"; + @SerializedName(SERIALIZED_NAME_STATE) + private StateEnum state; + + public static final String SERIALIZED_NAME_AGE = "age"; + @SerializedName(SERIALIZED_NAME_AGE) + private String age; + + public static final String SERIALIZED_NAME_PREFIX = "prefix"; + @SerializedName(SERIALIZED_NAME_PREFIX) + private String prefix; + + public static final String SERIALIZED_NAME_NEXT_HOP = "nextHop"; + @SerializedName(SERIALIZED_NAME_NEXT_HOP) + private String nextHop; + + public static final String SERIALIZED_NAME_M_E_D = "MED"; + @SerializedName(SERIALIZED_NAME_M_E_D) + private Integer MED; + + public static final String SERIALIZED_NAME_LOCAL_PREFERENCE = "localPreference"; + @SerializedName(SERIALIZED_NAME_LOCAL_PREFERENCE) + private Integer localPreference; + + public static final String SERIALIZED_NAME_AS_PATH = "asPath"; + @SerializedName(SERIALIZED_NAME_AS_PATH) + private List asPath = new ArrayList<>(); + + public static final String SERIALIZED_NAME_CONNECTION = "connection"; + @SerializedName(SERIALIZED_NAME_CONNECTION) + private ConnectionRouteTableEntryConnection connection; + + public static final String SERIALIZED_NAME_CHANGE_LOG = "changeLog"; + @SerializedName(SERIALIZED_NAME_CHANGE_LOG) + private Changelog changeLog; + + public ConnectionRouteTableEntry() { + } + + public ConnectionRouteTableEntry type(RouteTableEntryType type) { + + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nonnull + + public RouteTableEntryType getType() { + return type; + } + + + public void setType(RouteTableEntryType type) { + this.type = type; + } + + + public ConnectionRouteTableEntry protocolType(RouteTableEntryProtocolType protocolType) { + + this.protocolType = protocolType; + return this; + } + + /** + * Get protocolType + * @return protocolType + **/ + @javax.annotation.Nullable + + public RouteTableEntryProtocolType getProtocolType() { + return protocolType; + } + + + public void setProtocolType(RouteTableEntryProtocolType protocolType) { + this.protocolType = protocolType; + } + + + public ConnectionRouteTableEntry state(StateEnum state) { + + this.state = state; + return this; + } + + /** + * Get state + * @return state + **/ + @javax.annotation.Nonnull + + public StateEnum getState() { + return state; + } + + + public void setState(StateEnum state) { + this.state = state; + } + + + public ConnectionRouteTableEntry age(String age) { + + this.age = age; + return this; + } + + /** + * Get age + * @return age + **/ + @javax.annotation.Nullable + + public String getAge() { + return age; + } + + + public void setAge(String age) { + this.age = age; + } + + + public ConnectionRouteTableEntry prefix(String prefix) { + + this.prefix = prefix; + return this; + } + + /** + * Get prefix + * @return prefix + **/ + @javax.annotation.Nullable + + public String getPrefix() { + return prefix; + } + + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + + public ConnectionRouteTableEntry nextHop(String nextHop) { + + this.nextHop = nextHop; + return this; + } + + /** + * Get nextHop + * @return nextHop + **/ + @javax.annotation.Nullable + + public String getNextHop() { + return nextHop; + } + + + public void setNextHop(String nextHop) { + this.nextHop = nextHop; + } + + + public ConnectionRouteTableEntry MED(Integer MED) { + + this.MED = MED; + return this; + } + + /** + * Get MED + * @return MED + **/ + @javax.annotation.Nullable + + public Integer getMED() { + return MED; + } + + + public void setMED(Integer MED) { + this.MED = MED; + } + + + public ConnectionRouteTableEntry localPreference(Integer localPreference) { + + this.localPreference = localPreference; + return this; + } + + /** + * Get localPreference + * @return localPreference + **/ + @javax.annotation.Nullable + + public Integer getLocalPreference() { + return localPreference; + } + + + public void setLocalPreference(Integer localPreference) { + this.localPreference = localPreference; + } + + + public ConnectionRouteTableEntry asPath(List asPath) { + + this.asPath = asPath; + return this; + } + + public ConnectionRouteTableEntry addAsPathItem(String asPathItem) { + if (this.asPath == null) { + this.asPath = new ArrayList<>(); + } + this.asPath.add(asPathItem); + return this; + } + + /** + * Get asPath + * @return asPath + **/ + @javax.annotation.Nullable + + public List getAsPath() { + return asPath; + } + + + public void setAsPath(List asPath) { + this.asPath = asPath; + } + + + public ConnectionRouteTableEntry connection(ConnectionRouteTableEntryConnection connection) { + + this.connection = connection; + return this; + } + + /** + * Get connection + * @return connection + **/ + @javax.annotation.Nullable + + public ConnectionRouteTableEntryConnection getConnection() { + return connection; + } + + + public void setConnection(ConnectionRouteTableEntryConnection connection) { + this.connection = connection; + } + + + public ConnectionRouteTableEntry changeLog(Changelog changeLog) { + + this.changeLog = changeLog; + return this; + } + + /** + * Get changeLog + * @return changeLog + **/ + @javax.annotation.Nonnull + + public Changelog getChangeLog() { + return changeLog; + } + + + public void setChangeLog(Changelog changeLog) { + this.changeLog = changeLog; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the ConnectionRouteTableEntry instance itself + */ + public ConnectionRouteTableEntry putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectionRouteTableEntry connectionRouteTableEntry = (ConnectionRouteTableEntry) o; + return Objects.equals(this.type, connectionRouteTableEntry.type) && + Objects.equals(this.protocolType, connectionRouteTableEntry.protocolType) && + Objects.equals(this.state, connectionRouteTableEntry.state) && + Objects.equals(this.age, connectionRouteTableEntry.age) && + Objects.equals(this.prefix, connectionRouteTableEntry.prefix) && + Objects.equals(this.nextHop, connectionRouteTableEntry.nextHop) && + Objects.equals(this.MED, connectionRouteTableEntry.MED) && + Objects.equals(this.localPreference, connectionRouteTableEntry.localPreference) && + Objects.equals(this.asPath, connectionRouteTableEntry.asPath) && + Objects.equals(this.connection, connectionRouteTableEntry.connection) && + Objects.equals(this.changeLog, connectionRouteTableEntry.changeLog)&& + Objects.equals(this.additionalProperties, connectionRouteTableEntry.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(type, protocolType, state, age, prefix, nextHop, MED, localPreference, asPath, connection, changeLog, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectionRouteTableEntry {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" protocolType: ").append(toIndentedString(protocolType)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" age: ").append(toIndentedString(age)).append("\n"); + sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + sb.append(" nextHop: ").append(toIndentedString(nextHop)).append("\n"); + sb.append(" MED: ").append(toIndentedString(MED)).append("\n"); + sb.append(" localPreference: ").append(toIndentedString(localPreference)).append("\n"); + sb.append(" asPath: ").append(toIndentedString(asPath)).append("\n"); + sb.append(" connection: ").append(toIndentedString(connection)).append("\n"); + sb.append(" changeLog: ").append(toIndentedString(changeLog)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("type"); + openapiFields.add("protocolType"); + openapiFields.add("state"); + openapiFields.add("age"); + openapiFields.add("prefix"); + openapiFields.add("nextHop"); + openapiFields.add("MED"); + openapiFields.add("localPreference"); + openapiFields.add("asPath"); + openapiFields.add("connection"); + openapiFields.add("changeLog"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("type"); + openapiRequiredFields.add("state"); + openapiRequiredFields.add("changeLog"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectionRouteTableEntry + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectionRouteTableEntry.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectionRouteTableEntry is not found in the empty JSON string", ConnectionRouteTableEntry.openapiRequiredFields.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ConnectionRouteTableEntry.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("state").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); + } + if ((jsonObj.get("age") != null && !jsonObj.get("age").isJsonNull()) && !jsonObj.get("age").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `age` to be a primitive type in the JSON string but got `%s`", jsonObj.get("age").toString())); + } + if ((jsonObj.get("prefix") != null && !jsonObj.get("prefix").isJsonNull()) && !jsonObj.get("prefix").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `prefix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("prefix").toString())); + } + if ((jsonObj.get("nextHop") != null && !jsonObj.get("nextHop").isJsonNull()) && !jsonObj.get("nextHop").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `nextHop` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nextHop").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("asPath") != null && !jsonObj.get("asPath").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `asPath` to be an array in the JSON string but got `%s`", jsonObj.get("asPath").toString())); + } + // validate the optional field `connection` + if (jsonObj.get("connection") != null && !jsonObj.get("connection").isJsonNull()) { + ConnectionRouteTableEntryConnection.validateJsonObject(jsonObj.getAsJsonObject("connection")); + } + // validate the required field `changeLog` + Changelog.validateJsonObject(jsonObj.getAsJsonObject("changeLog")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectionRouteTableEntry.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectionRouteTableEntry' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteTableEntry.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectionRouteTableEntry value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public ConnectionRouteTableEntry read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + ConnectionRouteTableEntry instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectionRouteTableEntry given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectionRouteTableEntry + * @throws IOException if the JSON string is invalid with respect to ConnectionRouteTableEntry + */ + public static ConnectionRouteTableEntry fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectionRouteTableEntry.class); + } + + /** + * Convert an instance of ConnectionRouteTableEntry to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryConnection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntryConnection.java similarity index 78% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryConnection.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntryConnection.java index ff1d10a3..54be4401 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryConnection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntryConnection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -42,10 +42,10 @@ import com.equinix.openapi.fabric.JSON; /** - * RouteTableEntryConnection + * ConnectionRouteTableEntryConnection */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RouteTableEntryConnection { +public class ConnectionRouteTableEntryConnection { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) private String uuid; @@ -54,10 +54,10 @@ public class RouteTableEntryConnection { @SerializedName(SERIALIZED_NAME_NAME) private String name; - public RouteTableEntryConnection() { + public ConnectionRouteTableEntryConnection() { } - public RouteTableEntryConnection uuid(String uuid) { + public ConnectionRouteTableEntryConnection uuid(String uuid) { this.uuid = uuid; return this; @@ -79,7 +79,7 @@ public void setUuid(String uuid) { } - public RouteTableEntryConnection name(String name) { + public ConnectionRouteTableEntryConnection name(String name) { this.name = name; return this; @@ -113,9 +113,9 @@ public void setName(String name) { * * @param key name of the property * @param value value of the property - * @return the RouteTableEntryConnection instance itself + * @return the ConnectionRouteTableEntryConnection instance itself */ - public RouteTableEntryConnection putAdditionalProperty(String key, Object value) { + public ConnectionRouteTableEntryConnection putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -154,10 +154,10 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RouteTableEntryConnection routeTableEntryConnection = (RouteTableEntryConnection) o; - return Objects.equals(this.uuid, routeTableEntryConnection.uuid) && - Objects.equals(this.name, routeTableEntryConnection.name)&& - Objects.equals(this.additionalProperties, routeTableEntryConnection.additionalProperties); + ConnectionRouteTableEntryConnection connectionRouteTableEntryConnection = (ConnectionRouteTableEntryConnection) o; + return Objects.equals(this.uuid, connectionRouteTableEntryConnection.uuid) && + Objects.equals(this.name, connectionRouteTableEntryConnection.name)&& + Objects.equals(this.additionalProperties, connectionRouteTableEntryConnection.additionalProperties); } @Override @@ -168,7 +168,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RouteTableEntryConnection {\n"); + sb.append("class ConnectionRouteTableEntryConnection {\n"); sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); @@ -205,12 +205,12 @@ private String toIndentedString(Object o) { * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to RouteTableEntryConnection + * @throws IOException if the JSON Object is invalid with respect to ConnectionRouteTableEntryConnection */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!RouteTableEntryConnection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in RouteTableEntryConnection is not found in the empty JSON string", RouteTableEntryConnection.openapiRequiredFields.toString())); + if (!ConnectionRouteTableEntryConnection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectionRouteTableEntryConnection is not found in the empty JSON string", ConnectionRouteTableEntryConnection.openapiRequiredFields.toString())); } } if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { @@ -225,16 +225,16 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!RouteTableEntryConnection.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'RouteTableEntryConnection' and its subtypes + if (!ConnectionRouteTableEntryConnection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectionRouteTableEntryConnection' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(RouteTableEntryConnection.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteTableEntryConnection.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, RouteTableEntryConnection value) throws IOException { + public void write(JsonWriter out, ConnectionRouteTableEntryConnection value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -257,11 +257,11 @@ else if (entry.getValue() instanceof Character) } @Override - public RouteTableEntryConnection read(JsonReader in) throws IOException { + public ConnectionRouteTableEntryConnection read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - RouteTableEntryConnection instance = thisAdapter.fromJsonTree(jsonObj); + ConnectionRouteTableEntryConnection instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -288,18 +288,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of RouteTableEntryConnection given an JSON string + * Create an instance of ConnectionRouteTableEntryConnection given an JSON string * * @param jsonString JSON string - * @return An instance of RouteTableEntryConnection - * @throws IOException if the JSON string is invalid with respect to RouteTableEntryConnection + * @return An instance of ConnectionRouteTableEntryConnection + * @throws IOException if the JSON string is invalid with respect to ConnectionRouteTableEntryConnection */ - public static RouteTableEntryConnection fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, RouteTableEntryConnection.class); + public static ConnectionRouteTableEntryConnection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectionRouteTableEntryConnection.class); } /** - * Convert an instance of RouteTableEntryConnection to an JSON string + * Convert an instance of ConnectionRouteTableEntryConnection to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntrySearchResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntrySearchResponse.java new file mode 100644 index 00000000..5e764eb9 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRouteTableEntrySearchResponse.java @@ -0,0 +1,334 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteTableEntry; +import com.equinix.openapi.fabric.v4.model.Pagination; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * ConnectionRouteTableEntrySearchResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ConnectionRouteTableEntrySearchResponse { + public static final String SERIALIZED_NAME_PAGINATION = "pagination"; + @SerializedName(SERIALIZED_NAME_PAGINATION) + private Pagination pagination; + + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); + + public ConnectionRouteTableEntrySearchResponse() { + } + + public ConnectionRouteTableEntrySearchResponse pagination(Pagination pagination) { + + this.pagination = pagination; + return this; + } + + /** + * Get pagination + * @return pagination + **/ + @javax.annotation.Nullable + + public Pagination getPagination() { + return pagination; + } + + + public void setPagination(Pagination pagination) { + this.pagination = pagination; + } + + + public ConnectionRouteTableEntrySearchResponse data(List data) { + + this.data = data; + return this; + } + + public ConnectionRouteTableEntrySearchResponse addDataItem(ConnectionRouteTableEntry dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Data returned from the API call. + * @return data + **/ + @javax.annotation.Nullable + + public List getData() { + return data; + } + + + public void setData(List data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the ConnectionRouteTableEntrySearchResponse instance itself + */ + public ConnectionRouteTableEntrySearchResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConnectionRouteTableEntrySearchResponse connectionRouteTableEntrySearchResponse = (ConnectionRouteTableEntrySearchResponse) o; + return Objects.equals(this.pagination, connectionRouteTableEntrySearchResponse.pagination) && + Objects.equals(this.data, connectionRouteTableEntrySearchResponse.data)&& + Objects.equals(this.additionalProperties, connectionRouteTableEntrySearchResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(pagination, data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConnectionRouteTableEntrySearchResponse {\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("pagination"); + openapiFields.add("data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ConnectionRouteTableEntrySearchResponse + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ConnectionRouteTableEntrySearchResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ConnectionRouteTableEntrySearchResponse is not found in the empty JSON string", ConnectionRouteTableEntrySearchResponse.openapiRequiredFields.toString())); + } + } + // validate the optional field `pagination` + if (jsonObj.get("pagination") != null && !jsonObj.get("pagination").isJsonNull()) { + Pagination.validateJsonObject(jsonObj.getAsJsonObject("pagination")); + } + if (jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `data` to be an array in the JSON string but got `%s`", jsonObj.get("data").toString())); + } + + // validate the optional field `data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + ConnectionRouteTableEntry.validateJsonObject(jsonArraydata.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ConnectionRouteTableEntrySearchResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ConnectionRouteTableEntrySearchResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ConnectionRouteTableEntrySearchResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ConnectionRouteTableEntrySearchResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public ConnectionRouteTableEntrySearchResponse read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + ConnectionRouteTableEntrySearchResponse instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ConnectionRouteTableEntrySearchResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of ConnectionRouteTableEntrySearchResponse + * @throws IOException if the JSON string is invalid with respect to ConnectionRouteTableEntrySearchResponse + */ + public static ConnectionRouteTableEntrySearchResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ConnectionRouteTableEntrySearchResponse.class); + } + + /** + * Convert an instance of ConnectionRouteTableEntrySearchResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRoutingProtocolPostRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRoutingProtocolPostRequest.java index efb402cc..84d2239d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRoutingProtocolPostRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionRoutingProtocolPostRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSearchResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSearchResponse.java index 16ca95d8..a680f8a6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSearchResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSearchResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSide.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSide.java index 5bd64161..7fab5b28 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSide.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSide.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSideAdditionalInfo.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSideAdditionalInfo.java index 0e4a13a5..802ae7cb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSideAdditionalInfo.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionSideAdditionalInfo.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionState.java index 76aa1c92..1f5673dd 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionType.java index 47618e94..fc9aff96 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectionType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectivitySource.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectivitySource.java index ac5be7b5..9abba9cb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectivitySource.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectivitySource.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectivitySourceType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectivitySourceType.java index f4556a8c..3f13ab0b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectivitySourceType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ConnectivitySourceType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CustomField.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CustomField.java index da0c15b6..7058a5a0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CustomField.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/CustomField.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/DirectConnectionIpv4.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/DirectConnectionIpv4.java index 19d951fc..a71d256a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/DirectConnectionIpv4.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/DirectConnectionIpv4.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/DirectConnectionIpv6.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/DirectConnectionIpv6.java index f6dfcb24..244b4a20 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/DirectConnectionIpv6.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/DirectConnectionIpv6.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Direction.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Direction.java index dd34c2b5..0e47206a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Direction.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Direction.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Duration.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Duration.java index 80f4a1e2..510da0c8 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Duration.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Duration.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/EquinixStatus.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/EquinixStatus.java index 9cd6c2c9..b7600e8c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/EquinixStatus.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/EquinixStatus.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Error.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Error.java index 9d13f677..c99f546a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Error.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Error.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Expression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Expression.java index 6842cdaa..0e3b331d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Expression.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Expression.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterCode.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterCode.java index 60dba635..f48c417a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterCode.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterCode.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPackages.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPackages.java index 74de68be..59658674 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPackages.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPackages.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPrice.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPrice.java index beaf489f..8b6a35d9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPrice.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricCloudRouterPrice.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FilterBody.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FilterBody.java index ab238eb7..7a868466 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FilterBody.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FilterBody.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GeoCoordinates.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GeoCoordinates.java index ce15ec8d..2561813e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GeoCoordinates.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GeoCoordinates.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GeoScopeType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GeoScopeType.java index 46f2d474..3a9791c8 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GeoScopeType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GeoScopeType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllConnectionRouteFiltersResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllConnectionRouteFiltersResponse.java index e60b8a4c..e4a5ad7c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllConnectionRouteFiltersResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllConnectionRouteFiltersResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamAssetResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamAssetResponse.java new file mode 100644 index 00000000..6e23a32e --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamAssetResponse.java @@ -0,0 +1,334 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.Pagination; +import com.equinix.openapi.fabric.v4.model.StreamAsset; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * GetAllStreamAssetResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class GetAllStreamAssetResponse { + public static final String SERIALIZED_NAME_PAGINATION = "pagination"; + @SerializedName(SERIALIZED_NAME_PAGINATION) + private Pagination pagination; + + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); + + public GetAllStreamAssetResponse() { + } + + public GetAllStreamAssetResponse pagination(Pagination pagination) { + + this.pagination = pagination; + return this; + } + + /** + * Get pagination + * @return pagination + **/ + @javax.annotation.Nullable + + public Pagination getPagination() { + return pagination; + } + + + public void setPagination(Pagination pagination) { + this.pagination = pagination; + } + + + public GetAllStreamAssetResponse data(List data) { + + this.data = data; + return this; + } + + public GetAllStreamAssetResponse addDataItem(StreamAsset dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Data returned from the API call. + * @return data + **/ + @javax.annotation.Nullable + + public List getData() { + return data; + } + + + public void setData(List data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the GetAllStreamAssetResponse instance itself + */ + public GetAllStreamAssetResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetAllStreamAssetResponse getAllStreamAssetResponse = (GetAllStreamAssetResponse) o; + return Objects.equals(this.pagination, getAllStreamAssetResponse.pagination) && + Objects.equals(this.data, getAllStreamAssetResponse.data)&& + Objects.equals(this.additionalProperties, getAllStreamAssetResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(pagination, data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetAllStreamAssetResponse {\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("pagination"); + openapiFields.add("data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to GetAllStreamAssetResponse + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!GetAllStreamAssetResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GetAllStreamAssetResponse is not found in the empty JSON string", GetAllStreamAssetResponse.openapiRequiredFields.toString())); + } + } + // validate the optional field `pagination` + if (jsonObj.get("pagination") != null && !jsonObj.get("pagination").isJsonNull()) { + Pagination.validateJsonObject(jsonObj.getAsJsonObject("pagination")); + } + if (jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `data` to be an array in the JSON string but got `%s`", jsonObj.get("data").toString())); + } + + // validate the optional field `data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + StreamAsset.validateJsonObject(jsonArraydata.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetAllStreamAssetResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetAllStreamAssetResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GetAllStreamAssetResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetAllStreamAssetResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public GetAllStreamAssetResponse read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + GetAllStreamAssetResponse instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetAllStreamAssetResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetAllStreamAssetResponse + * @throws IOException if the JSON string is invalid with respect to GetAllStreamAssetResponse + */ + public static GetAllStreamAssetResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetAllStreamAssetResponse.class); + } + + /** + * Convert an instance of GetAllStreamAssetResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolUntagged.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamResponse.java similarity index 65% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolUntagged.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamResponse.java index ac3e4e62..9bdb9780 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolUntagged.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,14 +13,16 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.LinkProtocolIpv4Ipv6Config; -import com.equinix.openapi.fabric.v4.model.LinkProtocolType; +import com.equinix.openapi.fabric.v4.model.Pagination; +import com.equinix.openapi.fabric.v4.model.Stream; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -44,88 +46,70 @@ import com.equinix.openapi.fabric.JSON; /** - * Connection link protocol configuration - UNTAGGED + * GetAllStreamResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class LinkProtocolUntagged { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private LinkProtocolType type; - - public static final String SERIALIZED_NAME_IPV4 = "ipv4"; - @SerializedName(SERIALIZED_NAME_IPV4) - private LinkProtocolIpv4Ipv6Config ipv4; +public class GetAllStreamResponse { + public static final String SERIALIZED_NAME_PAGINATION = "pagination"; + @SerializedName(SERIALIZED_NAME_PAGINATION) + private Pagination pagination; - public static final String SERIALIZED_NAME_IPV6 = "ipv6"; - @SerializedName(SERIALIZED_NAME_IPV6) - private LinkProtocolIpv4Ipv6Config ipv6; + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); - public LinkProtocolUntagged() { + public GetAllStreamResponse() { } - public LinkProtocolUntagged type(LinkProtocolType type) { + public GetAllStreamResponse pagination(Pagination pagination) { - this.type = type; + this.pagination = pagination; return this; } /** - * Get type - * @return type + * Get pagination + * @return pagination **/ @javax.annotation.Nullable - public LinkProtocolType getType() { - return type; + public Pagination getPagination() { + return pagination; } - public void setType(LinkProtocolType type) { - this.type = type; + public void setPagination(Pagination pagination) { + this.pagination = pagination; } - public LinkProtocolUntagged ipv4(LinkProtocolIpv4Ipv6Config ipv4) { + public GetAllStreamResponse data(List data) { - this.ipv4 = ipv4; + this.data = data; return this; } - /** - * Get ipv4 - * @return ipv4 - **/ - @javax.annotation.Nullable - - public LinkProtocolIpv4Ipv6Config getIpv4() { - return ipv4; - } - - - public void setIpv4(LinkProtocolIpv4Ipv6Config ipv4) { - this.ipv4 = ipv4; - } - - - public LinkProtocolUntagged ipv6(LinkProtocolIpv4Ipv6Config ipv6) { - - this.ipv6 = ipv6; + public GetAllStreamResponse addDataItem(Stream dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); return this; } /** - * Get ipv6 - * @return ipv6 + * Data returned from the API call. + * @return data **/ @javax.annotation.Nullable - public LinkProtocolIpv4Ipv6Config getIpv6() { - return ipv6; + public List getData() { + return data; } - public void setIpv6(LinkProtocolIpv4Ipv6Config ipv6) { - this.ipv6 = ipv6; + public void setData(List data) { + this.data = data; } /** @@ -141,9 +125,9 @@ public void setIpv6(LinkProtocolIpv4Ipv6Config ipv6) { * * @param key name of the property * @param value value of the property - * @return the LinkProtocolUntagged instance itself + * @return the GetAllStreamResponse instance itself */ - public LinkProtocolUntagged putAdditionalProperty(String key, Object value) { + public GetAllStreamResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -182,25 +166,23 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - LinkProtocolUntagged linkProtocolUntagged = (LinkProtocolUntagged) o; - return Objects.equals(this.type, linkProtocolUntagged.type) && - Objects.equals(this.ipv4, linkProtocolUntagged.ipv4) && - Objects.equals(this.ipv6, linkProtocolUntagged.ipv6)&& - Objects.equals(this.additionalProperties, linkProtocolUntagged.additionalProperties); + GetAllStreamResponse getAllStreamResponse = (GetAllStreamResponse) o; + return Objects.equals(this.pagination, getAllStreamResponse.pagination) && + Objects.equals(this.data, getAllStreamResponse.data)&& + Objects.equals(this.additionalProperties, getAllStreamResponse.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, ipv4, ipv6, additionalProperties); + return Objects.hash(pagination, data, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class LinkProtocolUntagged {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" ipv4: ").append(toIndentedString(ipv4)).append("\n"); - sb.append(" ipv6: ").append(toIndentedString(ipv6)).append("\n"); + sb.append("class GetAllStreamResponse {\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -224,9 +206,8 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("ipv4"); - openapiFields.add("ipv6"); + openapiFields.add("pagination"); + openapiFields.add("data"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -236,21 +217,31 @@ private String toIndentedString(Object o) { * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to LinkProtocolUntagged + * @throws IOException if the JSON Object is invalid with respect to GetAllStreamResponse */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!LinkProtocolUntagged.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LinkProtocolUntagged is not found in the empty JSON string", LinkProtocolUntagged.openapiRequiredFields.toString())); + if (!GetAllStreamResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GetAllStreamResponse is not found in the empty JSON string", GetAllStreamResponse.openapiRequiredFields.toString())); } } - // validate the optional field `ipv4` - if (jsonObj.get("ipv4") != null && !jsonObj.get("ipv4").isJsonNull()) { - LinkProtocolIpv4Ipv6Config.validateJsonObject(jsonObj.getAsJsonObject("ipv4")); + // validate the optional field `pagination` + if (jsonObj.get("pagination") != null && !jsonObj.get("pagination").isJsonNull()) { + Pagination.validateJsonObject(jsonObj.getAsJsonObject("pagination")); } - // validate the optional field `ipv6` - if (jsonObj.get("ipv6") != null && !jsonObj.get("ipv6").isJsonNull()) { - LinkProtocolIpv4Ipv6Config.validateJsonObject(jsonObj.getAsJsonObject("ipv6")); + if (jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `data` to be an array in the JSON string but got `%s`", jsonObj.get("data").toString())); + } + + // validate the optional field `data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + Stream.validateJsonObject(jsonArraydata.get(i).getAsJsonObject()); + }; + } } } @@ -258,16 +249,16 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!LinkProtocolUntagged.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LinkProtocolUntagged' and its subtypes + if (!GetAllStreamResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetAllStreamResponse' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolUntagged.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GetAllStreamResponse.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, LinkProtocolUntagged value) throws IOException { + public void write(JsonWriter out, GetAllStreamResponse value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -290,11 +281,11 @@ else if (entry.getValue() instanceof Character) } @Override - public LinkProtocolUntagged read(JsonReader in) throws IOException { + public GetAllStreamResponse read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - LinkProtocolUntagged instance = thisAdapter.fromJsonTree(jsonObj); + GetAllStreamResponse instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -321,18 +312,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of LinkProtocolUntagged given an JSON string + * Create an instance of GetAllStreamResponse given an JSON string * * @param jsonString JSON string - * @return An instance of LinkProtocolUntagged - * @throws IOException if the JSON string is invalid with respect to LinkProtocolUntagged + * @return An instance of GetAllStreamResponse + * @throws IOException if the JSON string is invalid with respect to GetAllStreamResponse */ - public static LinkProtocolUntagged fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LinkProtocolUntagged.class); + public static GetAllStreamResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetAllStreamResponse.class); } /** - * Convert an instance of LinkProtocolUntagged to an JSON string + * Convert an instance of GetAllStreamResponse to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamSubscriptionResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamSubscriptionResponse.java new file mode 100644 index 00000000..11431b91 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetAllStreamSubscriptionResponse.java @@ -0,0 +1,334 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.Pagination; +import com.equinix.openapi.fabric.v4.model.StreamSubscription; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * GetAllStreamSubscriptionResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class GetAllStreamSubscriptionResponse { + public static final String SERIALIZED_NAME_PAGINATION = "pagination"; + @SerializedName(SERIALIZED_NAME_PAGINATION) + private Pagination pagination; + + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); + + public GetAllStreamSubscriptionResponse() { + } + + public GetAllStreamSubscriptionResponse pagination(Pagination pagination) { + + this.pagination = pagination; + return this; + } + + /** + * Get pagination + * @return pagination + **/ + @javax.annotation.Nullable + + public Pagination getPagination() { + return pagination; + } + + + public void setPagination(Pagination pagination) { + this.pagination = pagination; + } + + + public GetAllStreamSubscriptionResponse data(List data) { + + this.data = data; + return this; + } + + public GetAllStreamSubscriptionResponse addDataItem(StreamSubscription dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Data returned from the API call. + * @return data + **/ + @javax.annotation.Nullable + + public List getData() { + return data; + } + + + public void setData(List data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the GetAllStreamSubscriptionResponse instance itself + */ + public GetAllStreamSubscriptionResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetAllStreamSubscriptionResponse getAllStreamSubscriptionResponse = (GetAllStreamSubscriptionResponse) o; + return Objects.equals(this.pagination, getAllStreamSubscriptionResponse.pagination) && + Objects.equals(this.data, getAllStreamSubscriptionResponse.data)&& + Objects.equals(this.additionalProperties, getAllStreamSubscriptionResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(pagination, data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetAllStreamSubscriptionResponse {\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("pagination"); + openapiFields.add("data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to GetAllStreamSubscriptionResponse + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!GetAllStreamSubscriptionResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GetAllStreamSubscriptionResponse is not found in the empty JSON string", GetAllStreamSubscriptionResponse.openapiRequiredFields.toString())); + } + } + // validate the optional field `pagination` + if (jsonObj.get("pagination") != null && !jsonObj.get("pagination").isJsonNull()) { + Pagination.validateJsonObject(jsonObj.getAsJsonObject("pagination")); + } + if (jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `data` to be an array in the JSON string but got `%s`", jsonObj.get("data").toString())); + } + + // validate the optional field `data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + StreamSubscription.validateJsonObject(jsonArraydata.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetAllStreamSubscriptionResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetAllStreamSubscriptionResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GetAllStreamSubscriptionResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetAllStreamSubscriptionResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public GetAllStreamSubscriptionResponse read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + GetAllStreamSubscriptionResponse instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetAllStreamSubscriptionResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetAllStreamSubscriptionResponse + * @throws IOException if the JSON string is invalid with respect to GetAllStreamSubscriptionResponse + */ + public static GetAllStreamSubscriptionResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetAllStreamSubscriptionResponse.class); + } + + /** + * Convert an instance of GetAllStreamSubscriptionResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetResponse.java index 9a0ae4d1..a4517ea2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterGetConnectionsResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterGetConnectionsResponse.java index d1a55d3d..e2666643 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterGetConnectionsResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterGetConnectionsResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterRulesResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterRulesResponse.java index 89a43e81..f3099e6a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterRulesResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetRouteFilterRulesResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetSubscriptionsInStreamResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetSubscriptionsInStreamResponse.java new file mode 100644 index 00000000..f7906aeb --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/GetSubscriptionsInStreamResponse.java @@ -0,0 +1,334 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.Pagination; +import com.equinix.openapi.fabric.v4.model.StreamGetSubscriptions; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * GetSubscriptionsInStreamResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class GetSubscriptionsInStreamResponse { + public static final String SERIALIZED_NAME_PAGINATION = "pagination"; + @SerializedName(SERIALIZED_NAME_PAGINATION) + private Pagination pagination; + + public static final String SERIALIZED_NAME_DATA = "data"; + @SerializedName(SERIALIZED_NAME_DATA) + private List data = new ArrayList<>(); + + public GetSubscriptionsInStreamResponse() { + } + + public GetSubscriptionsInStreamResponse pagination(Pagination pagination) { + + this.pagination = pagination; + return this; + } + + /** + * Get pagination + * @return pagination + **/ + @javax.annotation.Nullable + + public Pagination getPagination() { + return pagination; + } + + + public void setPagination(Pagination pagination) { + this.pagination = pagination; + } + + + public GetSubscriptionsInStreamResponse data(List data) { + + this.data = data; + return this; + } + + public GetSubscriptionsInStreamResponse addDataItem(StreamGetSubscriptions dataItem) { + if (this.data == null) { + this.data = new ArrayList<>(); + } + this.data.add(dataItem); + return this; + } + + /** + * Data returned from the API call. + * @return data + **/ + @javax.annotation.Nullable + + public List getData() { + return data; + } + + + public void setData(List data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the GetSubscriptionsInStreamResponse instance itself + */ + public GetSubscriptionsInStreamResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetSubscriptionsInStreamResponse getSubscriptionsInStreamResponse = (GetSubscriptionsInStreamResponse) o; + return Objects.equals(this.pagination, getSubscriptionsInStreamResponse.pagination) && + Objects.equals(this.data, getSubscriptionsInStreamResponse.data)&& + Objects.equals(this.additionalProperties, getSubscriptionsInStreamResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(pagination, data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetSubscriptionsInStreamResponse {\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("pagination"); + openapiFields.add("data"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to GetSubscriptionsInStreamResponse + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!GetSubscriptionsInStreamResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in GetSubscriptionsInStreamResponse is not found in the empty JSON string", GetSubscriptionsInStreamResponse.openapiRequiredFields.toString())); + } + } + // validate the optional field `pagination` + if (jsonObj.get("pagination") != null && !jsonObj.get("pagination").isJsonNull()) { + Pagination.validateJsonObject(jsonObj.getAsJsonObject("pagination")); + } + if (jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull()) { + JsonArray jsonArraydata = jsonObj.getAsJsonArray("data"); + if (jsonArraydata != null) { + // ensure the json data is an array + if (!jsonObj.get("data").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `data` to be an array in the JSON string but got `%s`", jsonObj.get("data").toString())); + } + + // validate the optional field `data` (array) + for (int i = 0; i < jsonArraydata.size(); i++) { + StreamGetSubscriptions.validateJsonObject(jsonArraydata.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetSubscriptionsInStreamResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetSubscriptionsInStreamResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(GetSubscriptionsInStreamResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetSubscriptionsInStreamResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public GetSubscriptionsInStreamResponse read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + GetSubscriptionsInStreamResponse instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetSubscriptionsInStreamResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetSubscriptionsInStreamResponse + * @throws IOException if the JSON string is invalid with respect to GetSubscriptionsInStreamResponse + */ + public static GetSubscriptionsInStreamResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetSubscriptionsInStreamResponse.class); + } + + /** + * Convert an instance of GetSubscriptionsInStreamResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/HealthResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/HealthResponse.java index 9bcc2a32..d93c4871 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/HealthResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/HealthResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/InternetAccess.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/InternetAccess.java index 7b710025..f9827a17 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/InternetAccess.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/InternetAccess.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/IpBlockPrice.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/IpBlockPrice.java index 0d990fdb..50a211e7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/IpBlockPrice.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/IpBlockPrice.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/IpBlockType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/IpBlockType.java index 2eb25c1a..015b0b51 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/IpBlockType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/IpBlockType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Ipv4.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Ipv4.java index ed90b1fb..1152b881 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Ipv4.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Ipv4.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -72,10 +72,10 @@ public Ipv4 primary(String primary) { } /** - * Get primary + * Primary Timing Server IP Address * @return primary **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull public String getPrimary() { return primary; @@ -94,10 +94,10 @@ public Ipv4 secondary(String secondary) { } /** - * Get secondary + * Secondary Timing Server IP Address * @return secondary **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull public String getSecondary() { return secondary; @@ -116,10 +116,10 @@ public Ipv4 networkMask(String networkMask) { } /** - * Get networkMask + * Network Mask * @return networkMask **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull public String getNetworkMask() { return networkMask; @@ -138,7 +138,7 @@ public Ipv4 defaultGateway(String defaultGateway) { } /** - * Get defaultGateway + * Gateway Interface IP address * @return defaultGateway **/ @javax.annotation.Nullable @@ -257,6 +257,9 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("primary"); + openapiRequiredFields.add("secondary"); + openapiRequiredFields.add("networkMask"); } /** @@ -271,13 +274,20 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field(s) %s in Ipv4 is not found in the empty JSON string", Ipv4.openapiRequiredFields.toString())); } } - if ((jsonObj.get("primary") != null && !jsonObj.get("primary").isJsonNull()) && !jsonObj.get("primary").isJsonPrimitive()) { + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : Ipv4.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if (!jsonObj.get("primary").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `primary` to be a primitive type in the JSON string but got `%s`", jsonObj.get("primary").toString())); } - if ((jsonObj.get("secondary") != null && !jsonObj.get("secondary").isJsonNull()) && !jsonObj.get("secondary").isJsonPrimitive()) { + if (!jsonObj.get("secondary").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `secondary` to be a primitive type in the JSON string but got `%s`", jsonObj.get("secondary").toString())); } - if ((jsonObj.get("networkMask") != null && !jsonObj.get("networkMask").isJsonNull()) && !jsonObj.get("networkMask").isJsonPrimitive()) { + if (!jsonObj.get("networkMask").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `networkMask` to be a primitive type in the JSON string but got `%s`", jsonObj.get("networkMask").toString())); } if ((jsonObj.get("defaultGateway") != null && !jsonObj.get("defaultGateway").isJsonNull()) && !jsonObj.get("defaultGateway").isJsonPrimitive()) { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/JsonPatchOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/JsonPatchOperation.java index 91dc1a25..dc34242a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/JsonPatchOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/JsonPatchOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Link.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Link.java index 1a2b0fb0..c0ad1897 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Link.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Link.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkAggregationGroup.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkAggregationGroup.java index f74f3dd8..c2d8d922 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkAggregationGroup.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkAggregationGroup.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocol.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocol.java deleted file mode 100644 index d5053f3b..00000000 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocol.java +++ /dev/null @@ -1,443 +0,0 @@ -/* - * Equinix Fabric API v4 - * - * Contact: api-support@equinix.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.equinix.openapi.fabric.v4.model; - -import java.util.Objects; -import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.LinkProtocolDot1q; -import com.equinix.openapi.fabric.v4.model.LinkProtocolEvpnVxlan; -import com.equinix.openapi.fabric.v4.model.LinkProtocolIpv4Ipv6Config; -import com.equinix.openapi.fabric.v4.model.LinkProtocolQinq; -import com.equinix.openapi.fabric.v4.model.LinkProtocolType; -import com.equinix.openapi.fabric.v4.model.LinkProtocolUntagged; -import com.equinix.openapi.fabric.v4.model.LinkProtocolVxlan; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import javax.ws.rs.core.GenericType; - -import java.io.IOException; -import java.lang.reflect.Type; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; -import java.util.HashMap; -import java.util.Map; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapter; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; -import com.google.gson.JsonPrimitive; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonSerializationContext; -import com.google.gson.JsonSerializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; - -import com.equinix.openapi.fabric.JSON; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class LinkProtocol extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(LinkProtocol.class.getName()); - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!LinkProtocol.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LinkProtocol' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter adapterLinkProtocolDot1q = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolDot1q.class)); - final TypeAdapter adapterLinkProtocolEvpnVxlan = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolEvpnVxlan.class)); - final TypeAdapter adapterLinkProtocolQinq = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolQinq.class)); - final TypeAdapter adapterLinkProtocolUntagged = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolUntagged.class)); - final TypeAdapter adapterLinkProtocolVxlan = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolVxlan.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, LinkProtocol value) throws IOException { - if (value == null || value.getActualInstance() == null) { - elementAdapter.write(out, null); - return; - } - - // check if the actual instance is of the type `LinkProtocolDot1q` - if (value.getActualInstance() instanceof LinkProtocolDot1q) { - JsonObject obj = adapterLinkProtocolDot1q.toJsonTree((LinkProtocolDot1q)value.getActualInstance()).getAsJsonObject(); - elementAdapter.write(out, obj); - return; - } - - // check if the actual instance is of the type `LinkProtocolEvpnVxlan` - if (value.getActualInstance() instanceof LinkProtocolEvpnVxlan) { - JsonObject obj = adapterLinkProtocolEvpnVxlan.toJsonTree((LinkProtocolEvpnVxlan)value.getActualInstance()).getAsJsonObject(); - elementAdapter.write(out, obj); - return; - } - - // check if the actual instance is of the type `LinkProtocolQinq` - if (value.getActualInstance() instanceof LinkProtocolQinq) { - JsonObject obj = adapterLinkProtocolQinq.toJsonTree((LinkProtocolQinq)value.getActualInstance()).getAsJsonObject(); - elementAdapter.write(out, obj); - return; - } - - // check if the actual instance is of the type `LinkProtocolUntagged` - if (value.getActualInstance() instanceof LinkProtocolUntagged) { - JsonObject obj = adapterLinkProtocolUntagged.toJsonTree((LinkProtocolUntagged)value.getActualInstance()).getAsJsonObject(); - elementAdapter.write(out, obj); - return; - } - - // check if the actual instance is of the type `LinkProtocolVxlan` - if (value.getActualInstance() instanceof LinkProtocolVxlan) { - JsonObject obj = adapterLinkProtocolVxlan.toJsonTree((LinkProtocolVxlan)value.getActualInstance()).getAsJsonObject(); - elementAdapter.write(out, obj); - return; - } - - throw new IOException("Failed to serialize as the type doesn't match oneOf schemas: LinkProtocolDot1q, LinkProtocolEvpnVxlan, LinkProtocolQinq, LinkProtocolUntagged, LinkProtocolVxlan"); - } - - @Override - public LinkProtocol read(JsonReader in) throws IOException { - Object deserialized = null; - JsonObject jsonObject = elementAdapter.read(in).getAsJsonObject(); - - int match = 0; - ArrayList errorMessages = new ArrayList<>(); - TypeAdapter actualAdapter = elementAdapter; - - // deserialize LinkProtocolDot1q - try { - // validate the JSON object to see if any exception is thrown - LinkProtocolDot1q.validateJsonObject(jsonObject); - actualAdapter = adapterLinkProtocolDot1q; - match++; - log.log(Level.FINER, "Input data matches schema 'LinkProtocolDot1q'"); - } catch (Exception e) { - // deserialization failed, continue - errorMessages.add(String.format("Deserialization for LinkProtocolDot1q failed with `%s`.", e.getMessage())); - log.log(Level.FINER, "Input data does not match schema 'LinkProtocolDot1q'", e); - } - - // deserialize LinkProtocolEvpnVxlan - try { - // validate the JSON object to see if any exception is thrown - LinkProtocolEvpnVxlan.validateJsonObject(jsonObject); - actualAdapter = adapterLinkProtocolEvpnVxlan; - match++; - log.log(Level.FINER, "Input data matches schema 'LinkProtocolEvpnVxlan'"); - } catch (Exception e) { - // deserialization failed, continue - errorMessages.add(String.format("Deserialization for LinkProtocolEvpnVxlan failed with `%s`.", e.getMessage())); - log.log(Level.FINER, "Input data does not match schema 'LinkProtocolEvpnVxlan'", e); - } - - // deserialize LinkProtocolQinq - try { - // validate the JSON object to see if any exception is thrown - LinkProtocolQinq.validateJsonObject(jsonObject); - actualAdapter = adapterLinkProtocolQinq; - match++; - log.log(Level.FINER, "Input data matches schema 'LinkProtocolQinq'"); - } catch (Exception e) { - // deserialization failed, continue - errorMessages.add(String.format("Deserialization for LinkProtocolQinq failed with `%s`.", e.getMessage())); - log.log(Level.FINER, "Input data does not match schema 'LinkProtocolQinq'", e); - } - - // deserialize LinkProtocolUntagged - try { - // validate the JSON object to see if any exception is thrown - LinkProtocolUntagged.validateJsonObject(jsonObject); - actualAdapter = adapterLinkProtocolUntagged; - match++; - log.log(Level.FINER, "Input data matches schema 'LinkProtocolUntagged'"); - } catch (Exception e) { - // deserialization failed, continue - errorMessages.add(String.format("Deserialization for LinkProtocolUntagged failed with `%s`.", e.getMessage())); - log.log(Level.FINER, "Input data does not match schema 'LinkProtocolUntagged'", e); - } - - // deserialize LinkProtocolVxlan - try { - // validate the JSON object to see if any exception is thrown - LinkProtocolVxlan.validateJsonObject(jsonObject); - actualAdapter = adapterLinkProtocolVxlan; - match++; - log.log(Level.FINER, "Input data matches schema 'LinkProtocolVxlan'"); - } catch (Exception e) { - // deserialization failed, continue - errorMessages.add(String.format("Deserialization for LinkProtocolVxlan failed with `%s`.", e.getMessage())); - log.log(Level.FINER, "Input data does not match schema 'LinkProtocolVxlan'", e); - } - - if (match == 1) { - LinkProtocol ret = new LinkProtocol(); - ret.setActualInstance(actualAdapter.fromJsonTree(jsonObject)); - return ret; - } - - throw new IOException(String.format("Failed deserialization for LinkProtocol: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonObject.toString())); - } - }.nullSafe(); - } - } - - // store a list of schema names defined in oneOf - public static final Map schemas = new HashMap(); - - public LinkProtocol() { - super("oneOf", Boolean.FALSE); - } - - public LinkProtocol(LinkProtocolDot1q o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public LinkProtocol(LinkProtocolEvpnVxlan o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public LinkProtocol(LinkProtocolQinq o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public LinkProtocol(LinkProtocolUntagged o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - public LinkProtocol(LinkProtocolVxlan o) { - super("oneOf", Boolean.FALSE); - setActualInstance(o); - } - - static { - schemas.put("LinkProtocolDot1q", new GenericType() { - }); - schemas.put("LinkProtocolEvpnVxlan", new GenericType() { - }); - schemas.put("LinkProtocolQinq", new GenericType() { - }); - schemas.put("LinkProtocolUntagged", new GenericType() { - }); - schemas.put("LinkProtocolVxlan", new GenericType() { - }); - } - - @Override - public Map getSchemas() { - return LinkProtocol.schemas; - } - - /** - * Set the instance that matches the oneOf child schema, check - * the instance parameter is valid against the oneOf child schemas: - * LinkProtocolDot1q, LinkProtocolEvpnVxlan, LinkProtocolQinq, LinkProtocolUntagged, LinkProtocolVxlan - * - * It could be an instance of the 'oneOf' schemas. - * The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf). - */ - @Override - public void setActualInstance(Object instance) { - if (instance instanceof LinkProtocolDot1q) { - super.setActualInstance(instance); - return; - } - - if (instance instanceof LinkProtocolEvpnVxlan) { - super.setActualInstance(instance); - return; - } - - if (instance instanceof LinkProtocolQinq) { - super.setActualInstance(instance); - return; - } - - if (instance instanceof LinkProtocolUntagged) { - super.setActualInstance(instance); - return; - } - - if (instance instanceof LinkProtocolVxlan) { - super.setActualInstance(instance); - return; - } - - throw new RuntimeException("Invalid instance type. Must be LinkProtocolDot1q, LinkProtocolEvpnVxlan, LinkProtocolQinq, LinkProtocolUntagged, LinkProtocolVxlan"); - } - - /** - * Get the actual instance, which can be the following: - * LinkProtocolDot1q, LinkProtocolEvpnVxlan, LinkProtocolQinq, LinkProtocolUntagged, LinkProtocolVxlan - * - * @return The actual instance (LinkProtocolDot1q, LinkProtocolEvpnVxlan, LinkProtocolQinq, LinkProtocolUntagged, LinkProtocolVxlan) - */ - @Override - public Object getActualInstance() { - return super.getActualInstance(); - } - - /** - * Get the actual instance of `LinkProtocolDot1q`. If the actual instance is not `LinkProtocolDot1q`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `LinkProtocolDot1q` - * @throws ClassCastException if the instance is not `LinkProtocolDot1q` - */ - public LinkProtocolDot1q getLinkProtocolDot1q() throws ClassCastException { - return (LinkProtocolDot1q)super.getActualInstance(); - } - - /** - * Get the actual instance of `LinkProtocolEvpnVxlan`. If the actual instance is not `LinkProtocolEvpnVxlan`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `LinkProtocolEvpnVxlan` - * @throws ClassCastException if the instance is not `LinkProtocolEvpnVxlan` - */ - public LinkProtocolEvpnVxlan getLinkProtocolEvpnVxlan() throws ClassCastException { - return (LinkProtocolEvpnVxlan)super.getActualInstance(); - } - - /** - * Get the actual instance of `LinkProtocolQinq`. If the actual instance is not `LinkProtocolQinq`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `LinkProtocolQinq` - * @throws ClassCastException if the instance is not `LinkProtocolQinq` - */ - public LinkProtocolQinq getLinkProtocolQinq() throws ClassCastException { - return (LinkProtocolQinq)super.getActualInstance(); - } - - /** - * Get the actual instance of `LinkProtocolUntagged`. If the actual instance is not `LinkProtocolUntagged`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `LinkProtocolUntagged` - * @throws ClassCastException if the instance is not `LinkProtocolUntagged` - */ - public LinkProtocolUntagged getLinkProtocolUntagged() throws ClassCastException { - return (LinkProtocolUntagged)super.getActualInstance(); - } - - /** - * Get the actual instance of `LinkProtocolVxlan`. If the actual instance is not `LinkProtocolVxlan`, - * the ClassCastException will be thrown. - * - * @return The actual instance of `LinkProtocolVxlan` - * @throws ClassCastException if the instance is not `LinkProtocolVxlan` - */ - public LinkProtocolVxlan getLinkProtocolVxlan() throws ClassCastException { - return (LinkProtocolVxlan)super.getActualInstance(); - } - - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to LinkProtocol - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - // validate oneOf schemas one by one - int validCount = 0; - ArrayList errorMessages = new ArrayList<>(); - // validate the json string with LinkProtocolDot1q - try { - LinkProtocolDot1q.validateJsonObject(jsonObj); - validCount++; - } catch (Exception e) { - errorMessages.add(String.format("Deserialization for LinkProtocolDot1q failed with `%s`.", e.getMessage())); - // continue to the next one - } - // validate the json string with LinkProtocolEvpnVxlan - try { - LinkProtocolEvpnVxlan.validateJsonObject(jsonObj); - validCount++; - } catch (Exception e) { - errorMessages.add(String.format("Deserialization for LinkProtocolEvpnVxlan failed with `%s`.", e.getMessage())); - // continue to the next one - } - // validate the json string with LinkProtocolQinq - try { - LinkProtocolQinq.validateJsonObject(jsonObj); - validCount++; - } catch (Exception e) { - errorMessages.add(String.format("Deserialization for LinkProtocolQinq failed with `%s`.", e.getMessage())); - // continue to the next one - } - // validate the json string with LinkProtocolUntagged - try { - LinkProtocolUntagged.validateJsonObject(jsonObj); - validCount++; - } catch (Exception e) { - errorMessages.add(String.format("Deserialization for LinkProtocolUntagged failed with `%s`.", e.getMessage())); - // continue to the next one - } - // validate the json string with LinkProtocolVxlan - try { - LinkProtocolVxlan.validateJsonObject(jsonObj); - validCount++; - } catch (Exception e) { - errorMessages.add(String.format("Deserialization for LinkProtocolVxlan failed with `%s`.", e.getMessage())); - // continue to the next one - } - if (validCount != 1) { - throw new IOException(String.format("The JSON string is invalid for LinkProtocol with oneOf schemas: LinkProtocolDot1q, LinkProtocolEvpnVxlan, LinkProtocolQinq, LinkProtocolUntagged, LinkProtocolVxlan. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonObj.toString())); - } - } - - /** - * Create an instance of LinkProtocol given an JSON string - * - * @param jsonString JSON string - * @return An instance of LinkProtocol - * @throws IOException if the JSON string is invalid with respect to LinkProtocol - */ - public static LinkProtocol fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LinkProtocol.class); - } - - /** - * Convert an instance of LinkProtocol to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolConnection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolConnection.java index e62f515f..7ee8ff5e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolConnection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolConnection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolGetResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolGetResponse.java index adb280e4..cb6764ba 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolGetResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolGetResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolQinq.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolQinq.java deleted file mode 100644 index 0a728ec9..00000000 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolQinq.java +++ /dev/null @@ -1,490 +0,0 @@ -/* - * Equinix Fabric API v4 - * - * Contact: api-support@equinix.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.equinix.openapi.fabric.v4.model; - -import java.util.Objects; -import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.LinkProtocolType; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonArray; -import com.google.gson.JsonDeserializationContext; -import com.google.gson.JsonDeserializer; -import com.google.gson.JsonElement; -import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapterFactory; -import com.google.gson.reflect.TypeToken; - -import java.lang.reflect.Type; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; - -import com.equinix.openapi.fabric.JSON; - -/** - * Connection link protocol configuration - QINQ - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class LinkProtocolQinq { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private LinkProtocolType type; - - public static final String SERIALIZED_NAME_INNER_TAG_PROTOCOL_ID = "innerTagProtocolId"; - @SerializedName(SERIALIZED_NAME_INNER_TAG_PROTOCOL_ID) - private Integer innerTagProtocolId; - - public static final String SERIALIZED_NAME_OUTER_TAG_PROTOCOL_ID = "outerTagProtocolId"; - @SerializedName(SERIALIZED_NAME_OUTER_TAG_PROTOCOL_ID) - private Integer outerTagProtocolId; - - public static final String SERIALIZED_NAME_VLAN_C_TAG = "vlanCTag"; - @SerializedName(SERIALIZED_NAME_VLAN_C_TAG) - private Integer vlanCTag; - - public static final String SERIALIZED_NAME_VLAN_S_TAG = "vlanSTag"; - @SerializedName(SERIALIZED_NAME_VLAN_S_TAG) - private Integer vlanSTag; - - public static final String SERIALIZED_NAME_VLAN_C_TAG_MIN = "vlanCTagMin"; - @SerializedName(SERIALIZED_NAME_VLAN_C_TAG_MIN) - private Integer vlanCTagMin; - - public static final String SERIALIZED_NAME_VLAN_C_TAG_MAX = "vlanCTagMax"; - @SerializedName(SERIALIZED_NAME_VLAN_C_TAG_MAX) - private Integer vlanCTagMax; - - public static final String SERIALIZED_NAME_SUB_INTERFACE = "subInterface"; - @SerializedName(SERIALIZED_NAME_SUB_INTERFACE) - private Integer subInterface; - - public LinkProtocolQinq() { - } - - public LinkProtocolQinq type(LinkProtocolType type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nullable - - public LinkProtocolType getType() { - return type; - } - - - public void setType(LinkProtocolType type) { - this.type = type; - } - - - public LinkProtocolQinq innerTagProtocolId(Integer innerTagProtocolId) { - - this.innerTagProtocolId = innerTagProtocolId; - return this; - } - - /** - * Inner tag protocol identifier - * @return innerTagProtocolId - **/ - @javax.annotation.Nonnull - - public Integer getInnerTagProtocolId() { - return innerTagProtocolId; - } - - - public void setInnerTagProtocolId(Integer innerTagProtocolId) { - this.innerTagProtocolId = innerTagProtocolId; - } - - - public LinkProtocolQinq outerTagProtocolId(Integer outerTagProtocolId) { - - this.outerTagProtocolId = outerTagProtocolId; - return this; - } - - /** - * Outer tag protocol identifier - * @return outerTagProtocolId - **/ - @javax.annotation.Nonnull - - public Integer getOuterTagProtocolId() { - return outerTagProtocolId; - } - - - public void setOuterTagProtocolId(Integer outerTagProtocolId) { - this.outerTagProtocolId = outerTagProtocolId; - } - - - public LinkProtocolQinq vlanCTag(Integer vlanCTag) { - - this.vlanCTag = vlanCTag; - return this; - } - - /** - * Inner tag, i.e., C-VLAN tag - * @return vlanCTag - **/ - @javax.annotation.Nonnull - - public Integer getVlanCTag() { - return vlanCTag; - } - - - public void setVlanCTag(Integer vlanCTag) { - this.vlanCTag = vlanCTag; - } - - - public LinkProtocolQinq vlanSTag(Integer vlanSTag) { - - this.vlanSTag = vlanSTag; - return this; - } - - /** - * Outer tag, i.e., S-VLAN tag - * @return vlanSTag - **/ - @javax.annotation.Nonnull - - public Integer getVlanSTag() { - return vlanSTag; - } - - - public void setVlanSTag(Integer vlanSTag) { - this.vlanSTag = vlanSTag; - } - - - public LinkProtocolQinq vlanCTagMin(Integer vlanCTagMin) { - - this.vlanCTagMin = vlanCTagMin; - return this; - } - - /** - * Outer tag Min value specified for QINQ connections - * @return vlanCTagMin - **/ - @javax.annotation.Nullable - - public Integer getVlanCTagMin() { - return vlanCTagMin; - } - - - public void setVlanCTagMin(Integer vlanCTagMin) { - this.vlanCTagMin = vlanCTagMin; - } - - - public LinkProtocolQinq vlanCTagMax(Integer vlanCTagMax) { - - this.vlanCTagMax = vlanCTagMax; - return this; - } - - /** - * Outer tag Max value specified for QINQ connections - * @return vlanCTagMax - **/ - @javax.annotation.Nullable - - public Integer getVlanCTagMax() { - return vlanCTagMax; - } - - - public void setVlanCTagMax(Integer vlanCTagMax) { - this.vlanCTagMax = vlanCTagMax; - } - - - public LinkProtocolQinq subInterface(Integer subInterface) { - - this.subInterface = subInterface; - return this; - } - - /** - * Subinterface identifier - * @return subInterface - **/ - @javax.annotation.Nullable - - public Integer getSubInterface() { - return subInterface; - } - - - public void setSubInterface(Integer subInterface) { - this.subInterface = subInterface; - } - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - private Map additionalProperties; - - /** - * Set the additional (undeclared) property with the specified name and value. - * If the property does not already exist, create it otherwise replace it. - * - * @param key name of the property - * @param value value of the property - * @return the LinkProtocolQinq instance itself - */ - public LinkProtocolQinq putAdditionalProperty(String key, Object value) { - if (this.additionalProperties == null) { - this.additionalProperties = new HashMap(); - } - this.additionalProperties.put(key, value); - return this; - } - - /** - * Return the additional (undeclared) property. - * - * @return a map of objects - */ - public Map getAdditionalProperties() { - return additionalProperties; - } - - /** - * Return the additional (undeclared) property with the specified name. - * - * @param key name of the property - * @return an object - */ - public Object getAdditionalProperty(String key) { - if (this.additionalProperties == null) { - return null; - } - return this.additionalProperties.get(key); - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LinkProtocolQinq linkProtocolQinq = (LinkProtocolQinq) o; - return Objects.equals(this.type, linkProtocolQinq.type) && - Objects.equals(this.innerTagProtocolId, linkProtocolQinq.innerTagProtocolId) && - Objects.equals(this.outerTagProtocolId, linkProtocolQinq.outerTagProtocolId) && - Objects.equals(this.vlanCTag, linkProtocolQinq.vlanCTag) && - Objects.equals(this.vlanSTag, linkProtocolQinq.vlanSTag) && - Objects.equals(this.vlanCTagMin, linkProtocolQinq.vlanCTagMin) && - Objects.equals(this.vlanCTagMax, linkProtocolQinq.vlanCTagMax) && - Objects.equals(this.subInterface, linkProtocolQinq.subInterface)&& - Objects.equals(this.additionalProperties, linkProtocolQinq.additionalProperties); - } - - @Override - public int hashCode() { - return Objects.hash(type, innerTagProtocolId, outerTagProtocolId, vlanCTag, vlanSTag, vlanCTagMin, vlanCTagMax, subInterface, additionalProperties); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LinkProtocolQinq {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" innerTagProtocolId: ").append(toIndentedString(innerTagProtocolId)).append("\n"); - sb.append(" outerTagProtocolId: ").append(toIndentedString(outerTagProtocolId)).append("\n"); - sb.append(" vlanCTag: ").append(toIndentedString(vlanCTag)).append("\n"); - sb.append(" vlanSTag: ").append(toIndentedString(vlanSTag)).append("\n"); - sb.append(" vlanCTagMin: ").append(toIndentedString(vlanCTagMin)).append("\n"); - sb.append(" vlanCTagMax: ").append(toIndentedString(vlanCTagMax)).append("\n"); - sb.append(" subInterface: ").append(toIndentedString(subInterface)).append("\n"); - sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - - - public static HashSet openapiFields; - public static HashSet openapiRequiredFields; - - static { - // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("innerTagProtocolId"); - openapiFields.add("outerTagProtocolId"); - openapiFields.add("vlanCTag"); - openapiFields.add("vlanSTag"); - openapiFields.add("vlanCTagMin"); - openapiFields.add("vlanCTagMax"); - openapiFields.add("subInterface"); - - // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("innerTagProtocolId"); - openapiRequiredFields.add("outerTagProtocolId"); - openapiRequiredFields.add("vlanCTag"); - openapiRequiredFields.add("vlanSTag"); - } - - /** - * Validates the JSON Object and throws an exception if issues found - * - * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to LinkProtocolQinq - */ - public static void validateJsonObject(JsonObject jsonObj) throws IOException { - if (jsonObj == null) { - if (!LinkProtocolQinq.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LinkProtocolQinq is not found in the empty JSON string", LinkProtocolQinq.openapiRequiredFields.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : LinkProtocolQinq.openapiRequiredFields) { - if (jsonObj.get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); - } - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { - if (!LinkProtocolQinq.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LinkProtocolQinq' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolQinq.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, LinkProtocolQinq value) throws IOException { - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - obj.remove("additionalProperties"); - // serialize additional properties - if (value.getAdditionalProperties() != null) { - for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { - if (entry.getValue() instanceof String) - obj.addProperty(entry.getKey(), (String) entry.getValue()); - else if (entry.getValue() instanceof Number) - obj.addProperty(entry.getKey(), (Number) entry.getValue()); - else if (entry.getValue() instanceof Boolean) - obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); - else if (entry.getValue() instanceof Character) - obj.addProperty(entry.getKey(), (Character) entry.getValue()); - else { - obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); - } - } - } - elementAdapter.write(out, obj); - } - - @Override - public LinkProtocolQinq read(JsonReader in) throws IOException { - JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); - validateJsonObject(jsonObj); - // store additional fields in the deserialized instance - LinkProtocolQinq instance = thisAdapter.fromJsonTree(jsonObj); - for (Map.Entry entry : jsonObj.entrySet()) { - if (!openapiFields.contains(entry.getKey())) { - if (entry.getValue().isJsonPrimitive()) { // primitive type - if (entry.getValue().getAsJsonPrimitive().isString()) - instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); - else if (entry.getValue().getAsJsonPrimitive().isNumber()) - instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); - else if (entry.getValue().getAsJsonPrimitive().isBoolean()) - instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); - else - throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); - } else if (entry.getValue().isJsonArray()) { - instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); - } else { // JSON object - instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); - } - } - } - return instance; - } - - }.nullSafe(); - } - } - - /** - * Create an instance of LinkProtocolQinq given an JSON string - * - * @param jsonString JSON string - * @return An instance of LinkProtocolQinq - * @throws IOException if the JSON string is invalid with respect to LinkProtocolQinq - */ - public static LinkProtocolQinq fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LinkProtocolQinq.class); - } - - /** - * Convert an instance of LinkProtocolQinq to an JSON string - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolRequestType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolRequestType.java index 923f8a5f..24e56c4c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolRequestType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolRequestType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolResponse.java index 4f0a2e97..519a23e0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolServiceToken.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolServiceToken.java index c8d19424..f335efab 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolServiceToken.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolServiceToken.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolState.java index 9464e27e..f3448209 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolType.java index b181ffae..cf6119b6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MarketingInfo.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MarketingInfo.java index b37159e1..b42db2c9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MarketingInfo.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MarketingInfo.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MarketplaceSubscription.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MarketplaceSubscription.java index 9a1694d3..5a492392 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MarketplaceSubscription.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MarketplaceSubscription.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Md5.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Md5.java index 283523a8..7ff4b96d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Md5.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Md5.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -97,13 +97,13 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_TYPE) private TypeEnum type; - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private Integer id; + public static final String SERIALIZED_NAME_KEY_NUMBER = "keyNumber"; + @SerializedName(SERIALIZED_NAME_KEY_NUMBER) + private Integer keyNumber; - public static final String SERIALIZED_NAME_PASSWORD = "password"; - @SerializedName(SERIALIZED_NAME_PASSWORD) - private String password; + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + private String key; public Md5() { } @@ -130,47 +130,49 @@ public void setType(TypeEnum type) { } - public Md5 id(Integer id) { + public Md5 keyNumber(Integer keyNumber) { - this.id = id; + this.keyNumber = keyNumber; return this; } /** - * Get id - * @return id + * The authentication Key ID. + * minimum: 1 + * maximum: 65534 + * @return keyNumber **/ @javax.annotation.Nullable - public Integer getId() { - return id; + public Integer getKeyNumber() { + return keyNumber; } - public void setId(Integer id) { - this.id = id; + public void setKeyNumber(Integer keyNumber) { + this.keyNumber = keyNumber; } - public Md5 password(String password) { + public Md5 key(String key) { - this.password = password; + this.key = key; return this; } /** - * Get password - * @return password + * The plaintext authentication key. For ASCII type, the key must contain printable ASCII characters, range 10-20 characters. For HEX type, range should be 10-40 characters. + * @return key **/ @javax.annotation.Nullable - public String getPassword() { - return password; + public String getKey() { + return key; } - public void setPassword(String password) { - this.password = password; + public void setKey(String key) { + this.key = key; } /** @@ -229,14 +231,14 @@ public boolean equals(Object o) { } Md5 md5 = (Md5) o; return Objects.equals(this.type, md5.type) && - Objects.equals(this.id, md5.id) && - Objects.equals(this.password, md5.password)&& + Objects.equals(this.keyNumber, md5.keyNumber) && + Objects.equals(this.key, md5.key)&& Objects.equals(this.additionalProperties, md5.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, id, password, additionalProperties); + return Objects.hash(type, keyNumber, key, additionalProperties); } @Override @@ -244,8 +246,8 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Md5 {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" keyNumber: ").append(toIndentedString(keyNumber)).append("\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -270,8 +272,8 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("type"); - openapiFields.add("id"); - openapiFields.add("password"); + openapiFields.add("keyNumber"); + openapiFields.add("key"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -292,8 +294,8 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } - if ((jsonObj.get("password") != null && !jsonObj.get("password").isJsonNull()) && !jsonObj.get("password").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `password` to be a primitive type in the JSON string but got `%s`", jsonObj.get("password").toString())); + if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetalInterconnection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetalInterconnection.java index 7cd3ba0f..9925d928 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetalInterconnection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetalInterconnection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetricInterval.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetricInterval.java index 64297157..4ed91cda 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetricInterval.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetricInterval.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Metrics.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Metrics.java index 616aad57..2d622791 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Metrics.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Metrics.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Metro.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Metro.java index d67168fd..2c9eb337 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Metro.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Metro.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetroError.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetroError.java index 51614f64..6dab7cdf 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetroError.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetroError.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetroResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetroResponse.java index a7570d0f..b2a9436d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetroResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/MetroResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ModelInterface.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ModelInterface.java index 0016b34b..f9750fff 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ModelInterface.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ModelInterface.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ModelPackage.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ModelPackage.java new file mode 100644 index 00000000..3d0199d5 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ModelPackage.java @@ -0,0 +1,406 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Package settings for port + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ModelPackage { + /** + * Type of Port Package + */ + @JsonAdapter(CodeEnum.Adapter.class) + public enum CodeEnum { + STANDARD("STANDARD"), + + UNLIMITED("UNLIMITED"), + + UNLIMITED_PLUS("UNLIMITED_PLUS"); + + private String value; + + CodeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static CodeEnum fromValue(String value) { + for (CodeEnum b : CodeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final CodeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public CodeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return CodeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CODE = "code"; + @SerializedName(SERIALIZED_NAME_CODE) + private CodeEnum code; + + /** + * Port service Type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + EPL("EPL"), + + MSP("MSP"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public ModelPackage() { + } + + public ModelPackage code(CodeEnum code) { + + this.code = code; + return this; + } + + /** + * Type of Port Package + * @return code + **/ + @javax.annotation.Nullable + + public CodeEnum getCode() { + return code; + } + + + public void setCode(CodeEnum code) { + this.code = code; + } + + + public ModelPackage type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Port service Type + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the ModelPackage instance itself + */ + public ModelPackage putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModelPackage _package = (ModelPackage) o; + return Objects.equals(this.code, _package.code) && + Objects.equals(this.type, _package.type)&& + Objects.equals(this.additionalProperties, _package.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(code, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModelPackage {\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("code"); + openapiFields.add("type"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ModelPackage + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ModelPackage.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ModelPackage is not found in the empty JSON string", ModelPackage.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("code") != null && !jsonObj.get("code").isJsonNull()) && !jsonObj.get("code").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ModelPackage.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ModelPackage' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ModelPackage.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ModelPackage value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public ModelPackage read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + ModelPackage instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ModelPackage given an JSON string + * + * @param jsonString JSON string + * @return An instance of ModelPackage + * @throws IOException if the JSON string is invalid with respect to ModelPackage + */ + public static ModelPackage fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ModelPackage.class); + } + + /** + * Convert an instance of ModelPackage to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Network.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Network.java index 23e3d6da..8b70e52d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Network.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Network.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkAllOf.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkAllOf.java index a14ce659..9c5f3ea0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkAllOf.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkAllOf.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChange.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChange.java index 83d05bd9..3a3f23d3 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChange.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChange.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeOperation.java index 84f5bc23..0edd415f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeResponse.java index 3531b2ce..d63884fa 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeStatus.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeStatus.java index 1c621e2a..72d8725d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeStatus.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeStatus.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeType.java index 7d7b1b52..ed40bef3 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkChangeType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkConnections.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkConnections.java index dba60e97..eb5eaa98 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkConnections.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkConnections.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkEquinixStatus.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkEquinixStatus.java index 54e8a6e2..dcde28c6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkEquinixStatus.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkEquinixStatus.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkFilter.java index e1159cc9..136c405b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkOperation.java index 2af4e3a6..a052a823 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkPostRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkPostRequest.java index 414f7b69..5a2b21fc 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkPostRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkPostRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkScope.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkScope.java index fd8bf895..aa12ea26 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkScope.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkScope.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchFieldName.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchFieldName.java index b1f438e0..df015063 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchFieldName.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchFieldName.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchRequest.java index 814495f7..d9bfbb95 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchResponse.java index 0a83c26e..4f1f40cc 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSearchResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortBy.java index 5fb803f9..b6094953 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortBy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortBy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortByResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortByResponse.java index ce0e3387..c468362c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortByResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortByResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortCriteria.java index 6512fd64..d5e76153 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortCriteria.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortCriteria.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortCriteriaResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortCriteriaResponse.java index 659df895..fb261e76 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortCriteriaResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortCriteriaResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortDirection.java index 4131b388..5db7798b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortDirection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortDirection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortDirectionResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortDirectionResponse.java index f6a9303c..427e47ec 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortDirectionResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkSortDirectionResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkState.java index fe0c8bcb..a1abeb2f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkType.java index ba116c9f..bb6dc549 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/NetworkType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/OpEnum.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/OpEnum.java index d53d859d..f0029bc5 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/OpEnum.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/OpEnum.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolVxlan.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Operation.java similarity index 69% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolVxlan.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Operation.java index 4324a5ef..a28b9477 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolVxlan.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Operation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,7 +13,6 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.LinkProtocolType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -43,64 +42,62 @@ import com.equinix.openapi.fabric.JSON; /** - * Connection link protocol configuration - VXLAN + * Operation object for router actions */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class LinkProtocolVxlan { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private LinkProtocolType type; +public class Operation { + public static final String SERIALIZED_NAME_BGP_IPV4_ROUTES_COUNT = "bgpIpv4RoutesCount"; + @SerializedName(SERIALIZED_NAME_BGP_IPV4_ROUTES_COUNT) + private Integer bgpIpv4RoutesCount; - public static final String SERIALIZED_NAME_VNI = "vni"; - @SerializedName(SERIALIZED_NAME_VNI) - private Integer vni; + public static final String SERIALIZED_NAME_BGP_IPV6_ROUTES_COUNT = "bgpIpv6RoutesCount"; + @SerializedName(SERIALIZED_NAME_BGP_IPV6_ROUTES_COUNT) + private Integer bgpIpv6RoutesCount; - public LinkProtocolVxlan() { + public Operation() { } - public LinkProtocolVxlan type(LinkProtocolType type) { + public Operation bgpIpv4RoutesCount(Integer bgpIpv4RoutesCount) { - this.type = type; + this.bgpIpv4RoutesCount = bgpIpv4RoutesCount; return this; } /** - * Get type - * @return type + * IPV4 Route Count + * @return bgpIpv4RoutesCount **/ @javax.annotation.Nullable - public LinkProtocolType getType() { - return type; + public Integer getBgpIpv4RoutesCount() { + return bgpIpv4RoutesCount; } - public void setType(LinkProtocolType type) { - this.type = type; + public void setBgpIpv4RoutesCount(Integer bgpIpv4RoutesCount) { + this.bgpIpv4RoutesCount = bgpIpv4RoutesCount; } - public LinkProtocolVxlan vni(Integer vni) { + public Operation bgpIpv6RoutesCount(Integer bgpIpv6RoutesCount) { - this.vni = vni; + this.bgpIpv6RoutesCount = bgpIpv6RoutesCount; return this; } /** - * Virtual Network Identifier - * minimum: 4097 - * maximum: 16777215 - * @return vni + * IPV6 Route Count + * @return bgpIpv6RoutesCount **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public Integer getVni() { - return vni; + public Integer getBgpIpv6RoutesCount() { + return bgpIpv6RoutesCount; } - public void setVni(Integer vni) { - this.vni = vni; + public void setBgpIpv6RoutesCount(Integer bgpIpv6RoutesCount) { + this.bgpIpv6RoutesCount = bgpIpv6RoutesCount; } /** @@ -116,9 +113,9 @@ public void setVni(Integer vni) { * * @param key name of the property * @param value value of the property - * @return the LinkProtocolVxlan instance itself + * @return the Operation instance itself */ - public LinkProtocolVxlan putAdditionalProperty(String key, Object value) { + public Operation putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -157,23 +154,23 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - LinkProtocolVxlan linkProtocolVxlan = (LinkProtocolVxlan) o; - return Objects.equals(this.type, linkProtocolVxlan.type) && - Objects.equals(this.vni, linkProtocolVxlan.vni)&& - Objects.equals(this.additionalProperties, linkProtocolVxlan.additionalProperties); + Operation operation = (Operation) o; + return Objects.equals(this.bgpIpv4RoutesCount, operation.bgpIpv4RoutesCount) && + Objects.equals(this.bgpIpv6RoutesCount, operation.bgpIpv6RoutesCount)&& + Objects.equals(this.additionalProperties, operation.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, vni, additionalProperties); + return Objects.hash(bgpIpv4RoutesCount, bgpIpv6RoutesCount, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class LinkProtocolVxlan {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" vni: ").append(toIndentedString(vni)).append("\n"); + sb.append("class Operation {\n"); + sb.append(" bgpIpv4RoutesCount: ").append(toIndentedString(bgpIpv4RoutesCount)).append("\n"); + sb.append(" bgpIpv6RoutesCount: ").append(toIndentedString(bgpIpv6RoutesCount)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -197,31 +194,23 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("vni"); + openapiFields.add("bgpIpv4RoutesCount"); + openapiFields.add("bgpIpv6RoutesCount"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("vni"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to LinkProtocolVxlan + * @throws IOException if the JSON Object is invalid with respect to Operation */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!LinkProtocolVxlan.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LinkProtocolVxlan is not found in the empty JSON string", LinkProtocolVxlan.openapiRequiredFields.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : LinkProtocolVxlan.openapiRequiredFields) { - if (jsonObj.get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + if (!Operation.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in Operation is not found in the empty JSON string", Operation.openapiRequiredFields.toString())); } } } @@ -230,16 +219,16 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!LinkProtocolVxlan.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LinkProtocolVxlan' and its subtypes + if (!Operation.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'Operation' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolVxlan.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(Operation.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, LinkProtocolVxlan value) throws IOException { + public void write(JsonWriter out, Operation value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -262,11 +251,11 @@ else if (entry.getValue() instanceof Character) } @Override - public LinkProtocolVxlan read(JsonReader in) throws IOException { + public Operation read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - LinkProtocolVxlan instance = thisAdapter.fromJsonTree(jsonObj); + Operation instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -293,18 +282,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of LinkProtocolVxlan given an JSON string + * Create an instance of Operation given an JSON string * * @param jsonString JSON string - * @return An instance of LinkProtocolVxlan - * @throws IOException if the JSON string is invalid with respect to LinkProtocolVxlan + * @return An instance of Operation + * @throws IOException if the JSON string is invalid with respect to Operation */ - public static LinkProtocolVxlan fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LinkProtocolVxlan.class); + public static Operation fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, Operation.class); } /** - * Convert an instance of LinkProtocolVxlan to an JSON string + * Convert an instance of Operation to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Order.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Order.java index 8d1b82ba..a030db93 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Order.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Order.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PackageChangeLog.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PackageChangeLog.java index 15052e7e..0eb56397 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PackageChangeLog.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PackageChangeLog.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PackageResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PackageResponse.java index 208c7051..08f122b2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PackageResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PackageResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Pagination.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Pagination.java index 774aa7da..2719b584 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Pagination.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Pagination.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PaginationRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PaginationRequest.java index bd1709ca..b9f27974 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PaginationRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PaginationRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PeeringType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PeeringType.java index be4a59fe..47fe5d59 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PeeringType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PeeringType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPort.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPort.java index 105ffdb9..7c0bf566 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPort.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPort.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,9 +13,11 @@ import java.util.Objects; import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.PhysicalPortSettings; import com.equinix.openapi.fabric.v4.model.PhysicalPortType; import com.equinix.openapi.fabric.v4.model.PortAdditionalInfo; import com.equinix.openapi.fabric.v4.model.PortDemarcationPoint; +import com.equinix.openapi.fabric.v4.model.PortInterface; import com.equinix.openapi.fabric.v4.model.PortLoa; import com.equinix.openapi.fabric.v4.model.PortNotification; import com.equinix.openapi.fabric.v4.model.PortOperation; @@ -32,6 +34,7 @@ import java.net.URI; import java.util.ArrayList; import java.util.List; +import java.util.UUID; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -59,6 +62,10 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class PhysicalPort { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) private PhysicalPortType type; @@ -67,10 +74,6 @@ public class PhysicalPort { @SerializedName(SERIALIZED_NAME_ID) private Integer id; - public static final String SERIALIZED_NAME_HREF = "href"; - @SerializedName(SERIALIZED_NAME_HREF) - private URI href; - public static final String SERIALIZED_NAME_STATE = "state"; @SerializedName(SERIALIZED_NAME_STATE) private PortState state; @@ -87,6 +90,10 @@ public class PhysicalPort { @SerializedName(SERIALIZED_NAME_INTERFACE_TYPE) private String interfaceType; + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + public static final String SERIALIZED_NAME_TETHER = "tether"; @SerializedName(SERIALIZED_NAME_TETHER) private PortTether tether; @@ -95,6 +102,14 @@ public class PhysicalPort { @SerializedName(SERIALIZED_NAME_DEMARCATION_POINT) private PortDemarcationPoint demarcationPoint; + public static final String SERIALIZED_NAME_SETTINGS = "settings"; + @SerializedName(SERIALIZED_NAME_SETTINGS) + private PhysicalPortSettings settings; + + public static final String SERIALIZED_NAME_INTERFACE = "interface"; + @SerializedName(SERIALIZED_NAME_INTERFACE) + private PortInterface _interface; + public static final String SERIALIZED_NAME_NOTIFICATIONS = "notifications"; @SerializedName(SERIALIZED_NAME_NOTIFICATIONS) private List notifications = new ArrayList<>(); @@ -126,6 +141,19 @@ public PhysicalPort( this.href = href; } + /** + * Equinix assigned response attribute for an absolute URL that is the subject of the link's context. + * @return href + **/ + @javax.annotation.Nullable + + public URI getHref() { + return href; + } + + + + public PhysicalPort type(PhysicalPortType type) { this.type = type; @@ -157,7 +185,9 @@ public PhysicalPort id(Integer id) { /** * Equinix assigned response attribute for Physical Port Id * @return id + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public Integer getId() { @@ -170,19 +200,6 @@ public void setId(Integer id) { } - /** - * Equinix assigned response attribute for an absolute URL that is the subject of the link's context. - * @return href - **/ - @javax.annotation.Nullable - - public URI getHref() { - return href; - } - - - - public PhysicalPort state(PortState state) { this.state = state; @@ -272,6 +289,28 @@ public void setInterfaceType(String interfaceType) { } + public PhysicalPort uuid(UUID uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Equinix assigned response attribute for physical port identifier + * @return uuid + **/ + @javax.annotation.Nullable + + public UUID getUuid() { + return uuid; + } + + + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + public PhysicalPort tether(PortTether tether) { this.tether = tether; @@ -316,6 +355,50 @@ public void setDemarcationPoint(PortDemarcationPoint demarcationPoint) { } + public PhysicalPort settings(PhysicalPortSettings settings) { + + this.settings = settings; + return this; + } + + /** + * Get settings + * @return settings + **/ + @javax.annotation.Nullable + + public PhysicalPortSettings getSettings() { + return settings; + } + + + public void setSettings(PhysicalPortSettings settings) { + this.settings = settings; + } + + + public PhysicalPort _interface(PortInterface _interface) { + + this._interface = _interface; + return this; + } + + /** + * Get _interface + * @return _interface + **/ + @javax.annotation.Nullable + + public PortInterface getInterface() { + return _interface; + } + + + public void setInterface(PortInterface _interface) { + this._interface = _interface; + } + + public PhysicalPort notifications(List notifications) { this.notifications = notifications; @@ -504,15 +587,18 @@ public boolean equals(Object o) { return false; } PhysicalPort physicalPort = (PhysicalPort) o; - return Objects.equals(this.type, physicalPort.type) && + return Objects.equals(this.href, physicalPort.href) && + Objects.equals(this.type, physicalPort.type) && Objects.equals(this.id, physicalPort.id) && - Objects.equals(this.href, physicalPort.href) && Objects.equals(this.state, physicalPort.state) && Objects.equals(this.account, physicalPort.account) && Objects.equals(this.interfaceSpeed, physicalPort.interfaceSpeed) && Objects.equals(this.interfaceType, physicalPort.interfaceType) && + Objects.equals(this.uuid, physicalPort.uuid) && Objects.equals(this.tether, physicalPort.tether) && Objects.equals(this.demarcationPoint, physicalPort.demarcationPoint) && + Objects.equals(this.settings, physicalPort.settings) && + Objects.equals(this._interface, physicalPort._interface) && Objects.equals(this.notifications, physicalPort.notifications) && Objects.equals(this.additionalInfo, physicalPort.additionalInfo) && Objects.equals(this.order, physicalPort.order) && @@ -523,22 +609,25 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(type, id, href, state, account, interfaceSpeed, interfaceType, tether, demarcationPoint, notifications, additionalInfo, order, operation, loas, additionalProperties); + return Objects.hash(href, type, id, state, account, interfaceSpeed, interfaceType, uuid, tether, demarcationPoint, settings, _interface, notifications, additionalInfo, order, operation, loas, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PhysicalPort {\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append(" account: ").append(toIndentedString(account)).append("\n"); sb.append(" interfaceSpeed: ").append(toIndentedString(interfaceSpeed)).append("\n"); sb.append(" interfaceType: ").append(toIndentedString(interfaceType)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" tether: ").append(toIndentedString(tether)).append("\n"); sb.append(" demarcationPoint: ").append(toIndentedString(demarcationPoint)).append("\n"); + sb.append(" settings: ").append(toIndentedString(settings)).append("\n"); + sb.append(" _interface: ").append(toIndentedString(_interface)).append("\n"); sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); sb.append(" additionalInfo: ").append(toIndentedString(additionalInfo)).append("\n"); sb.append(" order: ").append(toIndentedString(order)).append("\n"); @@ -567,15 +656,18 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("href"); openapiFields.add("type"); openapiFields.add("id"); - openapiFields.add("href"); openapiFields.add("state"); openapiFields.add("account"); openapiFields.add("interfaceSpeed"); openapiFields.add("interfaceType"); + openapiFields.add("uuid"); openapiFields.add("tether"); openapiFields.add("demarcationPoint"); + openapiFields.add("settings"); + openapiFields.add("interface"); openapiFields.add("notifications"); openapiFields.add("additionalInfo"); openapiFields.add("order"); @@ -608,6 +700,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if ((jsonObj.get("interfaceType") != null && !jsonObj.get("interfaceType").isJsonNull()) && !jsonObj.get("interfaceType").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `interfaceType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("interfaceType").toString())); } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } // validate the optional field `tether` if (jsonObj.get("tether") != null && !jsonObj.get("tether").isJsonNull()) { PortTether.validateJsonObject(jsonObj.getAsJsonObject("tether")); @@ -616,6 +711,14 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj.get("demarcationPoint") != null && !jsonObj.get("demarcationPoint").isJsonNull()) { PortDemarcationPoint.validateJsonObject(jsonObj.getAsJsonObject("demarcationPoint")); } + // validate the optional field `settings` + if (jsonObj.get("settings") != null && !jsonObj.get("settings").isJsonNull()) { + PhysicalPortSettings.validateJsonObject(jsonObj.getAsJsonObject("settings")); + } + // validate the optional field `interface` + if (jsonObj.get("interface") != null && !jsonObj.get("interface").isJsonNull()) { + PortInterface.validateJsonObject(jsonObj.getAsJsonObject("interface")); + } if (jsonObj.get("notifications") != null && !jsonObj.get("notifications").isJsonNull()) { JsonArray jsonArraynotifications = jsonObj.getAsJsonArray("notifications"); if (jsonArraynotifications != null) { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPortSettings.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPortSettings.java new file mode 100644 index 00000000..9eaaf01d --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPortSettings.java @@ -0,0 +1,312 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Physical Port configuration settings + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class PhysicalPortSettings { + public static final String SERIALIZED_NAME_ERROR_MESSAGE = "errorMessage"; + @SerializedName(SERIALIZED_NAME_ERROR_MESSAGE) + private String errorMessage; + + public static final String SERIALIZED_NAME_PACKAGE_TYPE = "packageType"; + @SerializedName(SERIALIZED_NAME_PACKAGE_TYPE) + private String packageType; + + public PhysicalPortSettings() { + } + + public PhysicalPortSettings errorMessage(String errorMessage) { + + this.errorMessage = errorMessage; + return this; + } + + /** + * Get errorMessage + * @return errorMessage + **/ + @javax.annotation.Nullable + + public String getErrorMessage() { + return errorMessage; + } + + + public void setErrorMessage(String errorMessage) { + this.errorMessage = errorMessage; + } + + + public PhysicalPortSettings packageType(String packageType) { + + this.packageType = packageType; + return this; + } + + /** + * Get packageType + * @return packageType + * @deprecated + **/ + @Deprecated + @javax.annotation.Nullable + + public String getPackageType() { + return packageType; + } + + + public void setPackageType(String packageType) { + this.packageType = packageType; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the PhysicalPortSettings instance itself + */ + public PhysicalPortSettings putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PhysicalPortSettings physicalPortSettings = (PhysicalPortSettings) o; + return Objects.equals(this.errorMessage, physicalPortSettings.errorMessage) && + Objects.equals(this.packageType, physicalPortSettings.packageType)&& + Objects.equals(this.additionalProperties, physicalPortSettings.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(errorMessage, packageType, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PhysicalPortSettings {\n"); + sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n"); + sb.append(" packageType: ").append(toIndentedString(packageType)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("errorMessage"); + openapiFields.add("packageType"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PhysicalPortSettings + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PhysicalPortSettings.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PhysicalPortSettings is not found in the empty JSON string", PhysicalPortSettings.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("errorMessage") != null && !jsonObj.get("errorMessage").isJsonNull()) && !jsonObj.get("errorMessage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `errorMessage` to be a primitive type in the JSON string but got `%s`", jsonObj.get("errorMessage").toString())); + } + if ((jsonObj.get("packageType") != null && !jsonObj.get("packageType").isJsonNull()) && !jsonObj.get("packageType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `packageType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("packageType").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PhysicalPortSettings.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PhysicalPortSettings' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PhysicalPortSettings.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PhysicalPortSettings value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public PhysicalPortSettings read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + PhysicalPortSettings instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PhysicalPortSettings given an JSON string + * + * @param jsonString JSON string + * @return An instance of PhysicalPortSettings + * @throws IOException if the JSON string is invalid with respect to PhysicalPortSettings + */ + public static PhysicalPortSettings fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PhysicalPortSettings.class); + } + + /** + * Convert an instance of PhysicalPortSettings to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPortType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPortType.java index 24b2feba..65d56aa7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPortType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PhysicalPortType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Port.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Port.java index d9e50a24..40ca90fc 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Port.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Port.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -14,6 +14,7 @@ import java.util.Objects; import java.util.Arrays; import com.equinix.openapi.fabric.v4.model.Changelog; +import com.equinix.openapi.fabric.v4.model.ModelPackage; import com.equinix.openapi.fabric.v4.model.PhysicalPort; import com.equinix.openapi.fabric.v4.model.PortAdditionalInfo; import com.equinix.openapi.fabric.v4.model.PortDemarcationPoint; @@ -69,6 +70,10 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class Port { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) private PortType type; @@ -77,10 +82,6 @@ public class Port { @SerializedName(SERIALIZED_NAME_ID) private Integer id; - public static final String SERIALIZED_NAME_HREF = "href"; - @SerializedName(SERIALIZED_NAME_HREF) - private URI href; - public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) private UUID uuid; @@ -278,10 +279,6 @@ public BmmrTypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_ORDER) private PortOrder order; - public static final String SERIALIZED_NAME_CVP_ID = "cvpId"; - @SerializedName(SERIALIZED_NAME_CVP_ID) - private String cvpId; - public static final String SERIALIZED_NAME_OPERATION = "operation"; @SerializedName(SERIALIZED_NAME_OPERATION) private PortOperation operation; @@ -290,9 +287,9 @@ public BmmrTypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_ACCOUNT) private SimplifiedAccount account; - public static final String SERIALIZED_NAME_CHANGELOG = "changelog"; - @SerializedName(SERIALIZED_NAME_CHANGELOG) - private Changelog changelog; + public static final String SERIALIZED_NAME_CHANGE_LOG = "changeLog"; + @SerializedName(SERIALIZED_NAME_CHANGE_LOG) + private Changelog changeLog; /** * Port service Type @@ -401,6 +398,10 @@ public ServiceTypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_ASN) private Integer asn; + public static final String SERIALIZED_NAME_PACKAGE = "package"; + @SerializedName(SERIALIZED_NAME_PACKAGE) + private ModelPackage _package; + public static final String SERIALIZED_NAME_SETTINGS = "settings"; @SerializedName(SERIALIZED_NAME_SETTINGS) private PortSettings settings; @@ -436,6 +437,19 @@ public Port( this.href = href; } + /** + * Equinix assigned response attribute for an absolute URL that is the subject of the link's context. + * @return href + **/ + @javax.annotation.Nullable + + public URI getHref() { + return href; + } + + + + public Port type(PortType type) { this.type = type; @@ -480,19 +494,6 @@ public void setId(Integer id) { } - /** - * Equinix assigned response attribute for an absolute URL that is the subject of the link's context. - * @return href - **/ - @javax.annotation.Nullable - - public URI getHref() { - return href; - } - - - - public Port uuid(UUID uuid) { this.uuid = uuid; @@ -759,28 +760,6 @@ public void setOrder(PortOrder order) { } - public Port cvpId(String cvpId) { - - this.cvpId = cvpId; - return this; - } - - /** - * Equinix assigned response attribute for Unique ID for a virtual port. - * @return cvpId - **/ - @javax.annotation.Nullable - - public String getCvpId() { - return cvpId; - } - - - public void setCvpId(String cvpId) { - this.cvpId = cvpId; - } - - public Port operation(PortOperation operation) { this.operation = operation; @@ -813,7 +792,7 @@ public Port account(SimplifiedAccount account) { * Get account * @return account **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable public SimplifiedAccount getAccount() { return account; @@ -825,25 +804,25 @@ public void setAccount(SimplifiedAccount account) { } - public Port changelog(Changelog changelog) { + public Port changeLog(Changelog changeLog) { - this.changelog = changelog; + this.changeLog = changeLog; return this; } /** - * Get changelog - * @return changelog + * Get changeLog + * @return changeLog **/ @javax.annotation.Nullable - public Changelog getChangelog() { - return changelog; + public Changelog getChangeLog() { + return changeLog; } - public void setChangelog(Changelog changelog) { - this.changelog = changelog; + public void setChangeLog(Changelog changeLog) { + this.changeLog = changeLog; } @@ -856,7 +835,9 @@ public Port serviceType(ServiceTypeEnum serviceType) { /** * Port service Type * @return serviceType + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public ServiceTypeEnum getServiceType() { @@ -879,7 +860,9 @@ public Port bandwidth(Integer bandwidth) { * Equinix assigned response attribute for Port bandwidth in Mbps * minimum: 0 * @return bandwidth + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public Integer getBandwidth() { @@ -948,7 +931,7 @@ public Port location(SimplifiedLocation location) { * Get location * @return location **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable public SimplifiedLocation getLocation() { return location; @@ -1102,7 +1085,7 @@ public Port encapsulation(PortEncapsulation encapsulation) { * Get encapsulation * @return encapsulation **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable public PortEncapsulation getEncapsulation() { return encapsulation; @@ -1180,6 +1163,28 @@ public void setAsn(Integer asn) { } + public Port _package(ModelPackage _package) { + + this._package = _package; + return this; + } + + /** + * Get _package + * @return _package + **/ + @javax.annotation.Nullable + + public ModelPackage getPackage() { + return _package; + } + + + public void setPackage(ModelPackage _package) { + this._package = _package; + } + + public Port settings(PortSettings settings) { this.settings = settings; @@ -1190,7 +1195,7 @@ public Port settings(PortSettings settings) { * Get settings * @return settings **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable public PortSettings getSettings() { return settings; @@ -1398,9 +1403,9 @@ public boolean equals(Object o) { return false; } Port port = (Port) o; - return Objects.equals(this.type, port.type) && + return Objects.equals(this.href, port.href) && + Objects.equals(this.type, port.type) && Objects.equals(this.id, port.id) && - Objects.equals(this.href, port.href) && Objects.equals(this.uuid, port.uuid) && Objects.equals(this.name, port.name) && Objects.equals(this.description, port.description) && @@ -1413,10 +1418,9 @@ public boolean equals(Object o) { Objects.equals(this.project, port.project) && Objects.equals(this.state, port.state) && Objects.equals(this.order, port.order) && - Objects.equals(this.cvpId, port.cvpId) && Objects.equals(this.operation, port.operation) && Objects.equals(this.account, port.account) && - Objects.equals(this.changelog, port.changelog) && + Objects.equals(this.changeLog, port.changeLog) && Objects.equals(this.serviceType, port.serviceType) && Objects.equals(this.bandwidth, port.bandwidth) && Objects.equals(this.availableBandwidth, port.availableBandwidth) && @@ -1432,6 +1436,7 @@ public boolean equals(Object o) { Objects.equals(this.lagEnabled, port.lagEnabled) && Objects.equals(this.lag, port.lag) && Objects.equals(this.asn, port.asn) && + Objects.equals(this._package, port._package) && Objects.equals(this.settings, port.settings) && Objects.equals(this.physicalPortQuantity, port.physicalPortQuantity) && Objects.equals(this.notifications, port.notifications) && @@ -1443,16 +1448,16 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(type, id, href, uuid, name, description, physicalPortsSpeed, connectionsCount, physicalPortsType, physicalPortsCount, connectivitySourceType, bmmrType, project, state, order, cvpId, operation, account, changelog, serviceType, bandwidth, availableBandwidth, usedBandwidth, location, device, _interface, demarcationPointIbx, tetherIbx, demarcationPoint, redundancy, encapsulation, lagEnabled, lag, asn, settings, physicalPortQuantity, notifications, additionalInfo, physicalPorts, loas, additionalProperties); + return Objects.hash(href, type, id, uuid, name, description, physicalPortsSpeed, connectionsCount, physicalPortsType, physicalPortsCount, connectivitySourceType, bmmrType, project, state, order, operation, account, changeLog, serviceType, bandwidth, availableBandwidth, usedBandwidth, location, device, _interface, demarcationPointIbx, tetherIbx, demarcationPoint, redundancy, encapsulation, lagEnabled, lag, asn, _package, settings, physicalPortQuantity, notifications, additionalInfo, physicalPorts, loas, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Port {\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); @@ -1465,10 +1470,9 @@ public String toString() { sb.append(" project: ").append(toIndentedString(project)).append("\n"); sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append(" order: ").append(toIndentedString(order)).append("\n"); - sb.append(" cvpId: ").append(toIndentedString(cvpId)).append("\n"); sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); sb.append(" account: ").append(toIndentedString(account)).append("\n"); - sb.append(" changelog: ").append(toIndentedString(changelog)).append("\n"); + sb.append(" changeLog: ").append(toIndentedString(changeLog)).append("\n"); sb.append(" serviceType: ").append(toIndentedString(serviceType)).append("\n"); sb.append(" bandwidth: ").append(toIndentedString(bandwidth)).append("\n"); sb.append(" availableBandwidth: ").append(toIndentedString(availableBandwidth)).append("\n"); @@ -1484,6 +1488,7 @@ public String toString() { sb.append(" lagEnabled: ").append(toIndentedString(lagEnabled)).append("\n"); sb.append(" lag: ").append(toIndentedString(lag)).append("\n"); sb.append(" asn: ").append(toIndentedString(asn)).append("\n"); + sb.append(" _package: ").append(toIndentedString(_package)).append("\n"); sb.append(" settings: ").append(toIndentedString(settings)).append("\n"); sb.append(" physicalPortQuantity: ").append(toIndentedString(physicalPortQuantity)).append("\n"); sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); @@ -1513,9 +1518,9 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("href"); openapiFields.add("type"); openapiFields.add("id"); - openapiFields.add("href"); openapiFields.add("uuid"); openapiFields.add("name"); openapiFields.add("description"); @@ -1528,10 +1533,9 @@ private String toIndentedString(Object o) { openapiFields.add("project"); openapiFields.add("state"); openapiFields.add("order"); - openapiFields.add("cvpId"); openapiFields.add("operation"); openapiFields.add("account"); - openapiFields.add("changelog"); + openapiFields.add("changeLog"); openapiFields.add("serviceType"); openapiFields.add("bandwidth"); openapiFields.add("availableBandwidth"); @@ -1547,6 +1551,7 @@ private String toIndentedString(Object o) { openapiFields.add("lagEnabled"); openapiFields.add("lag"); openapiFields.add("asn"); + openapiFields.add("package"); openapiFields.add("settings"); openapiFields.add("physicalPortQuantity"); openapiFields.add("notifications"); @@ -1556,10 +1561,6 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("account"); - openapiRequiredFields.add("location"); - openapiRequiredFields.add("encapsulation"); - openapiRequiredFields.add("settings"); } /** @@ -1574,13 +1575,6 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field(s) %s in Port is not found in the empty JSON string", Port.openapiRequiredFields.toString())); } } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : Port.openapiRequiredFields) { - if (jsonObj.get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); - } - } if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); } @@ -1610,24 +1604,25 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj.get("order") != null && !jsonObj.get("order").isJsonNull()) { PortOrder.validateJsonObject(jsonObj.getAsJsonObject("order")); } - if ((jsonObj.get("cvpId") != null && !jsonObj.get("cvpId").isJsonNull()) && !jsonObj.get("cvpId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `cvpId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cvpId").toString())); - } // validate the optional field `operation` if (jsonObj.get("operation") != null && !jsonObj.get("operation").isJsonNull()) { PortOperation.validateJsonObject(jsonObj.getAsJsonObject("operation")); } - // validate the required field `account` - SimplifiedAccount.validateJsonObject(jsonObj.getAsJsonObject("account")); - // validate the optional field `changelog` - if (jsonObj.get("changelog") != null && !jsonObj.get("changelog").isJsonNull()) { - Changelog.validateJsonObject(jsonObj.getAsJsonObject("changelog")); + // validate the optional field `account` + if (jsonObj.get("account") != null && !jsonObj.get("account").isJsonNull()) { + SimplifiedAccount.validateJsonObject(jsonObj.getAsJsonObject("account")); + } + // validate the optional field `changeLog` + if (jsonObj.get("changeLog") != null && !jsonObj.get("changeLog").isJsonNull()) { + Changelog.validateJsonObject(jsonObj.getAsJsonObject("changeLog")); } if ((jsonObj.get("serviceType") != null && !jsonObj.get("serviceType").isJsonNull()) && !jsonObj.get("serviceType").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `serviceType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("serviceType").toString())); } - // validate the required field `location` - SimplifiedLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); + // validate the optional field `location` + if (jsonObj.get("location") != null && !jsonObj.get("location").isJsonNull()) { + SimplifiedLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); + } // validate the optional field `device` if (jsonObj.get("device") != null && !jsonObj.get("device").isJsonNull()) { PortDevice.validateJsonObject(jsonObj.getAsJsonObject("device")); @@ -1650,14 +1645,22 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj.get("redundancy") != null && !jsonObj.get("redundancy").isJsonNull()) { PortRedundancy.validateJsonObject(jsonObj.getAsJsonObject("redundancy")); } - // validate the required field `encapsulation` - PortEncapsulation.validateJsonObject(jsonObj.getAsJsonObject("encapsulation")); + // validate the optional field `encapsulation` + if (jsonObj.get("encapsulation") != null && !jsonObj.get("encapsulation").isJsonNull()) { + PortEncapsulation.validateJsonObject(jsonObj.getAsJsonObject("encapsulation")); + } // validate the optional field `lag` if (jsonObj.get("lag") != null && !jsonObj.get("lag").isJsonNull()) { PortLag.validateJsonObject(jsonObj.getAsJsonObject("lag")); } - // validate the required field `settings` - PortSettings.validateJsonObject(jsonObj.getAsJsonObject("settings")); + // validate the optional field `package` + if (jsonObj.get("package") != null && !jsonObj.get("package").isJsonNull()) { + ModelPackage.validateJsonObject(jsonObj.getAsJsonObject("package")); + } + // validate the optional field `settings` + if (jsonObj.get("settings") != null && !jsonObj.get("settings").isJsonNull()) { + PortSettings.validateJsonObject(jsonObj.getAsJsonObject("settings")); + } if (jsonObj.get("notifications") != null && !jsonObj.get("notifications").isJsonNull()) { JsonArray jsonArraynotifications = jsonObj.getAsJsonArray("notifications"); if (jsonArraynotifications != null) { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortAdditionalInfo.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortAdditionalInfo.java index 83ef44fd..49651925 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortAdditionalInfo.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortAdditionalInfo.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDemarcationPoint.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDemarcationPoint.java index 35483df8..9e857e2d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDemarcationPoint.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDemarcationPoint.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDevice.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDevice.java index 26a20adb..c7856a94 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDevice.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDevice.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDeviceRedundancy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDeviceRedundancy.java index 66ad2ff2..a62a7772 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDeviceRedundancy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortDeviceRedundancy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortEncapsulation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortEncapsulation.java index 666afbb4..932aefb1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortEncapsulation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortEncapsulation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortExpression.java index 67e78f49..db6a6385 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortExpression.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortExpression.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortInterface.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortInterface.java index 752e014e..662414de 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortInterface.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortInterface.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -50,14 +50,6 @@ public class PortInterface { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public static final String SERIALIZED_NAME_IF_INDEX = "ifIndex"; - @SerializedName(SERIALIZED_NAME_IF_INDEX) - private String ifIndex; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - public PortInterface() { } @@ -82,50 +74,6 @@ public void setType(String type) { this.type = type; } - - public PortInterface ifIndex(String ifIndex) { - - this.ifIndex = ifIndex; - return this; - } - - /** - * Port interface index - * @return ifIndex - **/ - @javax.annotation.Nullable - - public String getIfIndex() { - return ifIndex; - } - - - public void setIfIndex(String ifIndex) { - this.ifIndex = ifIndex; - } - - - public PortInterface name(String name) { - - this.name = name; - return this; - } - - /** - * Port interface name - * @return name - **/ - @javax.annotation.Nullable - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -181,15 +129,13 @@ public boolean equals(Object o) { return false; } PortInterface portInterface = (PortInterface) o; - return Objects.equals(this.type, portInterface.type) && - Objects.equals(this.ifIndex, portInterface.ifIndex) && - Objects.equals(this.name, portInterface.name)&& + return Objects.equals(this.type, portInterface.type)&& Objects.equals(this.additionalProperties, portInterface.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, ifIndex, name, additionalProperties); + return Objects.hash(type, additionalProperties); } @Override @@ -197,8 +143,6 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PortInterface {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" ifIndex: ").append(toIndentedString(ifIndex)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -223,8 +167,6 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("type"); - openapiFields.add("ifIndex"); - openapiFields.add("name"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -245,12 +187,6 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } - if ((jsonObj.get("ifIndex") != null && !jsonObj.get("ifIndex").isJsonNull()) && !jsonObj.get("ifIndex").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `ifIndex` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ifIndex").toString())); - } - if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); - } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortLag.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortLag.java index 19648de7..2c7a79c4 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortLag.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortLag.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -42,7 +42,7 @@ import com.equinix.openapi.fabric.JSON; /** - * Port Lag + * PortLag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class PortLag { @@ -96,7 +96,9 @@ public PortLag enabled(Boolean enabled) { /** * enabled * @return enabled + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public Boolean getEnabled() { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortLoa.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortLoa.java index 017d9669..ef6a0937 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortLoa.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortLoa.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortNotification.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortNotification.java index 604c7382..fd9e81b9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortNotification.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortNotification.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOperation.java index 06910df9..90584da2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -43,7 +43,7 @@ import com.equinix.openapi.fabric.JSON; /** - * Operational specifications for ports. + * PortOperation */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class PortOperation { @@ -54,7 +54,9 @@ public class PortOperation { public enum OperationalStatusEnum { UP("UP"), - DOWN("DOWN"); + DOWN("DOWN"), + + PARTIAL("PARTIAL"); private String value; @@ -100,7 +102,19 @@ public OperationalStatusEnum read(final JsonReader jsonReader) throws IOExceptio public static final String SERIALIZED_NAME_CONNECTION_COUNT = "connectionCount"; @SerializedName(SERIALIZED_NAME_CONNECTION_COUNT) - private Integer connectionCount; + private Long connectionCount; + + public static final String SERIALIZED_NAME_EVPL_V_C_COUNT = "evplVCCount"; + @SerializedName(SERIALIZED_NAME_EVPL_V_C_COUNT) + private Long evplVCCount; + + public static final String SERIALIZED_NAME_FG_V_C_COUNT = "fgVCCount"; + @SerializedName(SERIALIZED_NAME_FG_V_C_COUNT) + private Long fgVCCount; + + public static final String SERIALIZED_NAME_ACCESS_V_C_COUNT = "accessVCCount"; + @SerializedName(SERIALIZED_NAME_ACCESS_V_C_COUNT) + private Long accessVCCount; public static final String SERIALIZED_NAME_OP_STATUS_CHANGED_AT = "opStatusChangedAt"; @SerializedName(SERIALIZED_NAME_OP_STATUS_CHANGED_AT) @@ -131,7 +145,7 @@ public void setOperationalStatus(OperationalStatusEnum operationalStatus) { } - public PortOperation connectionCount(Integer connectionCount) { + public PortOperation connectionCount(Long connectionCount) { this.connectionCount = connectionCount; return this; @@ -143,16 +157,82 @@ public PortOperation connectionCount(Integer connectionCount) { **/ @javax.annotation.Nullable - public Integer getConnectionCount() { + public Long getConnectionCount() { return connectionCount; } - public void setConnectionCount(Integer connectionCount) { + public void setConnectionCount(Long connectionCount) { this.connectionCount = connectionCount; } + public PortOperation evplVCCount(Long evplVCCount) { + + this.evplVCCount = evplVCCount; + return this; + } + + /** + * Total number of connections. + * @return evplVCCount + **/ + @javax.annotation.Nullable + + public Long getEvplVCCount() { + return evplVCCount; + } + + + public void setEvplVCCount(Long evplVCCount) { + this.evplVCCount = evplVCCount; + } + + + public PortOperation fgVCCount(Long fgVCCount) { + + this.fgVCCount = fgVCCount; + return this; + } + + /** + * Total number of connections. + * @return fgVCCount + **/ + @javax.annotation.Nullable + + public Long getFgVCCount() { + return fgVCCount; + } + + + public void setFgVCCount(Long fgVCCount) { + this.fgVCCount = fgVCCount; + } + + + public PortOperation accessVCCount(Long accessVCCount) { + + this.accessVCCount = accessVCCount; + return this; + } + + /** + * Total number of connections. + * @return accessVCCount + **/ + @javax.annotation.Nullable + + public Long getAccessVCCount() { + return accessVCCount; + } + + + public void setAccessVCCount(Long accessVCCount) { + this.accessVCCount = accessVCCount; + } + + public PortOperation opStatusChangedAt(OffsetDateTime opStatusChangedAt) { this.opStatusChangedAt = opStatusChangedAt; @@ -231,13 +311,16 @@ public boolean equals(Object o) { PortOperation portOperation = (PortOperation) o; return Objects.equals(this.operationalStatus, portOperation.operationalStatus) && Objects.equals(this.connectionCount, portOperation.connectionCount) && + Objects.equals(this.evplVCCount, portOperation.evplVCCount) && + Objects.equals(this.fgVCCount, portOperation.fgVCCount) && + Objects.equals(this.accessVCCount, portOperation.accessVCCount) && Objects.equals(this.opStatusChangedAt, portOperation.opStatusChangedAt)&& Objects.equals(this.additionalProperties, portOperation.additionalProperties); } @Override public int hashCode() { - return Objects.hash(operationalStatus, connectionCount, opStatusChangedAt, additionalProperties); + return Objects.hash(operationalStatus, connectionCount, evplVCCount, fgVCCount, accessVCCount, opStatusChangedAt, additionalProperties); } @Override @@ -246,6 +329,9 @@ public String toString() { sb.append("class PortOperation {\n"); sb.append(" operationalStatus: ").append(toIndentedString(operationalStatus)).append("\n"); sb.append(" connectionCount: ").append(toIndentedString(connectionCount)).append("\n"); + sb.append(" evplVCCount: ").append(toIndentedString(evplVCCount)).append("\n"); + sb.append(" fgVCCount: ").append(toIndentedString(fgVCCount)).append("\n"); + sb.append(" accessVCCount: ").append(toIndentedString(accessVCCount)).append("\n"); sb.append(" opStatusChangedAt: ").append(toIndentedString(opStatusChangedAt)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); @@ -272,6 +358,9 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("operationalStatus"); openapiFields.add("connectionCount"); + openapiFields.add("evplVCCount"); + openapiFields.add("fgVCCount"); + openapiFields.add("accessVCCount"); openapiFields.add("opStatusChangedAt"); // a set of required properties/fields (JSON key names) diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrder.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrder.java index e8488a81..66a8057f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrder.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrder.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -171,7 +171,7 @@ public PortOrder uuid(UUID uuid) { } /** - * Equinix-assigned order identifier + * Equinix-assigned order identifier, this is a derived response atrribute * @return uuid **/ @javax.annotation.Nullable diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderPurchaseOrder.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderPurchaseOrder.java index cd27308d..cea13fa9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderPurchaseOrder.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderPurchaseOrder.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -122,6 +122,61 @@ public SelectionTypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_SELECTION_TYPE) private SelectionTypeEnum selectionType; + /** + * Gets or Sets type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + EXEMPTION("EXEMPTION"), + + EXISTING("EXISTING"), + + NEW("NEW"), + + BLANKET("BLANKET"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + public PortOrderPurchaseOrder() { } @@ -244,7 +299,9 @@ public PortOrderPurchaseOrder selectionType(SelectionTypeEnum selectionType) { /** * Get selectionType * @return selectionType + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public SelectionTypeEnum getSelectionType() { @@ -256,6 +313,28 @@ public void setSelectionType(SelectionTypeEnum selectionType) { this.selectionType = selectionType; } + + public PortOrderPurchaseOrder type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -316,13 +395,14 @@ public boolean equals(Object o) { Objects.equals(this.startDate, portOrderPurchaseOrder.startDate) && Objects.equals(this.endDate, portOrderPurchaseOrder.endDate) && Objects.equals(this.attachmentId, portOrderPurchaseOrder.attachmentId) && - Objects.equals(this.selectionType, portOrderPurchaseOrder.selectionType)&& + Objects.equals(this.selectionType, portOrderPurchaseOrder.selectionType) && + Objects.equals(this.type, portOrderPurchaseOrder.type)&& Objects.equals(this.additionalProperties, portOrderPurchaseOrder.additionalProperties); } @Override public int hashCode() { - return Objects.hash(number, amount, startDate, endDate, attachmentId, selectionType, additionalProperties); + return Objects.hash(number, amount, startDate, endDate, attachmentId, selectionType, type, additionalProperties); } @Override @@ -335,6 +415,7 @@ public String toString() { sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n"); sb.append(" attachmentId: ").append(toIndentedString(attachmentId)).append("\n"); sb.append(" selectionType: ").append(toIndentedString(selectionType)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -364,6 +445,7 @@ private String toIndentedString(Object o) { openapiFields.add("endDate"); openapiFields.add("attachmentId"); openapiFields.add("selectionType"); + openapiFields.add("type"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -399,6 +481,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if ((jsonObj.get("selectionType") != null && !jsonObj.get("selectionType").isJsonNull()) && !jsonObj.get("selectionType").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `selectionType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("selectionType").toString())); } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignature.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignature.java index 39d4e007..07d1309e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignature.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignature.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignatureDelegate.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignatureDelegate.java index c841ed16..3b2faa81 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignatureDelegate.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortOrderSignatureDelegate.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortPriority.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortPriority.java index b389490c..64b05ab8 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortPriority.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortPriority.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortRedundancy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortRedundancy.java index 0a3926e0..1e25ca91 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortRedundancy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortRedundancy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -93,7 +93,9 @@ public PortRedundancy group(String group) { /** * Port UUID of respective primary port * @return group + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public String getGroup() { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortRequest.java new file mode 100644 index 00000000..109cc55e --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortRequest.java @@ -0,0 +1,1815 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.Changelog; +import com.equinix.openapi.fabric.v4.model.ModelPackage; +import com.equinix.openapi.fabric.v4.model.PhysicalPort; +import com.equinix.openapi.fabric.v4.model.PortAdditionalInfo; +import com.equinix.openapi.fabric.v4.model.PortDemarcationPoint; +import com.equinix.openapi.fabric.v4.model.PortDevice; +import com.equinix.openapi.fabric.v4.model.PortEncapsulation; +import com.equinix.openapi.fabric.v4.model.PortInterface; +import com.equinix.openapi.fabric.v4.model.PortLag; +import com.equinix.openapi.fabric.v4.model.PortLoa; +import com.equinix.openapi.fabric.v4.model.PortNotification; +import com.equinix.openapi.fabric.v4.model.PortOperation; +import com.equinix.openapi.fabric.v4.model.PortOrder; +import com.equinix.openapi.fabric.v4.model.PortRedundancy; +import com.equinix.openapi.fabric.v4.model.PortSettings; +import com.equinix.openapi.fabric.v4.model.PortState; +import com.equinix.openapi.fabric.v4.model.PortType; +import com.equinix.openapi.fabric.v4.model.Project; +import com.equinix.openapi.fabric.v4.model.SimplifiedAccount; +import com.equinix.openapi.fabric.v4.model.SimplifiedLocation; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.net.URI; +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * PortRequest is the Request Object for creating single and bulk fabric ports + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class PortRequest { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private PortType type; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private Integer id; + + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_PHYSICAL_PORTS_SPEED = "physicalPortsSpeed"; + @SerializedName(SERIALIZED_NAME_PHYSICAL_PORTS_SPEED) + private Integer physicalPortsSpeed; + + public static final String SERIALIZED_NAME_CONNECTIONS_COUNT = "connectionsCount"; + @SerializedName(SERIALIZED_NAME_CONNECTIONS_COUNT) + private Integer connectionsCount; + + /** + * Physical Ports Type + */ + @JsonAdapter(PhysicalPortsTypeEnum.Adapter.class) + public enum PhysicalPortsTypeEnum { + _1000BASE_LX("1000BASE_LX"), + + _10GBASE_LR("10GBASE_LR"), + + _100GBASE_LR4("100GBASE_LR4"), + + _10GBASE_ER("10GBASE_ER"), + + _1000BASE_SX("1000BASE_SX"); + + private String value; + + PhysicalPortsTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static PhysicalPortsTypeEnum fromValue(String value) { + for (PhysicalPortsTypeEnum b : PhysicalPortsTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PhysicalPortsTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public PhysicalPortsTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return PhysicalPortsTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_PHYSICAL_PORTS_TYPE = "physicalPortsType"; + @SerializedName(SERIALIZED_NAME_PHYSICAL_PORTS_TYPE) + private PhysicalPortsTypeEnum physicalPortsType; + + public static final String SERIALIZED_NAME_PHYSICAL_PORTS_COUNT = "physicalPortsCount"; + @SerializedName(SERIALIZED_NAME_PHYSICAL_PORTS_COUNT) + private Integer physicalPortsCount; + + /** + * Port connectivity type + */ + @JsonAdapter(ConnectivitySourceTypeEnum.Adapter.class) + public enum ConnectivitySourceTypeEnum { + COLO("COLO"), + + BMMR("BMMR"), + + REMOTE("REMOTE"); + + private String value; + + ConnectivitySourceTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ConnectivitySourceTypeEnum fromValue(String value) { + for (ConnectivitySourceTypeEnum b : ConnectivitySourceTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ConnectivitySourceTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ConnectivitySourceTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ConnectivitySourceTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_CONNECTIVITY_SOURCE_TYPE = "connectivitySourceType"; + @SerializedName(SERIALIZED_NAME_CONNECTIVITY_SOURCE_TYPE) + private ConnectivitySourceTypeEnum connectivitySourceType; + + /** + * Gets or Sets bmmrType + */ + @JsonAdapter(BmmrTypeEnum.Adapter.class) + public enum BmmrTypeEnum { + SELF("SELF"), + + EQUINIX("EQUINIX"); + + private String value; + + BmmrTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static BmmrTypeEnum fromValue(String value) { + for (BmmrTypeEnum b : BmmrTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final BmmrTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public BmmrTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return BmmrTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_BMMR_TYPE = "bmmrType"; + @SerializedName(SERIALIZED_NAME_BMMR_TYPE) + private BmmrTypeEnum bmmrType; + + public static final String SERIALIZED_NAME_PROJECT = "project"; + @SerializedName(SERIALIZED_NAME_PROJECT) + private Project project; + + public static final String SERIALIZED_NAME_STATE = "state"; + @SerializedName(SERIALIZED_NAME_STATE) + private PortState state; + + public static final String SERIALIZED_NAME_ORDER = "order"; + @SerializedName(SERIALIZED_NAME_ORDER) + private PortOrder order; + + public static final String SERIALIZED_NAME_OPERATION = "operation"; + @SerializedName(SERIALIZED_NAME_OPERATION) + private PortOperation operation; + + public static final String SERIALIZED_NAME_ACCOUNT = "account"; + @SerializedName(SERIALIZED_NAME_ACCOUNT) + private SimplifiedAccount account; + + public static final String SERIALIZED_NAME_CHANGE_LOG = "changeLog"; + @SerializedName(SERIALIZED_NAME_CHANGE_LOG) + private Changelog changeLog; + + /** + * Port service Type + */ + @JsonAdapter(ServiceTypeEnum.Adapter.class) + public enum ServiceTypeEnum { + EPL("EPL"), + + MSP("MSP"); + + private String value; + + ServiceTypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ServiceTypeEnum fromValue(String value) { + for (ServiceTypeEnum b : ServiceTypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ServiceTypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ServiceTypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ServiceTypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SERVICE_TYPE = "serviceType"; + @SerializedName(SERIALIZED_NAME_SERVICE_TYPE) + private ServiceTypeEnum serviceType; + + public static final String SERIALIZED_NAME_BANDWIDTH = "bandwidth"; + @SerializedName(SERIALIZED_NAME_BANDWIDTH) + private Integer bandwidth; + + public static final String SERIALIZED_NAME_AVAILABLE_BANDWIDTH = "availableBandwidth"; + @SerializedName(SERIALIZED_NAME_AVAILABLE_BANDWIDTH) + private Integer availableBandwidth; + + public static final String SERIALIZED_NAME_USED_BANDWIDTH = "usedBandwidth"; + @SerializedName(SERIALIZED_NAME_USED_BANDWIDTH) + private Integer usedBandwidth; + + public static final String SERIALIZED_NAME_LOCATION = "location"; + @SerializedName(SERIALIZED_NAME_LOCATION) + private SimplifiedLocation location; + + public static final String SERIALIZED_NAME_DEVICE = "device"; + @SerializedName(SERIALIZED_NAME_DEVICE) + private PortDevice device; + + public static final String SERIALIZED_NAME_INTERFACE = "interface"; + @SerializedName(SERIALIZED_NAME_INTERFACE) + private PortInterface _interface; + + public static final String SERIALIZED_NAME_DEMARCATION_POINT_IBX = "demarcationPointIbx"; + @SerializedName(SERIALIZED_NAME_DEMARCATION_POINT_IBX) + private String demarcationPointIbx; + + public static final String SERIALIZED_NAME_TETHER_IBX = "tetherIbx"; + @SerializedName(SERIALIZED_NAME_TETHER_IBX) + private String tetherIbx; + + public static final String SERIALIZED_NAME_DEMARCATION_POINT = "demarcationPoint"; + @SerializedName(SERIALIZED_NAME_DEMARCATION_POINT) + private PortDemarcationPoint demarcationPoint; + + public static final String SERIALIZED_NAME_REDUNDANCY = "redundancy"; + @SerializedName(SERIALIZED_NAME_REDUNDANCY) + private PortRedundancy redundancy; + + public static final String SERIALIZED_NAME_ENCAPSULATION = "encapsulation"; + @SerializedName(SERIALIZED_NAME_ENCAPSULATION) + private PortEncapsulation encapsulation; + + public static final String SERIALIZED_NAME_LAG_ENABLED = "lagEnabled"; + @SerializedName(SERIALIZED_NAME_LAG_ENABLED) + private Boolean lagEnabled; + + public static final String SERIALIZED_NAME_LAG = "lag"; + @SerializedName(SERIALIZED_NAME_LAG) + private PortLag lag; + + public static final String SERIALIZED_NAME_ASN = "asn"; + @SerializedName(SERIALIZED_NAME_ASN) + private Integer asn; + + public static final String SERIALIZED_NAME_PACKAGE = "package"; + @SerializedName(SERIALIZED_NAME_PACKAGE) + private ModelPackage _package; + + public static final String SERIALIZED_NAME_SETTINGS = "settings"; + @SerializedName(SERIALIZED_NAME_SETTINGS) + private PortSettings settings; + + public static final String SERIALIZED_NAME_PHYSICAL_PORT_QUANTITY = "physicalPortQuantity"; + @SerializedName(SERIALIZED_NAME_PHYSICAL_PORT_QUANTITY) + private Integer physicalPortQuantity; + + public static final String SERIALIZED_NAME_NOTIFICATIONS = "notifications"; + @SerializedName(SERIALIZED_NAME_NOTIFICATIONS) + private List notifications = new ArrayList<>(); + + public static final String SERIALIZED_NAME_ADDITIONAL_INFO = "additionalInfo"; + @SerializedName(SERIALIZED_NAME_ADDITIONAL_INFO) + private List additionalInfo = new ArrayList<>(); + + public static final String SERIALIZED_NAME_PHYSICAL_PORTS = "physicalPorts"; + @SerializedName(SERIALIZED_NAME_PHYSICAL_PORTS) + private List physicalPorts = new ArrayList<>(); + + public static final String SERIALIZED_NAME_LOAS = "loas"; + @SerializedName(SERIALIZED_NAME_LOAS) + private List loas = new ArrayList<>(); + + public PortRequest() { + } + + + public PortRequest( + URI href + ) { + this(); + this.href = href; + } + + /** + * Equinix assigned response attribute for an absolute URL that is the subject of the link's context. + * @return href + **/ + @javax.annotation.Nullable + + public URI getHref() { + return href; + } + + + + + public PortRequest type(PortType type) { + + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nonnull + + public PortType getType() { + return type; + } + + + public void setType(PortType type) { + this.type = type; + } + + + public PortRequest id(Integer id) { + + this.id = id; + return this; + } + + /** + * Equinix assigned response attribute for Port Id + * @return id + **/ + @javax.annotation.Nullable + + public Integer getId() { + return id; + } + + + public void setId(Integer id) { + this.id = id; + } + + + public PortRequest uuid(UUID uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Equinix assigned response attribute for port identifier + * @return uuid + **/ + @javax.annotation.Nullable + + public UUID getUuid() { + return uuid; + } + + + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + + public PortRequest name(String name) { + + this.name = name; + return this; + } + + /** + * Equinix assigned response attribute for Port name + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public PortRequest description(String description) { + + this.description = description; + return this; + } + + /** + * Equinix assigned response attribute for Port description + * @return description + **/ + @javax.annotation.Nullable + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public PortRequest physicalPortsSpeed(Integer physicalPortsSpeed) { + + this.physicalPortsSpeed = physicalPortsSpeed; + return this; + } + + /** + * Physical Ports Speed in Mbps + * minimum: 0 + * @return physicalPortsSpeed + **/ + @javax.annotation.Nonnull + + public Integer getPhysicalPortsSpeed() { + return physicalPortsSpeed; + } + + + public void setPhysicalPortsSpeed(Integer physicalPortsSpeed) { + this.physicalPortsSpeed = physicalPortsSpeed; + } + + + public PortRequest connectionsCount(Integer connectionsCount) { + + this.connectionsCount = connectionsCount; + return this; + } + + /** + * Equinix assigned response attribute for Connection count + * minimum: 0 + * @return connectionsCount + **/ + @javax.annotation.Nullable + + public Integer getConnectionsCount() { + return connectionsCount; + } + + + public void setConnectionsCount(Integer connectionsCount) { + this.connectionsCount = connectionsCount; + } + + + public PortRequest physicalPortsType(PhysicalPortsTypeEnum physicalPortsType) { + + this.physicalPortsType = physicalPortsType; + return this; + } + + /** + * Physical Ports Type + * @return physicalPortsType + **/ + @javax.annotation.Nonnull + + public PhysicalPortsTypeEnum getPhysicalPortsType() { + return physicalPortsType; + } + + + public void setPhysicalPortsType(PhysicalPortsTypeEnum physicalPortsType) { + this.physicalPortsType = physicalPortsType; + } + + + public PortRequest physicalPortsCount(Integer physicalPortsCount) { + + this.physicalPortsCount = physicalPortsCount; + return this; + } + + /** + * Get physicalPortsCount + * @return physicalPortsCount + **/ + @javax.annotation.Nullable + + public Integer getPhysicalPortsCount() { + return physicalPortsCount; + } + + + public void setPhysicalPortsCount(Integer physicalPortsCount) { + this.physicalPortsCount = physicalPortsCount; + } + + + public PortRequest connectivitySourceType(ConnectivitySourceTypeEnum connectivitySourceType) { + + this.connectivitySourceType = connectivitySourceType; + return this; + } + + /** + * Port connectivity type + * @return connectivitySourceType + **/ + @javax.annotation.Nonnull + + public ConnectivitySourceTypeEnum getConnectivitySourceType() { + return connectivitySourceType; + } + + + public void setConnectivitySourceType(ConnectivitySourceTypeEnum connectivitySourceType) { + this.connectivitySourceType = connectivitySourceType; + } + + + public PortRequest bmmrType(BmmrTypeEnum bmmrType) { + + this.bmmrType = bmmrType; + return this; + } + + /** + * Get bmmrType + * @return bmmrType + **/ + @javax.annotation.Nullable + + public BmmrTypeEnum getBmmrType() { + return bmmrType; + } + + + public void setBmmrType(BmmrTypeEnum bmmrType) { + this.bmmrType = bmmrType; + } + + + public PortRequest project(Project project) { + + this.project = project; + return this; + } + + /** + * Get project + * @return project + **/ + @javax.annotation.Nullable + + public Project getProject() { + return project; + } + + + public void setProject(Project project) { + this.project = project; + } + + + public PortRequest state(PortState state) { + + this.state = state; + return this; + } + + /** + * Get state + * @return state + **/ + @javax.annotation.Nullable + + public PortState getState() { + return state; + } + + + public void setState(PortState state) { + this.state = state; + } + + + public PortRequest order(PortOrder order) { + + this.order = order; + return this; + } + + /** + * Get order + * @return order + **/ + @javax.annotation.Nullable + + public PortOrder getOrder() { + return order; + } + + + public void setOrder(PortOrder order) { + this.order = order; + } + + + public PortRequest operation(PortOperation operation) { + + this.operation = operation; + return this; + } + + /** + * Get operation + * @return operation + **/ + @javax.annotation.Nullable + + public PortOperation getOperation() { + return operation; + } + + + public void setOperation(PortOperation operation) { + this.operation = operation; + } + + + public PortRequest account(SimplifiedAccount account) { + + this.account = account; + return this; + } + + /** + * Get account + * @return account + **/ + @javax.annotation.Nonnull + + public SimplifiedAccount getAccount() { + return account; + } + + + public void setAccount(SimplifiedAccount account) { + this.account = account; + } + + + public PortRequest changeLog(Changelog changeLog) { + + this.changeLog = changeLog; + return this; + } + + /** + * Get changeLog + * @return changeLog + **/ + @javax.annotation.Nullable + + public Changelog getChangeLog() { + return changeLog; + } + + + public void setChangeLog(Changelog changeLog) { + this.changeLog = changeLog; + } + + + public PortRequest serviceType(ServiceTypeEnum serviceType) { + + this.serviceType = serviceType; + return this; + } + + /** + * Port service Type + * @return serviceType + * @deprecated + **/ + @Deprecated + @javax.annotation.Nullable + + public ServiceTypeEnum getServiceType() { + return serviceType; + } + + + public void setServiceType(ServiceTypeEnum serviceType) { + this.serviceType = serviceType; + } + + + public PortRequest bandwidth(Integer bandwidth) { + + this.bandwidth = bandwidth; + return this; + } + + /** + * Equinix assigned response attribute for Port bandwidth in Mbps + * minimum: 0 + * @return bandwidth + * @deprecated + **/ + @Deprecated + @javax.annotation.Nullable + + public Integer getBandwidth() { + return bandwidth; + } + + + public void setBandwidth(Integer bandwidth) { + this.bandwidth = bandwidth; + } + + + public PortRequest availableBandwidth(Integer availableBandwidth) { + + this.availableBandwidth = availableBandwidth; + return this; + } + + /** + * Equinix assigned response attribute for Port available bandwidth in Mbps + * minimum: 0 + * @return availableBandwidth + **/ + @javax.annotation.Nullable + + public Integer getAvailableBandwidth() { + return availableBandwidth; + } + + + public void setAvailableBandwidth(Integer availableBandwidth) { + this.availableBandwidth = availableBandwidth; + } + + + public PortRequest usedBandwidth(Integer usedBandwidth) { + + this.usedBandwidth = usedBandwidth; + return this; + } + + /** + * Equinix assigned response attribute for Port used bandwidth in Mbps + * minimum: 0 + * @return usedBandwidth + **/ + @javax.annotation.Nullable + + public Integer getUsedBandwidth() { + return usedBandwidth; + } + + + public void setUsedBandwidth(Integer usedBandwidth) { + this.usedBandwidth = usedBandwidth; + } + + + public PortRequest location(SimplifiedLocation location) { + + this.location = location; + return this; + } + + /** + * Get location + * @return location + **/ + @javax.annotation.Nonnull + + public SimplifiedLocation getLocation() { + return location; + } + + + public void setLocation(SimplifiedLocation location) { + this.location = location; + } + + + public PortRequest device(PortDevice device) { + + this.device = device; + return this; + } + + /** + * Get device + * @return device + **/ + @javax.annotation.Nullable + + public PortDevice getDevice() { + return device; + } + + + public void setDevice(PortDevice device) { + this.device = device; + } + + + public PortRequest _interface(PortInterface _interface) { + + this._interface = _interface; + return this; + } + + /** + * Get _interface + * @return _interface + **/ + @javax.annotation.Nullable + + public PortInterface getInterface() { + return _interface; + } + + + public void setInterface(PortInterface _interface) { + this._interface = _interface; + } + + + public PortRequest demarcationPointIbx(String demarcationPointIbx) { + + this.demarcationPointIbx = demarcationPointIbx; + return this; + } + + /** + * A-side/Equinix ibx + * @return demarcationPointIbx + **/ + @javax.annotation.Nullable + + public String getDemarcationPointIbx() { + return demarcationPointIbx; + } + + + public void setDemarcationPointIbx(String demarcationPointIbx) { + this.demarcationPointIbx = demarcationPointIbx; + } + + + public PortRequest tetherIbx(String tetherIbx) { + + this.tetherIbx = tetherIbx; + return this; + } + + /** + * z-side/Equinix ibx + * @return tetherIbx + **/ + @javax.annotation.Nullable + + public String getTetherIbx() { + return tetherIbx; + } + + + public void setTetherIbx(String tetherIbx) { + this.tetherIbx = tetherIbx; + } + + + public PortRequest demarcationPoint(PortDemarcationPoint demarcationPoint) { + + this.demarcationPoint = demarcationPoint; + return this; + } + + /** + * Get demarcationPoint + * @return demarcationPoint + **/ + @javax.annotation.Nullable + + public PortDemarcationPoint getDemarcationPoint() { + return demarcationPoint; + } + + + public void setDemarcationPoint(PortDemarcationPoint demarcationPoint) { + this.demarcationPoint = demarcationPoint; + } + + + public PortRequest redundancy(PortRedundancy redundancy) { + + this.redundancy = redundancy; + return this; + } + + /** + * Get redundancy + * @return redundancy + **/ + @javax.annotation.Nullable + + public PortRedundancy getRedundancy() { + return redundancy; + } + + + public void setRedundancy(PortRedundancy redundancy) { + this.redundancy = redundancy; + } + + + public PortRequest encapsulation(PortEncapsulation encapsulation) { + + this.encapsulation = encapsulation; + return this; + } + + /** + * Get encapsulation + * @return encapsulation + **/ + @javax.annotation.Nonnull + + public PortEncapsulation getEncapsulation() { + return encapsulation; + } + + + public void setEncapsulation(PortEncapsulation encapsulation) { + this.encapsulation = encapsulation; + } + + + public PortRequest lagEnabled(Boolean lagEnabled) { + + this.lagEnabled = lagEnabled; + return this; + } + + /** + * If LAG enabled + * @return lagEnabled + **/ + @javax.annotation.Nullable + + public Boolean getLagEnabled() { + return lagEnabled; + } + + + public void setLagEnabled(Boolean lagEnabled) { + this.lagEnabled = lagEnabled; + } + + + public PortRequest lag(PortLag lag) { + + this.lag = lag; + return this; + } + + /** + * Get lag + * @return lag + **/ + @javax.annotation.Nullable + + public PortLag getLag() { + return lag; + } + + + public void setLag(PortLag lag) { + this.lag = lag; + } + + + public PortRequest asn(Integer asn) { + + this.asn = asn; + return this; + } + + /** + * Port ASN + * @return asn + **/ + @javax.annotation.Nullable + + public Integer getAsn() { + return asn; + } + + + public void setAsn(Integer asn) { + this.asn = asn; + } + + + public PortRequest _package(ModelPackage _package) { + + this._package = _package; + return this; + } + + /** + * Get _package + * @return _package + **/ + @javax.annotation.Nullable + + public ModelPackage getPackage() { + return _package; + } + + + public void setPackage(ModelPackage _package) { + this._package = _package; + } + + + public PortRequest settings(PortSettings settings) { + + this.settings = settings; + return this; + } + + /** + * Get settings + * @return settings + **/ + @javax.annotation.Nonnull + + public PortSettings getSettings() { + return settings; + } + + + public void setSettings(PortSettings settings) { + this.settings = settings; + } + + + public PortRequest physicalPortQuantity(Integer physicalPortQuantity) { + + this.physicalPortQuantity = physicalPortQuantity; + return this; + } + + /** + * Number of physical ports + * @return physicalPortQuantity + **/ + @javax.annotation.Nullable + + public Integer getPhysicalPortQuantity() { + return physicalPortQuantity; + } + + + public void setPhysicalPortQuantity(Integer physicalPortQuantity) { + this.physicalPortQuantity = physicalPortQuantity; + } + + + public PortRequest notifications(List notifications) { + + this.notifications = notifications; + return this; + } + + public PortRequest addNotificationsItem(PortNotification notificationsItem) { + if (this.notifications == null) { + this.notifications = new ArrayList<>(); + } + this.notifications.add(notificationsItem); + return this; + } + + /** + * Notification preferences + * @return notifications + **/ + @javax.annotation.Nullable + + public List getNotifications() { + return notifications; + } + + + public void setNotifications(List notifications) { + this.notifications = notifications; + } + + + public PortRequest additionalInfo(List additionalInfo) { + + this.additionalInfo = additionalInfo; + return this; + } + + public PortRequest addAdditionalInfoItem(PortAdditionalInfo additionalInfoItem) { + if (this.additionalInfo == null) { + this.additionalInfo = new ArrayList<>(); + } + this.additionalInfo.add(additionalInfoItem); + return this; + } + + /** + * Port additional information + * @return additionalInfo + **/ + @javax.annotation.Nullable + + public List getAdditionalInfo() { + return additionalInfo; + } + + + public void setAdditionalInfo(List additionalInfo) { + this.additionalInfo = additionalInfo; + } + + + public PortRequest physicalPorts(List physicalPorts) { + + this.physicalPorts = physicalPorts; + return this; + } + + public PortRequest addPhysicalPortsItem(PhysicalPort physicalPortsItem) { + if (this.physicalPorts == null) { + this.physicalPorts = new ArrayList<>(); + } + this.physicalPorts.add(physicalPortsItem); + return this; + } + + /** + * Physical ports that implement this port + * @return physicalPorts + **/ + @javax.annotation.Nullable + + public List getPhysicalPorts() { + return physicalPorts; + } + + + public void setPhysicalPorts(List physicalPorts) { + this.physicalPorts = physicalPorts; + } + + + public PortRequest loas(List loas) { + + this.loas = loas; + return this; + } + + public PortRequest addLoasItem(PortLoa loasItem) { + if (this.loas == null) { + this.loas = new ArrayList<>(); + } + this.loas.add(loasItem); + return this; + } + + /** + * Port Loas + * @return loas + **/ + @javax.annotation.Nullable + + public List getLoas() { + return loas; + } + + + public void setLoas(List loas) { + this.loas = loas; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the PortRequest instance itself + */ + public PortRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + PortRequest portRequest = (PortRequest) o; + return Objects.equals(this.href, portRequest.href) && + Objects.equals(this.type, portRequest.type) && + Objects.equals(this.id, portRequest.id) && + Objects.equals(this.uuid, portRequest.uuid) && + Objects.equals(this.name, portRequest.name) && + Objects.equals(this.description, portRequest.description) && + Objects.equals(this.physicalPortsSpeed, portRequest.physicalPortsSpeed) && + Objects.equals(this.connectionsCount, portRequest.connectionsCount) && + Objects.equals(this.physicalPortsType, portRequest.physicalPortsType) && + Objects.equals(this.physicalPortsCount, portRequest.physicalPortsCount) && + Objects.equals(this.connectivitySourceType, portRequest.connectivitySourceType) && + Objects.equals(this.bmmrType, portRequest.bmmrType) && + Objects.equals(this.project, portRequest.project) && + Objects.equals(this.state, portRequest.state) && + Objects.equals(this.order, portRequest.order) && + Objects.equals(this.operation, portRequest.operation) && + Objects.equals(this.account, portRequest.account) && + Objects.equals(this.changeLog, portRequest.changeLog) && + Objects.equals(this.serviceType, portRequest.serviceType) && + Objects.equals(this.bandwidth, portRequest.bandwidth) && + Objects.equals(this.availableBandwidth, portRequest.availableBandwidth) && + Objects.equals(this.usedBandwidth, portRequest.usedBandwidth) && + Objects.equals(this.location, portRequest.location) && + Objects.equals(this.device, portRequest.device) && + Objects.equals(this._interface, portRequest._interface) && + Objects.equals(this.demarcationPointIbx, portRequest.demarcationPointIbx) && + Objects.equals(this.tetherIbx, portRequest.tetherIbx) && + Objects.equals(this.demarcationPoint, portRequest.demarcationPoint) && + Objects.equals(this.redundancy, portRequest.redundancy) && + Objects.equals(this.encapsulation, portRequest.encapsulation) && + Objects.equals(this.lagEnabled, portRequest.lagEnabled) && + Objects.equals(this.lag, portRequest.lag) && + Objects.equals(this.asn, portRequest.asn) && + Objects.equals(this._package, portRequest._package) && + Objects.equals(this.settings, portRequest.settings) && + Objects.equals(this.physicalPortQuantity, portRequest.physicalPortQuantity) && + Objects.equals(this.notifications, portRequest.notifications) && + Objects.equals(this.additionalInfo, portRequest.additionalInfo) && + Objects.equals(this.physicalPorts, portRequest.physicalPorts) && + Objects.equals(this.loas, portRequest.loas)&& + Objects.equals(this.additionalProperties, portRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(href, type, id, uuid, name, description, physicalPortsSpeed, connectionsCount, physicalPortsType, physicalPortsCount, connectivitySourceType, bmmrType, project, state, order, operation, account, changeLog, serviceType, bandwidth, availableBandwidth, usedBandwidth, location, device, _interface, demarcationPointIbx, tetherIbx, demarcationPoint, redundancy, encapsulation, lagEnabled, lag, asn, _package, settings, physicalPortQuantity, notifications, additionalInfo, physicalPorts, loas, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class PortRequest {\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" physicalPortsSpeed: ").append(toIndentedString(physicalPortsSpeed)).append("\n"); + sb.append(" connectionsCount: ").append(toIndentedString(connectionsCount)).append("\n"); + sb.append(" physicalPortsType: ").append(toIndentedString(physicalPortsType)).append("\n"); + sb.append(" physicalPortsCount: ").append(toIndentedString(physicalPortsCount)).append("\n"); + sb.append(" connectivitySourceType: ").append(toIndentedString(connectivitySourceType)).append("\n"); + sb.append(" bmmrType: ").append(toIndentedString(bmmrType)).append("\n"); + sb.append(" project: ").append(toIndentedString(project)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" order: ").append(toIndentedString(order)).append("\n"); + sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); + sb.append(" account: ").append(toIndentedString(account)).append("\n"); + sb.append(" changeLog: ").append(toIndentedString(changeLog)).append("\n"); + sb.append(" serviceType: ").append(toIndentedString(serviceType)).append("\n"); + sb.append(" bandwidth: ").append(toIndentedString(bandwidth)).append("\n"); + sb.append(" availableBandwidth: ").append(toIndentedString(availableBandwidth)).append("\n"); + sb.append(" usedBandwidth: ").append(toIndentedString(usedBandwidth)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); + sb.append(" device: ").append(toIndentedString(device)).append("\n"); + sb.append(" _interface: ").append(toIndentedString(_interface)).append("\n"); + sb.append(" demarcationPointIbx: ").append(toIndentedString(demarcationPointIbx)).append("\n"); + sb.append(" tetherIbx: ").append(toIndentedString(tetherIbx)).append("\n"); + sb.append(" demarcationPoint: ").append(toIndentedString(demarcationPoint)).append("\n"); + sb.append(" redundancy: ").append(toIndentedString(redundancy)).append("\n"); + sb.append(" encapsulation: ").append(toIndentedString(encapsulation)).append("\n"); + sb.append(" lagEnabled: ").append(toIndentedString(lagEnabled)).append("\n"); + sb.append(" lag: ").append(toIndentedString(lag)).append("\n"); + sb.append(" asn: ").append(toIndentedString(asn)).append("\n"); + sb.append(" _package: ").append(toIndentedString(_package)).append("\n"); + sb.append(" settings: ").append(toIndentedString(settings)).append("\n"); + sb.append(" physicalPortQuantity: ").append(toIndentedString(physicalPortQuantity)).append("\n"); + sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n"); + sb.append(" additionalInfo: ").append(toIndentedString(additionalInfo)).append("\n"); + sb.append(" physicalPorts: ").append(toIndentedString(physicalPorts)).append("\n"); + sb.append(" loas: ").append(toIndentedString(loas)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("href"); + openapiFields.add("type"); + openapiFields.add("id"); + openapiFields.add("uuid"); + openapiFields.add("name"); + openapiFields.add("description"); + openapiFields.add("physicalPortsSpeed"); + openapiFields.add("connectionsCount"); + openapiFields.add("physicalPortsType"); + openapiFields.add("physicalPortsCount"); + openapiFields.add("connectivitySourceType"); + openapiFields.add("bmmrType"); + openapiFields.add("project"); + openapiFields.add("state"); + openapiFields.add("order"); + openapiFields.add("operation"); + openapiFields.add("account"); + openapiFields.add("changeLog"); + openapiFields.add("serviceType"); + openapiFields.add("bandwidth"); + openapiFields.add("availableBandwidth"); + openapiFields.add("usedBandwidth"); + openapiFields.add("location"); + openapiFields.add("device"); + openapiFields.add("interface"); + openapiFields.add("demarcationPointIbx"); + openapiFields.add("tetherIbx"); + openapiFields.add("demarcationPoint"); + openapiFields.add("redundancy"); + openapiFields.add("encapsulation"); + openapiFields.add("lagEnabled"); + openapiFields.add("lag"); + openapiFields.add("asn"); + openapiFields.add("package"); + openapiFields.add("settings"); + openapiFields.add("physicalPortQuantity"); + openapiFields.add("notifications"); + openapiFields.add("additionalInfo"); + openapiFields.add("physicalPorts"); + openapiFields.add("loas"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("type"); + openapiRequiredFields.add("physicalPortsSpeed"); + openapiRequiredFields.add("physicalPortsType"); + openapiRequiredFields.add("connectivitySourceType"); + openapiRequiredFields.add("account"); + openapiRequiredFields.add("location"); + openapiRequiredFields.add("encapsulation"); + openapiRequiredFields.add("settings"); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to PortRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!PortRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PortRequest is not found in the empty JSON string", PortRequest.openapiRequiredFields.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : PortRequest.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } + if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + if (!jsonObj.get("physicalPortsType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `physicalPortsType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("physicalPortsType").toString())); + } + if (!jsonObj.get("connectivitySourceType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `connectivitySourceType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("connectivitySourceType").toString())); + } + if ((jsonObj.get("bmmrType") != null && !jsonObj.get("bmmrType").isJsonNull()) && !jsonObj.get("bmmrType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bmmrType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bmmrType").toString())); + } + // validate the optional field `project` + if (jsonObj.get("project") != null && !jsonObj.get("project").isJsonNull()) { + Project.validateJsonObject(jsonObj.getAsJsonObject("project")); + } + // validate the optional field `order` + if (jsonObj.get("order") != null && !jsonObj.get("order").isJsonNull()) { + PortOrder.validateJsonObject(jsonObj.getAsJsonObject("order")); + } + // validate the optional field `operation` + if (jsonObj.get("operation") != null && !jsonObj.get("operation").isJsonNull()) { + PortOperation.validateJsonObject(jsonObj.getAsJsonObject("operation")); + } + // validate the required field `account` + SimplifiedAccount.validateJsonObject(jsonObj.getAsJsonObject("account")); + // validate the optional field `changeLog` + if (jsonObj.get("changeLog") != null && !jsonObj.get("changeLog").isJsonNull()) { + Changelog.validateJsonObject(jsonObj.getAsJsonObject("changeLog")); + } + if ((jsonObj.get("serviceType") != null && !jsonObj.get("serviceType").isJsonNull()) && !jsonObj.get("serviceType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `serviceType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("serviceType").toString())); + } + // validate the required field `location` + SimplifiedLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); + // validate the optional field `device` + if (jsonObj.get("device") != null && !jsonObj.get("device").isJsonNull()) { + PortDevice.validateJsonObject(jsonObj.getAsJsonObject("device")); + } + // validate the optional field `interface` + if (jsonObj.get("interface") != null && !jsonObj.get("interface").isJsonNull()) { + PortInterface.validateJsonObject(jsonObj.getAsJsonObject("interface")); + } + if ((jsonObj.get("demarcationPointIbx") != null && !jsonObj.get("demarcationPointIbx").isJsonNull()) && !jsonObj.get("demarcationPointIbx").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `demarcationPointIbx` to be a primitive type in the JSON string but got `%s`", jsonObj.get("demarcationPointIbx").toString())); + } + if ((jsonObj.get("tetherIbx") != null && !jsonObj.get("tetherIbx").isJsonNull()) && !jsonObj.get("tetherIbx").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `tetherIbx` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tetherIbx").toString())); + } + // validate the optional field `demarcationPoint` + if (jsonObj.get("demarcationPoint") != null && !jsonObj.get("demarcationPoint").isJsonNull()) { + PortDemarcationPoint.validateJsonObject(jsonObj.getAsJsonObject("demarcationPoint")); + } + // validate the optional field `redundancy` + if (jsonObj.get("redundancy") != null && !jsonObj.get("redundancy").isJsonNull()) { + PortRedundancy.validateJsonObject(jsonObj.getAsJsonObject("redundancy")); + } + // validate the required field `encapsulation` + PortEncapsulation.validateJsonObject(jsonObj.getAsJsonObject("encapsulation")); + // validate the optional field `lag` + if (jsonObj.get("lag") != null && !jsonObj.get("lag").isJsonNull()) { + PortLag.validateJsonObject(jsonObj.getAsJsonObject("lag")); + } + // validate the optional field `package` + if (jsonObj.get("package") != null && !jsonObj.get("package").isJsonNull()) { + ModelPackage.validateJsonObject(jsonObj.getAsJsonObject("package")); + } + // validate the required field `settings` + PortSettings.validateJsonObject(jsonObj.getAsJsonObject("settings")); + if (jsonObj.get("notifications") != null && !jsonObj.get("notifications").isJsonNull()) { + JsonArray jsonArraynotifications = jsonObj.getAsJsonArray("notifications"); + if (jsonArraynotifications != null) { + // ensure the json data is an array + if (!jsonObj.get("notifications").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `notifications` to be an array in the JSON string but got `%s`", jsonObj.get("notifications").toString())); + } + + // validate the optional field `notifications` (array) + for (int i = 0; i < jsonArraynotifications.size(); i++) { + PortNotification.validateJsonObject(jsonArraynotifications.get(i).getAsJsonObject()); + }; + } + } + if (jsonObj.get("additionalInfo") != null && !jsonObj.get("additionalInfo").isJsonNull()) { + JsonArray jsonArrayadditionalInfo = jsonObj.getAsJsonArray("additionalInfo"); + if (jsonArrayadditionalInfo != null) { + // ensure the json data is an array + if (!jsonObj.get("additionalInfo").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `additionalInfo` to be an array in the JSON string but got `%s`", jsonObj.get("additionalInfo").toString())); + } + + // validate the optional field `additionalInfo` (array) + for (int i = 0; i < jsonArrayadditionalInfo.size(); i++) { + PortAdditionalInfo.validateJsonObject(jsonArrayadditionalInfo.get(i).getAsJsonObject()); + }; + } + } + if (jsonObj.get("physicalPorts") != null && !jsonObj.get("physicalPorts").isJsonNull()) { + JsonArray jsonArrayphysicalPorts = jsonObj.getAsJsonArray("physicalPorts"); + if (jsonArrayphysicalPorts != null) { + // ensure the json data is an array + if (!jsonObj.get("physicalPorts").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `physicalPorts` to be an array in the JSON string but got `%s`", jsonObj.get("physicalPorts").toString())); + } + + // validate the optional field `physicalPorts` (array) + for (int i = 0; i < jsonArrayphysicalPorts.size(); i++) { + PhysicalPort.validateJsonObject(jsonArrayphysicalPorts.get(i).getAsJsonObject()); + }; + } + } + if (jsonObj.get("loas") != null && !jsonObj.get("loas").isJsonNull()) { + JsonArray jsonArrayloas = jsonObj.getAsJsonArray("loas"); + if (jsonArrayloas != null) { + // ensure the json data is an array + if (!jsonObj.get("loas").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `loas` to be an array in the JSON string but got `%s`", jsonObj.get("loas").toString())); + } + + // validate the optional field `loas` (array) + for (int i = 0; i < jsonArrayloas.size(); i++) { + PortLoa.validateJsonObject(jsonArrayloas.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!PortRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PortRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PortRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, PortRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public PortRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + PortRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of PortRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of PortRequest + * @throws IOException if the JSON string is invalid with respect to PortRequest + */ + public static PortRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PortRequest.class); + } + + /** + * Convert an instance of PortRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSearchFieldName.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSearchFieldName.java index f45ab483..e46ebcb9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSearchFieldName.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSearchFieldName.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSettings.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSettings.java index c0697bee..4784ec3b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSettings.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSettings.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -46,10 +46,6 @@ */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class PortSettings { - public static final String SERIALIZED_NAME_PRODUCT = "product"; - @SerializedName(SERIALIZED_NAME_PRODUCT) - private String product; - public static final String SERIALIZED_NAME_BUYOUT = "buyout"; @SerializedName(SERIALIZED_NAME_BUYOUT) private Boolean buyout; @@ -66,10 +62,6 @@ public class PortSettings { @SerializedName(SERIALIZED_NAME_LAYER3_ENABLED) private Boolean layer3Enabled; - public static final String SERIALIZED_NAME_PRODUCT_CODE = "productCode"; - @SerializedName(SERIALIZED_NAME_PRODUCT_CODE) - private String productCode; - public static final String SERIALIZED_NAME_SHARED_PORT_TYPE = "sharedPortType"; @SerializedName(SERIALIZED_NAME_SHARED_PORT_TYPE) private Boolean sharedPortType; @@ -136,11 +128,9 @@ public SharedPortProductEnum read(final JsonReader jsonReader) throws IOExceptio public enum PackageTypeEnum { STANDARD("STANDARD"), - UNTAGGED("UNTAGGED"), - UNLIMITED("UNLIMITED"), - UNLIMITED_PLUS("UNLIMITED PLUS"); + UNLIMITED_PLUS("UNLIMITED_PLUS"); private String value; @@ -187,28 +177,6 @@ public PackageTypeEnum read(final JsonReader jsonReader) throws IOException { public PortSettings() { } - public PortSettings product(String product) { - - this.product = product; - return this; - } - - /** - * Product name - * @return product - **/ - @javax.annotation.Nullable - - public String getProduct() { - return product; - } - - - public void setProduct(String product) { - this.product = product; - } - - public PortSettings buyout(Boolean buyout) { this.buyout = buyout; @@ -218,7 +186,9 @@ public PortSettings buyout(Boolean buyout) { /** * Get buyout * @return buyout + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public Boolean getBuyout() { @@ -240,7 +210,9 @@ public PortSettings viewPortPermission(Boolean viewPortPermission) { /** * Get viewPortPermission * @return viewPortPermission + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public Boolean getViewPortPermission() { @@ -262,7 +234,9 @@ public PortSettings placeVcOrderPermission(Boolean placeVcOrderPermission) { /** * Get placeVcOrderPermission * @return placeVcOrderPermission + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public Boolean getPlaceVcOrderPermission() { @@ -284,7 +258,9 @@ public PortSettings layer3Enabled(Boolean layer3Enabled) { /** * Get layer3Enabled * @return layer3Enabled + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public Boolean getLayer3Enabled() { @@ -297,28 +273,6 @@ public void setLayer3Enabled(Boolean layer3Enabled) { } - public PortSettings productCode(String productCode) { - - this.productCode = productCode; - return this; - } - - /** - * Get productCode - * @return productCode - **/ - @javax.annotation.Nullable - - public String getProductCode() { - return productCode; - } - - - public void setProductCode(String productCode) { - this.productCode = productCode; - } - - public PortSettings sharedPortType(Boolean sharedPortType) { this.sharedPortType = sharedPortType; @@ -372,7 +326,9 @@ public PortSettings packageType(PackageTypeEnum packageType) { /** * Type of Port Package * @return packageType + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public PackageTypeEnum getPackageType() { @@ -439,12 +395,10 @@ public boolean equals(Object o) { return false; } PortSettings portSettings = (PortSettings) o; - return Objects.equals(this.product, portSettings.product) && - Objects.equals(this.buyout, portSettings.buyout) && + return Objects.equals(this.buyout, portSettings.buyout) && Objects.equals(this.viewPortPermission, portSettings.viewPortPermission) && Objects.equals(this.placeVcOrderPermission, portSettings.placeVcOrderPermission) && Objects.equals(this.layer3Enabled, portSettings.layer3Enabled) && - Objects.equals(this.productCode, portSettings.productCode) && Objects.equals(this.sharedPortType, portSettings.sharedPortType) && Objects.equals(this.sharedPortProduct, portSettings.sharedPortProduct) && Objects.equals(this.packageType, portSettings.packageType)&& @@ -453,19 +407,17 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(product, buyout, viewPortPermission, placeVcOrderPermission, layer3Enabled, productCode, sharedPortType, sharedPortProduct, packageType, additionalProperties); + return Objects.hash(buyout, viewPortPermission, placeVcOrderPermission, layer3Enabled, sharedPortType, sharedPortProduct, packageType, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PortSettings {\n"); - sb.append(" product: ").append(toIndentedString(product)).append("\n"); sb.append(" buyout: ").append(toIndentedString(buyout)).append("\n"); sb.append(" viewPortPermission: ").append(toIndentedString(viewPortPermission)).append("\n"); sb.append(" placeVcOrderPermission: ").append(toIndentedString(placeVcOrderPermission)).append("\n"); sb.append(" layer3Enabled: ").append(toIndentedString(layer3Enabled)).append("\n"); - sb.append(" productCode: ").append(toIndentedString(productCode)).append("\n"); sb.append(" sharedPortType: ").append(toIndentedString(sharedPortType)).append("\n"); sb.append(" sharedPortProduct: ").append(toIndentedString(sharedPortProduct)).append("\n"); sb.append(" packageType: ").append(toIndentedString(packageType)).append("\n"); @@ -492,12 +444,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("product"); openapiFields.add("buyout"); openapiFields.add("viewPortPermission"); openapiFields.add("placeVcOrderPermission"); openapiFields.add("layer3Enabled"); - openapiFields.add("productCode"); openapiFields.add("sharedPortType"); openapiFields.add("sharedPortProduct"); openapiFields.add("packageType"); @@ -518,12 +468,6 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field(s) %s in PortSettings is not found in the empty JSON string", PortSettings.openapiRequiredFields.toString())); } } - if ((jsonObj.get("product") != null && !jsonObj.get("product").isJsonNull()) && !jsonObj.get("product").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `product` to be a primitive type in the JSON string but got `%s`", jsonObj.get("product").toString())); - } - if ((jsonObj.get("productCode") != null && !jsonObj.get("productCode").isJsonNull()) && !jsonObj.get("productCode").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `productCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("productCode").toString())); - } if ((jsonObj.get("sharedPortProduct") != null && !jsonObj.get("sharedPortProduct").isJsonNull()) && !jsonObj.get("sharedPortProduct").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `sharedPortProduct` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sharedPortProduct").toString())); } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortBy.java index 7157e7cd..f675aacf 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortBy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortBy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortCriteria.java index a45b1a16..191b79de 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortCriteria.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortCriteria.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortDirection.java index 17ec11cd..e07a49c4 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortDirection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortSortDirection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortState.java index 0d40eed2..e44efde7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortTether.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortTether.java index 9e93b642..4c562475 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortTether.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortTether.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortType.java index 5707e9f6..e37f83d2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortV4SearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortV4SearchRequest.java index 341df0c7..22510e6b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortV4SearchRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PortV4SearchRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeChangeOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeChangeOperation.java index d5b73958..3bc71297 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeChangeOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeChangeOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -51,7 +51,11 @@ public class PrecisionTimeChangeOperation { */ @JsonAdapter(OpEnum.Adapter.class) public enum OpEnum { - REPLACE("replace"); + REPLACE("replace"), + + ADD("add"), + + REMOVE("remove"); private String value; @@ -102,7 +106,13 @@ public OpEnum read(final JsonReader jsonReader) throws IOException { public enum PathEnum { NAME("/name"), - PACKAGE_CODE("/package/code"); + PACKAGE_CODE("/package/code"), + + IPV4("/ipv4"), + + NTPADVANCEDCONFIGURATION("/ntpAdvancedConfiguration"), + + PTPADVANCEDCONFIGURATION("/ptpAdvancedConfiguration"); private String value; diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolIpv4Ipv6Config.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeOrder.java similarity index 60% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolIpv4Ipv6Config.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeOrder.java index 36b90232..0e476cdd 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolIpv4Ipv6Config.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeOrder.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -42,88 +42,88 @@ import com.equinix.openapi.fabric.JSON; /** - * IPv4 or IPv6 specific configuration + * Precision Time Order */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class LinkProtocolIpv4Ipv6Config { - public static final String SERIALIZED_NAME_LINK_PREFIX = "linkPrefix"; - @SerializedName(SERIALIZED_NAME_LINK_PREFIX) - private String linkPrefix; +public class PrecisionTimeOrder { + public static final String SERIALIZED_NAME_PURCHASE_ORDER_NUMBER = "purchaseOrderNumber"; + @SerializedName(SERIALIZED_NAME_PURCHASE_ORDER_NUMBER) + private String purchaseOrderNumber; - public static final String SERIALIZED_NAME_LOCAL_IFACE_IP = "localIfaceIp"; - @SerializedName(SERIALIZED_NAME_LOCAL_IFACE_IP) - private String localIfaceIp; + public static final String SERIALIZED_NAME_CUSTOMER_REFERENCE_NUMBER = "customerReferenceNumber"; + @SerializedName(SERIALIZED_NAME_CUSTOMER_REFERENCE_NUMBER) + private String customerReferenceNumber; - public static final String SERIALIZED_NAME_REMOTE_IFACE_IP = "remoteIfaceIp"; - @SerializedName(SERIALIZED_NAME_REMOTE_IFACE_IP) - private String remoteIfaceIp; + public static final String SERIALIZED_NAME_ORDER_NUMBER = "orderNumber"; + @SerializedName(SERIALIZED_NAME_ORDER_NUMBER) + private String orderNumber; - public LinkProtocolIpv4Ipv6Config() { + public PrecisionTimeOrder() { } - public LinkProtocolIpv4Ipv6Config linkPrefix(String linkPrefix) { + public PrecisionTimeOrder purchaseOrderNumber(String purchaseOrderNumber) { - this.linkPrefix = linkPrefix; + this.purchaseOrderNumber = purchaseOrderNumber; return this; } /** - * Link subnet prefix - * @return linkPrefix + * Purchase order number + * @return purchaseOrderNumber **/ @javax.annotation.Nullable - public String getLinkPrefix() { - return linkPrefix; + public String getPurchaseOrderNumber() { + return purchaseOrderNumber; } - public void setLinkPrefix(String linkPrefix) { - this.linkPrefix = linkPrefix; + public void setPurchaseOrderNumber(String purchaseOrderNumber) { + this.purchaseOrderNumber = purchaseOrderNumber; } - public LinkProtocolIpv4Ipv6Config localIfaceIp(String localIfaceIp) { + public PrecisionTimeOrder customerReferenceNumber(String customerReferenceNumber) { - this.localIfaceIp = localIfaceIp; + this.customerReferenceNumber = customerReferenceNumber; return this; } /** - * Prefix datatype when linkPrefix not specified - * @return localIfaceIp + * Customer reference number + * @return customerReferenceNumber **/ @javax.annotation.Nullable - public String getLocalIfaceIp() { - return localIfaceIp; + public String getCustomerReferenceNumber() { + return customerReferenceNumber; } - public void setLocalIfaceIp(String localIfaceIp) { - this.localIfaceIp = localIfaceIp; + public void setCustomerReferenceNumber(String customerReferenceNumber) { + this.customerReferenceNumber = customerReferenceNumber; } - public LinkProtocolIpv4Ipv6Config remoteIfaceIp(String remoteIfaceIp) { + public PrecisionTimeOrder orderNumber(String orderNumber) { - this.remoteIfaceIp = remoteIfaceIp; + this.orderNumber = orderNumber; return this; } /** - * Equinix-side link interface address - * @return remoteIfaceIp + * Order Reference Number + * @return orderNumber **/ @javax.annotation.Nullable - public String getRemoteIfaceIp() { - return remoteIfaceIp; + public String getOrderNumber() { + return orderNumber; } - public void setRemoteIfaceIp(String remoteIfaceIp) { - this.remoteIfaceIp = remoteIfaceIp; + public void setOrderNumber(String orderNumber) { + this.orderNumber = orderNumber; } /** @@ -139,9 +139,9 @@ public void setRemoteIfaceIp(String remoteIfaceIp) { * * @param key name of the property * @param value value of the property - * @return the LinkProtocolIpv4Ipv6Config instance itself + * @return the PrecisionTimeOrder instance itself */ - public LinkProtocolIpv4Ipv6Config putAdditionalProperty(String key, Object value) { + public PrecisionTimeOrder putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -180,25 +180,25 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - LinkProtocolIpv4Ipv6Config linkProtocolIpv4Ipv6Config = (LinkProtocolIpv4Ipv6Config) o; - return Objects.equals(this.linkPrefix, linkProtocolIpv4Ipv6Config.linkPrefix) && - Objects.equals(this.localIfaceIp, linkProtocolIpv4Ipv6Config.localIfaceIp) && - Objects.equals(this.remoteIfaceIp, linkProtocolIpv4Ipv6Config.remoteIfaceIp)&& - Objects.equals(this.additionalProperties, linkProtocolIpv4Ipv6Config.additionalProperties); + PrecisionTimeOrder precisionTimeOrder = (PrecisionTimeOrder) o; + return Objects.equals(this.purchaseOrderNumber, precisionTimeOrder.purchaseOrderNumber) && + Objects.equals(this.customerReferenceNumber, precisionTimeOrder.customerReferenceNumber) && + Objects.equals(this.orderNumber, precisionTimeOrder.orderNumber)&& + Objects.equals(this.additionalProperties, precisionTimeOrder.additionalProperties); } @Override public int hashCode() { - return Objects.hash(linkPrefix, localIfaceIp, remoteIfaceIp, additionalProperties); + return Objects.hash(purchaseOrderNumber, customerReferenceNumber, orderNumber, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class LinkProtocolIpv4Ipv6Config {\n"); - sb.append(" linkPrefix: ").append(toIndentedString(linkPrefix)).append("\n"); - sb.append(" localIfaceIp: ").append(toIndentedString(localIfaceIp)).append("\n"); - sb.append(" remoteIfaceIp: ").append(toIndentedString(remoteIfaceIp)).append("\n"); + sb.append("class PrecisionTimeOrder {\n"); + sb.append(" purchaseOrderNumber: ").append(toIndentedString(purchaseOrderNumber)).append("\n"); + sb.append(" customerReferenceNumber: ").append(toIndentedString(customerReferenceNumber)).append("\n"); + sb.append(" orderNumber: ").append(toIndentedString(orderNumber)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -222,9 +222,9 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("linkPrefix"); - openapiFields.add("localIfaceIp"); - openapiFields.add("remoteIfaceIp"); + openapiFields.add("purchaseOrderNumber"); + openapiFields.add("customerReferenceNumber"); + openapiFields.add("orderNumber"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -234,22 +234,22 @@ private String toIndentedString(Object o) { * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to LinkProtocolIpv4Ipv6Config + * @throws IOException if the JSON Object is invalid with respect to PrecisionTimeOrder */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!LinkProtocolIpv4Ipv6Config.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LinkProtocolIpv4Ipv6Config is not found in the empty JSON string", LinkProtocolIpv4Ipv6Config.openapiRequiredFields.toString())); + if (!PrecisionTimeOrder.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in PrecisionTimeOrder is not found in the empty JSON string", PrecisionTimeOrder.openapiRequiredFields.toString())); } } - if ((jsonObj.get("linkPrefix") != null && !jsonObj.get("linkPrefix").isJsonNull()) && !jsonObj.get("linkPrefix").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `linkPrefix` to be a primitive type in the JSON string but got `%s`", jsonObj.get("linkPrefix").toString())); + if ((jsonObj.get("purchaseOrderNumber") != null && !jsonObj.get("purchaseOrderNumber").isJsonNull()) && !jsonObj.get("purchaseOrderNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `purchaseOrderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("purchaseOrderNumber").toString())); } - if ((jsonObj.get("localIfaceIp") != null && !jsonObj.get("localIfaceIp").isJsonNull()) && !jsonObj.get("localIfaceIp").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `localIfaceIp` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localIfaceIp").toString())); + if ((jsonObj.get("customerReferenceNumber") != null && !jsonObj.get("customerReferenceNumber").isJsonNull()) && !jsonObj.get("customerReferenceNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `customerReferenceNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerReferenceNumber").toString())); } - if ((jsonObj.get("remoteIfaceIp") != null && !jsonObj.get("remoteIfaceIp").isJsonNull()) && !jsonObj.get("remoteIfaceIp").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `remoteIfaceIp` to be a primitive type in the JSON string but got `%s`", jsonObj.get("remoteIfaceIp").toString())); + if ((jsonObj.get("orderNumber") != null && !jsonObj.get("orderNumber").isJsonNull()) && !jsonObj.get("orderNumber").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `orderNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orderNumber").toString())); } } @@ -257,16 +257,16 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!LinkProtocolIpv4Ipv6Config.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LinkProtocolIpv4Ipv6Config' and its subtypes + if (!PrecisionTimeOrder.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'PrecisionTimeOrder' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolIpv4Ipv6Config.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(PrecisionTimeOrder.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, LinkProtocolIpv4Ipv6Config value) throws IOException { + public void write(JsonWriter out, PrecisionTimeOrder value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -289,11 +289,11 @@ else if (entry.getValue() instanceof Character) } @Override - public LinkProtocolIpv4Ipv6Config read(JsonReader in) throws IOException { + public PrecisionTimeOrder read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - LinkProtocolIpv4Ipv6Config instance = thisAdapter.fromJsonTree(jsonObj); + PrecisionTimeOrder instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -320,18 +320,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of LinkProtocolIpv4Ipv6Config given an JSON string + * Create an instance of PrecisionTimeOrder given an JSON string * * @param jsonString JSON string - * @return An instance of LinkProtocolIpv4Ipv6Config - * @throws IOException if the JSON string is invalid with respect to LinkProtocolIpv4Ipv6Config + * @return An instance of PrecisionTimeOrder + * @throws IOException if the JSON string is invalid with respect to PrecisionTimeOrder */ - public static LinkProtocolIpv4Ipv6Config fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LinkProtocolIpv4Ipv6Config.class); + public static PrecisionTimeOrder fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, PrecisionTimeOrder.class); } /** - * Convert an instance of LinkProtocolIpv4Ipv6Config to an JSON string + * Convert an instance of PrecisionTimeOrder to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageRequest.java index 2e2ccae5..289063d3 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -19,7 +19,6 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; -import java.net.URI; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -43,16 +42,12 @@ import com.equinix.openapi.fabric.JSON; /** - * EPT Package Request + * Precision Time Service Level Request */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class PrecisionTimePackageRequest { - public static final String SERIALIZED_NAME_HREF = "href"; - @SerializedName(SERIALIZED_NAME_HREF) - private URI href; - /** - * Gets or Sets code + * Precision Time Service Level */ @JsonAdapter(CodeEnum.Adapter.class) public enum CodeEnum { @@ -109,28 +104,6 @@ public CodeEnum read(final JsonReader jsonReader) throws IOException { public PrecisionTimePackageRequest() { } - public PrecisionTimePackageRequest href(URI href) { - - this.href = href; - return this; - } - - /** - * Get href - * @return href - **/ - @javax.annotation.Nullable - - public URI getHref() { - return href; - } - - - public void setHref(URI href) { - this.href = href; - } - - public PrecisionTimePackageRequest code(CodeEnum code) { this.code = code; @@ -138,7 +111,7 @@ public PrecisionTimePackageRequest code(CodeEnum code) { } /** - * Get code + * Precision Time Service Level * @return code **/ @javax.annotation.Nonnull @@ -207,21 +180,19 @@ public boolean equals(Object o) { return false; } PrecisionTimePackageRequest precisionTimePackageRequest = (PrecisionTimePackageRequest) o; - return Objects.equals(this.href, precisionTimePackageRequest.href) && - Objects.equals(this.code, precisionTimePackageRequest.code)&& + return Objects.equals(this.code, precisionTimePackageRequest.code)&& Objects.equals(this.additionalProperties, precisionTimePackageRequest.additionalProperties); } @Override public int hashCode() { - return Objects.hash(href, code, additionalProperties); + return Objects.hash(code, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PrecisionTimePackageRequest {\n"); - sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); @@ -246,7 +217,6 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("href"); openapiFields.add("code"); // a set of required properties/fields (JSON key names) @@ -273,9 +243,6 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); - } if (!jsonObj.get("code").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageResponse.java index ba3fedcc..5e5d4353 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimePackageResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -53,21 +53,15 @@ public class PrecisionTimePackageResponse { private URI href; /** - * Gets or Sets code + * Gets or Sets type */ - @JsonAdapter(CodeEnum.Adapter.class) - public enum CodeEnum { - NTP_STANDARD("NTP_STANDARD"), - - NTP_ENTERPRISE("NTP_ENTERPRISE"), - - PTP_STANDARD("PTP_STANDARD"), - - PTP_ENTERPRISE("PTP_ENTERPRISE"); + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + TIME_SERVICE_PACKAGE("TIME_SERVICE_PACKAGE"); private String value; - CodeEnum(String value) { + TypeEnum(String value) { this.value = value; } @@ -80,8 +74,8 @@ public String toString() { return String.valueOf(value); } - public static CodeEnum fromValue(String value) { - for (CodeEnum b : CodeEnum.values()) { + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { if (b.value.equals(value)) { return b; } @@ -89,34 +83,40 @@ public static CodeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final CodeEnum enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public CodeEnum read(final JsonReader jsonReader) throws IOException { + public TypeEnum read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return CodeEnum.fromValue(value); + return TypeEnum.fromValue(value); } } } - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private CodeEnum code; + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; /** - * Gets or Sets type + * Gets or Sets code */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - TIME_SERVICE_PACKAGE("TIME_SERVICE_PACKAGE"); + @JsonAdapter(CodeEnum.Adapter.class) + public enum CodeEnum { + NTP_STANDARD("NTP_STANDARD"), + + NTP_ENTERPRISE("NTP_ENTERPRISE"), + + PTP_STANDARD("PTP_STANDARD"), + + PTP_ENTERPRISE("PTP_ENTERPRISE"); private String value; - TypeEnum(String value) { + CodeEnum(String value) { this.value = value; } @@ -129,8 +129,8 @@ public String toString() { return String.valueOf(value); } - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { + public static CodeEnum fromValue(String value) { + for (CodeEnum b : CodeEnum.values()) { if (b.value.equals(value)) { return b; } @@ -138,23 +138,23 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final CodeEnum enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public TypeEnum read(final JsonReader jsonReader) throws IOException { + public CodeEnum read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return TypeEnum.fromValue(value); + return CodeEnum.fromValue(value); } } } - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private TypeEnum type; + public static final String SERIALIZED_NAME_CODE = "code"; + @SerializedName(SERIALIZED_NAME_CODE) + private CodeEnum code; public static final String SERIALIZED_NAME_BANDWIDTH = "bandwidth"; @SerializedName(SERIALIZED_NAME_BANDWIDTH) @@ -172,21 +172,21 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_MULTI_SUBNET_SUPPORTED) private Boolean multiSubnetSupported; - public static final String SERIALIZED_NAME_ACCURACY_UNIT = "accuracyUnit"; - @SerializedName(SERIALIZED_NAME_ACCURACY_UNIT) - private String accuracyUnit; + public static final String SERIALIZED_NAME_ACCURACY_SLA_UNIT = "accuracySlaUnit"; + @SerializedName(SERIALIZED_NAME_ACCURACY_SLA_UNIT) + private String accuracySlaUnit; public static final String SERIALIZED_NAME_ACCURACY_SLA = "accuracySla"; @SerializedName(SERIALIZED_NAME_ACCURACY_SLA) private Integer accuracySla; - public static final String SERIALIZED_NAME_ACCURACY_AVG_MIN = "accuracyAvgMin"; - @SerializedName(SERIALIZED_NAME_ACCURACY_AVG_MIN) - private Integer accuracyAvgMin; + public static final String SERIALIZED_NAME_ACCURACY_SLA_MIN = "accuracySlaMin"; + @SerializedName(SERIALIZED_NAME_ACCURACY_SLA_MIN) + private Integer accuracySlaMin; - public static final String SERIALIZED_NAME_ACCURACY_AVG_MAX = "accuracyAvgMax"; - @SerializedName(SERIALIZED_NAME_ACCURACY_AVG_MAX) - private Integer accuracyAvgMax; + public static final String SERIALIZED_NAME_ACCURACY_SLA_MAX = "accuracySlaMax"; + @SerializedName(SERIALIZED_NAME_ACCURACY_SLA_MAX) + private Integer accuracySlaMax; public static final String SERIALIZED_NAME_CHANGELOG = "changelog"; @SerializedName(SERIALIZED_NAME_CHANGELOG) @@ -217,47 +217,47 @@ public void setHref(URI href) { } - public PrecisionTimePackageResponse code(CodeEnum code) { + public PrecisionTimePackageResponse type(TypeEnum type) { - this.code = code; + this.type = type; return this; } /** - * Get code - * @return code + * Get type + * @return type **/ @javax.annotation.Nonnull - public CodeEnum getCode() { - return code; + public TypeEnum getType() { + return type; } - public void setCode(CodeEnum code) { - this.code = code; + public void setType(TypeEnum type) { + this.type = type; } - public PrecisionTimePackageResponse type(TypeEnum type) { + public PrecisionTimePackageResponse code(CodeEnum code) { - this.type = type; + this.code = code; return this; } /** - * Get type - * @return type + * Get code + * @return code **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull - public TypeEnum getType() { - return type; + public CodeEnum getCode() { + return code; } - public void setType(TypeEnum type) { - this.type = type; + public void setCode(CodeEnum code) { + this.code = code; } @@ -268,10 +268,10 @@ public PrecisionTimePackageResponse bandwidth(Integer bandwidth) { } /** - * Get bandwidth + * Connection bandwidth in Mbps. * @return bandwidth **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull public Integer getBandwidth() { return bandwidth; @@ -290,7 +290,8 @@ public PrecisionTimePackageResponse clientsPerSecondMax(Integer clientsPerSecond } /** - * Get clientsPerSecondMax + * Max. number of clients that can be synchronized per second at a packet rate of 1 per second. + * minimum: 0 * @return clientsPerSecondMax **/ @javax.annotation.Nullable @@ -312,7 +313,7 @@ public PrecisionTimePackageResponse redundancySupported(Boolean redundancySuppor } /** - * Get redundancySupported + * Is Redundant virtual connection supported for the package code. * @return redundancySupported **/ @javax.annotation.Nullable @@ -334,7 +335,7 @@ public PrecisionTimePackageResponse multiSubnetSupported(Boolean multiSubnetSupp } /** - * Get multiSubnetSupported + * Is Multiple subnet supported for the package code. * @return multiSubnetSupported **/ @javax.annotation.Nullable @@ -349,25 +350,25 @@ public void setMultiSubnetSupported(Boolean multiSubnetSupported) { } - public PrecisionTimePackageResponse accuracyUnit(String accuracyUnit) { + public PrecisionTimePackageResponse accuracySlaUnit(String accuracySlaUnit) { - this.accuracyUnit = accuracyUnit; + this.accuracySlaUnit = accuracySlaUnit; return this; } /** - * Get accuracyUnit - * @return accuracyUnit + * Accuracy SLA unit. + * @return accuracySlaUnit **/ @javax.annotation.Nullable - public String getAccuracyUnit() { - return accuracyUnit; + public String getAccuracySlaUnit() { + return accuracySlaUnit; } - public void setAccuracyUnit(String accuracyUnit) { - this.accuracyUnit = accuracyUnit; + public void setAccuracySlaUnit(String accuracySlaUnit) { + this.accuracySlaUnit = accuracySlaUnit; } @@ -378,7 +379,7 @@ public PrecisionTimePackageResponse accuracySla(Integer accuracySla) { } /** - * Get accuracySla + * Accuracy SLA for the package code, -1 value denotes the accuracySla is not published. * @return accuracySla **/ @javax.annotation.Nullable @@ -393,47 +394,49 @@ public void setAccuracySla(Integer accuracySla) { } - public PrecisionTimePackageResponse accuracyAvgMin(Integer accuracyAvgMin) { + public PrecisionTimePackageResponse accuracySlaMin(Integer accuracySlaMin) { - this.accuracyAvgMin = accuracyAvgMin; + this.accuracySlaMin = accuracySlaMin; return this; } /** - * Get accuracyAvgMin - * @return accuracyAvgMin + * Typical minimum Accuracy for the package code. + * minimum: 1 + * @return accuracySlaMin **/ @javax.annotation.Nullable - public Integer getAccuracyAvgMin() { - return accuracyAvgMin; + public Integer getAccuracySlaMin() { + return accuracySlaMin; } - public void setAccuracyAvgMin(Integer accuracyAvgMin) { - this.accuracyAvgMin = accuracyAvgMin; + public void setAccuracySlaMin(Integer accuracySlaMin) { + this.accuracySlaMin = accuracySlaMin; } - public PrecisionTimePackageResponse accuracyAvgMax(Integer accuracyAvgMax) { + public PrecisionTimePackageResponse accuracySlaMax(Integer accuracySlaMax) { - this.accuracyAvgMax = accuracyAvgMax; + this.accuracySlaMax = accuracySlaMax; return this; } /** - * Get accuracyAvgMax - * @return accuracyAvgMax + * Typical maximum Accuracy for the package code. + * minimum: 1 + * @return accuracySlaMax **/ @javax.annotation.Nullable - public Integer getAccuracyAvgMax() { - return accuracyAvgMax; + public Integer getAccuracySlaMax() { + return accuracySlaMax; } - public void setAccuracyAvgMax(Integer accuracyAvgMax) { - this.accuracyAvgMax = accuracyAvgMax; + public void setAccuracySlaMax(Integer accuracySlaMax) { + this.accuracySlaMax = accuracySlaMax; } @@ -514,23 +517,23 @@ public boolean equals(Object o) { } PrecisionTimePackageResponse precisionTimePackageResponse = (PrecisionTimePackageResponse) o; return Objects.equals(this.href, precisionTimePackageResponse.href) && - Objects.equals(this.code, precisionTimePackageResponse.code) && Objects.equals(this.type, precisionTimePackageResponse.type) && + Objects.equals(this.code, precisionTimePackageResponse.code) && Objects.equals(this.bandwidth, precisionTimePackageResponse.bandwidth) && Objects.equals(this.clientsPerSecondMax, precisionTimePackageResponse.clientsPerSecondMax) && Objects.equals(this.redundancySupported, precisionTimePackageResponse.redundancySupported) && Objects.equals(this.multiSubnetSupported, precisionTimePackageResponse.multiSubnetSupported) && - Objects.equals(this.accuracyUnit, precisionTimePackageResponse.accuracyUnit) && + Objects.equals(this.accuracySlaUnit, precisionTimePackageResponse.accuracySlaUnit) && Objects.equals(this.accuracySla, precisionTimePackageResponse.accuracySla) && - Objects.equals(this.accuracyAvgMin, precisionTimePackageResponse.accuracyAvgMin) && - Objects.equals(this.accuracyAvgMax, precisionTimePackageResponse.accuracyAvgMax) && + Objects.equals(this.accuracySlaMin, precisionTimePackageResponse.accuracySlaMin) && + Objects.equals(this.accuracySlaMax, precisionTimePackageResponse.accuracySlaMax) && Objects.equals(this.changelog, precisionTimePackageResponse.changelog)&& Objects.equals(this.additionalProperties, precisionTimePackageResponse.additionalProperties); } @Override public int hashCode() { - return Objects.hash(href, code, type, bandwidth, clientsPerSecondMax, redundancySupported, multiSubnetSupported, accuracyUnit, accuracySla, accuracyAvgMin, accuracyAvgMax, changelog, additionalProperties); + return Objects.hash(href, type, code, bandwidth, clientsPerSecondMax, redundancySupported, multiSubnetSupported, accuracySlaUnit, accuracySla, accuracySlaMin, accuracySlaMax, changelog, additionalProperties); } @Override @@ -538,16 +541,16 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PrecisionTimePackageResponse {\n"); sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append(" bandwidth: ").append(toIndentedString(bandwidth)).append("\n"); sb.append(" clientsPerSecondMax: ").append(toIndentedString(clientsPerSecondMax)).append("\n"); sb.append(" redundancySupported: ").append(toIndentedString(redundancySupported)).append("\n"); sb.append(" multiSubnetSupported: ").append(toIndentedString(multiSubnetSupported)).append("\n"); - sb.append(" accuracyUnit: ").append(toIndentedString(accuracyUnit)).append("\n"); + sb.append(" accuracySlaUnit: ").append(toIndentedString(accuracySlaUnit)).append("\n"); sb.append(" accuracySla: ").append(toIndentedString(accuracySla)).append("\n"); - sb.append(" accuracyAvgMin: ").append(toIndentedString(accuracyAvgMin)).append("\n"); - sb.append(" accuracyAvgMax: ").append(toIndentedString(accuracyAvgMax)).append("\n"); + sb.append(" accuracySlaMin: ").append(toIndentedString(accuracySlaMin)).append("\n"); + sb.append(" accuracySlaMax: ").append(toIndentedString(accuracySlaMax)).append("\n"); sb.append(" changelog: ").append(toIndentedString(changelog)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); @@ -573,21 +576,23 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("href"); - openapiFields.add("code"); openapiFields.add("type"); + openapiFields.add("code"); openapiFields.add("bandwidth"); openapiFields.add("clientsPerSecondMax"); openapiFields.add("redundancySupported"); openapiFields.add("multiSubnetSupported"); - openapiFields.add("accuracyUnit"); + openapiFields.add("accuracySlaUnit"); openapiFields.add("accuracySla"); - openapiFields.add("accuracyAvgMin"); - openapiFields.add("accuracyAvgMax"); + openapiFields.add("accuracySlaMin"); + openapiFields.add("accuracySlaMax"); openapiFields.add("changelog"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("type"); openapiRequiredFields.add("code"); + openapiRequiredFields.add("bandwidth"); } /** @@ -612,14 +617,14 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); } + if (!jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } if (!jsonObj.get("code").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `code` to be a primitive type in the JSON string but got `%s`", jsonObj.get("code").toString())); } - if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); - } - if ((jsonObj.get("accuracyUnit") != null && !jsonObj.get("accuracyUnit").isJsonNull()) && !jsonObj.get("accuracyUnit").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `accuracyUnit` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accuracyUnit").toString())); + if ((jsonObj.get("accuracySlaUnit") != null && !jsonObj.get("accuracySlaUnit").isJsonNull()) && !jsonObj.get("accuracySlaUnit").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `accuracySlaUnit` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accuracySlaUnit").toString())); } // validate the optional field `changelog` if (jsonObj.get("changelog") != null && !jsonObj.get("changelog").isJsonNull()) { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceConnectionsResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceConnectionsResponse.java index c16bf4c2..4f9a947a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceConnectionsResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceConnectionsResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServicePackagesResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServicePackagesResponse.java index 79558edb..0e272dcb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServicePackagesResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServicePackagesResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceRequest.java index 075c716f..089fc47a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,11 +13,13 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.AdvanceConfiguration; -import com.equinix.openapi.fabric.v4.model.FabricConnectionUuid; import com.equinix.openapi.fabric.v4.model.Ipv4; +import com.equinix.openapi.fabric.v4.model.Md5; +import com.equinix.openapi.fabric.v4.model.PrecisionTimeOrder; import com.equinix.openapi.fabric.v4.model.PrecisionTimePackageRequest; import com.equinix.openapi.fabric.v4.model.Project; +import com.equinix.openapi.fabric.v4.model.PtpAdvanceConfiguration; +import com.equinix.openapi.fabric.v4.model.VirtualConnectionUuid; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,12 +51,12 @@ import com.equinix.openapi.fabric.JSON; /** - * EPT service instance + * Create Precision Time Service Request Schema. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class PrecisionTimeServiceRequest { /** - * Indicate the entity is EPT service + * Precision Time Service Type refers to the corresponding Protocol. */ @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { @@ -108,30 +110,34 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_NAME) private String name; - public static final String SERIALIZED_NAME_DESCRIPTION = "description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - private String description; - public static final String SERIALIZED_NAME_PACKAGE = "package"; @SerializedName(SERIALIZED_NAME_PACKAGE) private PrecisionTimePackageRequest _package; public static final String SERIALIZED_NAME_CONNECTIONS = "connections"; @SerializedName(SERIALIZED_NAME_CONNECTIONS) - private List connections = new ArrayList<>(); + private List connections = new ArrayList<>(); public static final String SERIALIZED_NAME_IPV4 = "ipv4"; @SerializedName(SERIALIZED_NAME_IPV4) private Ipv4 ipv4; - public static final String SERIALIZED_NAME_ADVANCE_CONFIGURATION = "advanceConfiguration"; - @SerializedName(SERIALIZED_NAME_ADVANCE_CONFIGURATION) - private AdvanceConfiguration advanceConfiguration; + public static final String SERIALIZED_NAME_NTP_ADVANCED_CONFIGURATION = "ntpAdvancedConfiguration"; + @SerializedName(SERIALIZED_NAME_NTP_ADVANCED_CONFIGURATION) + private List ntpAdvancedConfiguration = new ArrayList<>(); + + public static final String SERIALIZED_NAME_PTP_ADVANCED_CONFIGURATION = "ptpAdvancedConfiguration"; + @SerializedName(SERIALIZED_NAME_PTP_ADVANCED_CONFIGURATION) + private PtpAdvanceConfiguration ptpAdvancedConfiguration; public static final String SERIALIZED_NAME_PROJECT = "project"; @SerializedName(SERIALIZED_NAME_PROJECT) private Project project; + public static final String SERIALIZED_NAME_ORDER = "order"; + @SerializedName(SERIALIZED_NAME_ORDER) + private PrecisionTimeOrder order; + public PrecisionTimeServiceRequest() { } @@ -142,7 +148,7 @@ public PrecisionTimeServiceRequest type(TypeEnum type) { } /** - * Indicate the entity is EPT service + * Precision Time Service Type refers to the corresponding Protocol. * @return type **/ @javax.annotation.Nonnull @@ -164,7 +170,7 @@ public PrecisionTimeServiceRequest name(String name) { } /** - * Get name + * Precision Time Service name. * @return name **/ @javax.annotation.Nonnull @@ -179,28 +185,6 @@ public void setName(String name) { } - public PrecisionTimeServiceRequest description(String description) { - - this.description = description; - return this; - } - - /** - * Get description - * @return description - **/ - @javax.annotation.Nullable - - public String getDescription() { - return description; - } - - - public void setDescription(String description) { - this.description = description; - } - - public PrecisionTimeServiceRequest _package(PrecisionTimePackageRequest _package) { this._package = _package; @@ -223,13 +207,13 @@ public void setPackage(PrecisionTimePackageRequest _package) { } - public PrecisionTimeServiceRequest connections(List connections) { + public PrecisionTimeServiceRequest connections(List connections) { this.connections = connections; return this; } - public PrecisionTimeServiceRequest addConnectionsItem(FabricConnectionUuid connectionsItem) { + public PrecisionTimeServiceRequest addConnectionsItem(VirtualConnectionUuid connectionsItem) { this.connections.add(connectionsItem); return this; } @@ -240,12 +224,12 @@ public PrecisionTimeServiceRequest addConnectionsItem(FabricConnectionUuid conne **/ @javax.annotation.Nonnull - public List getConnections() { + public List getConnections() { return connections; } - public void setConnections(List connections) { + public void setConnections(List connections) { this.connections = connections; } @@ -272,25 +256,55 @@ public void setIpv4(Ipv4 ipv4) { } - public PrecisionTimeServiceRequest advanceConfiguration(AdvanceConfiguration advanceConfiguration) { + public PrecisionTimeServiceRequest ntpAdvancedConfiguration(List ntpAdvancedConfiguration) { - this.advanceConfiguration = advanceConfiguration; + this.ntpAdvancedConfiguration = ntpAdvancedConfiguration; + return this; + } + + public PrecisionTimeServiceRequest addNtpAdvancedConfigurationItem(Md5 ntpAdvancedConfigurationItem) { + if (this.ntpAdvancedConfiguration == null) { + this.ntpAdvancedConfiguration = new ArrayList<>(); + } + this.ntpAdvancedConfiguration.add(ntpAdvancedConfigurationItem); return this; } /** - * Get advanceConfiguration - * @return advanceConfiguration + * NTP Advanced configuration - MD5 Authentication. + * @return ntpAdvancedConfiguration **/ @javax.annotation.Nullable - public AdvanceConfiguration getAdvanceConfiguration() { - return advanceConfiguration; + public List getNtpAdvancedConfiguration() { + return ntpAdvancedConfiguration; } - public void setAdvanceConfiguration(AdvanceConfiguration advanceConfiguration) { - this.advanceConfiguration = advanceConfiguration; + public void setNtpAdvancedConfiguration(List ntpAdvancedConfiguration) { + this.ntpAdvancedConfiguration = ntpAdvancedConfiguration; + } + + + public PrecisionTimeServiceRequest ptpAdvancedConfiguration(PtpAdvanceConfiguration ptpAdvancedConfiguration) { + + this.ptpAdvancedConfiguration = ptpAdvancedConfiguration; + return this; + } + + /** + * Get ptpAdvancedConfiguration + * @return ptpAdvancedConfiguration + **/ + @javax.annotation.Nullable + + public PtpAdvanceConfiguration getPtpAdvancedConfiguration() { + return ptpAdvancedConfiguration; + } + + + public void setPtpAdvancedConfiguration(PtpAdvanceConfiguration ptpAdvancedConfiguration) { + this.ptpAdvancedConfiguration = ptpAdvancedConfiguration; } @@ -315,6 +329,28 @@ public void setProject(Project project) { this.project = project; } + + public PrecisionTimeServiceRequest order(PrecisionTimeOrder order) { + + this.order = order; + return this; + } + + /** + * Get order + * @return order + **/ + @javax.annotation.Nullable + + public PrecisionTimeOrder getOrder() { + return order; + } + + + public void setOrder(PrecisionTimeOrder order) { + this.order = order; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -372,18 +408,19 @@ public boolean equals(Object o) { PrecisionTimeServiceRequest precisionTimeServiceRequest = (PrecisionTimeServiceRequest) o; return Objects.equals(this.type, precisionTimeServiceRequest.type) && Objects.equals(this.name, precisionTimeServiceRequest.name) && - Objects.equals(this.description, precisionTimeServiceRequest.description) && Objects.equals(this._package, precisionTimeServiceRequest._package) && Objects.equals(this.connections, precisionTimeServiceRequest.connections) && Objects.equals(this.ipv4, precisionTimeServiceRequest.ipv4) && - Objects.equals(this.advanceConfiguration, precisionTimeServiceRequest.advanceConfiguration) && - Objects.equals(this.project, precisionTimeServiceRequest.project)&& + Objects.equals(this.ntpAdvancedConfiguration, precisionTimeServiceRequest.ntpAdvancedConfiguration) && + Objects.equals(this.ptpAdvancedConfiguration, precisionTimeServiceRequest.ptpAdvancedConfiguration) && + Objects.equals(this.project, precisionTimeServiceRequest.project) && + Objects.equals(this.order, precisionTimeServiceRequest.order)&& Objects.equals(this.additionalProperties, precisionTimeServiceRequest.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, name, description, _package, connections, ipv4, advanceConfiguration, project, additionalProperties); + return Objects.hash(type, name, _package, connections, ipv4, ntpAdvancedConfiguration, ptpAdvancedConfiguration, project, order, additionalProperties); } @Override @@ -392,12 +429,13 @@ public String toString() { sb.append("class PrecisionTimeServiceRequest {\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" _package: ").append(toIndentedString(_package)).append("\n"); sb.append(" connections: ").append(toIndentedString(connections)).append("\n"); sb.append(" ipv4: ").append(toIndentedString(ipv4)).append("\n"); - sb.append(" advanceConfiguration: ").append(toIndentedString(advanceConfiguration)).append("\n"); + sb.append(" ntpAdvancedConfiguration: ").append(toIndentedString(ntpAdvancedConfiguration)).append("\n"); + sb.append(" ptpAdvancedConfiguration: ").append(toIndentedString(ptpAdvancedConfiguration)).append("\n"); sb.append(" project: ").append(toIndentedString(project)).append("\n"); + sb.append(" order: ").append(toIndentedString(order)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -423,12 +461,13 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("type"); openapiFields.add("name"); - openapiFields.add("description"); openapiFields.add("package"); openapiFields.add("connections"); openapiFields.add("ipv4"); - openapiFields.add("advanceConfiguration"); + openapiFields.add("ntpAdvancedConfiguration"); + openapiFields.add("ptpAdvancedConfiguration"); openapiFields.add("project"); + openapiFields.add("order"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -464,9 +503,6 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (!jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } - if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); - } // validate the required field `package` PrecisionTimePackageRequest.validateJsonObject(jsonObj.getAsJsonObject("package")); // ensure the json data is an array @@ -477,18 +513,36 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { JsonArray jsonArrayconnections = jsonObj.getAsJsonArray("connections"); // validate the required field `connections` (array) for (int i = 0; i < jsonArrayconnections.size(); i++) { - FabricConnectionUuid.validateJsonObject(jsonArrayconnections.get(i).getAsJsonObject()); + VirtualConnectionUuid.validateJsonObject(jsonArrayconnections.get(i).getAsJsonObject()); }; // validate the required field `ipv4` Ipv4.validateJsonObject(jsonObj.getAsJsonObject("ipv4")); - // validate the optional field `advanceConfiguration` - if (jsonObj.get("advanceConfiguration") != null && !jsonObj.get("advanceConfiguration").isJsonNull()) { - AdvanceConfiguration.validateJsonObject(jsonObj.getAsJsonObject("advanceConfiguration")); + if (jsonObj.get("ntpAdvancedConfiguration") != null && !jsonObj.get("ntpAdvancedConfiguration").isJsonNull()) { + JsonArray jsonArrayntpAdvancedConfiguration = jsonObj.getAsJsonArray("ntpAdvancedConfiguration"); + if (jsonArrayntpAdvancedConfiguration != null) { + // ensure the json data is an array + if (!jsonObj.get("ntpAdvancedConfiguration").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `ntpAdvancedConfiguration` to be an array in the JSON string but got `%s`", jsonObj.get("ntpAdvancedConfiguration").toString())); + } + + // validate the optional field `ntpAdvancedConfiguration` (array) + for (int i = 0; i < jsonArrayntpAdvancedConfiguration.size(); i++) { + Md5.validateJsonObject(jsonArrayntpAdvancedConfiguration.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `ptpAdvancedConfiguration` + if (jsonObj.get("ptpAdvancedConfiguration") != null && !jsonObj.get("ptpAdvancedConfiguration").isJsonNull()) { + PtpAdvanceConfiguration.validateJsonObject(jsonObj.getAsJsonObject("ptpAdvancedConfiguration")); } // validate the optional field `project` if (jsonObj.get("project") != null && !jsonObj.get("project").isJsonNull()) { Project.validateJsonObject(jsonObj.getAsJsonObject("project")); } + // validate the optional field `order` + if (jsonObj.get("order") != null && !jsonObj.get("order").isJsonNull()) { + PrecisionTimeOrder.validateJsonObject(jsonObj.getAsJsonObject("order")); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceResponse.java index 8af6e232..80959a32 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,13 +13,15 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.Account; -import com.equinix.openapi.fabric.v4.model.AdvanceConfiguration; -import com.equinix.openapi.fabric.v4.model.FabricConnectionUuid; +import com.equinix.openapi.fabric.v4.model.Changelog; import com.equinix.openapi.fabric.v4.model.Ipv4; -import com.equinix.openapi.fabric.v4.model.Order; +import com.equinix.openapi.fabric.v4.model.Md5; +import com.equinix.openapi.fabric.v4.model.PrecisionTimeOrder; import com.equinix.openapi.fabric.v4.model.PrecisionTimePackageResponse; import com.equinix.openapi.fabric.v4.model.Project; +import com.equinix.openapi.fabric.v4.model.PtpAdvanceConfiguration; +import com.equinix.openapi.fabric.v4.model.SimplifiedAccount; +import com.equinix.openapi.fabric.v4.model.VirtualConnectionTimeServiceResponse; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -27,7 +29,9 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.net.URI; +import java.util.ArrayList; import java.util.LinkedHashSet; +import java.util.List; import java.util.Set; import java.util.UUID; @@ -53,12 +57,16 @@ import com.equinix.openapi.fabric.JSON; /** - * EPT service instance + * Precision Time Service Response Schema. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class PrecisionTimeServiceResponse { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + /** - * Gets or Sets type + * Precision Time Service type refers to the corresponding protocol. */ @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { @@ -108,46 +116,42 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_TYPE) private TypeEnum type; - public static final String SERIALIZED_NAME_HREF = "href"; - @SerializedName(SERIALIZED_NAME_HREF) - private URI href; - - public static final String SERIALIZED_NAME_UUID = "uuid"; - @SerializedName(SERIALIZED_NAME_UUID) - private UUID uuid; - public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) private String name; - public static final String SERIALIZED_NAME_DESCRIPTION = "description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - private String description; + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; /** - * indicate service state + * Precision Time Service Status. */ @JsonAdapter(StateEnum.Adapter.class) public enum StateEnum { - PROVISIONED("PROVISIONED"), + CANCELLED("CANCELLED"), - PROVISIONING("PROVISIONING"), + CONFIGURING("CONFIGURING"), - PROVISIONING_FAILED("PROVISIONING_FAILED"), + CONFIGURING_FAILED("CONFIGURING_FAILED"), - CONFIGURING("CONFIGURING"), + DRAFT("DRAFT"), - CANCELLED("CANCELLED"), + DEPROVISIONING("DEPROVISIONING"), DEPROVISIONING_FAILED("DEPROVISIONING_FAILED"), - PENDING_CONFIGURATION("PENDING_CONFIGURATION"), - DEPROVISIONED("DEPROVISIONED"), - CONFIGURING_FAILED("CONFIGURING_FAILED"), + PROVISIONED("PROVISIONED"), + + PROVISIONING("PROVISIONING"), - DEPROVISIONING("DEPROVISIONING"); + PROVISIONING_FAILED("PROVISIONING_FAILED"), + + REPROVISIONING("REPROVISIONING"), + + REPROVISIONING_FAILED("REPROVISIONING_FAILED"); private String value; @@ -197,19 +201,19 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_CONNECTIONS = "connections"; @SerializedName(SERIALIZED_NAME_CONNECTIONS) - private Set connections = new LinkedHashSet<>(); - - public static final String SERIALIZED_NAME_ORDER = "order"; - @SerializedName(SERIALIZED_NAME_ORDER) - private Order order; + private Set connections = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_IPV4 = "ipv4"; @SerializedName(SERIALIZED_NAME_IPV4) private Ipv4 ipv4; - public static final String SERIALIZED_NAME_ADVANCE_CONFIGURATION = "advanceConfiguration"; - @SerializedName(SERIALIZED_NAME_ADVANCE_CONFIGURATION) - private AdvanceConfiguration advanceConfiguration; + public static final String SERIALIZED_NAME_NTP_ADVANCED_CONFIGURATION = "ntpAdvancedConfiguration"; + @SerializedName(SERIALIZED_NAME_NTP_ADVANCED_CONFIGURATION) + private List ntpAdvancedConfiguration = new ArrayList<>(); + + public static final String SERIALIZED_NAME_PTP_ADVANCED_CONFIGURATION = "ptpAdvancedConfiguration"; + @SerializedName(SERIALIZED_NAME_PTP_ADVANCED_CONFIGURATION) + private PtpAdvanceConfiguration ptpAdvancedConfiguration; public static final String SERIALIZED_NAME_PROJECT = "project"; @SerializedName(SERIALIZED_NAME_PROJECT) @@ -217,33 +221,19 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_ACCOUNT = "account"; @SerializedName(SERIALIZED_NAME_ACCOUNT) - private Account account; - - public PrecisionTimeServiceResponse() { - } - - public PrecisionTimeServiceResponse type(TypeEnum type) { - - this.type = type; - return this; - } + private SimplifiedAccount account; - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - - public TypeEnum getType() { - return type; - } + public static final String SERIALIZED_NAME_ORDER = "order"; + @SerializedName(SERIALIZED_NAME_ORDER) + private PrecisionTimeOrder order; + public static final String SERIALIZED_NAME_CHANGE_LOG = "changeLog"; + @SerializedName(SERIALIZED_NAME_CHANGE_LOG) + private Changelog changeLog; - public void setType(TypeEnum type) { - this.type = type; + public PrecisionTimeServiceResponse() { } - public PrecisionTimeServiceResponse href(URI href) { this.href = href; @@ -251,7 +241,7 @@ public PrecisionTimeServiceResponse href(URI href) { } /** - * Get href + * Precision Time Service URI. * @return href **/ @javax.annotation.Nonnull @@ -266,25 +256,25 @@ public void setHref(URI href) { } - public PrecisionTimeServiceResponse uuid(UUID uuid) { + public PrecisionTimeServiceResponse type(TypeEnum type) { - this.uuid = uuid; + this.type = type; return this; } /** - * uuid of the ept service - * @return uuid + * Precision Time Service type refers to the corresponding protocol. + * @return type **/ @javax.annotation.Nonnull - public UUID getUuid() { - return uuid; + public TypeEnum getType() { + return type; } - public void setUuid(UUID uuid) { - this.uuid = uuid; + public void setType(TypeEnum type) { + this.type = type; } @@ -295,7 +285,7 @@ public PrecisionTimeServiceResponse name(String name) { } /** - * name of the ept service + * Precision Time Service Name. * @return name **/ @javax.annotation.Nullable @@ -310,25 +300,25 @@ public void setName(String name) { } - public PrecisionTimeServiceResponse description(String description) { + public PrecisionTimeServiceResponse uuid(UUID uuid) { - this.description = description; + this.uuid = uuid; return this; } /** - * Get description - * @return description + * Precision Time Service UUID. + * @return uuid **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull - public String getDescription() { - return description; + public UUID getUuid() { + return uuid; } - public void setDescription(String description) { - this.description = description; + public void setUuid(UUID uuid) { + this.uuid = uuid; } @@ -339,7 +329,7 @@ public PrecisionTimeServiceResponse state(StateEnum state) { } /** - * indicate service state + * Precision Time Service Status. * @return state **/ @javax.annotation.Nonnull @@ -376,13 +366,13 @@ public void setPackage(PrecisionTimePackageResponse _package) { } - public PrecisionTimeServiceResponse connections(Set connections) { + public PrecisionTimeServiceResponse connections(Set connections) { this.connections = connections; return this; } - public PrecisionTimeServiceResponse addConnectionsItem(FabricConnectionUuid connectionsItem) { + public PrecisionTimeServiceResponse addConnectionsItem(VirtualConnectionTimeServiceResponse connectionsItem) { if (this.connections == null) { this.connections = new LinkedHashSet<>(); } @@ -391,84 +381,92 @@ public PrecisionTimeServiceResponse addConnectionsItem(FabricConnectionUuid conn } /** - * fabric l2 connections used for the ept service + * Fabric Connections associated with Precision Time Service. * @return connections **/ @javax.annotation.Nullable - public Set getConnections() { + public Set getConnections() { return connections; } - public void setConnections(Set connections) { + public void setConnections(Set connections) { this.connections = connections; } - public PrecisionTimeServiceResponse order(Order order) { + public PrecisionTimeServiceResponse ipv4(Ipv4 ipv4) { - this.order = order; + this.ipv4 = ipv4; return this; } /** - * Get order - * @return order + * Get ipv4 + * @return ipv4 **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public Order getOrder() { - return order; + public Ipv4 getIpv4() { + return ipv4; } - public void setOrder(Order order) { - this.order = order; + public void setIpv4(Ipv4 ipv4) { + this.ipv4 = ipv4; } - public PrecisionTimeServiceResponse ipv4(Ipv4 ipv4) { + public PrecisionTimeServiceResponse ntpAdvancedConfiguration(List ntpAdvancedConfiguration) { - this.ipv4 = ipv4; + this.ntpAdvancedConfiguration = ntpAdvancedConfiguration; + return this; + } + + public PrecisionTimeServiceResponse addNtpAdvancedConfigurationItem(Md5 ntpAdvancedConfigurationItem) { + if (this.ntpAdvancedConfiguration == null) { + this.ntpAdvancedConfiguration = new ArrayList<>(); + } + this.ntpAdvancedConfiguration.add(ntpAdvancedConfigurationItem); return this; } /** - * Get ipv4 - * @return ipv4 + * NTP Advanced configuration - MD5 Authentication. + * @return ntpAdvancedConfiguration **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public Ipv4 getIpv4() { - return ipv4; + public List getNtpAdvancedConfiguration() { + return ntpAdvancedConfiguration; } - public void setIpv4(Ipv4 ipv4) { - this.ipv4 = ipv4; + public void setNtpAdvancedConfiguration(List ntpAdvancedConfiguration) { + this.ntpAdvancedConfiguration = ntpAdvancedConfiguration; } - public PrecisionTimeServiceResponse advanceConfiguration(AdvanceConfiguration advanceConfiguration) { + public PrecisionTimeServiceResponse ptpAdvancedConfiguration(PtpAdvanceConfiguration ptpAdvancedConfiguration) { - this.advanceConfiguration = advanceConfiguration; + this.ptpAdvancedConfiguration = ptpAdvancedConfiguration; return this; } /** - * Get advanceConfiguration - * @return advanceConfiguration + * Get ptpAdvancedConfiguration + * @return ptpAdvancedConfiguration **/ @javax.annotation.Nullable - public AdvanceConfiguration getAdvanceConfiguration() { - return advanceConfiguration; + public PtpAdvanceConfiguration getPtpAdvancedConfiguration() { + return ptpAdvancedConfiguration; } - public void setAdvanceConfiguration(AdvanceConfiguration advanceConfiguration) { - this.advanceConfiguration = advanceConfiguration; + public void setPtpAdvancedConfiguration(PtpAdvanceConfiguration ptpAdvancedConfiguration) { + this.ptpAdvancedConfiguration = ptpAdvancedConfiguration; } @@ -494,7 +492,7 @@ public void setProject(Project project) { } - public PrecisionTimeServiceResponse account(Account account) { + public PrecisionTimeServiceResponse account(SimplifiedAccount account) { this.account = account; return this; @@ -506,15 +504,59 @@ public PrecisionTimeServiceResponse account(Account account) { **/ @javax.annotation.Nullable - public Account getAccount() { + public SimplifiedAccount getAccount() { return account; } - public void setAccount(Account account) { + public void setAccount(SimplifiedAccount account) { this.account = account; } + + public PrecisionTimeServiceResponse order(PrecisionTimeOrder order) { + + this.order = order; + return this; + } + + /** + * Get order + * @return order + **/ + @javax.annotation.Nullable + + public PrecisionTimeOrder getOrder() { + return order; + } + + + public void setOrder(PrecisionTimeOrder order) { + this.order = order; + } + + + public PrecisionTimeServiceResponse changeLog(Changelog changeLog) { + + this.changeLog = changeLog; + return this; + } + + /** + * Get changeLog + * @return changeLog + **/ + @javax.annotation.Nullable + + public Changelog getChangeLog() { + return changeLog; + } + + + public void setChangeLog(Changelog changeLog) { + this.changeLog = changeLog; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -570,44 +612,46 @@ public boolean equals(Object o) { return false; } PrecisionTimeServiceResponse precisionTimeServiceResponse = (PrecisionTimeServiceResponse) o; - return Objects.equals(this.type, precisionTimeServiceResponse.type) && - Objects.equals(this.href, precisionTimeServiceResponse.href) && - Objects.equals(this.uuid, precisionTimeServiceResponse.uuid) && + return Objects.equals(this.href, precisionTimeServiceResponse.href) && + Objects.equals(this.type, precisionTimeServiceResponse.type) && Objects.equals(this.name, precisionTimeServiceResponse.name) && - Objects.equals(this.description, precisionTimeServiceResponse.description) && + Objects.equals(this.uuid, precisionTimeServiceResponse.uuid) && Objects.equals(this.state, precisionTimeServiceResponse.state) && Objects.equals(this._package, precisionTimeServiceResponse._package) && Objects.equals(this.connections, precisionTimeServiceResponse.connections) && - Objects.equals(this.order, precisionTimeServiceResponse.order) && Objects.equals(this.ipv4, precisionTimeServiceResponse.ipv4) && - Objects.equals(this.advanceConfiguration, precisionTimeServiceResponse.advanceConfiguration) && + Objects.equals(this.ntpAdvancedConfiguration, precisionTimeServiceResponse.ntpAdvancedConfiguration) && + Objects.equals(this.ptpAdvancedConfiguration, precisionTimeServiceResponse.ptpAdvancedConfiguration) && Objects.equals(this.project, precisionTimeServiceResponse.project) && - Objects.equals(this.account, precisionTimeServiceResponse.account)&& + Objects.equals(this.account, precisionTimeServiceResponse.account) && + Objects.equals(this.order, precisionTimeServiceResponse.order) && + Objects.equals(this.changeLog, precisionTimeServiceResponse.changeLog)&& Objects.equals(this.additionalProperties, precisionTimeServiceResponse.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, href, uuid, name, description, state, _package, connections, order, ipv4, advanceConfiguration, project, account, additionalProperties); + return Objects.hash(href, type, name, uuid, state, _package, connections, ipv4, ntpAdvancedConfiguration, ptpAdvancedConfiguration, project, account, order, changeLog, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PrecisionTimeServiceResponse {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" href: ").append(toIndentedString(href)).append("\n"); - sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append(" _package: ").append(toIndentedString(_package)).append("\n"); sb.append(" connections: ").append(toIndentedString(connections)).append("\n"); - sb.append(" order: ").append(toIndentedString(order)).append("\n"); sb.append(" ipv4: ").append(toIndentedString(ipv4)).append("\n"); - sb.append(" advanceConfiguration: ").append(toIndentedString(advanceConfiguration)).append("\n"); + sb.append(" ntpAdvancedConfiguration: ").append(toIndentedString(ntpAdvancedConfiguration)).append("\n"); + sb.append(" ptpAdvancedConfiguration: ").append(toIndentedString(ptpAdvancedConfiguration)).append("\n"); sb.append(" project: ").append(toIndentedString(project)).append("\n"); sb.append(" account: ").append(toIndentedString(account)).append("\n"); + sb.append(" order: ").append(toIndentedString(order)).append("\n"); + sb.append(" changeLog: ").append(toIndentedString(changeLog)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -631,29 +675,28 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("type"); openapiFields.add("href"); - openapiFields.add("uuid"); + openapiFields.add("type"); openapiFields.add("name"); - openapiFields.add("description"); + openapiFields.add("uuid"); openapiFields.add("state"); openapiFields.add("package"); openapiFields.add("connections"); - openapiFields.add("order"); openapiFields.add("ipv4"); - openapiFields.add("advanceConfiguration"); + openapiFields.add("ntpAdvancedConfiguration"); + openapiFields.add("ptpAdvancedConfiguration"); openapiFields.add("project"); openapiFields.add("account"); + openapiFields.add("order"); + openapiFields.add("changeLog"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("type"); openapiRequiredFields.add("href"); + openapiRequiredFields.add("type"); openapiRequiredFields.add("uuid"); openapiRequiredFields.add("state"); openapiRequiredFields.add("package"); - openapiRequiredFields.add("order"); - openapiRequiredFields.add("ipv4"); } /** @@ -675,20 +718,17 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if (!jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); - } if (!jsonObj.get("href").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); } - if (!jsonObj.get("uuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + if (!jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } - if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + if (!jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); } if (!jsonObj.get("state").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); @@ -705,17 +745,31 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { // validate the optional field `connections` (array) for (int i = 0; i < jsonArrayconnections.size(); i++) { - FabricConnectionUuid.validateJsonObject(jsonArrayconnections.get(i).getAsJsonObject()); + VirtualConnectionTimeServiceResponse.validateJsonObject(jsonArrayconnections.get(i).getAsJsonObject()); }; } } - // validate the required field `order` - Order.validateJsonObject(jsonObj.getAsJsonObject("order")); - // validate the required field `ipv4` - Ipv4.validateJsonObject(jsonObj.getAsJsonObject("ipv4")); - // validate the optional field `advanceConfiguration` - if (jsonObj.get("advanceConfiguration") != null && !jsonObj.get("advanceConfiguration").isJsonNull()) { - AdvanceConfiguration.validateJsonObject(jsonObj.getAsJsonObject("advanceConfiguration")); + // validate the optional field `ipv4` + if (jsonObj.get("ipv4") != null && !jsonObj.get("ipv4").isJsonNull()) { + Ipv4.validateJsonObject(jsonObj.getAsJsonObject("ipv4")); + } + if (jsonObj.get("ntpAdvancedConfiguration") != null && !jsonObj.get("ntpAdvancedConfiguration").isJsonNull()) { + JsonArray jsonArrayntpAdvancedConfiguration = jsonObj.getAsJsonArray("ntpAdvancedConfiguration"); + if (jsonArrayntpAdvancedConfiguration != null) { + // ensure the json data is an array + if (!jsonObj.get("ntpAdvancedConfiguration").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `ntpAdvancedConfiguration` to be an array in the JSON string but got `%s`", jsonObj.get("ntpAdvancedConfiguration").toString())); + } + + // validate the optional field `ntpAdvancedConfiguration` (array) + for (int i = 0; i < jsonArrayntpAdvancedConfiguration.size(); i++) { + Md5.validateJsonObject(jsonArrayntpAdvancedConfiguration.get(i).getAsJsonObject()); + }; + } + } + // validate the optional field `ptpAdvancedConfiguration` + if (jsonObj.get("ptpAdvancedConfiguration") != null && !jsonObj.get("ptpAdvancedConfiguration").isJsonNull()) { + PtpAdvanceConfiguration.validateJsonObject(jsonObj.getAsJsonObject("ptpAdvancedConfiguration")); } // validate the optional field `project` if (jsonObj.get("project") != null && !jsonObj.get("project").isJsonNull()) { @@ -723,7 +777,15 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { } // validate the optional field `account` if (jsonObj.get("account") != null && !jsonObj.get("account").isJsonNull()) { - Account.validateJsonObject(jsonObj.getAsJsonObject("account")); + SimplifiedAccount.validateJsonObject(jsonObj.getAsJsonObject("account")); + } + // validate the optional field `order` + if (jsonObj.get("order") != null && !jsonObj.get("order").isJsonNull()) { + PrecisionTimeOrder.validateJsonObject(jsonObj.getAsJsonObject("order")); + } + // validate the optional field `changeLog` + if (jsonObj.get("changeLog") != null && !jsonObj.get("changeLog").isJsonNull()) { + Changelog.validateJsonObject(jsonObj.getAsJsonObject("changeLog")); } } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Presence.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Presence.java index 2f8840ba..02050fcd 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Presence.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Presence.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Price.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Price.java index 015cb717..a843869d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Price.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Price.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceCategory.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceCategory.java index 63db5914..5c07c7d8 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceCategory.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceCategory.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceCharge.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceCharge.java index 2a9eda5a..70bcd296 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceCharge.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceCharge.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceError.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceError.java index 2d481e1b..6dea0ac7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceError.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceError.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceErrorAdditionalInfo.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceErrorAdditionalInfo.java index e8669ca8..6ef7a530 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceErrorAdditionalInfo.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceErrorAdditionalInfo.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceLocation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceLocation.java index 53924ec0..e7ccdc1a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceLocation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceLocation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceSearchResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceSearchResponse.java index a275e357..b89f9333 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceSearchResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PriceSearchResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProcessStep.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProcessStep.java index 98e21db3..b868bfc9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProcessStep.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProcessStep.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProductType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProductType.java index 929ad963..b0cffeb0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProductType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProductType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Project.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Project.java index 6b621af1..b3527e4c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Project.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Project.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProviderStatus.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProviderStatus.java index c66de5b8..3f7e6693 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProviderStatus.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ProviderStatus.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PtpAdvanceConfiguration.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PtpAdvanceConfiguration.java index c5f8e1c4..c8712a58 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PtpAdvanceConfiguration.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PtpAdvanceConfiguration.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -42,7 +42,7 @@ import com.equinix.openapi.fabric.JSON; /** - * PtpAdvanceConfiguration + * PTP Advanced Configuration. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class PtpAdvanceConfiguration { @@ -109,28 +109,195 @@ public TimeScaleEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_PRIORITY2) private Integer priority2; + /** + * Logarithmic value that controls the rate of PTP Announce packets from the PTP time server. Default is 1 (1 packet every 2 seconds), Unit packets/second. + */ + @JsonAdapter(LogAnnounceIntervalEnum.Adapter.class) + public enum LogAnnounceIntervalEnum { + NUMBER_MINUS_3(-3), + + NUMBER_MINUS_2(-2), + + NUMBER_MINUS_1(-1), + + NUMBER_0(0), + + NUMBER_1(1); + + private Integer value; + + LogAnnounceIntervalEnum(Integer value) { + this.value = value; + } + + public Integer getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LogAnnounceIntervalEnum fromValue(Integer value) { + for (LogAnnounceIntervalEnum b : LogAnnounceIntervalEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LogAnnounceIntervalEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LogAnnounceIntervalEnum read(final JsonReader jsonReader) throws IOException { + Integer value = jsonReader.nextInt(); + return LogAnnounceIntervalEnum.fromValue(value); + } + } + } + public static final String SERIALIZED_NAME_LOG_ANNOUNCE_INTERVAL = "logAnnounceInterval"; @SerializedName(SERIALIZED_NAME_LOG_ANNOUNCE_INTERVAL) - private Integer logAnnounceInterval; + private LogAnnounceIntervalEnum logAnnounceInterval; + + /** + * Logarithmic value that controls the rate of PTP Sync packets. Default is -4 (16 packets per second), Unit packets/second.. + */ + @JsonAdapter(LogSyncIntervalEnum.Adapter.class) + public enum LogSyncIntervalEnum { + NUMBER_MINUS_5(-5), + + NUMBER_MINUS_4(-4), + + NUMBER_MINUS_3(-3), + + NUMBER_MINUS_2(-2), + + NUMBER_MINUS_1(-1), + + NUMBER_0(0), + + NUMBER_1(1); + + private Integer value; + + LogSyncIntervalEnum(Integer value) { + this.value = value; + } + + public Integer getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LogSyncIntervalEnum fromValue(Integer value) { + for (LogSyncIntervalEnum b : LogSyncIntervalEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LogSyncIntervalEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LogSyncIntervalEnum read(final JsonReader jsonReader) throws IOException { + Integer value = jsonReader.nextInt(); + return LogSyncIntervalEnum.fromValue(value); + } + } + } public static final String SERIALIZED_NAME_LOG_SYNC_INTERVAL = "logSyncInterval"; @SerializedName(SERIALIZED_NAME_LOG_SYNC_INTERVAL) - private Integer logSyncInterval; + private LogSyncIntervalEnum logSyncInterval; + + /** + * Logarithmic value that controls the rate of PTP DelayReq packets. Default is -4 (16 packets per second), Unit packets/second.. + */ + @JsonAdapter(LogDelayReqIntervalEnum.Adapter.class) + public enum LogDelayReqIntervalEnum { + NUMBER_MINUS_5(-5), + + NUMBER_MINUS_4(-4), + + NUMBER_MINUS_3(-3), + + NUMBER_MINUS_2(-2), + + NUMBER_MINUS_1(-1), + + NUMBER_0(0), + + NUMBER_1(1); + + private Integer value; + + LogDelayReqIntervalEnum(Integer value) { + this.value = value; + } + + public Integer getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static LogDelayReqIntervalEnum fromValue(Integer value) { + for (LogDelayReqIntervalEnum b : LogDelayReqIntervalEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final LogDelayReqIntervalEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public LogDelayReqIntervalEnum read(final JsonReader jsonReader) throws IOException { + Integer value = jsonReader.nextInt(); + return LogDelayReqIntervalEnum.fromValue(value); + } + } + } public static final String SERIALIZED_NAME_LOG_DELAY_REQ_INTERVAL = "logDelayReqInterval"; @SerializedName(SERIALIZED_NAME_LOG_DELAY_REQ_INTERVAL) - private Integer logDelayReqInterval; + private LogDelayReqIntervalEnum logDelayReqInterval; /** * Gets or Sets transportMode */ @JsonAdapter(TransportModeEnum.Adapter.class) public enum TransportModeEnum { - MULTICAST("Multicast"), + MULTICAST("MULTICAST"), - UNICAST("Unicast"), + UNICAST("UNICAST"), - HYBRID("Hybrid"); + HYBRID("HYBRID"); private String value; @@ -210,7 +377,7 @@ public PtpAdvanceConfiguration domain(Integer domain) { } /** - * Get domain + * The PTP domain value. * minimum: 0 * maximum: 127 * @return domain @@ -234,7 +401,7 @@ public PtpAdvanceConfiguration priority1(Integer priority1) { } /** - * Get priority1 + * The priority1 value determines the best primary clock, Lower value indicates higher priority. * minimum: 0 * maximum: 248 * @return priority1 @@ -258,7 +425,7 @@ public PtpAdvanceConfiguration priority2(Integer priority2) { } /** - * Get priority2 + * The priority2 value differentiates and prioritizes the primary clock to avoid confusion when priority1-value is the same for different primary clocks in a network. * minimum: 0 * maximum: 248 * @return priority2 @@ -275,68 +442,68 @@ public void setPriority2(Integer priority2) { } - public PtpAdvanceConfiguration logAnnounceInterval(Integer logAnnounceInterval) { + public PtpAdvanceConfiguration logAnnounceInterval(LogAnnounceIntervalEnum logAnnounceInterval) { this.logAnnounceInterval = logAnnounceInterval; return this; } /** - * The mean time interval between Announce messages. A shorter interval makes ptp4l react faster to the changes in the master-slave hierarchy. The interval should be the same in the whole domain. It's specified as a power of two in seconds. The default is 1 (2 seconds). + * Logarithmic value that controls the rate of PTP Announce packets from the PTP time server. Default is 1 (1 packet every 2 seconds), Unit packets/second. * @return logAnnounceInterval **/ @javax.annotation.Nullable - public Integer getLogAnnounceInterval() { + public LogAnnounceIntervalEnum getLogAnnounceInterval() { return logAnnounceInterval; } - public void setLogAnnounceInterval(Integer logAnnounceInterval) { + public void setLogAnnounceInterval(LogAnnounceIntervalEnum logAnnounceInterval) { this.logAnnounceInterval = logAnnounceInterval; } - public PtpAdvanceConfiguration logSyncInterval(Integer logSyncInterval) { + public PtpAdvanceConfiguration logSyncInterval(LogSyncIntervalEnum logSyncInterval) { this.logSyncInterval = logSyncInterval; return this; } /** - * The mean time interval between Sync messages. A shorter interval may improve accuracy of the local clock. It's specified as a power of two in seconds. The default is 0 (1 second). + * Logarithmic value that controls the rate of PTP Sync packets. Default is -4 (16 packets per second), Unit packets/second.. * @return logSyncInterval **/ @javax.annotation.Nullable - public Integer getLogSyncInterval() { + public LogSyncIntervalEnum getLogSyncInterval() { return logSyncInterval; } - public void setLogSyncInterval(Integer logSyncInterval) { + public void setLogSyncInterval(LogSyncIntervalEnum logSyncInterval) { this.logSyncInterval = logSyncInterval; } - public PtpAdvanceConfiguration logDelayReqInterval(Integer logDelayReqInterval) { + public PtpAdvanceConfiguration logDelayReqInterval(LogDelayReqIntervalEnum logDelayReqInterval) { this.logDelayReqInterval = logDelayReqInterval; return this; } /** - * Get logDelayReqInterval + * Logarithmic value that controls the rate of PTP DelayReq packets. Default is -4 (16 packets per second), Unit packets/second.. * @return logDelayReqInterval **/ @javax.annotation.Nullable - public Integer getLogDelayReqInterval() { + public LogDelayReqIntervalEnum getLogDelayReqInterval() { return logDelayReqInterval; } - public void setLogDelayReqInterval(Integer logDelayReqInterval) { + public void setLogDelayReqInterval(LogDelayReqIntervalEnum logDelayReqInterval) { this.logDelayReqInterval = logDelayReqInterval; } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/QueryDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/QueryDirection.java index 000e263d..92b4c696 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/QueryDirection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/QueryDirection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RemoveOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RemoveOperation.java index 3420bf74..ad4c7d47 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RemoveOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RemoveOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ReplaceOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ReplaceOperation.java index 445541d7..0a9d0827 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ReplaceOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ReplaceOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterChangeData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterChangeData.java index 4352a030..08362850 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterChangeData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterChangeData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterChangeDataResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterChangeDataResponse.java index eca27b0f..245ef988 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterChangeDataResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterChangeDataResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterConnectionsData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterConnectionsData.java index 1556c5e8..476780f2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterConnectionsData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterConnectionsData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRuleState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRuleState.java index 750c4b1d..442867f7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRuleState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRuleState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesBase.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesBase.java index 720e5e5a..58f49e00 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesBase.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesBase.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChange.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChange.java index 3324d34f..536c5a3c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChange.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChange.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeData.java index 53bf166f..6e7dff25 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeDataResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeDataResponse.java index fe04dade..70ab7131 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeDataResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeDataResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeOperation.java index 162472db..36524685 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesChangeOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesData.java index 12398aeb..d4c0048b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesPatchRequestItem.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesPatchRequestItem.java index 74549734..d81542c4 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesPatchRequestItem.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesPatchRequestItem.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesPostRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesPostRequest.java index f255d451..bc70149d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesPostRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterRulesPostRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterState.java index d4df9792..dade9e0e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFilterState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersBase.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersBase.java index fa71bff0..6303e1d0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersBase.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersBase.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersChange.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersChange.java index 479aeb8b..844638bb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersChange.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersChange.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersChangeOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersChangeOperation.java index cdbe5458..6e77eba7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersChangeOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersChangeOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersData.java index eca6498e..76384bdd 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersDataProject.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersDataProject.java index ce918c52..d91aaac6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersDataProject.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersDataProject.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersPatchRequestItem.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersPatchRequestItem.java index b9185f80..4824c71d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersPatchRequestItem.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersPatchRequestItem.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBase.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBase.java index 3acc66e4..cb6cf084 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBase.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBase.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBaseFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBaseFilter.java index 242600a0..3547aecc 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBaseFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchBaseFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchFilterItem.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchFilterItem.java index b9aeb628..c43e8fb0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchFilterItem.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchFilterItem.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchResponse.java index b81acd08..c198fc5e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteFiltersSearchResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntry.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntry.java index 11551cf6..1c244fbd 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntry.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntry.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -14,7 +14,7 @@ import java.util.Objects; import java.util.Arrays; import com.equinix.openapi.fabric.v4.model.Changelog; -import com.equinix.openapi.fabric.v4.model.RouteTableEntryConnection; +import com.equinix.openapi.fabric.v4.model.ConnectionRouteTableEntryConnection; import com.equinix.openapi.fabric.v4.model.RouteTableEntryProtocolType; import com.equinix.openapi.fabric.v4.model.RouteTableEntryState; import com.equinix.openapi.fabric.v4.model.RouteTableEntryType; @@ -77,9 +77,9 @@ public class RouteTableEntry { @SerializedName(SERIALIZED_NAME_NEXT_HOP) private String nextHop; - public static final String SERIALIZED_NAME_METRIC = "metric"; - @SerializedName(SERIALIZED_NAME_METRIC) - private Integer metric; + public static final String SERIALIZED_NAME_M_E_D = "MED"; + @SerializedName(SERIALIZED_NAME_M_E_D) + private Integer MED; public static final String SERIALIZED_NAME_LOCAL_PREFERENCE = "localPreference"; @SerializedName(SERIALIZED_NAME_LOCAL_PREFERENCE) @@ -87,11 +87,11 @@ public class RouteTableEntry { public static final String SERIALIZED_NAME_AS_PATH = "asPath"; @SerializedName(SERIALIZED_NAME_AS_PATH) - private List asPath = new ArrayList<>(); + private List asPath = new ArrayList<>(); public static final String SERIALIZED_NAME_CONNECTION = "connection"; @SerializedName(SERIALIZED_NAME_CONNECTION) - private RouteTableEntryConnection connection; + private ConnectionRouteTableEntryConnection connection; public static final String SERIALIZED_NAME_CHANGE_LOG = "changeLog"; @SerializedName(SERIALIZED_NAME_CHANGE_LOG) @@ -232,25 +232,25 @@ public void setNextHop(String nextHop) { } - public RouteTableEntry metric(Integer metric) { + public RouteTableEntry MED(Integer MED) { - this.metric = metric; + this.MED = MED; return this; } /** - * Get metric - * @return metric + * Get MED + * @return MED **/ @javax.annotation.Nullable - public Integer getMetric() { - return metric; + public Integer getMED() { + return MED; } - public void setMetric(Integer metric) { - this.metric = metric; + public void setMED(Integer MED) { + this.MED = MED; } @@ -276,13 +276,13 @@ public void setLocalPreference(Integer localPreference) { } - public RouteTableEntry asPath(List asPath) { + public RouteTableEntry asPath(List asPath) { this.asPath = asPath; return this; } - public RouteTableEntry addAsPathItem(Integer asPathItem) { + public RouteTableEntry addAsPathItem(String asPathItem) { if (this.asPath == null) { this.asPath = new ArrayList<>(); } @@ -296,17 +296,17 @@ public RouteTableEntry addAsPathItem(Integer asPathItem) { **/ @javax.annotation.Nullable - public List getAsPath() { + public List getAsPath() { return asPath; } - public void setAsPath(List asPath) { + public void setAsPath(List asPath) { this.asPath = asPath; } - public RouteTableEntry connection(RouteTableEntryConnection connection) { + public RouteTableEntry connection(ConnectionRouteTableEntryConnection connection) { this.connection = connection; return this; @@ -318,12 +318,12 @@ public RouteTableEntry connection(RouteTableEntryConnection connection) { **/ @javax.annotation.Nullable - public RouteTableEntryConnection getConnection() { + public ConnectionRouteTableEntryConnection getConnection() { return connection; } - public void setConnection(RouteTableEntryConnection connection) { + public void setConnection(ConnectionRouteTableEntryConnection connection) { this.connection = connection; } @@ -410,7 +410,7 @@ public boolean equals(Object o) { Objects.equals(this.age, routeTableEntry.age) && Objects.equals(this.prefix, routeTableEntry.prefix) && Objects.equals(this.nextHop, routeTableEntry.nextHop) && - Objects.equals(this.metric, routeTableEntry.metric) && + Objects.equals(this.MED, routeTableEntry.MED) && Objects.equals(this.localPreference, routeTableEntry.localPreference) && Objects.equals(this.asPath, routeTableEntry.asPath) && Objects.equals(this.connection, routeTableEntry.connection) && @@ -420,7 +420,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(type, protocolType, state, age, prefix, nextHop, metric, localPreference, asPath, connection, changeLog, additionalProperties); + return Objects.hash(type, protocolType, state, age, prefix, nextHop, MED, localPreference, asPath, connection, changeLog, additionalProperties); } @Override @@ -433,7 +433,7 @@ public String toString() { sb.append(" age: ").append(toIndentedString(age)).append("\n"); sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); sb.append(" nextHop: ").append(toIndentedString(nextHop)).append("\n"); - sb.append(" metric: ").append(toIndentedString(metric)).append("\n"); + sb.append(" MED: ").append(toIndentedString(MED)).append("\n"); sb.append(" localPreference: ").append(toIndentedString(localPreference)).append("\n"); sb.append(" asPath: ").append(toIndentedString(asPath)).append("\n"); sb.append(" connection: ").append(toIndentedString(connection)).append("\n"); @@ -467,7 +467,7 @@ private String toIndentedString(Object o) { openapiFields.add("age"); openapiFields.add("prefix"); openapiFields.add("nextHop"); - openapiFields.add("metric"); + openapiFields.add("MED"); openapiFields.add("localPreference"); openapiFields.add("asPath"); openapiFields.add("connection"); @@ -514,7 +514,7 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { } // validate the optional field `connection` if (jsonObj.get("connection") != null && !jsonObj.get("connection").isJsonNull()) { - RouteTableEntryConnection.validateJsonObject(jsonObj.getAsJsonObject("connection")); + ConnectionRouteTableEntryConnection.validateJsonObject(jsonObj.getAsJsonObject("connection")); } // validate the required field `changeLog` Changelog.validateJsonObject(jsonObj.getAsJsonObject("changeLog")); diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilter.java index 6f8e015e..32143d84 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilters.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilters.java index 04b04a1f..51977534 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilters.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryFilters.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryOrFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryOrFilter.java index f4db377e..bb96c695 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryOrFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryOrFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryProtocolType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryProtocolType.java index 6671b62b..afd623b0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryProtocolType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryProtocolType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySearchRequest.java index 4c61af9a..604edef9 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySearchRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySearchRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySearchResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySearchResponse.java index f509f2dc..b65921cb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySearchResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySearchResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySimpleExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySimpleExpression.java index db8a21b0..92c9f65d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySimpleExpression.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySimpleExpression.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortBy.java index 8d70c03a..40c7c79c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortBy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortBy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortCriteria.java index 233b84c7..cdf51d8b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortCriteria.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortCriteria.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortDirection.java index 4e73b1ae..fde6ae41 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortDirection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntrySortDirection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryState.java index 8c9f9ac2..f17eb7cb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryType.java index d3aff6f9..d17c302b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouteTableEntryType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouterActionsConnection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouterActionsConnection.java new file mode 100644 index 00000000..583ff788 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouterActionsConnection.java @@ -0,0 +1,278 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Connection object for router actions + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class RouterActionsConnection { + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private String uuid; + + public RouterActionsConnection() { + } + + public RouterActionsConnection uuid(String uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Connection UUID + * @return uuid + **/ + @javax.annotation.Nullable + + public String getUuid() { + return uuid; + } + + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the RouterActionsConnection instance itself + */ + public RouterActionsConnection putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RouterActionsConnection routerActionsConnection = (RouterActionsConnection) o; + return Objects.equals(this.uuid, routerActionsConnection.uuid)&& + Objects.equals(this.additionalProperties, routerActionsConnection.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(uuid, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RouterActionsConnection {\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("uuid"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to RouterActionsConnection + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!RouterActionsConnection.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in RouterActionsConnection is not found in the empty JSON string", RouterActionsConnection.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!RouterActionsConnection.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'RouterActionsConnection' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(RouterActionsConnection.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, RouterActionsConnection value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public RouterActionsConnection read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + RouterActionsConnection instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of RouterActionsConnection given an JSON string + * + * @param jsonString JSON string + * @return An instance of RouterActionsConnection + * @throws IOException if the JSON string is invalid with respect to RouterActionsConnection + */ + public static RouterActionsConnection fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, RouterActionsConnection.class); + } + + /** + * Convert an instance of RouterActionsConnection to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouterPackageCode.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouterPackageCode.java index d56480c6..4b5f7f9a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouterPackageCode.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RouterPackageCode.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBFD.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBFD.java index 55537990..bad368fb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBFD.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBFD.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPData.java index 447a9465..fbd644f0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPType.java index 7e1594db..9533fd60 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBGPType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBase.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBase.java index bcd054dc..f1865368 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBase.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolBase.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChange.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChange.java index 5370cc21..fa9fca18 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChange.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChange.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeData.java index 8786f837..7db3cc1d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeDataResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeDataResponse.java index d0741689..c4e08175 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeDataResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeDataResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeOperation.java index 00a2ee12..81bed7ac 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolChangeOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolData.java index 572bbde9..5463f506 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolDirectData.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolDirectData.java index 33da8f5e..33629e0f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolDirectData.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolDirectData.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolDirectType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolDirectType.java index 6c0e93c7..e175c34f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolDirectType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolDirectType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolOperation.java index 7548c50f..a0b38637 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/RoutingProtocolOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchExpression.java index d6c3e504..43a50f75 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchExpression.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchExpression.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchFieldName.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchFieldName.java index 1523040d..6fff5aca 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchFieldName.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchFieldName.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchRequest.java index 2491f893..ff3b3f4c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchResponse.java index 85b67ac2..d6c5d6c6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SearchResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceMetro.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceMetro.java index 9c17ac85..1179c1b5 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceMetro.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceMetro.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceMetros.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceMetros.java index abf85173..43ec5164 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceMetros.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceMetros.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfile.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfile.java index 373f60a1..76eefc41 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfile.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfile.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointCOLO.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointCOLO.java index 85bce3e9..2b7e46fa 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointCOLO.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointCOLO.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointType.java index 6dd35fb3..61af943a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeCOLO.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeCOLO.java index 3945a169..2f36aac7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeCOLO.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeCOLO.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeEnum.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeEnum.java index c8cea5fb..a0e5ab79 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeEnum.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeEnum.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeVD.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeVD.java index 688ea3cf..ba3c68b5 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeVD.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointTypeVD.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointVD.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointVD.java index 9086b894..e190e52f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointVD.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAccessPointVD.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAndFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAndFilter.java index 378d61d7..4782c0e6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAndFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileAndFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileFilter.java index 7dfc0f0e..2b8bffe2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileLinkProtocolConfig.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileLinkProtocolConfig.java index 5771e4b7..1f71fa57 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileLinkProtocolConfig.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileLinkProtocolConfig.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileMetadata.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileMetadata.java index 6103a4b9..b8169e7b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileMetadata.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileMetadata.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileRequest.java index a0c4ec51..18dc4359 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSearchRequest.java index 9fa9640e..f99337c1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSearchRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSearchRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSimpleExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSimpleExpression.java index 3d4d2675..20ff951d 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSimpleExpression.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSimpleExpression.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortBy.java index b0640267..2fec0775 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortBy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortBy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortCriteria.java index 96f84997..0fdc6de2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortCriteria.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortCriteria.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortDirection.java index ddef1326..358650f8 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortDirection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileSortDirection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileStateEnum.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileStateEnum.java index c58b69f7..63399cea 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileStateEnum.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileStateEnum.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileTypeEnum.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileTypeEnum.java index f055a39d..7cf815eb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileTypeEnum.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileTypeEnum.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileVisibilityEnum.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileVisibilityEnum.java index 699dc19b..9e71b92b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileVisibilityEnum.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfileVisibilityEnum.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfiles.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfiles.java index 954e0e4a..273a4567 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfiles.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceProfiles.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceSearchResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceSearchResponse.java index 3e5a20f4..e36187e4 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceSearchResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceSearchResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceToken.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceToken.java index 5dc5d668..caf9acdb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceToken.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceToken.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -70,6 +70,57 @@ public class ServiceToken { @SerializedName(SERIALIZED_NAME_UUID) private UUID uuid; + /** + * information about token side + */ + @JsonAdapter(IssuerSideEnum.Adapter.class) + public enum IssuerSideEnum { + ASIDE("ASIDE"), + + ZSIDE("ZSIDE"); + + private String value; + + IssuerSideEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static IssuerSideEnum fromValue(String value) { + for (IssuerSideEnum b : IssuerSideEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final IssuerSideEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public IssuerSideEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return IssuerSideEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_ISSUER_SIDE = "issuerSide"; + @SerializedName(SERIALIZED_NAME_ISSUER_SIDE) + private IssuerSideEnum issuerSide; + public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) private String name; @@ -162,7 +213,7 @@ public ServiceToken uuid(UUID uuid) { * Equinix-assigned service token identifier * @return uuid **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable public UUID getUuid() { return uuid; @@ -174,6 +225,28 @@ public void setUuid(UUID uuid) { } + public ServiceToken issuerSide(IssuerSideEnum issuerSide) { + + this.issuerSide = issuerSide; + return this; + } + + /** + * information about token side + * @return issuerSide + **/ + @javax.annotation.Nullable + + public IssuerSideEnum getIssuerSide() { + return issuerSide; + } + + + public void setIssuerSide(IssuerSideEnum issuerSide) { + this.issuerSide = issuerSide; + } + + public ServiceToken name(String name) { this.name = name; @@ -437,6 +510,7 @@ public boolean equals(Object o) { return Objects.equals(this.type, serviceToken.type) && Objects.equals(this.href, serviceToken.href) && Objects.equals(this.uuid, serviceToken.uuid) && + Objects.equals(this.issuerSide, serviceToken.issuerSide) && Objects.equals(this.name, serviceToken.name) && Objects.equals(this.description, serviceToken.description) && Objects.equals(this.expirationDateTime, serviceToken.expirationDateTime) && @@ -451,7 +525,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(type, href, uuid, name, description, expirationDateTime, connection, state, notifications, account, changelog, project, additionalProperties); + return Objects.hash(type, href, uuid, issuerSide, name, description, expirationDateTime, connection, state, notifications, account, changelog, project, additionalProperties); } @Override @@ -461,6 +535,7 @@ public String toString() { sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" issuerSide: ").append(toIndentedString(issuerSide)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" expirationDateTime: ").append(toIndentedString(expirationDateTime)).append("\n"); @@ -496,6 +571,7 @@ private String toIndentedString(Object o) { openapiFields.add("type"); openapiFields.add("href"); openapiFields.add("uuid"); + openapiFields.add("issuerSide"); openapiFields.add("name"); openapiFields.add("description"); openapiFields.add("expirationDateTime"); @@ -508,7 +584,6 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("uuid"); } /** @@ -523,19 +598,15 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field(s) %s in ServiceToken is not found in the empty JSON string", ServiceToken.openapiRequiredFields.toString())); } } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : ServiceToken.openapiRequiredFields) { - if (jsonObj.get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); - } - } if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); } - if (!jsonObj.get("uuid").isJsonPrimitive()) { + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); } + if ((jsonObj.get("issuerSide") != null && !jsonObj.get("issuerSide").isJsonNull()) && !jsonObj.get("issuerSide").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `issuerSide` to be a primitive type in the JSON string but got `%s`", jsonObj.get("issuerSide").toString())); + } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenActionRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenActionRequest.java index b27edda3..bc54d8df 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenActionRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenActionRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenActions.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenActions.java index 0cb3d3ce..5a481aa0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenActions.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenActions.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenChangeOperation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenChangeOperation.java index b389518e..0f114452 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenChangeOperation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenChangeOperation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenConnection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenConnection.java index ca71b404..4f201b9b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenConnection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenConnection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -56,7 +56,13 @@ public class ServiceTokenConnection { */ @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { - EVPL_VC("EVPL_VC"); + EVPL_VC("EVPL_VC"), + + EVPLAN_VC("EVPLAN_VC"), + + EPLAN_VC("EPLAN_VC"), + + IPWAN_VC("IPWAN_VC"); private String value; @@ -112,6 +118,10 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_ALLOW_REMOTE_CONNECTION) private Boolean allowRemoteConnection = false; + public static final String SERIALIZED_NAME_ALLOW_CUSTOM_BANDWIDTH = "allowCustomBandwidth"; + @SerializedName(SERIALIZED_NAME_ALLOW_CUSTOM_BANDWIDTH) + private Boolean allowCustomBandwidth = false; + public static final String SERIALIZED_NAME_BANDWIDTH_LIMIT = "bandwidthLimit"; @SerializedName(SERIALIZED_NAME_BANDWIDTH_LIMIT) private Integer bandwidthLimit; @@ -218,6 +228,28 @@ public void setAllowRemoteConnection(Boolean allowRemoteConnection) { } + public ServiceTokenConnection allowCustomBandwidth(Boolean allowCustomBandwidth) { + + this.allowCustomBandwidth = allowCustomBandwidth; + return this; + } + + /** + * Allow custom bandwidth value + * @return allowCustomBandwidth + **/ + @javax.annotation.Nullable + + public Boolean getAllowCustomBandwidth() { + return allowCustomBandwidth; + } + + + public void setAllowCustomBandwidth(Boolean allowCustomBandwidth) { + this.allowCustomBandwidth = allowCustomBandwidth; + } + + public ServiceTokenConnection bandwidthLimit(Integer bandwidthLimit) { this.bandwidthLimit = bandwidthLimit; @@ -374,6 +406,7 @@ public boolean equals(Object o) { Objects.equals(this.href, serviceTokenConnection.href) && Objects.equals(this.uuid, serviceTokenConnection.uuid) && Objects.equals(this.allowRemoteConnection, serviceTokenConnection.allowRemoteConnection) && + Objects.equals(this.allowCustomBandwidth, serviceTokenConnection.allowCustomBandwidth) && Objects.equals(this.bandwidthLimit, serviceTokenConnection.bandwidthLimit) && Objects.equals(this.supportedBandwidths, serviceTokenConnection.supportedBandwidths) && Objects.equals(this.aSide, serviceTokenConnection.aSide) && @@ -383,7 +416,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(type, href, uuid, allowRemoteConnection, bandwidthLimit, supportedBandwidths, aSide, zSide, additionalProperties); + return Objects.hash(type, href, uuid, allowRemoteConnection, allowCustomBandwidth, bandwidthLimit, supportedBandwidths, aSide, zSide, additionalProperties); } @Override @@ -394,6 +427,7 @@ public String toString() { sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" allowRemoteConnection: ").append(toIndentedString(allowRemoteConnection)).append("\n"); + sb.append(" allowCustomBandwidth: ").append(toIndentedString(allowCustomBandwidth)).append("\n"); sb.append(" bandwidthLimit: ").append(toIndentedString(bandwidthLimit)).append("\n"); sb.append(" supportedBandwidths: ").append(toIndentedString(supportedBandwidths)).append("\n"); sb.append(" aSide: ").append(toIndentedString(aSide)).append("\n"); @@ -425,6 +459,7 @@ private String toIndentedString(Object o) { openapiFields.add("href"); openapiFields.add("uuid"); openapiFields.add("allowRemoteConnection"); + openapiFields.add("allowCustomBandwidth"); openapiFields.add("bandwidthLimit"); openapiFields.add("supportedBandwidths"); openapiFields.add("aSide"); diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchExpression.java index ee7eb4a4..9db0603b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchExpression.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchExpression.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchFieldName.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchFieldName.java index 1afa425d..e7c13f27 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchFieldName.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchFieldName.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchRequest.java index a87a8cdb..3f40a585 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSearchRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSide.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSide.java index 95a822ce..3689cbb7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSide.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenSide.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -45,7 +45,7 @@ import com.equinix.openapi.fabric.JSON; /** - * Connection link protocol configuration + * Connection link protocol,virtual device or network configuration */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class ServiceTokenSide { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenState.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenState.java index 2559e96e..3f528165 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenState.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenType.java index 3f5e5082..ae20cabf 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokenType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -27,7 +27,9 @@ @JsonAdapter(ServiceTokenType.Adapter.class) public enum ServiceTokenType { - VC_TOKEN("VC_TOKEN"); + VC_TOKEN("VC_TOKEN"), + + EPL_TOKEN("EPL_TOKEN"); private String value; diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokens.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokens.java index 07aa0f56..6b3e3ce0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokens.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ServiceTokens.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedAccount.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedAccount.java index 047d176c..b5a6806f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedAccount.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedAccount.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLinkProtocol.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLinkProtocol.java index ba7f7c8d..6ed011ed 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLinkProtocol.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLinkProtocol.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLocation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLocation.java index 8d530a45..318f7425 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLocation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLocation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -166,7 +166,9 @@ public SimplifiedLocation ibx(String ibx) { /** * Get ibx * @return ibx + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public String getIbx() { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLocationWithoutIBX.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLocationWithoutIBX.java index b26027f2..a5f37394 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLocationWithoutIBX.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedLocationWithoutIBX.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedMetadataEntity.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedMetadataEntity.java index 09fc4916..d9177fd8 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedMetadataEntity.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedMetadataEntity.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,12 +13,14 @@ import java.util.Objects; import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.SimplifiedLocation; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.math.BigDecimal; import java.net.URI; import java.util.UUID; @@ -60,6 +62,34 @@ public class SimplifiedMetadataEntity { @SerializedName(SERIALIZED_NAME_TYPE) private String type; + public static final String SERIALIZED_NAME_CVP_ID = "cvpId"; + @SerializedName(SERIALIZED_NAME_CVP_ID) + private Integer cvpId; + + public static final String SERIALIZED_NAME_BANDWIDTH = "bandwidth"; + @SerializedName(SERIALIZED_NAME_BANDWIDTH) + private BigDecimal bandwidth; + + public static final String SERIALIZED_NAME_PORT_NAME = "portName"; + @SerializedName(SERIALIZED_NAME_PORT_NAME) + private String portName; + + public static final String SERIALIZED_NAME_ENCAPSULATION_PROTOCOL_TYPE = "encapsulationProtocolType"; + @SerializedName(SERIALIZED_NAME_ENCAPSULATION_PROTOCOL_TYPE) + private String encapsulationProtocolType; + + public static final String SERIALIZED_NAME_ACCOUNT_NAME = "accountName"; + @SerializedName(SERIALIZED_NAME_ACCOUNT_NAME) + private String accountName; + + public static final String SERIALIZED_NAME_PRIORITY = "priority"; + @SerializedName(SERIALIZED_NAME_PRIORITY) + private String priority; + + public static final String SERIALIZED_NAME_LOCATION = "location"; + @SerializedName(SERIALIZED_NAME_LOCATION) + private SimplifiedLocation location; + public SimplifiedMetadataEntity() { } @@ -128,6 +158,160 @@ public void setType(String type) { this.type = type; } + + public SimplifiedMetadataEntity cvpId(Integer cvpId) { + + this.cvpId = cvpId; + return this; + } + + /** + * Customer virtual port Id + * @return cvpId + **/ + @javax.annotation.Nullable + + public Integer getCvpId() { + return cvpId; + } + + + public void setCvpId(Integer cvpId) { + this.cvpId = cvpId; + } + + + public SimplifiedMetadataEntity bandwidth(BigDecimal bandwidth) { + + this.bandwidth = bandwidth; + return this; + } + + /** + * Port Bandwidth + * @return bandwidth + **/ + @javax.annotation.Nullable + + public BigDecimal getBandwidth() { + return bandwidth; + } + + + public void setBandwidth(BigDecimal bandwidth) { + this.bandwidth = bandwidth; + } + + + public SimplifiedMetadataEntity portName(String portName) { + + this.portName = portName; + return this; + } + + /** + * Port Name + * @return portName + **/ + @javax.annotation.Nullable + + public String getPortName() { + return portName; + } + + + public void setPortName(String portName) { + this.portName = portName; + } + + + public SimplifiedMetadataEntity encapsulationProtocolType(String encapsulationProtocolType) { + + this.encapsulationProtocolType = encapsulationProtocolType; + return this; + } + + /** + * Port Encapsulation + * @return encapsulationProtocolType + **/ + @javax.annotation.Nullable + + public String getEncapsulationProtocolType() { + return encapsulationProtocolType; + } + + + public void setEncapsulationProtocolType(String encapsulationProtocolType) { + this.encapsulationProtocolType = encapsulationProtocolType; + } + + + public SimplifiedMetadataEntity accountName(String accountName) { + + this.accountName = accountName; + return this; + } + + /** + * Account Name + * @return accountName + **/ + @javax.annotation.Nullable + + public String getAccountName() { + return accountName; + } + + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + + public SimplifiedMetadataEntity priority(String priority) { + + this.priority = priority; + return this; + } + + /** + * Port Priority + * @return priority + **/ + @javax.annotation.Nullable + + public String getPriority() { + return priority; + } + + + public void setPriority(String priority) { + this.priority = priority; + } + + + public SimplifiedMetadataEntity location(SimplifiedLocation location) { + + this.location = location; + return this; + } + + /** + * Get location + * @return location + **/ + @javax.annotation.Nullable + + public SimplifiedLocation getLocation() { + return location; + } + + + public void setLocation(SimplifiedLocation location) { + this.location = location; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -185,13 +369,20 @@ public boolean equals(Object o) { SimplifiedMetadataEntity simplifiedMetadataEntity = (SimplifiedMetadataEntity) o; return Objects.equals(this.href, simplifiedMetadataEntity.href) && Objects.equals(this.uuid, simplifiedMetadataEntity.uuid) && - Objects.equals(this.type, simplifiedMetadataEntity.type)&& + Objects.equals(this.type, simplifiedMetadataEntity.type) && + Objects.equals(this.cvpId, simplifiedMetadataEntity.cvpId) && + Objects.equals(this.bandwidth, simplifiedMetadataEntity.bandwidth) && + Objects.equals(this.portName, simplifiedMetadataEntity.portName) && + Objects.equals(this.encapsulationProtocolType, simplifiedMetadataEntity.encapsulationProtocolType) && + Objects.equals(this.accountName, simplifiedMetadataEntity.accountName) && + Objects.equals(this.priority, simplifiedMetadataEntity.priority) && + Objects.equals(this.location, simplifiedMetadataEntity.location)&& Objects.equals(this.additionalProperties, simplifiedMetadataEntity.additionalProperties); } @Override public int hashCode() { - return Objects.hash(href, uuid, type, additionalProperties); + return Objects.hash(href, uuid, type, cvpId, bandwidth, portName, encapsulationProtocolType, accountName, priority, location, additionalProperties); } @Override @@ -201,6 +392,13 @@ public String toString() { sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" cvpId: ").append(toIndentedString(cvpId)).append("\n"); + sb.append(" bandwidth: ").append(toIndentedString(bandwidth)).append("\n"); + sb.append(" portName: ").append(toIndentedString(portName)).append("\n"); + sb.append(" encapsulationProtocolType: ").append(toIndentedString(encapsulationProtocolType)).append("\n"); + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -227,6 +425,13 @@ private String toIndentedString(Object o) { openapiFields.add("href"); openapiFields.add("uuid"); openapiFields.add("type"); + openapiFields.add("cvpId"); + openapiFields.add("bandwidth"); + openapiFields.add("portName"); + openapiFields.add("encapsulationProtocolType"); + openapiFields.add("accountName"); + openapiFields.add("priority"); + openapiFields.add("location"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -253,6 +458,22 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } + if ((jsonObj.get("portName") != null && !jsonObj.get("portName").isJsonNull()) && !jsonObj.get("portName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `portName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("portName").toString())); + } + if ((jsonObj.get("encapsulationProtocolType") != null && !jsonObj.get("encapsulationProtocolType").isJsonNull()) && !jsonObj.get("encapsulationProtocolType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `encapsulationProtocolType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("encapsulationProtocolType").toString())); + } + if ((jsonObj.get("accountName") != null && !jsonObj.get("accountName").isJsonNull()) && !jsonObj.get("accountName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `accountName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountName").toString())); + } + if ((jsonObj.get("priority") != null && !jsonObj.get("priority").isJsonNull()) && !jsonObj.get("priority").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `priority` to be a primitive type in the JSON string but got `%s`", jsonObj.get("priority").toString())); + } + // validate the optional field `location` + if (jsonObj.get("location") != null && !jsonObj.get("location").isJsonNull()) { + SimplifiedLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetwork.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetwork.java index 5fe67b3e..3570b787 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetwork.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetwork.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetworkChange.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetworkChange.java index 12d8d371..572a112c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetworkChange.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNetworkChange.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNotification.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNotification.java index 1bbc78db..bcae7960 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNotification.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedNotification.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedPort.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedPort.java index 163b0822..ed68cc82 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedPort.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedPort.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,6 +13,7 @@ import java.util.Objects; import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.ModelPackage; import com.equinix.openapi.fabric.v4.model.PhysicalPort; import com.equinix.openapi.fabric.v4.model.PortAdditionalInfo; import com.equinix.openapi.fabric.v4.model.PortDemarcationPoint; @@ -105,10 +106,6 @@ public class SimplifiedPort { @SerializedName(SERIALIZED_NAME_STATE) private PortState state; - public static final String SERIALIZED_NAME_CVP_ID = "cvpId"; - @SerializedName(SERIALIZED_NAME_CVP_ID) - private String cvpId; - public static final String SERIALIZED_NAME_OPERATION = "operation"; @SerializedName(SERIALIZED_NAME_OPERATION) private PortOperation operation; @@ -170,15 +167,15 @@ public ServiceTypeEnum read(final JsonReader jsonReader) throws IOException { public static final String SERIALIZED_NAME_BANDWIDTH = "bandwidth"; @SerializedName(SERIALIZED_NAME_BANDWIDTH) - private Integer bandwidth; + private Long bandwidth; public static final String SERIALIZED_NAME_AVAILABLE_BANDWIDTH = "availableBandwidth"; @SerializedName(SERIALIZED_NAME_AVAILABLE_BANDWIDTH) - private Integer availableBandwidth; + private Long availableBandwidth; public static final String SERIALIZED_NAME_USED_BANDWIDTH = "usedBandwidth"; @SerializedName(SERIALIZED_NAME_USED_BANDWIDTH) - private Integer usedBandwidth; + private Long usedBandwidth; public static final String SERIALIZED_NAME_LOCATION = "location"; @SerializedName(SERIALIZED_NAME_LOCATION) @@ -212,6 +209,10 @@ public ServiceTypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_LAG_ENABLED) private Boolean lagEnabled; + public static final String SERIALIZED_NAME_PACKAGE = "package"; + @SerializedName(SERIALIZED_NAME_PACKAGE) + private ModelPackage _package; + public static final String SERIALIZED_NAME_SETTINGS = "settings"; @SerializedName(SERIALIZED_NAME_SETTINGS) private PortSettings settings; @@ -452,28 +453,6 @@ public void setState(PortState state) { } - public SimplifiedPort cvpId(String cvpId) { - - this.cvpId = cvpId; - return this; - } - - /** - * Equinix assigned response attribute for Unique ID for a virtual port. - * @return cvpId - **/ - @javax.annotation.Nullable - - public String getCvpId() { - return cvpId; - } - - - public void setCvpId(String cvpId) { - this.cvpId = cvpId; - } - - public SimplifiedPort operation(PortOperation operation) { this.operation = operation; @@ -527,7 +506,9 @@ public SimplifiedPort serviceType(ServiceTypeEnum serviceType) { /** * Port service Type * @return serviceType + * @deprecated **/ + @Deprecated @javax.annotation.Nullable public ServiceTypeEnum getServiceType() { @@ -540,7 +521,7 @@ public void setServiceType(ServiceTypeEnum serviceType) { } - public SimplifiedPort bandwidth(Integer bandwidth) { + public SimplifiedPort bandwidth(Long bandwidth) { this.bandwidth = bandwidth; return this; @@ -553,17 +534,17 @@ public SimplifiedPort bandwidth(Integer bandwidth) { **/ @javax.annotation.Nullable - public Integer getBandwidth() { + public Long getBandwidth() { return bandwidth; } - public void setBandwidth(Integer bandwidth) { + public void setBandwidth(Long bandwidth) { this.bandwidth = bandwidth; } - public SimplifiedPort availableBandwidth(Integer availableBandwidth) { + public SimplifiedPort availableBandwidth(Long availableBandwidth) { this.availableBandwidth = availableBandwidth; return this; @@ -576,17 +557,17 @@ public SimplifiedPort availableBandwidth(Integer availableBandwidth) { **/ @javax.annotation.Nullable - public Integer getAvailableBandwidth() { + public Long getAvailableBandwidth() { return availableBandwidth; } - public void setAvailableBandwidth(Integer availableBandwidth) { + public void setAvailableBandwidth(Long availableBandwidth) { this.availableBandwidth = availableBandwidth; } - public SimplifiedPort usedBandwidth(Integer usedBandwidth) { + public SimplifiedPort usedBandwidth(Long usedBandwidth) { this.usedBandwidth = usedBandwidth; return this; @@ -599,12 +580,12 @@ public SimplifiedPort usedBandwidth(Integer usedBandwidth) { **/ @javax.annotation.Nullable - public Integer getUsedBandwidth() { + public Long getUsedBandwidth() { return usedBandwidth; } - public void setUsedBandwidth(Integer usedBandwidth) { + public void setUsedBandwidth(Long usedBandwidth) { this.usedBandwidth = usedBandwidth; } @@ -785,6 +766,28 @@ public void setLagEnabled(Boolean lagEnabled) { } + public SimplifiedPort _package(ModelPackage _package) { + + this._package = _package; + return this; + } + + /** + * Get _package + * @return _package + **/ + @javax.annotation.Nullable + + public ModelPackage getPackage() { + return _package; + } + + + public void setPackage(ModelPackage _package) { + this._package = _package; + } + + public SimplifiedPort settings(PortSettings settings) { this.settings = settings; @@ -953,7 +956,6 @@ public boolean equals(Object o) { Objects.equals(this.connectionsCount, simplifiedPort.connectionsCount) && Objects.equals(this.project, simplifiedPort.project) && Objects.equals(this.state, simplifiedPort.state) && - Objects.equals(this.cvpId, simplifiedPort.cvpId) && Objects.equals(this.operation, simplifiedPort.operation) && Objects.equals(this.account, simplifiedPort.account) && Objects.equals(this.serviceType, simplifiedPort.serviceType) && @@ -968,6 +970,7 @@ public boolean equals(Object o) { Objects.equals(this.redundancy, simplifiedPort.redundancy) && Objects.equals(this.encapsulation, simplifiedPort.encapsulation) && Objects.equals(this.lagEnabled, simplifiedPort.lagEnabled) && + Objects.equals(this._package, simplifiedPort._package) && Objects.equals(this.settings, simplifiedPort.settings) && Objects.equals(this.physicalPortQuantity, simplifiedPort.physicalPortQuantity) && Objects.equals(this.additionalInfo, simplifiedPort.additionalInfo) && @@ -977,7 +980,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(type, id, href, uuid, name, description, physicalPortsSpeed, connectionsCount, project, state, cvpId, operation, account, serviceType, bandwidth, availableBandwidth, usedBandwidth, location, device, _interface, tether, demarcationPoint, redundancy, encapsulation, lagEnabled, settings, physicalPortQuantity, additionalInfo, physicalPorts, additionalProperties); + return Objects.hash(type, id, href, uuid, name, description, physicalPortsSpeed, connectionsCount, project, state, operation, account, serviceType, bandwidth, availableBandwidth, usedBandwidth, location, device, _interface, tether, demarcationPoint, redundancy, encapsulation, lagEnabled, _package, settings, physicalPortQuantity, additionalInfo, physicalPorts, additionalProperties); } @Override @@ -994,7 +997,6 @@ public String toString() { sb.append(" connectionsCount: ").append(toIndentedString(connectionsCount)).append("\n"); sb.append(" project: ").append(toIndentedString(project)).append("\n"); sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" cvpId: ").append(toIndentedString(cvpId)).append("\n"); sb.append(" operation: ").append(toIndentedString(operation)).append("\n"); sb.append(" account: ").append(toIndentedString(account)).append("\n"); sb.append(" serviceType: ").append(toIndentedString(serviceType)).append("\n"); @@ -1009,6 +1011,7 @@ public String toString() { sb.append(" redundancy: ").append(toIndentedString(redundancy)).append("\n"); sb.append(" encapsulation: ").append(toIndentedString(encapsulation)).append("\n"); sb.append(" lagEnabled: ").append(toIndentedString(lagEnabled)).append("\n"); + sb.append(" _package: ").append(toIndentedString(_package)).append("\n"); sb.append(" settings: ").append(toIndentedString(settings)).append("\n"); sb.append(" physicalPortQuantity: ").append(toIndentedString(physicalPortQuantity)).append("\n"); sb.append(" additionalInfo: ").append(toIndentedString(additionalInfo)).append("\n"); @@ -1046,7 +1049,6 @@ private String toIndentedString(Object o) { openapiFields.add("connectionsCount"); openapiFields.add("project"); openapiFields.add("state"); - openapiFields.add("cvpId"); openapiFields.add("operation"); openapiFields.add("account"); openapiFields.add("serviceType"); @@ -1061,6 +1063,7 @@ private String toIndentedString(Object o) { openapiFields.add("redundancy"); openapiFields.add("encapsulation"); openapiFields.add("lagEnabled"); + openapiFields.add("package"); openapiFields.add("settings"); openapiFields.add("physicalPortQuantity"); openapiFields.add("additionalInfo"); @@ -1098,9 +1101,6 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj.get("project") != null && !jsonObj.get("project").isJsonNull()) { Project.validateJsonObject(jsonObj.getAsJsonObject("project")); } - if ((jsonObj.get("cvpId") != null && !jsonObj.get("cvpId").isJsonNull()) && !jsonObj.get("cvpId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `cvpId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cvpId").toString())); - } // validate the optional field `operation` if (jsonObj.get("operation") != null && !jsonObj.get("operation").isJsonNull()) { PortOperation.validateJsonObject(jsonObj.getAsJsonObject("operation")); @@ -1140,6 +1140,10 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj.get("encapsulation") != null && !jsonObj.get("encapsulation").isJsonNull()) { PortEncapsulation.validateJsonObject(jsonObj.getAsJsonObject("encapsulation")); } + // validate the optional field `package` + if (jsonObj.get("package") != null && !jsonObj.get("package").isJsonNull()) { + ModelPackage.validateJsonObject(jsonObj.getAsJsonObject("package")); + } // validate the optional field `settings` if (jsonObj.get("settings") != null && !jsonObj.get("settings").isJsonNull()) { PortSettings.validateJsonObject(jsonObj.getAsJsonObject("settings")); diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedServiceProfile.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedServiceProfile.java index a76e88a8..9af259d5 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedServiceProfile.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedServiceProfile.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedTokenNetwork.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedTokenNetwork.java new file mode 100644 index 00000000..023aa610 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedTokenNetwork.java @@ -0,0 +1,540 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.SimplifiedLocation; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.net.URI; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * SimplifiedTokenNetwork + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class SimplifiedTokenNetwork { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + + /** + * Type of Network + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + EVPLAN("EVPLAN"), + + EPLAN("EPLAN"), + + IPWAN("IPWAN"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + /** + * scope of Network + */ + @JsonAdapter(ScopeEnum.Adapter.class) + public enum ScopeEnum { + LOCAL("LOCAL"), + + REGIONAL("REGIONAL"), + + GLOBAL("GLOBAL"); + + private String value; + + ScopeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ScopeEnum fromValue(String value) { + for (ScopeEnum b : ScopeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ScopeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ScopeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ScopeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_SCOPE = "scope"; + @SerializedName(SERIALIZED_NAME_SCOPE) + private ScopeEnum scope; + + public static final String SERIALIZED_NAME_LOCATION = "location"; + @SerializedName(SERIALIZED_NAME_LOCATION) + private SimplifiedLocation location; + + public SimplifiedTokenNetwork() { + } + + public SimplifiedTokenNetwork href(URI href) { + + this.href = href; + return this; + } + + /** + * url to entity + * @return href + **/ + @javax.annotation.Nullable + + public URI getHref() { + return href; + } + + + public void setHref(URI href) { + this.href = href; + } + + + public SimplifiedTokenNetwork uuid(UUID uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Network Identifier + * @return uuid + **/ + @javax.annotation.Nullable + + public UUID getUuid() { + return uuid; + } + + + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + + public SimplifiedTokenNetwork type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Type of Network + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + public SimplifiedTokenNetwork name(String name) { + + this.name = name; + return this; + } + + /** + * Network Name + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public SimplifiedTokenNetwork scope(ScopeEnum scope) { + + this.scope = scope; + return this; + } + + /** + * scope of Network + * @return scope + **/ + @javax.annotation.Nullable + + public ScopeEnum getScope() { + return scope; + } + + + public void setScope(ScopeEnum scope) { + this.scope = scope; + } + + + public SimplifiedTokenNetwork location(SimplifiedLocation location) { + + this.location = location; + return this; + } + + /** + * Get location + * @return location + **/ + @javax.annotation.Nullable + + public SimplifiedLocation getLocation() { + return location; + } + + + public void setLocation(SimplifiedLocation location) { + this.location = location; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the SimplifiedTokenNetwork instance itself + */ + public SimplifiedTokenNetwork putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SimplifiedTokenNetwork simplifiedTokenNetwork = (SimplifiedTokenNetwork) o; + return Objects.equals(this.href, simplifiedTokenNetwork.href) && + Objects.equals(this.uuid, simplifiedTokenNetwork.uuid) && + Objects.equals(this.type, simplifiedTokenNetwork.type) && + Objects.equals(this.name, simplifiedTokenNetwork.name) && + Objects.equals(this.scope, simplifiedTokenNetwork.scope) && + Objects.equals(this.location, simplifiedTokenNetwork.location)&& + Objects.equals(this.additionalProperties, simplifiedTokenNetwork.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(href, uuid, type, name, scope, location, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SimplifiedTokenNetwork {\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" scope: ").append(toIndentedString(scope)).append("\n"); + sb.append(" location: ").append(toIndentedString(location)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("href"); + openapiFields.add("uuid"); + openapiFields.add("type"); + openapiFields.add("name"); + openapiFields.add("scope"); + openapiFields.add("location"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SimplifiedTokenNetwork + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SimplifiedTokenNetwork.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SimplifiedTokenNetwork is not found in the empty JSON string", SimplifiedTokenNetwork.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("scope") != null && !jsonObj.get("scope").isJsonNull()) && !jsonObj.get("scope").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `scope` to be a primitive type in the JSON string but got `%s`", jsonObj.get("scope").toString())); + } + // validate the optional field `location` + if (jsonObj.get("location") != null && !jsonObj.get("location").isJsonNull()) { + SimplifiedLocation.validateJsonObject(jsonObj.getAsJsonObject("location")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SimplifiedTokenNetwork.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SimplifiedTokenNetwork' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SimplifiedTokenNetwork.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SimplifiedTokenNetwork value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public SimplifiedTokenNetwork read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + SimplifiedTokenNetwork instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SimplifiedTokenNetwork given an JSON string + * + * @param jsonString JSON string + * @return An instance of SimplifiedTokenNetwork + * @throws IOException if the JSON string is invalid with respect to SimplifiedTokenNetwork + */ + public static SimplifiedTokenNetwork fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SimplifiedTokenNetwork.class); + } + + /** + * Convert an instance of SimplifiedTokenNetwork to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedVirtualDevice.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedVirtualDevice.java new file mode 100644 index 00000000..454a1220 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SimplifiedVirtualDevice.java @@ -0,0 +1,453 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.net.URI; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * SimplifiedVirtualDevice + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class SimplifiedVirtualDevice { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + + /** + * Type of Virtual Device + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + EDGE("EDGE"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_CLUSTER = "cluster"; + @SerializedName(SERIALIZED_NAME_CLUSTER) + private String cluster; + + public SimplifiedVirtualDevice() { + } + + public SimplifiedVirtualDevice href(URI href) { + + this.href = href; + return this; + } + + /** + * url to entity + * @return href + **/ + @javax.annotation.Nullable + + public URI getHref() { + return href; + } + + + public void setHref(URI href) { + this.href = href; + } + + + public SimplifiedVirtualDevice uuid(UUID uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Network Edge assigned Virtual Device Identifier + * @return uuid + **/ + @javax.annotation.Nullable + + public UUID getUuid() { + return uuid; + } + + + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + + public SimplifiedVirtualDevice type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Type of Virtual Device + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + public SimplifiedVirtualDevice name(String name) { + + this.name = name; + return this; + } + + /** + * Customer-assigned Virtual Device name + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public SimplifiedVirtualDevice cluster(String cluster) { + + this.cluster = cluster; + return this; + } + + /** + * Virtual Device Cluster Information + * @return cluster + **/ + @javax.annotation.Nullable + + public String getCluster() { + return cluster; + } + + + public void setCluster(String cluster) { + this.cluster = cluster; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the SimplifiedVirtualDevice instance itself + */ + public SimplifiedVirtualDevice putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SimplifiedVirtualDevice simplifiedVirtualDevice = (SimplifiedVirtualDevice) o; + return Objects.equals(this.href, simplifiedVirtualDevice.href) && + Objects.equals(this.uuid, simplifiedVirtualDevice.uuid) && + Objects.equals(this.type, simplifiedVirtualDevice.type) && + Objects.equals(this.name, simplifiedVirtualDevice.name) && + Objects.equals(this.cluster, simplifiedVirtualDevice.cluster)&& + Objects.equals(this.additionalProperties, simplifiedVirtualDevice.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(href, uuid, type, name, cluster, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SimplifiedVirtualDevice {\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" cluster: ").append(toIndentedString(cluster)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("href"); + openapiFields.add("uuid"); + openapiFields.add("type"); + openapiFields.add("name"); + openapiFields.add("cluster"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to SimplifiedVirtualDevice + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!SimplifiedVirtualDevice.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in SimplifiedVirtualDevice is not found in the empty JSON string", SimplifiedVirtualDevice.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("cluster") != null && !jsonObj.get("cluster").isJsonNull()) && !jsonObj.get("cluster").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `cluster` to be a primitive type in the JSON string but got `%s`", jsonObj.get("cluster").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SimplifiedVirtualDevice.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SimplifiedVirtualDevice' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(SimplifiedVirtualDevice.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SimplifiedVirtualDevice value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public SimplifiedVirtualDevice read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + SimplifiedVirtualDevice instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SimplifiedVirtualDevice given an JSON string + * + * @param jsonString JSON string + * @return An instance of SimplifiedVirtualDevice + * @throws IOException if the JSON string is invalid with respect to SimplifiedVirtualDevice + */ + public static SimplifiedVirtualDevice fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SimplifiedVirtualDevice.class); + } + + /** + * Convert an instance of SimplifiedVirtualDevice to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Sort.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Sort.java index 3ce71b30..4a7d92d1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Sort.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Sort.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortBy.java index 0a9004ff..52806b49 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortBy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortBy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteria.java index 52dad5f7..46c516a5 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteria.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteria.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteriaResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteriaResponse.java index cc72daac..3f8fe511 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteriaResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortCriteriaResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortDirection.java index 1820ceb3..1e830466 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortDirection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortDirection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortItem.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortItem.java index 2ca24938..8260a6a1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortItem.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SortItem.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Statistics.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Statistics.java index ac69ba64..1f765bc3 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Statistics.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Statistics.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Stream.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Stream.java new file mode 100644 index 00000000..57ff690f --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Stream.java @@ -0,0 +1,686 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.Changelog; +import com.equinix.openapi.fabric.v4.model.Project; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.net.URI; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Stream object + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class Stream { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + + /** + * Stream provision state + */ + @JsonAdapter(StateEnum.Adapter.class) + public enum StateEnum { + PROVISIONING("PROVISIONING"), + + PROVISIONED("PROVISIONED"), + + DEPROVISIONING("DEPROVISIONING"), + + DEPROVISIONED("DEPROVISIONED"), + + FAILED("FAILED"); + + private String value; + + StateEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static StateEnum fromValue(String value) { + for (StateEnum b : StateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final StateEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public StateEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return StateEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_STATE = "state"; + @SerializedName(SERIALIZED_NAME_STATE) + private StateEnum state; + + public static final String SERIALIZED_NAME_ASSETS_COUNT = "assetsCount"; + @SerializedName(SERIALIZED_NAME_ASSETS_COUNT) + private Integer assetsCount; + + public static final String SERIALIZED_NAME_STREAM_SUBSCRIPTIONS_COUNT = "streamSubscriptionsCount"; + @SerializedName(SERIALIZED_NAME_STREAM_SUBSCRIPTIONS_COUNT) + private Integer streamSubscriptionsCount; + + public static final String SERIALIZED_NAME_CHANGELOG = "changelog"; + @SerializedName(SERIALIZED_NAME_CHANGELOG) + private Changelog changelog; + + /** + * Gets or Sets type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + TELEMETRY_STREAM("TELEMETRY_STREAM"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_PROJECT = "project"; + @SerializedName(SERIALIZED_NAME_PROJECT) + private Project project; + + public static final String SERIALIZED_NAME_ENABLED = "enabled"; + @SerializedName(SERIALIZED_NAME_ENABLED) + private Boolean enabled; + + public Stream() { + } + + + public Stream( + URI href + ) { + this(); + this.href = href; + } + + /** + * Stream URI + * @return href + **/ + @javax.annotation.Nullable + + public URI getHref() { + return href; + } + + + + + public Stream uuid(UUID uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Equinix-assigned access point identifier + * @return uuid + **/ + @javax.annotation.Nullable + + public UUID getUuid() { + return uuid; + } + + + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + + public Stream state(StateEnum state) { + + this.state = state; + return this; + } + + /** + * Stream provision state + * @return state + **/ + @javax.annotation.Nullable + + public StateEnum getState() { + return state; + } + + + public void setState(StateEnum state) { + this.state = state; + } + + + public Stream assetsCount(Integer assetsCount) { + + this.assetsCount = assetsCount; + return this; + } + + /** + * Stream assets count + * @return assetsCount + **/ + @javax.annotation.Nullable + + public Integer getAssetsCount() { + return assetsCount; + } + + + public void setAssetsCount(Integer assetsCount) { + this.assetsCount = assetsCount; + } + + + public Stream streamSubscriptionsCount(Integer streamSubscriptionsCount) { + + this.streamSubscriptionsCount = streamSubscriptionsCount; + return this; + } + + /** + * Stream subscriptions count + * @return streamSubscriptionsCount + **/ + @javax.annotation.Nullable + + public Integer getStreamSubscriptionsCount() { + return streamSubscriptionsCount; + } + + + public void setStreamSubscriptionsCount(Integer streamSubscriptionsCount) { + this.streamSubscriptionsCount = streamSubscriptionsCount; + } + + + public Stream changelog(Changelog changelog) { + + this.changelog = changelog; + return this; + } + + /** + * Get changelog + * @return changelog + **/ + @javax.annotation.Nullable + + public Changelog getChangelog() { + return changelog; + } + + + public void setChangelog(Changelog changelog) { + this.changelog = changelog; + } + + + public Stream type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + public Stream name(String name) { + + this.name = name; + return this; + } + + /** + * Customer-provided stream name + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public Stream description(String description) { + + this.description = description; + return this; + } + + /** + * Customer-provided stream description + * @return description + **/ + @javax.annotation.Nullable + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public Stream project(Project project) { + + this.project = project; + return this; + } + + /** + * Get project + * @return project + **/ + @javax.annotation.Nullable + + public Project getProject() { + return project; + } + + + public void setProject(Project project) { + this.project = project; + } + + + public Stream enabled(Boolean enabled) { + + this.enabled = enabled; + return this; + } + + /** + * Stream enabled status + * @return enabled + **/ + @javax.annotation.Nullable + + public Boolean getEnabled() { + return enabled; + } + + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the Stream instance itself + */ + public Stream putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Stream stream = (Stream) o; + return Objects.equals(this.href, stream.href) && + Objects.equals(this.uuid, stream.uuid) && + Objects.equals(this.state, stream.state) && + Objects.equals(this.assetsCount, stream.assetsCount) && + Objects.equals(this.streamSubscriptionsCount, stream.streamSubscriptionsCount) && + Objects.equals(this.changelog, stream.changelog) && + Objects.equals(this.type, stream.type) && + Objects.equals(this.name, stream.name) && + Objects.equals(this.description, stream.description) && + Objects.equals(this.project, stream.project) && + Objects.equals(this.enabled, stream.enabled)&& + Objects.equals(this.additionalProperties, stream.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(href, uuid, state, assetsCount, streamSubscriptionsCount, changelog, type, name, description, project, enabled, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Stream {\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" assetsCount: ").append(toIndentedString(assetsCount)).append("\n"); + sb.append(" streamSubscriptionsCount: ").append(toIndentedString(streamSubscriptionsCount)).append("\n"); + sb.append(" changelog: ").append(toIndentedString(changelog)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" project: ").append(toIndentedString(project)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("type"); + openapiFields.add("name"); + openapiFields.add("description"); + openapiFields.add("project"); + openapiFields.add("enabled"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to Stream + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!Stream.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in Stream is not found in the empty JSON string", Stream.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); + } + // validate the optional field `changelog` + if (jsonObj.get("changelog") != null && !jsonObj.get("changelog").isJsonNull()) { + Changelog.validateJsonObject(jsonObj.getAsJsonObject("changelog")); + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + // validate the optional field `project` + if (jsonObj.get("project") != null && !jsonObj.get("project").isJsonNull()) { + Project.validateJsonObject(jsonObj.getAsJsonObject("project")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!Stream.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'Stream' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(Stream.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, Stream value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public Stream read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + Stream instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of Stream given an JSON string + * + * @param jsonString JSON string + * @return An instance of Stream + * @throws IOException if the JSON string is invalid with respect to Stream + */ + public static Stream fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, Stream.class); + } + + /** + * Convert an instance of Stream to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAsset.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAsset.java new file mode 100644 index 00000000..3229f442 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAsset.java @@ -0,0 +1,425 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.net.URI; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Stream object + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamAsset { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + + public static final String SERIALIZED_NAME_METRICS_ENABLED = "metricsEnabled"; + @SerializedName(SERIALIZED_NAME_METRICS_ENABLED) + private Boolean metricsEnabled; + + /** + * asset status + */ + @JsonAdapter(AttachmentStatusEnum.Adapter.class) + public enum AttachmentStatusEnum { + ATTACHING("ATTACHING"), + + ATTACHED("ATTACHED"), + + DETACHED("DETACHED"), + + DETACHING("DETACHING"), + + FAILED("FAILED"); + + private String value; + + AttachmentStatusEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static AttachmentStatusEnum fromValue(String value) { + for (AttachmentStatusEnum b : AttachmentStatusEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final AttachmentStatusEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public AttachmentStatusEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return AttachmentStatusEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_ATTACHMENT_STATUS = "attachmentStatus"; + @SerializedName(SERIALIZED_NAME_ATTACHMENT_STATUS) + private AttachmentStatusEnum attachmentStatus; + + public StreamAsset() { + } + + + public StreamAsset( + URI href + ) { + this(); + this.href = href; + } + + /** + * Stream Asset URI + * @return href + **/ + @javax.annotation.Nullable + + public URI getHref() { + return href; + } + + + + + public StreamAsset uuid(UUID uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Equinix-assigned access point identifier + * @return uuid + **/ + @javax.annotation.Nullable + + public UUID getUuid() { + return uuid; + } + + + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + + public StreamAsset metricsEnabled(Boolean metricsEnabled) { + + this.metricsEnabled = metricsEnabled; + return this; + } + + /** + * enable metric + * @return metricsEnabled + **/ + @javax.annotation.Nullable + + public Boolean getMetricsEnabled() { + return metricsEnabled; + } + + + public void setMetricsEnabled(Boolean metricsEnabled) { + this.metricsEnabled = metricsEnabled; + } + + + public StreamAsset attachmentStatus(AttachmentStatusEnum attachmentStatus) { + + this.attachmentStatus = attachmentStatus; + return this; + } + + /** + * asset status + * @return attachmentStatus + **/ + @javax.annotation.Nullable + + public AttachmentStatusEnum getAttachmentStatus() { + return attachmentStatus; + } + + + public void setAttachmentStatus(AttachmentStatusEnum attachmentStatus) { + this.attachmentStatus = attachmentStatus; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamAsset instance itself + */ + public StreamAsset putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamAsset streamAsset = (StreamAsset) o; + return Objects.equals(this.href, streamAsset.href) && + Objects.equals(this.uuid, streamAsset.uuid) && + Objects.equals(this.metricsEnabled, streamAsset.metricsEnabled) && + Objects.equals(this.attachmentStatus, streamAsset.attachmentStatus)&& + Objects.equals(this.additionalProperties, streamAsset.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(href, uuid, metricsEnabled, attachmentStatus, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamAsset {\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" metricsEnabled: ").append(toIndentedString(metricsEnabled)).append("\n"); + sb.append(" attachmentStatus: ").append(toIndentedString(attachmentStatus)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("href"); + openapiFields.add("uuid"); + openapiFields.add("metricsEnabled"); + openapiFields.add("attachmentStatus"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamAsset + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamAsset.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamAsset is not found in the empty JSON string", StreamAsset.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + if ((jsonObj.get("attachmentStatus") != null && !jsonObj.get("attachmentStatus").isJsonNull()) && !jsonObj.get("attachmentStatus").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `attachmentStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attachmentStatus").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamAsset.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamAsset' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamAsset.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamAsset value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamAsset read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamAsset instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamAsset given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamAsset + * @throws IOException if the JSON string is invalid with respect to StreamAsset + */ + public static StreamAsset fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamAsset.class); + } + + /** + * Convert an instance of StreamAsset to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetFilter.java new file mode 100644 index 00000000..261b8410 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetFilter.java @@ -0,0 +1,274 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.StreamAssetOrFilter; +import com.equinix.openapi.fabric.v4.model.StreamAssetSimpleExpression; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import javax.ws.rs.core.GenericType; + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapter; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.JsonPrimitive; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; + +import com.equinix.openapi.fabric.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamAssetFilter extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(StreamAssetFilter.class.getName()); + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamAssetFilter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamAssetFilter' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter adapterStreamAssetOrFilter = gson.getDelegateAdapter(this, TypeToken.get(StreamAssetOrFilter.class)); + final TypeAdapter adapterStreamAssetSimpleExpression = gson.getDelegateAdapter(this, TypeToken.get(StreamAssetSimpleExpression.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamAssetFilter value) throws IOException { + if (value == null || value.getActualInstance() == null) { + elementAdapter.write(out, null); + return; + } + + // check if the actual instance is of the type `StreamAssetOrFilter` + if (value.getActualInstance() instanceof StreamAssetOrFilter) { + JsonObject obj = adapterStreamAssetOrFilter.toJsonTree((StreamAssetOrFilter)value.getActualInstance()).getAsJsonObject(); + elementAdapter.write(out, obj); + return; + } + + // check if the actual instance is of the type `StreamAssetSimpleExpression` + if (value.getActualInstance() instanceof StreamAssetSimpleExpression) { + JsonObject obj = adapterStreamAssetSimpleExpression.toJsonTree((StreamAssetSimpleExpression)value.getActualInstance()).getAsJsonObject(); + elementAdapter.write(out, obj); + return; + } + + throw new IOException("Failed to serialize as the type doesn't match anyOf schemas: StreamAssetOrFilter, StreamAssetSimpleExpression"); + } + + @Override + public StreamAssetFilter read(JsonReader in) throws IOException { + Object deserialized = null; + JsonObject jsonObject = elementAdapter.read(in).getAsJsonObject(); + + // deserialize StreamAssetOrFilter + try { + // validate the JSON object to see if any exception is thrown + StreamAssetOrFilter.validateJsonObject(jsonObject); + log.log(Level.FINER, "Input data matches schema 'StreamAssetOrFilter'"); + StreamAssetFilter ret = new StreamAssetFilter(); + ret.setActualInstance(adapterStreamAssetOrFilter.fromJsonTree(jsonObject)); + return ret; + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'StreamAssetOrFilter'", e); + } + + // deserialize StreamAssetSimpleExpression + try { + // validate the JSON object to see if any exception is thrown + StreamAssetSimpleExpression.validateJsonObject(jsonObject); + log.log(Level.FINER, "Input data matches schema 'StreamAssetSimpleExpression'"); + StreamAssetFilter ret = new StreamAssetFilter(); + ret.setActualInstance(adapterStreamAssetSimpleExpression.fromJsonTree(jsonObject)); + return ret; + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'StreamAssetSimpleExpression'", e); + } + + + throw new IOException(String.format("Failed deserialization for StreamAssetFilter: no class matched. JSON: %s", jsonObject.toString())); + } + }.nullSafe(); + } + } + + // store a list of schema names defined in anyOf + public static final Map schemas = new HashMap(); + + public StreamAssetFilter() { + super("anyOf", Boolean.FALSE); + } + + public StreamAssetFilter(StreamAssetOrFilter o) { + super("anyOf", Boolean.FALSE); + setActualInstance(o); + } + + public StreamAssetFilter(StreamAssetSimpleExpression o) { + super("anyOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("StreamAssetOrFilter", new GenericType() { + }); + schemas.put("StreamAssetSimpleExpression", new GenericType() { + }); + } + + @Override + public Map getSchemas() { + return StreamAssetFilter.schemas; + } + + /** + * Set the instance that matches the anyOf child schema, check + * the instance parameter is valid against the anyOf child schemas: + * StreamAssetOrFilter, StreamAssetSimpleExpression + * + * It could be an instance of the 'anyOf' schemas. + * The anyOf child schemas may themselves be a composed schema (allOf, anyOf, anyOf). + */ + @Override + public void setActualInstance(Object instance) { + if (instance instanceof StreamAssetOrFilter) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof StreamAssetSimpleExpression) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be StreamAssetOrFilter, StreamAssetSimpleExpression"); + } + + /** + * Get the actual instance, which can be the following: + * StreamAssetOrFilter, StreamAssetSimpleExpression + * + * @return The actual instance (StreamAssetOrFilter, StreamAssetSimpleExpression) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `StreamAssetOrFilter`. If the actual instance is not `StreamAssetOrFilter`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `StreamAssetOrFilter` + * @throws ClassCastException if the instance is not `StreamAssetOrFilter` + */ + public StreamAssetOrFilter getStreamAssetOrFilter() throws ClassCastException { + return (StreamAssetOrFilter)super.getActualInstance(); + } + + /** + * Get the actual instance of `StreamAssetSimpleExpression`. If the actual instance is not `StreamAssetSimpleExpression`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `StreamAssetSimpleExpression` + * @throws ClassCastException if the instance is not `StreamAssetSimpleExpression` + */ + public StreamAssetSimpleExpression getStreamAssetSimpleExpression() throws ClassCastException { + return (StreamAssetSimpleExpression)super.getActualInstance(); + } + + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamAssetFilter + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + // validate anyOf schemas one by one + int validCount = 0; + // validate the json string with StreamAssetOrFilter + try { + StreamAssetOrFilter.validateJsonObject(jsonObj); + return; // return earlier as at least one schema is valid with respect to the Json object + //validCount++; + } catch (Exception e) { + // continue to the next one + } + // validate the json string with StreamAssetSimpleExpression + try { + StreamAssetSimpleExpression.validateJsonObject(jsonObj); + return; // return earlier as at least one schema is valid with respect to the Json object + //validCount++; + } catch (Exception e) { + // continue to the next one + } + if (validCount == 0) { + throw new IOException(String.format("The JSON string is invalid for StreamAssetFilter with anyOf schemas: StreamAssetOrFilter, StreamAssetSimpleExpression. JSON: %s", jsonObj.toString())); + } + } + + /** + * Create an instance of StreamAssetFilter given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamAssetFilter + * @throws IOException if the JSON string is invalid with respect to StreamAssetFilter + */ + public static StreamAssetFilter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamAssetFilter.class); + } + + /** + * Convert an instance of StreamAssetFilter to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetFilters.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetFilters.java new file mode 100644 index 00000000..f95ff572 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetFilters.java @@ -0,0 +1,300 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.StreamAssetFilter; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * StreamAssetFilters + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamAssetFilters { + public static final String SERIALIZED_NAME_AND = "and"; + @SerializedName(SERIALIZED_NAME_AND) + private List and = new ArrayList<>(); + + public StreamAssetFilters() { + } + + public StreamAssetFilters and(List and) { + + this.and = and; + return this; + } + + public StreamAssetFilters addAndItem(StreamAssetFilter andItem) { + if (this.and == null) { + this.and = new ArrayList<>(); + } + this.and.add(andItem); + return this; + } + + /** + * Get and + * @return and + **/ + @javax.annotation.Nullable + + public List getAnd() { + return and; + } + + + public void setAnd(List and) { + this.and = and; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamAssetFilters instance itself + */ + public StreamAssetFilters putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamAssetFilters streamAssetFilters = (StreamAssetFilters) o; + return Objects.equals(this.and, streamAssetFilters.and)&& + Objects.equals(this.additionalProperties, streamAssetFilters.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(and, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamAssetFilters {\n"); + sb.append(" and: ").append(toIndentedString(and)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("and"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamAssetFilters + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamAssetFilters.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamAssetFilters is not found in the empty JSON string", StreamAssetFilters.openapiRequiredFields.toString())); + } + } + if (jsonObj.get("and") != null && !jsonObj.get("and").isJsonNull()) { + JsonArray jsonArrayand = jsonObj.getAsJsonArray("and"); + if (jsonArrayand != null) { + // ensure the json data is an array + if (!jsonObj.get("and").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `and` to be an array in the JSON string but got `%s`", jsonObj.get("and").toString())); + } + + // validate the optional field `and` (array) + for (int i = 0; i < jsonArrayand.size(); i++) { + StreamAssetFilter.validateJsonObject(jsonArrayand.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamAssetFilters.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamAssetFilters' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamAssetFilters.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamAssetFilters value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamAssetFilters read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamAssetFilters instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamAssetFilters given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamAssetFilters + * @throws IOException if the JSON string is invalid with respect to StreamAssetFilters + */ + public static StreamAssetFilters fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamAssetFilters.class); + } + + /** + * Convert an instance of StreamAssetFilters to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetOrFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetOrFilter.java new file mode 100644 index 00000000..4c69ad3a --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetOrFilter.java @@ -0,0 +1,300 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.StreamAssetSimpleExpression; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * StreamAssetOrFilter + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamAssetOrFilter { + public static final String SERIALIZED_NAME_OR = "or"; + @SerializedName(SERIALIZED_NAME_OR) + private List or = new ArrayList<>(); + + public StreamAssetOrFilter() { + } + + public StreamAssetOrFilter or(List or) { + + this.or = or; + return this; + } + + public StreamAssetOrFilter addOrItem(StreamAssetSimpleExpression orItem) { + if (this.or == null) { + this.or = new ArrayList<>(); + } + this.or.add(orItem); + return this; + } + + /** + * Get or + * @return or + **/ + @javax.annotation.Nullable + + public List getOr() { + return or; + } + + + public void setOr(List or) { + this.or = or; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamAssetOrFilter instance itself + */ + public StreamAssetOrFilter putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamAssetOrFilter streamAssetOrFilter = (StreamAssetOrFilter) o; + return Objects.equals(this.or, streamAssetOrFilter.or)&& + Objects.equals(this.additionalProperties, streamAssetOrFilter.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(or, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamAssetOrFilter {\n"); + sb.append(" or: ").append(toIndentedString(or)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("or"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamAssetOrFilter + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamAssetOrFilter.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamAssetOrFilter is not found in the empty JSON string", StreamAssetOrFilter.openapiRequiredFields.toString())); + } + } + if (jsonObj.get("or") != null && !jsonObj.get("or").isJsonNull()) { + JsonArray jsonArrayor = jsonObj.getAsJsonArray("or"); + if (jsonArrayor != null) { + // ensure the json data is an array + if (!jsonObj.get("or").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `or` to be an array in the JSON string but got `%s`", jsonObj.get("or").toString())); + } + + // validate the optional field `or` (array) + for (int i = 0; i < jsonArrayor.size(); i++) { + StreamAssetSimpleExpression.validateJsonObject(jsonArrayor.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamAssetOrFilter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamAssetOrFilter' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamAssetOrFilter.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamAssetOrFilter value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamAssetOrFilter read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamAssetOrFilter instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamAssetOrFilter given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamAssetOrFilter + * @throws IOException if the JSON string is invalid with respect to StreamAssetOrFilter + */ + public static StreamAssetOrFilter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamAssetOrFilter.class); + } + + /** + * Convert an instance of StreamAssetOrFilter to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetPutRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetPutRequest.java new file mode 100644 index 00000000..ab6df70a --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetPutRequest.java @@ -0,0 +1,275 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Update Stream Asset + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamAssetPutRequest { + public static final String SERIALIZED_NAME_METRICS_ENABLED = "metricsEnabled"; + @SerializedName(SERIALIZED_NAME_METRICS_ENABLED) + private Boolean metricsEnabled; + + public StreamAssetPutRequest() { + } + + public StreamAssetPutRequest metricsEnabled(Boolean metricsEnabled) { + + this.metricsEnabled = metricsEnabled; + return this; + } + + /** + * enable metric + * @return metricsEnabled + **/ + @javax.annotation.Nullable + + public Boolean getMetricsEnabled() { + return metricsEnabled; + } + + + public void setMetricsEnabled(Boolean metricsEnabled) { + this.metricsEnabled = metricsEnabled; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamAssetPutRequest instance itself + */ + public StreamAssetPutRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamAssetPutRequest streamAssetPutRequest = (StreamAssetPutRequest) o; + return Objects.equals(this.metricsEnabled, streamAssetPutRequest.metricsEnabled)&& + Objects.equals(this.additionalProperties, streamAssetPutRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(metricsEnabled, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamAssetPutRequest {\n"); + sb.append(" metricsEnabled: ").append(toIndentedString(metricsEnabled)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("metricsEnabled"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamAssetPutRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamAssetPutRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamAssetPutRequest is not found in the empty JSON string", StreamAssetPutRequest.openapiRequiredFields.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamAssetPutRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamAssetPutRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamAssetPutRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamAssetPutRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamAssetPutRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamAssetPutRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamAssetPutRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamAssetPutRequest + * @throws IOException if the JSON string is invalid with respect to StreamAssetPutRequest + */ + public static StreamAssetPutRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamAssetPutRequest.class); + } + + /** + * Convert an instance of StreamAssetPutRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSearchRequest.java new file mode 100644 index 00000000..a11518d7 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSearchRequest.java @@ -0,0 +1,368 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.PaginationRequest; +import com.equinix.openapi.fabric.v4.model.StreamAssetFilters; +import com.equinix.openapi.fabric.v4.model.StreamAssetSortCriteria; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Search requests containing criteria + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamAssetSearchRequest { + public static final String SERIALIZED_NAME_FILTER = "filter"; + @SerializedName(SERIALIZED_NAME_FILTER) + private StreamAssetFilters filter; + + public static final String SERIALIZED_NAME_PAGINATION = "pagination"; + @SerializedName(SERIALIZED_NAME_PAGINATION) + private PaginationRequest pagination; + + public static final String SERIALIZED_NAME_SORT = "sort"; + @SerializedName(SERIALIZED_NAME_SORT) + private List sort = new ArrayList<>(); + + public StreamAssetSearchRequest() { + } + + public StreamAssetSearchRequest filter(StreamAssetFilters filter) { + + this.filter = filter; + return this; + } + + /** + * Get filter + * @return filter + **/ + @javax.annotation.Nullable + + public StreamAssetFilters getFilter() { + return filter; + } + + + public void setFilter(StreamAssetFilters filter) { + this.filter = filter; + } + + + public StreamAssetSearchRequest pagination(PaginationRequest pagination) { + + this.pagination = pagination; + return this; + } + + /** + * Get pagination + * @return pagination + **/ + @javax.annotation.Nullable + + public PaginationRequest getPagination() { + return pagination; + } + + + public void setPagination(PaginationRequest pagination) { + this.pagination = pagination; + } + + + public StreamAssetSearchRequest sort(List sort) { + + this.sort = sort; + return this; + } + + public StreamAssetSearchRequest addSortItem(StreamAssetSortCriteria sortItem) { + if (this.sort == null) { + this.sort = new ArrayList<>(); + } + this.sort.add(sortItem); + return this; + } + + /** + * Get sort + * @return sort + **/ + @javax.annotation.Nullable + + public List getSort() { + return sort; + } + + + public void setSort(List sort) { + this.sort = sort; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamAssetSearchRequest instance itself + */ + public StreamAssetSearchRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamAssetSearchRequest streamAssetSearchRequest = (StreamAssetSearchRequest) o; + return Objects.equals(this.filter, streamAssetSearchRequest.filter) && + Objects.equals(this.pagination, streamAssetSearchRequest.pagination) && + Objects.equals(this.sort, streamAssetSearchRequest.sort)&& + Objects.equals(this.additionalProperties, streamAssetSearchRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(filter, pagination, sort, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamAssetSearchRequest {\n"); + sb.append(" filter: ").append(toIndentedString(filter)).append("\n"); + sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); + sb.append(" sort: ").append(toIndentedString(sort)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("filter"); + openapiFields.add("pagination"); + openapiFields.add("sort"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamAssetSearchRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamAssetSearchRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamAssetSearchRequest is not found in the empty JSON string", StreamAssetSearchRequest.openapiRequiredFields.toString())); + } + } + // validate the optional field `filter` + if (jsonObj.get("filter") != null && !jsonObj.get("filter").isJsonNull()) { + StreamAssetFilters.validateJsonObject(jsonObj.getAsJsonObject("filter")); + } + // validate the optional field `pagination` + if (jsonObj.get("pagination") != null && !jsonObj.get("pagination").isJsonNull()) { + PaginationRequest.validateJsonObject(jsonObj.getAsJsonObject("pagination")); + } + if (jsonObj.get("sort") != null && !jsonObj.get("sort").isJsonNull()) { + JsonArray jsonArraysort = jsonObj.getAsJsonArray("sort"); + if (jsonArraysort != null) { + // ensure the json data is an array + if (!jsonObj.get("sort").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `sort` to be an array in the JSON string but got `%s`", jsonObj.get("sort").toString())); + } + + // validate the optional field `sort` (array) + for (int i = 0; i < jsonArraysort.size(); i++) { + StreamAssetSortCriteria.validateJsonObject(jsonArraysort.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamAssetSearchRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamAssetSearchRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamAssetSearchRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamAssetSearchRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamAssetSearchRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamAssetSearchRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamAssetSearchRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamAssetSearchRequest + * @throws IOException if the JSON string is invalid with respect to StreamAssetSearchRequest + */ + public static StreamAssetSearchRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamAssetSearchRequest.class); + } + + /** + * Convert an instance of StreamAssetSearchRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSimpleExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSimpleExpression.java new file mode 100644 index 00000000..b9d80480 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSimpleExpression.java @@ -0,0 +1,353 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * StreamAssetSimpleExpression + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamAssetSimpleExpression { + public static final String SERIALIZED_NAME_PROPERTY = "property"; + @SerializedName(SERIALIZED_NAME_PROPERTY) + private String property; + + public static final String SERIALIZED_NAME_OPERATOR = "operator"; + @SerializedName(SERIALIZED_NAME_OPERATOR) + private String operator; + + public static final String SERIALIZED_NAME_VALUES = "values"; + @SerializedName(SERIALIZED_NAME_VALUES) + private List values = new ArrayList<>(); + + public StreamAssetSimpleExpression() { + } + + public StreamAssetSimpleExpression property(String property) { + + this.property = property; + return this; + } + + /** + * Possible field names to use on filters: * `/uuid` - Asset uuid * `/streamUuid` - Stream uuid * `/projectId` - Asset projectId * `/_*` - all-category search + * @return property + **/ + @javax.annotation.Nullable + + public String getProperty() { + return property; + } + + + public void setProperty(String property) { + this.property = property; + } + + + public StreamAssetSimpleExpression operator(String operator) { + + this.operator = operator; + return this; + } + + /** + * Possible operators to use on filters: * `=` - equal * `!=` - not equal * `>` - greater than * `>=` - greater than or equal to * `<` - less than * `<=` - less than or equal to * `[NOT] BETWEEN` - (not) between * `[NOT] LIKE` - (not) like * `[NOT] IN` - (not) in * `ILIKE` - case-insensitive like + * @return operator + **/ + @javax.annotation.Nullable + + public String getOperator() { + return operator; + } + + + public void setOperator(String operator) { + this.operator = operator; + } + + + public StreamAssetSimpleExpression values(List values) { + + this.values = values; + return this; + } + + public StreamAssetSimpleExpression addValuesItem(String valuesItem) { + if (this.values == null) { + this.values = new ArrayList<>(); + } + this.values.add(valuesItem); + return this; + } + + /** + * Get values + * @return values + **/ + @javax.annotation.Nullable + + public List getValues() { + return values; + } + + + public void setValues(List values) { + this.values = values; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamAssetSimpleExpression instance itself + */ + public StreamAssetSimpleExpression putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamAssetSimpleExpression streamAssetSimpleExpression = (StreamAssetSimpleExpression) o; + return Objects.equals(this.property, streamAssetSimpleExpression.property) && + Objects.equals(this.operator, streamAssetSimpleExpression.operator) && + Objects.equals(this.values, streamAssetSimpleExpression.values)&& + Objects.equals(this.additionalProperties, streamAssetSimpleExpression.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(property, operator, values, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamAssetSimpleExpression {\n"); + sb.append(" property: ").append(toIndentedString(property)).append("\n"); + sb.append(" operator: ").append(toIndentedString(operator)).append("\n"); + sb.append(" values: ").append(toIndentedString(values)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("property"); + openapiFields.add("operator"); + openapiFields.add("values"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamAssetSimpleExpression + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamAssetSimpleExpression.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamAssetSimpleExpression is not found in the empty JSON string", StreamAssetSimpleExpression.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("property") != null && !jsonObj.get("property").isJsonNull()) && !jsonObj.get("property").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `property` to be a primitive type in the JSON string but got `%s`", jsonObj.get("property").toString())); + } + if ((jsonObj.get("operator") != null && !jsonObj.get("operator").isJsonNull()) && !jsonObj.get("operator").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `operator` to be a primitive type in the JSON string but got `%s`", jsonObj.get("operator").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamAssetSimpleExpression.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamAssetSimpleExpression' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamAssetSimpleExpression.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamAssetSimpleExpression value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamAssetSimpleExpression read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamAssetSimpleExpression instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamAssetSimpleExpression given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamAssetSimpleExpression + * @throws IOException if the JSON string is invalid with respect to StreamAssetSimpleExpression + */ + public static StreamAssetSimpleExpression fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamAssetSimpleExpression.class); + } + + /** + * Convert an instance of StreamAssetSimpleExpression to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortBy.java new file mode 100644 index 00000000..76df0d3d --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortBy.java @@ -0,0 +1,69 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Possible field names to use on sorting + */ +@JsonAdapter(StreamAssetSortBy.Adapter.class) +public enum StreamAssetSortBy { + + _UUID("/uuid"); + + private String value; + + StreamAssetSortBy(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static StreamAssetSortBy fromValue(String value) { + for (StreamAssetSortBy b : StreamAssetSortBy.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final StreamAssetSortBy enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public StreamAssetSortBy read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return StreamAssetSortBy.fromValue(value); + } + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortCriteria.java new file mode 100644 index 00000000..a4fbf282 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortCriteria.java @@ -0,0 +1,306 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.StreamAssetSortBy; +import com.equinix.openapi.fabric.v4.model.StreamAssetSortDirection; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * StreamAssetSortCriteria + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamAssetSortCriteria { + public static final String SERIALIZED_NAME_DIRECTION = "direction"; + @SerializedName(SERIALIZED_NAME_DIRECTION) + private StreamAssetSortDirection direction = StreamAssetSortDirection.DESC; + + public static final String SERIALIZED_NAME_PROPERTY = "property"; + @SerializedName(SERIALIZED_NAME_PROPERTY) + private StreamAssetSortBy property = StreamAssetSortBy._UUID; + + public StreamAssetSortCriteria() { + } + + public StreamAssetSortCriteria direction(StreamAssetSortDirection direction) { + + this.direction = direction; + return this; + } + + /** + * Get direction + * @return direction + **/ + @javax.annotation.Nullable + + public StreamAssetSortDirection getDirection() { + return direction; + } + + + public void setDirection(StreamAssetSortDirection direction) { + this.direction = direction; + } + + + public StreamAssetSortCriteria property(StreamAssetSortBy property) { + + this.property = property; + return this; + } + + /** + * Get property + * @return property + **/ + @javax.annotation.Nullable + + public StreamAssetSortBy getProperty() { + return property; + } + + + public void setProperty(StreamAssetSortBy property) { + this.property = property; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamAssetSortCriteria instance itself + */ + public StreamAssetSortCriteria putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamAssetSortCriteria streamAssetSortCriteria = (StreamAssetSortCriteria) o; + return Objects.equals(this.direction, streamAssetSortCriteria.direction) && + Objects.equals(this.property, streamAssetSortCriteria.property)&& + Objects.equals(this.additionalProperties, streamAssetSortCriteria.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(direction, property, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamAssetSortCriteria {\n"); + sb.append(" direction: ").append(toIndentedString(direction)).append("\n"); + sb.append(" property: ").append(toIndentedString(property)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("direction"); + openapiFields.add("property"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamAssetSortCriteria + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamAssetSortCriteria.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamAssetSortCriteria is not found in the empty JSON string", StreamAssetSortCriteria.openapiRequiredFields.toString())); + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamAssetSortCriteria.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamAssetSortCriteria' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamAssetSortCriteria.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamAssetSortCriteria value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamAssetSortCriteria read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamAssetSortCriteria instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamAssetSortCriteria given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamAssetSortCriteria + * @throws IOException if the JSON string is invalid with respect to StreamAssetSortCriteria + */ + public static StreamAssetSortCriteria fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamAssetSortCriteria.class); + } + + /** + * Convert an instance of StreamAssetSortCriteria to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortDirection.java new file mode 100644 index 00000000..e820ebd7 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamAssetSortDirection.java @@ -0,0 +1,71 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Sorting direction + */ +@JsonAdapter(StreamAssetSortDirection.Adapter.class) +public enum StreamAssetSortDirection { + + DESC("DESC"), + + ASC("ASC"); + + private String value; + + StreamAssetSortDirection(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static StreamAssetSortDirection fromValue(String value) { + for (StreamAssetSortDirection b : StreamAssetSortDirection.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final StreamAssetSortDirection enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public StreamAssetSortDirection read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return StreamAssetSortDirection.fromValue(value); + } + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilter.java new file mode 100644 index 00000000..6f29f46b --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilter.java @@ -0,0 +1,274 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.StreamFilterOrFilter; +import com.equinix.openapi.fabric.v4.model.StreamFilterSimpleExpression; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import javax.ws.rs.core.GenericType; + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.HashMap; +import java.util.Map; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapter; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.JsonPrimitive; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; + +import com.equinix.openapi.fabric.JSON; + +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamFilter extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(StreamFilter.class.getName()); + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamFilter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamFilter' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter adapterStreamFilterOrFilter = gson.getDelegateAdapter(this, TypeToken.get(StreamFilterOrFilter.class)); + final TypeAdapter adapterStreamFilterSimpleExpression = gson.getDelegateAdapter(this, TypeToken.get(StreamFilterSimpleExpression.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamFilter value) throws IOException { + if (value == null || value.getActualInstance() == null) { + elementAdapter.write(out, null); + return; + } + + // check if the actual instance is of the type `StreamFilterOrFilter` + if (value.getActualInstance() instanceof StreamFilterOrFilter) { + JsonObject obj = adapterStreamFilterOrFilter.toJsonTree((StreamFilterOrFilter)value.getActualInstance()).getAsJsonObject(); + elementAdapter.write(out, obj); + return; + } + + // check if the actual instance is of the type `StreamFilterSimpleExpression` + if (value.getActualInstance() instanceof StreamFilterSimpleExpression) { + JsonObject obj = adapterStreamFilterSimpleExpression.toJsonTree((StreamFilterSimpleExpression)value.getActualInstance()).getAsJsonObject(); + elementAdapter.write(out, obj); + return; + } + + throw new IOException("Failed to serialize as the type doesn't match anyOf schemas: StreamFilterOrFilter, StreamFilterSimpleExpression"); + } + + @Override + public StreamFilter read(JsonReader in) throws IOException { + Object deserialized = null; + JsonObject jsonObject = elementAdapter.read(in).getAsJsonObject(); + + // deserialize StreamFilterOrFilter + try { + // validate the JSON object to see if any exception is thrown + StreamFilterOrFilter.validateJsonObject(jsonObject); + log.log(Level.FINER, "Input data matches schema 'StreamFilterOrFilter'"); + StreamFilter ret = new StreamFilter(); + ret.setActualInstance(adapterStreamFilterOrFilter.fromJsonTree(jsonObject)); + return ret; + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'StreamFilterOrFilter'", e); + } + + // deserialize StreamFilterSimpleExpression + try { + // validate the JSON object to see if any exception is thrown + StreamFilterSimpleExpression.validateJsonObject(jsonObject); + log.log(Level.FINER, "Input data matches schema 'StreamFilterSimpleExpression'"); + StreamFilter ret = new StreamFilter(); + ret.setActualInstance(adapterStreamFilterSimpleExpression.fromJsonTree(jsonObject)); + return ret; + } catch (Exception e) { + // deserialization failed, continue + log.log(Level.FINER, "Input data does not match schema 'StreamFilterSimpleExpression'", e); + } + + + throw new IOException(String.format("Failed deserialization for StreamFilter: no class matched. JSON: %s", jsonObject.toString())); + } + }.nullSafe(); + } + } + + // store a list of schema names defined in anyOf + public static final Map schemas = new HashMap(); + + public StreamFilter() { + super("anyOf", Boolean.FALSE); + } + + public StreamFilter(StreamFilterOrFilter o) { + super("anyOf", Boolean.FALSE); + setActualInstance(o); + } + + public StreamFilter(StreamFilterSimpleExpression o) { + super("anyOf", Boolean.FALSE); + setActualInstance(o); + } + + static { + schemas.put("StreamFilterOrFilter", new GenericType() { + }); + schemas.put("StreamFilterSimpleExpression", new GenericType() { + }); + } + + @Override + public Map getSchemas() { + return StreamFilter.schemas; + } + + /** + * Set the instance that matches the anyOf child schema, check + * the instance parameter is valid against the anyOf child schemas: + * StreamFilterOrFilter, StreamFilterSimpleExpression + * + * It could be an instance of the 'anyOf' schemas. + * The anyOf child schemas may themselves be a composed schema (allOf, anyOf, anyOf). + */ + @Override + public void setActualInstance(Object instance) { + if (instance instanceof StreamFilterOrFilter) { + super.setActualInstance(instance); + return; + } + + if (instance instanceof StreamFilterSimpleExpression) { + super.setActualInstance(instance); + return; + } + + throw new RuntimeException("Invalid instance type. Must be StreamFilterOrFilter, StreamFilterSimpleExpression"); + } + + /** + * Get the actual instance, which can be the following: + * StreamFilterOrFilter, StreamFilterSimpleExpression + * + * @return The actual instance (StreamFilterOrFilter, StreamFilterSimpleExpression) + */ + @Override + public Object getActualInstance() { + return super.getActualInstance(); + } + + /** + * Get the actual instance of `StreamFilterOrFilter`. If the actual instance is not `StreamFilterOrFilter`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `StreamFilterOrFilter` + * @throws ClassCastException if the instance is not `StreamFilterOrFilter` + */ + public StreamFilterOrFilter getStreamFilterOrFilter() throws ClassCastException { + return (StreamFilterOrFilter)super.getActualInstance(); + } + + /** + * Get the actual instance of `StreamFilterSimpleExpression`. If the actual instance is not `StreamFilterSimpleExpression`, + * the ClassCastException will be thrown. + * + * @return The actual instance of `StreamFilterSimpleExpression` + * @throws ClassCastException if the instance is not `StreamFilterSimpleExpression` + */ + public StreamFilterSimpleExpression getStreamFilterSimpleExpression() throws ClassCastException { + return (StreamFilterSimpleExpression)super.getActualInstance(); + } + + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamFilter + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + // validate anyOf schemas one by one + int validCount = 0; + // validate the json string with StreamFilterOrFilter + try { + StreamFilterOrFilter.validateJsonObject(jsonObj); + return; // return earlier as at least one schema is valid with respect to the Json object + //validCount++; + } catch (Exception e) { + // continue to the next one + } + // validate the json string with StreamFilterSimpleExpression + try { + StreamFilterSimpleExpression.validateJsonObject(jsonObj); + return; // return earlier as at least one schema is valid with respect to the Json object + //validCount++; + } catch (Exception e) { + // continue to the next one + } + if (validCount == 0) { + throw new IOException(String.format("The JSON string is invalid for StreamFilter with anyOf schemas: StreamFilterOrFilter, StreamFilterSimpleExpression. JSON: %s", jsonObj.toString())); + } + } + + /** + * Create an instance of StreamFilter given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamFilter + * @throws IOException if the JSON string is invalid with respect to StreamFilter + */ + public static StreamFilter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamFilter.class); + } + + /** + * Convert an instance of StreamFilter to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AdvanceConfiguration.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilterOrFilter.java similarity index 67% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AdvanceConfiguration.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilterOrFilter.java index 05042109..9bb1f9b8 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/AdvanceConfiguration.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilterOrFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,8 +13,7 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.Md5; -import com.equinix.openapi.fabric.v4.model.PtpAdvanceConfiguration; +import com.equinix.openapi.fabric.v4.model.StreamFilterSimpleExpression; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -46,70 +45,44 @@ import com.equinix.openapi.fabric.JSON; /** - * Advance Configuration for NTP/PTP + * StreamFilterOrFilter */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AdvanceConfiguration { - public static final String SERIALIZED_NAME_NTP = "ntp"; - @SerializedName(SERIALIZED_NAME_NTP) - private List ntp = new ArrayList<>(); +public class StreamFilterOrFilter { + public static final String SERIALIZED_NAME_OR = "or"; + @SerializedName(SERIALIZED_NAME_OR) + private List or = new ArrayList<>(); - public static final String SERIALIZED_NAME_PTP = "ptp"; - @SerializedName(SERIALIZED_NAME_PTP) - private PtpAdvanceConfiguration ptp; - - public AdvanceConfiguration() { + public StreamFilterOrFilter() { } - public AdvanceConfiguration ntp(List ntp) { + public StreamFilterOrFilter or(List or) { - this.ntp = ntp; + this.or = or; return this; } - public AdvanceConfiguration addNtpItem(Md5 ntpItem) { - if (this.ntp == null) { - this.ntp = new ArrayList<>(); + public StreamFilterOrFilter addOrItem(StreamFilterSimpleExpression orItem) { + if (this.or == null) { + this.or = new ArrayList<>(); } - this.ntp.add(ntpItem); - return this; - } - - /** - * Get ntp - * @return ntp - **/ - @javax.annotation.Nullable - - public List getNtp() { - return ntp; - } - - - public void setNtp(List ntp) { - this.ntp = ntp; - } - - - public AdvanceConfiguration ptp(PtpAdvanceConfiguration ptp) { - - this.ptp = ptp; + this.or.add(orItem); return this; } /** - * Get ptp - * @return ptp + * Get or + * @return or **/ @javax.annotation.Nullable - public PtpAdvanceConfiguration getPtp() { - return ptp; + public List getOr() { + return or; } - public void setPtp(PtpAdvanceConfiguration ptp) { - this.ptp = ptp; + public void setOr(List or) { + this.or = or; } /** @@ -125,9 +98,9 @@ public void setPtp(PtpAdvanceConfiguration ptp) { * * @param key name of the property * @param value value of the property - * @return the AdvanceConfiguration instance itself + * @return the StreamFilterOrFilter instance itself */ - public AdvanceConfiguration putAdditionalProperty(String key, Object value) { + public StreamFilterOrFilter putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -166,23 +139,21 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - AdvanceConfiguration advanceConfiguration = (AdvanceConfiguration) o; - return Objects.equals(this.ntp, advanceConfiguration.ntp) && - Objects.equals(this.ptp, advanceConfiguration.ptp)&& - Objects.equals(this.additionalProperties, advanceConfiguration.additionalProperties); + StreamFilterOrFilter streamFilterOrFilter = (StreamFilterOrFilter) o; + return Objects.equals(this.or, streamFilterOrFilter.or)&& + Objects.equals(this.additionalProperties, streamFilterOrFilter.additionalProperties); } @Override public int hashCode() { - return Objects.hash(ntp, ptp, additionalProperties); + return Objects.hash(or, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class AdvanceConfiguration {\n"); - sb.append(" ntp: ").append(toIndentedString(ntp)).append("\n"); - sb.append(" ptp: ").append(toIndentedString(ptp)).append("\n"); + sb.append("class StreamFilterOrFilter {\n"); + sb.append(" or: ").append(toIndentedString(or)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -206,8 +177,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("ntp"); - openapiFields.add("ptp"); + openapiFields.add("or"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -217,48 +187,44 @@ private String toIndentedString(Object o) { * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to AdvanceConfiguration + * @throws IOException if the JSON Object is invalid with respect to StreamFilterOrFilter */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!AdvanceConfiguration.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in AdvanceConfiguration is not found in the empty JSON string", AdvanceConfiguration.openapiRequiredFields.toString())); + if (!StreamFilterOrFilter.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamFilterOrFilter is not found in the empty JSON string", StreamFilterOrFilter.openapiRequiredFields.toString())); } } - if (jsonObj.get("ntp") != null && !jsonObj.get("ntp").isJsonNull()) { - JsonArray jsonArrayntp = jsonObj.getAsJsonArray("ntp"); - if (jsonArrayntp != null) { + if (jsonObj.get("or") != null && !jsonObj.get("or").isJsonNull()) { + JsonArray jsonArrayor = jsonObj.getAsJsonArray("or"); + if (jsonArrayor != null) { // ensure the json data is an array - if (!jsonObj.get("ntp").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `ntp` to be an array in the JSON string but got `%s`", jsonObj.get("ntp").toString())); + if (!jsonObj.get("or").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `or` to be an array in the JSON string but got `%s`", jsonObj.get("or").toString())); } - // validate the optional field `ntp` (array) - for (int i = 0; i < jsonArrayntp.size(); i++) { - Md5.validateJsonObject(jsonArrayntp.get(i).getAsJsonObject()); + // validate the optional field `or` (array) + for (int i = 0; i < jsonArrayor.size(); i++) { + StreamFilterSimpleExpression.validateJsonObject(jsonArrayor.get(i).getAsJsonObject()); }; } } - // validate the optional field `ptp` - if (jsonObj.get("ptp") != null && !jsonObj.get("ptp").isJsonNull()) { - PtpAdvanceConfiguration.validateJsonObject(jsonObj.getAsJsonObject("ptp")); - } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!AdvanceConfiguration.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AdvanceConfiguration' and its subtypes + if (!StreamFilterOrFilter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamFilterOrFilter' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(AdvanceConfiguration.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamFilterOrFilter.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, AdvanceConfiguration value) throws IOException { + public void write(JsonWriter out, StreamFilterOrFilter value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -281,11 +247,11 @@ else if (entry.getValue() instanceof Character) } @Override - public AdvanceConfiguration read(JsonReader in) throws IOException { + public StreamFilterOrFilter read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - AdvanceConfiguration instance = thisAdapter.fromJsonTree(jsonObj); + StreamFilterOrFilter instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -312,18 +278,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of AdvanceConfiguration given an JSON string + * Create an instance of StreamFilterOrFilter given an JSON string * * @param jsonString JSON string - * @return An instance of AdvanceConfiguration - * @throws IOException if the JSON string is invalid with respect to AdvanceConfiguration + * @return An instance of StreamFilterOrFilter + * @throws IOException if the JSON string is invalid with respect to StreamFilterOrFilter */ - public static AdvanceConfiguration fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AdvanceConfiguration.class); + public static StreamFilterOrFilter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamFilterOrFilter.class); } /** - * Convert an instance of AdvanceConfiguration to an JSON string + * Convert an instance of StreamFilterOrFilter to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Account.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilterSimpleExpression.java similarity index 60% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Account.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilterSimpleExpression.java index bcbfb29d..a9101ffc 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/Account.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamFilterSimpleExpression.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -19,6 +19,8 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -42,114 +44,96 @@ import com.equinix.openapi.fabric.JSON; /** - * Account model, includes account number and flag to indicate if this account is reseller + * StreamFilterSimpleExpression */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Account { - public static final String SERIALIZED_NAME_ACCOUNT_NUMBER = "accountNumber"; - @SerializedName(SERIALIZED_NAME_ACCOUNT_NUMBER) - private Integer accountNumber; - - public static final String SERIALIZED_NAME_IS_RESELLER_ACCOUNT = "isResellerAccount"; - @SerializedName(SERIALIZED_NAME_IS_RESELLER_ACCOUNT) - private Boolean isResellerAccount; +public class StreamFilterSimpleExpression { + public static final String SERIALIZED_NAME_PROPERTY = "property"; + @SerializedName(SERIALIZED_NAME_PROPERTY) + private String property; - public static final String SERIALIZED_NAME_ORG_ID = "orgId"; - @SerializedName(SERIALIZED_NAME_ORG_ID) - private String orgId; + public static final String SERIALIZED_NAME_OPERATOR = "operator"; + @SerializedName(SERIALIZED_NAME_OPERATOR) + private String operator; - public static final String SERIALIZED_NAME_GLOBAL_ORG_ID = "globalOrgId"; - @SerializedName(SERIALIZED_NAME_GLOBAL_ORG_ID) - private String globalOrgId; + public static final String SERIALIZED_NAME_VALUES = "values"; + @SerializedName(SERIALIZED_NAME_VALUES) + private List values = new ArrayList<>(); - public Account() { + public StreamFilterSimpleExpression() { } - public Account accountNumber(Integer accountNumber) { + public StreamFilterSimpleExpression property(String property) { - this.accountNumber = accountNumber; + this.property = property; return this; } /** - * Get accountNumber - * @return accountNumber + * Possible field names to use on filters: * `/subject` - subject * `/type` - type + * @return property **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public Integer getAccountNumber() { - return accountNumber; + public String getProperty() { + return property; } - public void setAccountNumber(Integer accountNumber) { - this.accountNumber = accountNumber; + public void setProperty(String property) { + this.property = property; } - public Account isResellerAccount(Boolean isResellerAccount) { + public StreamFilterSimpleExpression operator(String operator) { - this.isResellerAccount = isResellerAccount; + this.operator = operator; return this; } /** - * Get isResellerAccount - * @return isResellerAccount + * Possible operators to use on filters: * `=` - equal * `in` - in * `LIKE` - case-sensitive like * `ILIKE` - case-insensitive like + * @return operator **/ @javax.annotation.Nullable - public Boolean getIsResellerAccount() { - return isResellerAccount; + public String getOperator() { + return operator; } - public void setIsResellerAccount(Boolean isResellerAccount) { - this.isResellerAccount = isResellerAccount; + public void setOperator(String operator) { + this.operator = operator; } - public Account orgId(String orgId) { + public StreamFilterSimpleExpression values(List values) { - this.orgId = orgId; + this.values = values; return this; } - /** - * Get orgId - * @return orgId - **/ - @javax.annotation.Nullable - - public String getOrgId() { - return orgId; - } - - - public void setOrgId(String orgId) { - this.orgId = orgId; - } - - - public Account globalOrgId(String globalOrgId) { - - this.globalOrgId = globalOrgId; + public StreamFilterSimpleExpression addValuesItem(String valuesItem) { + if (this.values == null) { + this.values = new ArrayList<>(); + } + this.values.add(valuesItem); return this; } /** - * Get globalOrgId - * @return globalOrgId + * Get values + * @return values **/ @javax.annotation.Nullable - public String getGlobalOrgId() { - return globalOrgId; + public List getValues() { + return values; } - public void setGlobalOrgId(String globalOrgId) { - this.globalOrgId = globalOrgId; + public void setValues(List values) { + this.values = values; } /** @@ -165,9 +149,9 @@ public void setGlobalOrgId(String globalOrgId) { * * @param key name of the property * @param value value of the property - * @return the Account instance itself + * @return the StreamFilterSimpleExpression instance itself */ - public Account putAdditionalProperty(String key, Object value) { + public StreamFilterSimpleExpression putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -206,27 +190,25 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Account account = (Account) o; - return Objects.equals(this.accountNumber, account.accountNumber) && - Objects.equals(this.isResellerAccount, account.isResellerAccount) && - Objects.equals(this.orgId, account.orgId) && - Objects.equals(this.globalOrgId, account.globalOrgId)&& - Objects.equals(this.additionalProperties, account.additionalProperties); + StreamFilterSimpleExpression streamFilterSimpleExpression = (StreamFilterSimpleExpression) o; + return Objects.equals(this.property, streamFilterSimpleExpression.property) && + Objects.equals(this.operator, streamFilterSimpleExpression.operator) && + Objects.equals(this.values, streamFilterSimpleExpression.values)&& + Objects.equals(this.additionalProperties, streamFilterSimpleExpression.additionalProperties); } @Override public int hashCode() { - return Objects.hash(accountNumber, isResellerAccount, orgId, globalOrgId, additionalProperties); + return Objects.hash(property, operator, values, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Account {\n"); - sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n"); - sb.append(" isResellerAccount: ").append(toIndentedString(isResellerAccount)).append("\n"); - sb.append(" orgId: ").append(toIndentedString(orgId)).append("\n"); - sb.append(" globalOrgId: ").append(toIndentedString(globalOrgId)).append("\n"); + sb.append("class StreamFilterSimpleExpression {\n"); + sb.append(" property: ").append(toIndentedString(property)).append("\n"); + sb.append(" operator: ").append(toIndentedString(operator)).append("\n"); + sb.append(" values: ").append(toIndentedString(values)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -250,40 +232,35 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("accountNumber"); - openapiFields.add("isResellerAccount"); - openapiFields.add("orgId"); - openapiFields.add("globalOrgId"); + openapiFields.add("property"); + openapiFields.add("operator"); + openapiFields.add("values"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("accountNumber"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to Account + * @throws IOException if the JSON Object is invalid with respect to StreamFilterSimpleExpression */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!Account.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in Account is not found in the empty JSON string", Account.openapiRequiredFields.toString())); + if (!StreamFilterSimpleExpression.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamFilterSimpleExpression is not found in the empty JSON string", StreamFilterSimpleExpression.openapiRequiredFields.toString())); } } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : Account.openapiRequiredFields) { - if (jsonObj.get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); - } + if ((jsonObj.get("property") != null && !jsonObj.get("property").isJsonNull()) && !jsonObj.get("property").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `property` to be a primitive type in the JSON string but got `%s`", jsonObj.get("property").toString())); } - if ((jsonObj.get("orgId") != null && !jsonObj.get("orgId").isJsonNull()) && !jsonObj.get("orgId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `orgId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("orgId").toString())); + if ((jsonObj.get("operator") != null && !jsonObj.get("operator").isJsonNull()) && !jsonObj.get("operator").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `operator` to be a primitive type in the JSON string but got `%s`", jsonObj.get("operator").toString())); } - if ((jsonObj.get("globalOrgId") != null && !jsonObj.get("globalOrgId").isJsonNull()) && !jsonObj.get("globalOrgId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `globalOrgId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("globalOrgId").toString())); + // ensure the optional json data is an array if present + if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } } @@ -291,16 +268,16 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!Account.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'Account' and its subtypes + if (!StreamFilterSimpleExpression.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamFilterSimpleExpression' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(Account.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamFilterSimpleExpression.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, Account value) throws IOException { + public void write(JsonWriter out, StreamFilterSimpleExpression value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -323,11 +300,11 @@ else if (entry.getValue() instanceof Character) } @Override - public Account read(JsonReader in) throws IOException { + public StreamFilterSimpleExpression read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - Account instance = thisAdapter.fromJsonTree(jsonObj); + StreamFilterSimpleExpression instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -354,18 +331,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of Account given an JSON string + * Create an instance of StreamFilterSimpleExpression given an JSON string * * @param jsonString JSON string - * @return An instance of Account - * @throws IOException if the JSON string is invalid with respect to Account + * @return An instance of StreamFilterSimpleExpression + * @throws IOException if the JSON string is invalid with respect to StreamFilterSimpleExpression */ - public static Account fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, Account.class); + public static StreamFilterSimpleExpression fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamFilterSimpleExpression.class); } /** - * Convert an instance of Account to an JSON string + * Convert an instance of StreamFilterSimpleExpression to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamGetSubscriptions.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamGetSubscriptions.java new file mode 100644 index 00000000..6c68da6d --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamGetSubscriptions.java @@ -0,0 +1,388 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.net.URI; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Stream object + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamGetSubscriptions { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + + /** + * Stream subscription type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + STREAM_SUBSCRIPTION("STREAM_SUBSCRIPTION"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public StreamGetSubscriptions() { + } + + + public StreamGetSubscriptions( + URI href + ) { + this(); + this.href = href; + } + + /** + * Stream Get Stream Subscriptions URI + * @return href + **/ + @javax.annotation.Nullable + + public URI getHref() { + return href; + } + + + + + public StreamGetSubscriptions uuid(UUID uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Equinix-assigned access point identifier + * @return uuid + **/ + @javax.annotation.Nullable + + public UUID getUuid() { + return uuid; + } + + + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + + public StreamGetSubscriptions type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Stream subscription type + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamGetSubscriptions instance itself + */ + public StreamGetSubscriptions putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamGetSubscriptions streamGetSubscriptions = (StreamGetSubscriptions) o; + return Objects.equals(this.href, streamGetSubscriptions.href) && + Objects.equals(this.uuid, streamGetSubscriptions.uuid) && + Objects.equals(this.type, streamGetSubscriptions.type)&& + Objects.equals(this.additionalProperties, streamGetSubscriptions.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(href, uuid, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamGetSubscriptions {\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("href"); + openapiFields.add("uuid"); + openapiFields.add("type"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamGetSubscriptions + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamGetSubscriptions.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamGetSubscriptions is not found in the empty JSON string", StreamGetSubscriptions.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamGetSubscriptions.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamGetSubscriptions' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamGetSubscriptions.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamGetSubscriptions value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamGetSubscriptions read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamGetSubscriptions instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamGetSubscriptions given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamGetSubscriptions + * @throws IOException if the JSON string is invalid with respect to StreamGetSubscriptions + */ + public static StreamGetSubscriptions fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamGetSubscriptions.class); + } + + /** + * Convert an instance of StreamGetSubscriptions to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamPostRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamPostRequest.java new file mode 100644 index 00000000..41a61c85 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamPostRequest.java @@ -0,0 +1,450 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.Project; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Create Stream + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamPostRequest { + /** + * Gets or Sets type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + TELEMETRY_STREAM("TELEMETRY_STREAM"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_PROJECT = "project"; + @SerializedName(SERIALIZED_NAME_PROJECT) + private Project project; + + public static final String SERIALIZED_NAME_ENABLED = "enabled"; + @SerializedName(SERIALIZED_NAME_ENABLED) + private Boolean enabled; + + public StreamPostRequest() { + } + + public StreamPostRequest type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + public StreamPostRequest name(String name) { + + this.name = name; + return this; + } + + /** + * Customer-provided stream name + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public StreamPostRequest description(String description) { + + this.description = description; + return this; + } + + /** + * Customer-provided stream description + * @return description + **/ + @javax.annotation.Nullable + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public StreamPostRequest project(Project project) { + + this.project = project; + return this; + } + + /** + * Get project + * @return project + **/ + @javax.annotation.Nullable + + public Project getProject() { + return project; + } + + + public void setProject(Project project) { + this.project = project; + } + + + public StreamPostRequest enabled(Boolean enabled) { + + this.enabled = enabled; + return this; + } + + /** + * Stream enabled status + * @return enabled + **/ + @javax.annotation.Nullable + + public Boolean getEnabled() { + return enabled; + } + + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamPostRequest instance itself + */ + public StreamPostRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamPostRequest streamPostRequest = (StreamPostRequest) o; + return Objects.equals(this.type, streamPostRequest.type) && + Objects.equals(this.name, streamPostRequest.name) && + Objects.equals(this.description, streamPostRequest.description) && + Objects.equals(this.project, streamPostRequest.project) && + Objects.equals(this.enabled, streamPostRequest.enabled)&& + Objects.equals(this.additionalProperties, streamPostRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(type, name, description, project, enabled, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamPostRequest {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" project: ").append(toIndentedString(project)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("type"); + openapiFields.add("name"); + openapiFields.add("description"); + openapiFields.add("project"); + openapiFields.add("enabled"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamPostRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamPostRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamPostRequest is not found in the empty JSON string", StreamPostRequest.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + // validate the optional field `project` + if (jsonObj.get("project") != null && !jsonObj.get("project").isJsonNull()) { + Project.validateJsonObject(jsonObj.getAsJsonObject("project")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamPostRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamPostRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamPostRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamPostRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamPostRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamPostRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamPostRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamPostRequest + * @throws IOException if the JSON string is invalid with respect to StreamPostRequest + */ + public static StreamPostRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamPostRequest.class); + } + + /** + * Convert an instance of StreamPostRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamPutRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamPutRequest.java new file mode 100644 index 00000000..0ac7bc88 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamPutRequest.java @@ -0,0 +1,339 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Update Stream + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamPutRequest { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_ENABLED = "enabled"; + @SerializedName(SERIALIZED_NAME_ENABLED) + private Boolean enabled; + + public StreamPutRequest() { + } + + public StreamPutRequest name(String name) { + + this.name = name; + return this; + } + + /** + * Customer-provided stream name + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public StreamPutRequest description(String description) { + + this.description = description; + return this; + } + + /** + * Customer-provided stream description + * @return description + **/ + @javax.annotation.Nullable + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public StreamPutRequest enabled(Boolean enabled) { + + this.enabled = enabled; + return this; + } + + /** + * stream state + * @return enabled + **/ + @javax.annotation.Nullable + + public Boolean getEnabled() { + return enabled; + } + + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamPutRequest instance itself + */ + public StreamPutRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamPutRequest streamPutRequest = (StreamPutRequest) o; + return Objects.equals(this.name, streamPutRequest.name) && + Objects.equals(this.description, streamPutRequest.description) && + Objects.equals(this.enabled, streamPutRequest.enabled)&& + Objects.equals(this.additionalProperties, streamPutRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(name, description, enabled, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamPutRequest {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("description"); + openapiFields.add("enabled"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamPutRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamPutRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamPutRequest is not found in the empty JSON string", StreamPutRequest.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamPutRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamPutRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamPutRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamPutRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamPutRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamPutRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamPutRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamPutRequest + * @throws IOException if the JSON string is invalid with respect to StreamPutRequest + */ + public static StreamPutRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamPutRequest.class); + } + + /** + * Convert an instance of StreamPutRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceCreateResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscription.java similarity index 58% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceCreateResponse.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscription.java index f0984f33..69487f34 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/PrecisionTimeServiceCreateResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscription.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,12 +13,11 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.Account; -import com.equinix.openapi.fabric.v4.model.AdvanceConfiguration; -import com.equinix.openapi.fabric.v4.model.FabricConnectionUuid; -import com.equinix.openapi.fabric.v4.model.Ipv4; -import com.equinix.openapi.fabric.v4.model.PrecisionTimePackageResponse; +import com.equinix.openapi.fabric.v4.model.Changelog; import com.equinix.openapi.fabric.v4.model.Project; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionFilter; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionSink; +import com.equinix.openapi.fabric.v4.model.StreamTarget; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -26,8 +25,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.net.URI; -import java.util.LinkedHashSet; -import java.util.Set; import java.util.UUID; import com.google.gson.Gson; @@ -52,18 +49,24 @@ import com.equinix.openapi.fabric.JSON; /** - * EPT service instance + * Stream Subscription object */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PrecisionTimeServiceCreateResponse { +public class StreamSubscription { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + /** - * Gets or Sets type + * type */ @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { - NTP("NTP"), - - PTP("PTP"); + STREAM_SUBSCRIPTION("STREAM_SUBSCRIPTION"); private String value; @@ -107,14 +110,6 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_TYPE) private TypeEnum type; - public static final String SERIALIZED_NAME_HREF = "href"; - @SerializedName(SERIALIZED_NAME_HREF) - private URI href; - - public static final String SERIALIZED_NAME_UUID = "uuid"; - @SerializedName(SERIALIZED_NAME_UUID) - private UUID uuid; - public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) private String name; @@ -123,30 +118,24 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_DESCRIPTION) private String description; + public static final String SERIALIZED_NAME_PROJECT = "project"; + @SerializedName(SERIALIZED_NAME_PROJECT) + private Project project; + /** - * indicate service state + * Steam subscription provision state */ @JsonAdapter(StateEnum.Adapter.class) public enum StateEnum { - PROVISIONED("PROVISIONED"), - PROVISIONING("PROVISIONING"), - PROVISIONING_FAILED("PROVISIONING_FAILED"), - - CONFIGURING("CONFIGURING"), - - CANCELLED("CANCELLED"), - - DEPROVISIONING_FAILED("DEPROVISIONING_FAILED"), + PROVISIONED("PROVISIONED"), - PENDING_CONFIGURATION("PENDING_CONFIGURATION"), + DEPROVISIONING("DEPROVISIONING"), DEPROVISIONED("DEPROVISIONED"), - CONFIGURING_FAILED("CONFIGURING_FAILED"), - - DEPROVISIONING("DEPROVISIONING"); + FAILED("FAILED"); private String value; @@ -190,107 +179,102 @@ public StateEnum read(final JsonReader jsonReader) throws IOException { @SerializedName(SERIALIZED_NAME_STATE) private StateEnum state; - public static final String SERIALIZED_NAME_PACKAGE = "package"; - @SerializedName(SERIALIZED_NAME_PACKAGE) - private PrecisionTimePackageResponse _package; - - public static final String SERIALIZED_NAME_CONNECTIONS = "connections"; - @SerializedName(SERIALIZED_NAME_CONNECTIONS) - private Set connections = new LinkedHashSet<>(); + public static final String SERIALIZED_NAME_ENABLED = "enabled"; + @SerializedName(SERIALIZED_NAME_ENABLED) + private Boolean enabled; - public static final String SERIALIZED_NAME_IPV4 = "ipv4"; - @SerializedName(SERIALIZED_NAME_IPV4) - private Ipv4 ipv4; + public static final String SERIALIZED_NAME_STREAM = "stream"; + @SerializedName(SERIALIZED_NAME_STREAM) + private StreamTarget stream; - public static final String SERIALIZED_NAME_ACCOUNT = "account"; - @SerializedName(SERIALIZED_NAME_ACCOUNT) - private Account account; + public static final String SERIALIZED_NAME_FILTERS = "filters"; + @SerializedName(SERIALIZED_NAME_FILTERS) + private StreamSubscriptionFilter filters; - public static final String SERIALIZED_NAME_ADVANCE_CONFIGURATION = "advanceConfiguration"; - @SerializedName(SERIALIZED_NAME_ADVANCE_CONFIGURATION) - private AdvanceConfiguration advanceConfiguration; + public static final String SERIALIZED_NAME_SINK = "sink"; + @SerializedName(SERIALIZED_NAME_SINK) + private StreamSubscriptionSink sink; - public static final String SERIALIZED_NAME_PROJECT = "project"; - @SerializedName(SERIALIZED_NAME_PROJECT) - private Project project; + public static final String SERIALIZED_NAME_CHANGELOG = "changelog"; + @SerializedName(SERIALIZED_NAME_CHANGELOG) + private Changelog changelog; - public PrecisionTimeServiceCreateResponse() { + public StreamSubscription() { } - public PrecisionTimeServiceCreateResponse type(TypeEnum type) { - - this.type = type; - return this; + + public StreamSubscription( + URI href + ) { + this(); + this.href = href; } /** - * Get type - * @return type + * Stream Subscription URI + * @return href **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public TypeEnum getType() { - return type; + public URI getHref() { + return href; } - public void setType(TypeEnum type) { - this.type = type; - } - public PrecisionTimeServiceCreateResponse href(URI href) { + public StreamSubscription uuid(UUID uuid) { - this.href = href; + this.uuid = uuid; return this; } /** - * Get href - * @return href + * Equinix-assigned access point identifier + * @return uuid **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public URI getHref() { - return href; + public UUID getUuid() { + return uuid; } - public void setHref(URI href) { - this.href = href; + public void setUuid(UUID uuid) { + this.uuid = uuid; } - public PrecisionTimeServiceCreateResponse uuid(UUID uuid) { + public StreamSubscription type(TypeEnum type) { - this.uuid = uuid; + this.type = type; return this; } /** - * uuid of the ept service - * @return uuid + * type + * @return type **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public UUID getUuid() { - return uuid; + public TypeEnum getType() { + return type; } - public void setUuid(UUID uuid) { - this.uuid = uuid; + public void setType(TypeEnum type) { + this.type = type; } - public PrecisionTimeServiceCreateResponse name(String name) { + public StreamSubscription name(String name) { this.name = name; return this; } /** - * name of the ept service + * Customer-provided subscription name * @return name **/ @javax.annotation.Nullable @@ -305,14 +289,14 @@ public void setName(String name) { } - public PrecisionTimeServiceCreateResponse description(String description) { + public StreamSubscription description(String description) { this.description = description; return this; } /** - * Get description + * Customer-provided subscription description * @return description **/ @javax.annotation.Nullable @@ -327,165 +311,157 @@ public void setDescription(String description) { } - public PrecisionTimeServiceCreateResponse state(StateEnum state) { + public StreamSubscription project(Project project) { - this.state = state; + this.project = project; return this; } /** - * indicate service state - * @return state + * Get project + * @return project **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public StateEnum getState() { - return state; + public Project getProject() { + return project; } - public void setState(StateEnum state) { - this.state = state; + public void setProject(Project project) { + this.project = project; } - public PrecisionTimeServiceCreateResponse _package(PrecisionTimePackageResponse _package) { + public StreamSubscription state(StateEnum state) { - this._package = _package; + this.state = state; return this; } /** - * Get _package - * @return _package + * Steam subscription provision state + * @return state **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public PrecisionTimePackageResponse getPackage() { - return _package; + public StateEnum getState() { + return state; } - public void setPackage(PrecisionTimePackageResponse _package) { - this._package = _package; + public void setState(StateEnum state) { + this.state = state; } - public PrecisionTimeServiceCreateResponse connections(Set connections) { + public StreamSubscription enabled(Boolean enabled) { - this.connections = connections; - return this; - } - - public PrecisionTimeServiceCreateResponse addConnectionsItem(FabricConnectionUuid connectionsItem) { - if (this.connections == null) { - this.connections = new LinkedHashSet<>(); - } - this.connections.add(connectionsItem); + this.enabled = enabled; return this; } /** - * fabric l2 connections used for the ept service - * @return connections + * Stream subscription enabled status + * @return enabled **/ @javax.annotation.Nullable - public Set getConnections() { - return connections; + public Boolean getEnabled() { + return enabled; } - public void setConnections(Set connections) { - this.connections = connections; + public void setEnabled(Boolean enabled) { + this.enabled = enabled; } - public PrecisionTimeServiceCreateResponse ipv4(Ipv4 ipv4) { + public StreamSubscription stream(StreamTarget stream) { - this.ipv4 = ipv4; + this.stream = stream; return this; } /** - * Get ipv4 - * @return ipv4 + * Get stream + * @return stream **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public Ipv4 getIpv4() { - return ipv4; + public StreamTarget getStream() { + return stream; } - public void setIpv4(Ipv4 ipv4) { - this.ipv4 = ipv4; + public void setStream(StreamTarget stream) { + this.stream = stream; } - public PrecisionTimeServiceCreateResponse account(Account account) { + public StreamSubscription filters(StreamSubscriptionFilter filters) { - this.account = account; + this.filters = filters; return this; } /** - * Get account - * @return account + * Get filters + * @return filters **/ @javax.annotation.Nullable - public Account getAccount() { - return account; + public StreamSubscriptionFilter getFilters() { + return filters; } - public void setAccount(Account account) { - this.account = account; + public void setFilters(StreamSubscriptionFilter filters) { + this.filters = filters; } - public PrecisionTimeServiceCreateResponse advanceConfiguration(AdvanceConfiguration advanceConfiguration) { + public StreamSubscription sink(StreamSubscriptionSink sink) { - this.advanceConfiguration = advanceConfiguration; + this.sink = sink; return this; } /** - * Get advanceConfiguration - * @return advanceConfiguration + * Get sink + * @return sink **/ @javax.annotation.Nullable - public AdvanceConfiguration getAdvanceConfiguration() { - return advanceConfiguration; + public StreamSubscriptionSink getSink() { + return sink; } - public void setAdvanceConfiguration(AdvanceConfiguration advanceConfiguration) { - this.advanceConfiguration = advanceConfiguration; + public void setSink(StreamSubscriptionSink sink) { + this.sink = sink; } - public PrecisionTimeServiceCreateResponse project(Project project) { + public StreamSubscription changelog(Changelog changelog) { - this.project = project; + this.changelog = changelog; return this; } /** - * Get project - * @return project + * Get changelog + * @return changelog **/ @javax.annotation.Nullable - public Project getProject() { - return project; + public Changelog getChangelog() { + return changelog; } - public void setProject(Project project) { - this.project = project; + public void setChangelog(Changelog changelog) { + this.changelog = changelog; } /** @@ -501,9 +477,9 @@ public void setProject(Project project) { * * @param key name of the property * @param value value of the property - * @return the PrecisionTimeServiceCreateResponse instance itself + * @return the StreamSubscription instance itself */ - public PrecisionTimeServiceCreateResponse putAdditionalProperty(String key, Object value) { + public StreamSubscription putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -542,43 +518,43 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - PrecisionTimeServiceCreateResponse precisionTimeServiceCreateResponse = (PrecisionTimeServiceCreateResponse) o; - return Objects.equals(this.type, precisionTimeServiceCreateResponse.type) && - Objects.equals(this.href, precisionTimeServiceCreateResponse.href) && - Objects.equals(this.uuid, precisionTimeServiceCreateResponse.uuid) && - Objects.equals(this.name, precisionTimeServiceCreateResponse.name) && - Objects.equals(this.description, precisionTimeServiceCreateResponse.description) && - Objects.equals(this.state, precisionTimeServiceCreateResponse.state) && - Objects.equals(this._package, precisionTimeServiceCreateResponse._package) && - Objects.equals(this.connections, precisionTimeServiceCreateResponse.connections) && - Objects.equals(this.ipv4, precisionTimeServiceCreateResponse.ipv4) && - Objects.equals(this.account, precisionTimeServiceCreateResponse.account) && - Objects.equals(this.advanceConfiguration, precisionTimeServiceCreateResponse.advanceConfiguration) && - Objects.equals(this.project, precisionTimeServiceCreateResponse.project)&& - Objects.equals(this.additionalProperties, precisionTimeServiceCreateResponse.additionalProperties); + StreamSubscription streamSubscription = (StreamSubscription) o; + return Objects.equals(this.href, streamSubscription.href) && + Objects.equals(this.uuid, streamSubscription.uuid) && + Objects.equals(this.type, streamSubscription.type) && + Objects.equals(this.name, streamSubscription.name) && + Objects.equals(this.description, streamSubscription.description) && + Objects.equals(this.project, streamSubscription.project) && + Objects.equals(this.state, streamSubscription.state) && + Objects.equals(this.enabled, streamSubscription.enabled) && + Objects.equals(this.stream, streamSubscription.stream) && + Objects.equals(this.filters, streamSubscription.filters) && + Objects.equals(this.sink, streamSubscription.sink) && + Objects.equals(this.changelog, streamSubscription.changelog)&& + Objects.equals(this.additionalProperties, streamSubscription.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, href, uuid, name, description, state, _package, connections, ipv4, account, advanceConfiguration, project, additionalProperties); + return Objects.hash(href, uuid, type, name, description, project, state, enabled, stream, filters, sink, changelog, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class PrecisionTimeServiceCreateResponse {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append("class StreamSubscription {\n"); sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" _package: ").append(toIndentedString(_package)).append("\n"); - sb.append(" connections: ").append(toIndentedString(connections)).append("\n"); - sb.append(" ipv4: ").append(toIndentedString(ipv4)).append("\n"); - sb.append(" account: ").append(toIndentedString(account)).append("\n"); - sb.append(" advanceConfiguration: ").append(toIndentedString(advanceConfiguration)).append("\n"); sb.append(" project: ").append(toIndentedString(project)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" stream: ").append(toIndentedString(stream)).append("\n"); + sb.append(" filters: ").append(toIndentedString(filters)).append("\n"); + sb.append(" sink: ").append(toIndentedString(sink)).append("\n"); + sb.append(" changelog: ").append(toIndentedString(changelog)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -602,95 +578,72 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("type"); openapiFields.add("href"); openapiFields.add("uuid"); + openapiFields.add("type"); openapiFields.add("name"); openapiFields.add("description"); - openapiFields.add("state"); - openapiFields.add("package"); - openapiFields.add("connections"); - openapiFields.add("ipv4"); - openapiFields.add("account"); - openapiFields.add("advanceConfiguration"); openapiFields.add("project"); + openapiFields.add("state"); + openapiFields.add("enabled"); + openapiFields.add("stream"); + openapiFields.add("filters"); + openapiFields.add("sink"); + openapiFields.add("changelog"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("type"); - openapiRequiredFields.add("href"); - openapiRequiredFields.add("uuid"); - openapiRequiredFields.add("state"); - openapiRequiredFields.add("package"); - openapiRequiredFields.add("ipv4"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to PrecisionTimeServiceCreateResponse + * @throws IOException if the JSON Object is invalid with respect to StreamSubscription */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!PrecisionTimeServiceCreateResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in PrecisionTimeServiceCreateResponse is not found in the empty JSON string", PrecisionTimeServiceCreateResponse.openapiRequiredFields.toString())); - } - } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : PrecisionTimeServiceCreateResponse.openapiRequiredFields) { - if (jsonObj.get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + if (!StreamSubscription.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamSubscription is not found in the empty JSON string", StreamSubscription.openapiRequiredFields.toString())); } } - if (!jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); - } - if (!jsonObj.get("href").isJsonPrimitive()) { + if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); } - if (!jsonObj.get("uuid").isJsonPrimitive()) { + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } - if (!jsonObj.get("state").isJsonPrimitive()) { + // validate the optional field `project` + if (jsonObj.get("project") != null && !jsonObj.get("project").isJsonNull()) { + Project.validateJsonObject(jsonObj.getAsJsonObject("project")); + } + if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `state` to be a primitive type in the JSON string but got `%s`", jsonObj.get("state").toString())); } - // validate the required field `package` - PrecisionTimePackageResponse.validateJsonObject(jsonObj.getAsJsonObject("package")); - if (jsonObj.get("connections") != null && !jsonObj.get("connections").isJsonNull()) { - JsonArray jsonArrayconnections = jsonObj.getAsJsonArray("connections"); - if (jsonArrayconnections != null) { - // ensure the json data is an array - if (!jsonObj.get("connections").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `connections` to be an array in the JSON string but got `%s`", jsonObj.get("connections").toString())); - } - - // validate the optional field `connections` (array) - for (int i = 0; i < jsonArrayconnections.size(); i++) { - FabricConnectionUuid.validateJsonObject(jsonArrayconnections.get(i).getAsJsonObject()); - }; - } + // validate the optional field `stream` + if (jsonObj.get("stream") != null && !jsonObj.get("stream").isJsonNull()) { + StreamTarget.validateJsonObject(jsonObj.getAsJsonObject("stream")); } - // validate the required field `ipv4` - Ipv4.validateJsonObject(jsonObj.getAsJsonObject("ipv4")); - // validate the optional field `account` - if (jsonObj.get("account") != null && !jsonObj.get("account").isJsonNull()) { - Account.validateJsonObject(jsonObj.getAsJsonObject("account")); + // validate the optional field `filters` + if (jsonObj.get("filters") != null && !jsonObj.get("filters").isJsonNull()) { + StreamSubscriptionFilter.validateJsonObject(jsonObj.getAsJsonObject("filters")); } - // validate the optional field `advanceConfiguration` - if (jsonObj.get("advanceConfiguration") != null && !jsonObj.get("advanceConfiguration").isJsonNull()) { - AdvanceConfiguration.validateJsonObject(jsonObj.getAsJsonObject("advanceConfiguration")); + // validate the optional field `sink` + if (jsonObj.get("sink") != null && !jsonObj.get("sink").isJsonNull()) { + StreamSubscriptionSink.validateJsonObject(jsonObj.getAsJsonObject("sink")); } - // validate the optional field `project` - if (jsonObj.get("project") != null && !jsonObj.get("project").isJsonNull()) { - Project.validateJsonObject(jsonObj.getAsJsonObject("project")); + // validate the optional field `changelog` + if (jsonObj.get("changelog") != null && !jsonObj.get("changelog").isJsonNull()) { + Changelog.validateJsonObject(jsonObj.getAsJsonObject("changelog")); } } @@ -698,16 +651,16 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!PrecisionTimeServiceCreateResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'PrecisionTimeServiceCreateResponse' and its subtypes + if (!StreamSubscription.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamSubscription' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(PrecisionTimeServiceCreateResponse.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamSubscription.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, PrecisionTimeServiceCreateResponse value) throws IOException { + public void write(JsonWriter out, StreamSubscription value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -730,11 +683,11 @@ else if (entry.getValue() instanceof Character) } @Override - public PrecisionTimeServiceCreateResponse read(JsonReader in) throws IOException { + public StreamSubscription read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - PrecisionTimeServiceCreateResponse instance = thisAdapter.fromJsonTree(jsonObj); + StreamSubscription instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -761,18 +714,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of PrecisionTimeServiceCreateResponse given an JSON string + * Create an instance of StreamSubscription given an JSON string * * @param jsonString JSON string - * @return An instance of PrecisionTimeServiceCreateResponse - * @throws IOException if the JSON string is invalid with respect to PrecisionTimeServiceCreateResponse + * @return An instance of StreamSubscription + * @throws IOException if the JSON string is invalid with respect to StreamSubscription */ - public static PrecisionTimeServiceCreateResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, PrecisionTimeServiceCreateResponse.class); + public static StreamSubscription fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamSubscription.class); } /** - * Convert an instance of PrecisionTimeServiceCreateResponse to an JSON string + * Convert an instance of StreamSubscription to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionFilter.java new file mode 100644 index 00000000..ebaccff7 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionFilter.java @@ -0,0 +1,300 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.StreamFilter; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * StreamSubscriptionFilter + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamSubscriptionFilter { + public static final String SERIALIZED_NAME_AND = "and"; + @SerializedName(SERIALIZED_NAME_AND) + private List and = new ArrayList<>(); + + public StreamSubscriptionFilter() { + } + + public StreamSubscriptionFilter and(List and) { + + this.and = and; + return this; + } + + public StreamSubscriptionFilter addAndItem(StreamFilter andItem) { + if (this.and == null) { + this.and = new ArrayList<>(); + } + this.and.add(andItem); + return this; + } + + /** + * Get and + * @return and + **/ + @javax.annotation.Nullable + + public List getAnd() { + return and; + } + + + public void setAnd(List and) { + this.and = and; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamSubscriptionFilter instance itself + */ + public StreamSubscriptionFilter putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamSubscriptionFilter streamSubscriptionFilter = (StreamSubscriptionFilter) o; + return Objects.equals(this.and, streamSubscriptionFilter.and)&& + Objects.equals(this.additionalProperties, streamSubscriptionFilter.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(and, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamSubscriptionFilter {\n"); + sb.append(" and: ").append(toIndentedString(and)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("and"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamSubscriptionFilter + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamSubscriptionFilter.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamSubscriptionFilter is not found in the empty JSON string", StreamSubscriptionFilter.openapiRequiredFields.toString())); + } + } + if (jsonObj.get("and") != null && !jsonObj.get("and").isJsonNull()) { + JsonArray jsonArrayand = jsonObj.getAsJsonArray("and"); + if (jsonArrayand != null) { + // ensure the json data is an array + if (!jsonObj.get("and").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `and` to be an array in the JSON string but got `%s`", jsonObj.get("and").toString())); + } + + // validate the optional field `and` (array) + for (int i = 0; i < jsonArrayand.size(); i++) { + StreamFilter.validateJsonObject(jsonArrayand.get(i).getAsJsonObject()); + }; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamSubscriptionFilter.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamSubscriptionFilter' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamSubscriptionFilter.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamSubscriptionFilter value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamSubscriptionFilter read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamSubscriptionFilter instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamSubscriptionFilter given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamSubscriptionFilter + * @throws IOException if the JSON string is invalid with respect to StreamSubscriptionFilter + */ + public static StreamSubscriptionFilter fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamSubscriptionFilter.class); + } + + /** + * Convert an instance of StreamSubscriptionFilter to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPostRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPostRequest.java new file mode 100644 index 00000000..ea2bea00 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPostRequest.java @@ -0,0 +1,552 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.Project; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionFilter; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionSink; +import com.equinix.openapi.fabric.v4.model.StreamTarget; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Create Stream Subscription + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamSubscriptionPostRequest { + /** + * Gets or Sets type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + STREAM_SUBSCRIPTION("STREAM_SUBSCRIPTION"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_PROJECT = "project"; + @SerializedName(SERIALIZED_NAME_PROJECT) + private Project project; + + public static final String SERIALIZED_NAME_ENABLED = "enabled"; + @SerializedName(SERIALIZED_NAME_ENABLED) + private Boolean enabled; + + public static final String SERIALIZED_NAME_STREAM = "stream"; + @SerializedName(SERIALIZED_NAME_STREAM) + private StreamTarget stream; + + public static final String SERIALIZED_NAME_FILTERS = "filters"; + @SerializedName(SERIALIZED_NAME_FILTERS) + private StreamSubscriptionFilter filters; + + public static final String SERIALIZED_NAME_SINK = "sink"; + @SerializedName(SERIALIZED_NAME_SINK) + private StreamSubscriptionSink sink; + + public StreamSubscriptionPostRequest() { + } + + public StreamSubscriptionPostRequest type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Get type + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + public StreamSubscriptionPostRequest name(String name) { + + this.name = name; + return this; + } + + /** + * Customer-provided stream subscription name + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public StreamSubscriptionPostRequest description(String description) { + + this.description = description; + return this; + } + + /** + * Customer-provided stream subscription description + * @return description + **/ + @javax.annotation.Nullable + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public StreamSubscriptionPostRequest project(Project project) { + + this.project = project; + return this; + } + + /** + * Get project + * @return project + **/ + @javax.annotation.Nullable + + public Project getProject() { + return project; + } + + + public void setProject(Project project) { + this.project = project; + } + + + public StreamSubscriptionPostRequest enabled(Boolean enabled) { + + this.enabled = enabled; + return this; + } + + /** + * Stream subscription enabled status + * @return enabled + **/ + @javax.annotation.Nullable + + public Boolean getEnabled() { + return enabled; + } + + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + + public StreamSubscriptionPostRequest stream(StreamTarget stream) { + + this.stream = stream; + return this; + } + + /** + * Get stream + * @return stream + **/ + @javax.annotation.Nullable + + public StreamTarget getStream() { + return stream; + } + + + public void setStream(StreamTarget stream) { + this.stream = stream; + } + + + public StreamSubscriptionPostRequest filters(StreamSubscriptionFilter filters) { + + this.filters = filters; + return this; + } + + /** + * Get filters + * @return filters + **/ + @javax.annotation.Nullable + + public StreamSubscriptionFilter getFilters() { + return filters; + } + + + public void setFilters(StreamSubscriptionFilter filters) { + this.filters = filters; + } + + + public StreamSubscriptionPostRequest sink(StreamSubscriptionSink sink) { + + this.sink = sink; + return this; + } + + /** + * Get sink + * @return sink + **/ + @javax.annotation.Nullable + + public StreamSubscriptionSink getSink() { + return sink; + } + + + public void setSink(StreamSubscriptionSink sink) { + this.sink = sink; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamSubscriptionPostRequest instance itself + */ + public StreamSubscriptionPostRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamSubscriptionPostRequest streamSubscriptionPostRequest = (StreamSubscriptionPostRequest) o; + return Objects.equals(this.type, streamSubscriptionPostRequest.type) && + Objects.equals(this.name, streamSubscriptionPostRequest.name) && + Objects.equals(this.description, streamSubscriptionPostRequest.description) && + Objects.equals(this.project, streamSubscriptionPostRequest.project) && + Objects.equals(this.enabled, streamSubscriptionPostRequest.enabled) && + Objects.equals(this.stream, streamSubscriptionPostRequest.stream) && + Objects.equals(this.filters, streamSubscriptionPostRequest.filters) && + Objects.equals(this.sink, streamSubscriptionPostRequest.sink)&& + Objects.equals(this.additionalProperties, streamSubscriptionPostRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(type, name, description, project, enabled, stream, filters, sink, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamSubscriptionPostRequest {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" project: ").append(toIndentedString(project)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" stream: ").append(toIndentedString(stream)).append("\n"); + sb.append(" filters: ").append(toIndentedString(filters)).append("\n"); + sb.append(" sink: ").append(toIndentedString(sink)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("type"); + openapiFields.add("name"); + openapiFields.add("description"); + openapiFields.add("project"); + openapiFields.add("enabled"); + openapiFields.add("stream"); + openapiFields.add("filters"); + openapiFields.add("sink"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamSubscriptionPostRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamSubscriptionPostRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamSubscriptionPostRequest is not found in the empty JSON string", StreamSubscriptionPostRequest.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + // validate the optional field `project` + if (jsonObj.get("project") != null && !jsonObj.get("project").isJsonNull()) { + Project.validateJsonObject(jsonObj.getAsJsonObject("project")); + } + // validate the optional field `stream` + if (jsonObj.get("stream") != null && !jsonObj.get("stream").isJsonNull()) { + StreamTarget.validateJsonObject(jsonObj.getAsJsonObject("stream")); + } + // validate the optional field `filters` + if (jsonObj.get("filters") != null && !jsonObj.get("filters").isJsonNull()) { + StreamSubscriptionFilter.validateJsonObject(jsonObj.getAsJsonObject("filters")); + } + // validate the optional field `sink` + if (jsonObj.get("sink") != null && !jsonObj.get("sink").isJsonNull()) { + StreamSubscriptionSink.validateJsonObject(jsonObj.getAsJsonObject("sink")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamSubscriptionPostRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamSubscriptionPostRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamSubscriptionPostRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamSubscriptionPostRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamSubscriptionPostRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamSubscriptionPostRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamSubscriptionPostRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamSubscriptionPostRequest + * @throws IOException if the JSON string is invalid with respect to StreamSubscriptionPostRequest + */ + public static StreamSubscriptionPostRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamSubscriptionPostRequest.class); + } + + /** + * Convert an instance of StreamSubscriptionPostRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPutRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPutRequest.java new file mode 100644 index 00000000..43a909e2 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionPutRequest.java @@ -0,0 +1,441 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionFilter; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionSink; +import com.equinix.openapi.fabric.v4.model.StreamTarget; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Update Stream Subscription + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamSubscriptionPutRequest { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + private String name; + + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + + public static final String SERIALIZED_NAME_STREAM = "stream"; + @SerializedName(SERIALIZED_NAME_STREAM) + private StreamTarget stream; + + public static final String SERIALIZED_NAME_ENABLED = "enabled"; + @SerializedName(SERIALIZED_NAME_ENABLED) + private Boolean enabled; + + public static final String SERIALIZED_NAME_FILTERS = "filters"; + @SerializedName(SERIALIZED_NAME_FILTERS) + private StreamSubscriptionFilter filters; + + public static final String SERIALIZED_NAME_SINK = "sink"; + @SerializedName(SERIALIZED_NAME_SINK) + private StreamSubscriptionSink sink; + + public StreamSubscriptionPutRequest() { + } + + public StreamSubscriptionPutRequest name(String name) { + + this.name = name; + return this; + } + + /** + * Customer-provided stream subscription name + * @return name + **/ + @javax.annotation.Nullable + + public String getName() { + return name; + } + + + public void setName(String name) { + this.name = name; + } + + + public StreamSubscriptionPutRequest description(String description) { + + this.description = description; + return this; + } + + /** + * Customer-provided stream subscription description + * @return description + **/ + @javax.annotation.Nullable + + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + + public StreamSubscriptionPutRequest stream(StreamTarget stream) { + + this.stream = stream; + return this; + } + + /** + * Get stream + * @return stream + **/ + @javax.annotation.Nullable + + public StreamTarget getStream() { + return stream; + } + + + public void setStream(StreamTarget stream) { + this.stream = stream; + } + + + public StreamSubscriptionPutRequest enabled(Boolean enabled) { + + this.enabled = enabled; + return this; + } + + /** + * Stream subscription enabled status + * @return enabled + **/ + @javax.annotation.Nullable + + public Boolean getEnabled() { + return enabled; + } + + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + + public StreamSubscriptionPutRequest filters(StreamSubscriptionFilter filters) { + + this.filters = filters; + return this; + } + + /** + * Get filters + * @return filters + **/ + @javax.annotation.Nullable + + public StreamSubscriptionFilter getFilters() { + return filters; + } + + + public void setFilters(StreamSubscriptionFilter filters) { + this.filters = filters; + } + + + public StreamSubscriptionPutRequest sink(StreamSubscriptionSink sink) { + + this.sink = sink; + return this; + } + + /** + * Get sink + * @return sink + **/ + @javax.annotation.Nullable + + public StreamSubscriptionSink getSink() { + return sink; + } + + + public void setSink(StreamSubscriptionSink sink) { + this.sink = sink; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamSubscriptionPutRequest instance itself + */ + public StreamSubscriptionPutRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamSubscriptionPutRequest streamSubscriptionPutRequest = (StreamSubscriptionPutRequest) o; + return Objects.equals(this.name, streamSubscriptionPutRequest.name) && + Objects.equals(this.description, streamSubscriptionPutRequest.description) && + Objects.equals(this.stream, streamSubscriptionPutRequest.stream) && + Objects.equals(this.enabled, streamSubscriptionPutRequest.enabled) && + Objects.equals(this.filters, streamSubscriptionPutRequest.filters) && + Objects.equals(this.sink, streamSubscriptionPutRequest.sink)&& + Objects.equals(this.additionalProperties, streamSubscriptionPutRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(name, description, stream, enabled, filters, sink, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamSubscriptionPutRequest {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" stream: ").append(toIndentedString(stream)).append("\n"); + sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); + sb.append(" filters: ").append(toIndentedString(filters)).append("\n"); + sb.append(" sink: ").append(toIndentedString(sink)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("name"); + openapiFields.add("description"); + openapiFields.add("stream"); + openapiFields.add("enabled"); + openapiFields.add("filters"); + openapiFields.add("sink"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamSubscriptionPutRequest + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamSubscriptionPutRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamSubscriptionPutRequest is not found in the empty JSON string", StreamSubscriptionPutRequest.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } + // validate the optional field `stream` + if (jsonObj.get("stream") != null && !jsonObj.get("stream").isJsonNull()) { + StreamTarget.validateJsonObject(jsonObj.getAsJsonObject("stream")); + } + // validate the optional field `filters` + if (jsonObj.get("filters") != null && !jsonObj.get("filters").isJsonNull()) { + StreamSubscriptionFilter.validateJsonObject(jsonObj.getAsJsonObject("filters")); + } + // validate the optional field `sink` + if (jsonObj.get("sink") != null && !jsonObj.get("sink").isJsonNull()) { + StreamSubscriptionSink.validateJsonObject(jsonObj.getAsJsonObject("sink")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamSubscriptionPutRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamSubscriptionPutRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamSubscriptionPutRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamSubscriptionPutRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamSubscriptionPutRequest read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamSubscriptionPutRequest instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamSubscriptionPutRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamSubscriptionPutRequest + * @throws IOException if the JSON string is invalid with respect to StreamSubscriptionPutRequest + */ + public static StreamSubscriptionPutRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamSubscriptionPutRequest.class); + } + + /** + * Convert an instance of StreamSubscriptionPutRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSink.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSink.java new file mode 100644 index 00000000..784e5d1d --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSink.java @@ -0,0 +1,520 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionSinkCredential; +import com.equinix.openapi.fabric.v4.model.StreamSubscriptionSinkSetting; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Create Stream destination + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamSubscriptionSink { + public static final String SERIALIZED_NAME_URI = "uri"; + @SerializedName(SERIALIZED_NAME_URI) + private String uri; + + /** + * destination type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + DATADOG("DATADOG"), + + PAGERDUTY("PAGERDUTY"), + + SPLUNK_HEC("SPLUNK_HEC"), + + SLACK("SLACK"), + + TEAMS("TEAMS"), + + CUSTOM("CUSTOM"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public static final String SERIALIZED_NAME_BATCH_ENABLED = "batchEnabled"; + @SerializedName(SERIALIZED_NAME_BATCH_ENABLED) + private Boolean batchEnabled; + + public static final String SERIALIZED_NAME_BATCH_SIZE_MAX = "batchSizeMax"; + @SerializedName(SERIALIZED_NAME_BATCH_SIZE_MAX) + private Integer batchSizeMax; + + public static final String SERIALIZED_NAME_BATCH_WAIT_TIME_MAX = "batchWaitTimeMax"; + @SerializedName(SERIALIZED_NAME_BATCH_WAIT_TIME_MAX) + private Integer batchWaitTimeMax; + + public static final String SERIALIZED_NAME_CREDENTIAL = "credential"; + @SerializedName(SERIALIZED_NAME_CREDENTIAL) + private StreamSubscriptionSinkCredential credential; + + public static final String SERIALIZED_NAME_SETTINGS = "settings"; + @SerializedName(SERIALIZED_NAME_SETTINGS) + private StreamSubscriptionSinkSetting settings; + + public StreamSubscriptionSink() { + } + + public StreamSubscriptionSink uri(String uri) { + + this.uri = uri; + return this; + } + + /** + * any publicly reachable http endpoint + * @return uri + **/ + @javax.annotation.Nullable + + public String getUri() { + return uri; + } + + + public void setUri(String uri) { + this.uri = uri; + } + + + public StreamSubscriptionSink type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * destination type + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + public StreamSubscriptionSink batchEnabled(Boolean batchEnabled) { + + this.batchEnabled = batchEnabled; + return this; + } + + /** + * batch mode on/off + * @return batchEnabled + **/ + @javax.annotation.Nullable + + public Boolean getBatchEnabled() { + return batchEnabled; + } + + + public void setBatchEnabled(Boolean batchEnabled) { + this.batchEnabled = batchEnabled; + } + + + public StreamSubscriptionSink batchSizeMax(Integer batchSizeMax) { + + this.batchSizeMax = batchSizeMax; + return this; + } + + /** + * maximum batch size + * @return batchSizeMax + **/ + @javax.annotation.Nullable + + public Integer getBatchSizeMax() { + return batchSizeMax; + } + + + public void setBatchSizeMax(Integer batchSizeMax) { + this.batchSizeMax = batchSizeMax; + } + + + public StreamSubscriptionSink batchWaitTimeMax(Integer batchWaitTimeMax) { + + this.batchWaitTimeMax = batchWaitTimeMax; + return this; + } + + /** + * maximum batch waiting time + * @return batchWaitTimeMax + **/ + @javax.annotation.Nullable + + public Integer getBatchWaitTimeMax() { + return batchWaitTimeMax; + } + + + public void setBatchWaitTimeMax(Integer batchWaitTimeMax) { + this.batchWaitTimeMax = batchWaitTimeMax; + } + + + public StreamSubscriptionSink credential(StreamSubscriptionSinkCredential credential) { + + this.credential = credential; + return this; + } + + /** + * Get credential + * @return credential + **/ + @javax.annotation.Nullable + + public StreamSubscriptionSinkCredential getCredential() { + return credential; + } + + + public void setCredential(StreamSubscriptionSinkCredential credential) { + this.credential = credential; + } + + + public StreamSubscriptionSink settings(StreamSubscriptionSinkSetting settings) { + + this.settings = settings; + return this; + } + + /** + * Get settings + * @return settings + **/ + @javax.annotation.Nullable + + public StreamSubscriptionSinkSetting getSettings() { + return settings; + } + + + public void setSettings(StreamSubscriptionSinkSetting settings) { + this.settings = settings; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamSubscriptionSink instance itself + */ + public StreamSubscriptionSink putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamSubscriptionSink streamSubscriptionSink = (StreamSubscriptionSink) o; + return Objects.equals(this.uri, streamSubscriptionSink.uri) && + Objects.equals(this.type, streamSubscriptionSink.type) && + Objects.equals(this.batchEnabled, streamSubscriptionSink.batchEnabled) && + Objects.equals(this.batchSizeMax, streamSubscriptionSink.batchSizeMax) && + Objects.equals(this.batchWaitTimeMax, streamSubscriptionSink.batchWaitTimeMax) && + Objects.equals(this.credential, streamSubscriptionSink.credential) && + Objects.equals(this.settings, streamSubscriptionSink.settings)&& + Objects.equals(this.additionalProperties, streamSubscriptionSink.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(uri, type, batchEnabled, batchSizeMax, batchWaitTimeMax, credential, settings, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamSubscriptionSink {\n"); + sb.append(" uri: ").append(toIndentedString(uri)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" batchEnabled: ").append(toIndentedString(batchEnabled)).append("\n"); + sb.append(" batchSizeMax: ").append(toIndentedString(batchSizeMax)).append("\n"); + sb.append(" batchWaitTimeMax: ").append(toIndentedString(batchWaitTimeMax)).append("\n"); + sb.append(" credential: ").append(toIndentedString(credential)).append("\n"); + sb.append(" settings: ").append(toIndentedString(settings)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("uri"); + openapiFields.add("type"); + openapiFields.add("batchEnabled"); + openapiFields.add("batchSizeMax"); + openapiFields.add("batchWaitTimeMax"); + openapiFields.add("credential"); + openapiFields.add("settings"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamSubscriptionSink + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamSubscriptionSink.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamSubscriptionSink is not found in the empty JSON string", StreamSubscriptionSink.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("uri") != null && !jsonObj.get("uri").isJsonNull()) && !jsonObj.get("uri").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uri` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uri").toString())); + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + // validate the optional field `credential` + if (jsonObj.get("credential") != null && !jsonObj.get("credential").isJsonNull()) { + StreamSubscriptionSinkCredential.validateJsonObject(jsonObj.getAsJsonObject("credential")); + } + // validate the optional field `settings` + if (jsonObj.get("settings") != null && !jsonObj.get("settings").isJsonNull()) { + StreamSubscriptionSinkSetting.validateJsonObject(jsonObj.getAsJsonObject("settings")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamSubscriptionSink.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamSubscriptionSink' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamSubscriptionSink.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamSubscriptionSink value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamSubscriptionSink read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamSubscriptionSink instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamSubscriptionSink given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamSubscriptionSink + * @throws IOException if the JSON string is invalid with respect to StreamSubscriptionSink + */ + public static StreamSubscriptionSink fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamSubscriptionSink.class); + } + + /** + * Convert an instance of StreamSubscriptionSink to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkCredential.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkCredential.java new file mode 100644 index 00000000..5574e6be --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkCredential.java @@ -0,0 +1,423 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Stream subscription sink credentials + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamSubscriptionSinkCredential { + /** + * credential type + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + ACCESS_TOKEN("ACCESS_TOKEN"), + + INTEGRATION_KEY("INTEGRATION_KEY"), + + API_KEY("API_KEY"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public static final String SERIALIZED_NAME_ACCESS_TOKEN = "accessToken"; + @SerializedName(SERIALIZED_NAME_ACCESS_TOKEN) + private String accessToken; + + public static final String SERIALIZED_NAME_INTEGRATION_KEY = "integrationKey"; + @SerializedName(SERIALIZED_NAME_INTEGRATION_KEY) + private String integrationKey; + + public static final String SERIALIZED_NAME_API_KEY = "apiKey"; + @SerializedName(SERIALIZED_NAME_API_KEY) + private String apiKey; + + public StreamSubscriptionSinkCredential() { + } + + public StreamSubscriptionSinkCredential type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * credential type + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + public StreamSubscriptionSinkCredential accessToken(String accessToken) { + + this.accessToken = accessToken; + return this; + } + + /** + * passed as Authorization header value + * @return accessToken + **/ + @javax.annotation.Nullable + + public String getAccessToken() { + return accessToken; + } + + + public void setAccessToken(String accessToken) { + this.accessToken = accessToken; + } + + + public StreamSubscriptionSinkCredential integrationKey(String integrationKey) { + + this.integrationKey = integrationKey; + return this; + } + + /** + * passed as Authorization header value + * @return integrationKey + **/ + @javax.annotation.Nullable + + public String getIntegrationKey() { + return integrationKey; + } + + + public void setIntegrationKey(String integrationKey) { + this.integrationKey = integrationKey; + } + + + public StreamSubscriptionSinkCredential apiKey(String apiKey) { + + this.apiKey = apiKey; + return this; + } + + /** + * passed as Authorization header value + * @return apiKey + **/ + @javax.annotation.Nullable + + public String getApiKey() { + return apiKey; + } + + + public void setApiKey(String apiKey) { + this.apiKey = apiKey; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamSubscriptionSinkCredential instance itself + */ + public StreamSubscriptionSinkCredential putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamSubscriptionSinkCredential streamSubscriptionSinkCredential = (StreamSubscriptionSinkCredential) o; + return Objects.equals(this.type, streamSubscriptionSinkCredential.type) && + Objects.equals(this.accessToken, streamSubscriptionSinkCredential.accessToken) && + Objects.equals(this.integrationKey, streamSubscriptionSinkCredential.integrationKey) && + Objects.equals(this.apiKey, streamSubscriptionSinkCredential.apiKey)&& + Objects.equals(this.additionalProperties, streamSubscriptionSinkCredential.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(type, accessToken, integrationKey, apiKey, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamSubscriptionSinkCredential {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" accessToken: ").append(toIndentedString(accessToken)).append("\n"); + sb.append(" integrationKey: ").append(toIndentedString(integrationKey)).append("\n"); + sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("type"); + openapiFields.add("accessToken"); + openapiFields.add("integrationKey"); + openapiFields.add("apiKey"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamSubscriptionSinkCredential + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamSubscriptionSinkCredential.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamSubscriptionSinkCredential is not found in the empty JSON string", StreamSubscriptionSinkCredential.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if ((jsonObj.get("accessToken") != null && !jsonObj.get("accessToken").isJsonNull()) && !jsonObj.get("accessToken").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `accessToken` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accessToken").toString())); + } + if ((jsonObj.get("integrationKey") != null && !jsonObj.get("integrationKey").isJsonNull()) && !jsonObj.get("integrationKey").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `integrationKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("integrationKey").toString())); + } + if ((jsonObj.get("apiKey") != null && !jsonObj.get("apiKey").isJsonNull()) && !jsonObj.get("apiKey").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `apiKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiKey").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamSubscriptionSinkCredential.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamSubscriptionSinkCredential' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamSubscriptionSinkCredential.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamSubscriptionSinkCredential value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamSubscriptionSinkCredential read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamSubscriptionSinkCredential instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamSubscriptionSinkCredential given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamSubscriptionSinkCredential + * @throws IOException if the JSON string is invalid with respect to StreamSubscriptionSinkCredential + */ + public static StreamSubscriptionSinkCredential fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamSubscriptionSinkCredential.class); + } + + /** + * Convert an instance of StreamSubscriptionSinkCredential to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkSetting.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkSetting.java new file mode 100644 index 00000000..62a8bb2e --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamSubscriptionSinkSetting.java @@ -0,0 +1,374 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Stream subscription sink settings + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamSubscriptionSinkSetting { + public static final String SERIALIZED_NAME_EVENT_INDEX = "eventIndex"; + @SerializedName(SERIALIZED_NAME_EVENT_INDEX) + private String eventIndex; + + public static final String SERIALIZED_NAME_METRIC_INDEX = "metricIndex"; + @SerializedName(SERIALIZED_NAME_METRIC_INDEX) + private String metricIndex; + + public static final String SERIALIZED_NAME_SOURCE = "source"; + @SerializedName(SERIALIZED_NAME_SOURCE) + private String source; + + public static final String SERIALIZED_NAME_APPLICATION_KEY = "applicationKey"; + @SerializedName(SERIALIZED_NAME_APPLICATION_KEY) + private String applicationKey; + + public StreamSubscriptionSinkSetting() { + } + + public StreamSubscriptionSinkSetting eventIndex(String eventIndex) { + + this.eventIndex = eventIndex; + return this; + } + + /** + * event index + * @return eventIndex + **/ + @javax.annotation.Nullable + + public String getEventIndex() { + return eventIndex; + } + + + public void setEventIndex(String eventIndex) { + this.eventIndex = eventIndex; + } + + + public StreamSubscriptionSinkSetting metricIndex(String metricIndex) { + + this.metricIndex = metricIndex; + return this; + } + + /** + * metric index + * @return metricIndex + **/ + @javax.annotation.Nullable + + public String getMetricIndex() { + return metricIndex; + } + + + public void setMetricIndex(String metricIndex) { + this.metricIndex = metricIndex; + } + + + public StreamSubscriptionSinkSetting source(String source) { + + this.source = source; + return this; + } + + /** + * source + * @return source + **/ + @javax.annotation.Nullable + + public String getSource() { + return source; + } + + + public void setSource(String source) { + this.source = source; + } + + + public StreamSubscriptionSinkSetting applicationKey(String applicationKey) { + + this.applicationKey = applicationKey; + return this; + } + + /** + * Application key + * @return applicationKey + **/ + @javax.annotation.Nullable + + public String getApplicationKey() { + return applicationKey; + } + + + public void setApplicationKey(String applicationKey) { + this.applicationKey = applicationKey; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamSubscriptionSinkSetting instance itself + */ + public StreamSubscriptionSinkSetting putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamSubscriptionSinkSetting streamSubscriptionSinkSetting = (StreamSubscriptionSinkSetting) o; + return Objects.equals(this.eventIndex, streamSubscriptionSinkSetting.eventIndex) && + Objects.equals(this.metricIndex, streamSubscriptionSinkSetting.metricIndex) && + Objects.equals(this.source, streamSubscriptionSinkSetting.source) && + Objects.equals(this.applicationKey, streamSubscriptionSinkSetting.applicationKey)&& + Objects.equals(this.additionalProperties, streamSubscriptionSinkSetting.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(eventIndex, metricIndex, source, applicationKey, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamSubscriptionSinkSetting {\n"); + sb.append(" eventIndex: ").append(toIndentedString(eventIndex)).append("\n"); + sb.append(" metricIndex: ").append(toIndentedString(metricIndex)).append("\n"); + sb.append(" source: ").append(toIndentedString(source)).append("\n"); + sb.append(" applicationKey: ").append(toIndentedString(applicationKey)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("eventIndex"); + openapiFields.add("metricIndex"); + openapiFields.add("source"); + openapiFields.add("applicationKey"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamSubscriptionSinkSetting + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamSubscriptionSinkSetting.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamSubscriptionSinkSetting is not found in the empty JSON string", StreamSubscriptionSinkSetting.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("eventIndex") != null && !jsonObj.get("eventIndex").isJsonNull()) && !jsonObj.get("eventIndex").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `eventIndex` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventIndex").toString())); + } + if ((jsonObj.get("metricIndex") != null && !jsonObj.get("metricIndex").isJsonNull()) && !jsonObj.get("metricIndex").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `metricIndex` to be a primitive type in the JSON string but got `%s`", jsonObj.get("metricIndex").toString())); + } + if ((jsonObj.get("source") != null && !jsonObj.get("source").isJsonNull()) && !jsonObj.get("source").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `source` to be a primitive type in the JSON string but got `%s`", jsonObj.get("source").toString())); + } + if ((jsonObj.get("applicationKey") != null && !jsonObj.get("applicationKey").isJsonNull()) && !jsonObj.get("applicationKey").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `applicationKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("applicationKey").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamSubscriptionSinkSetting.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamSubscriptionSinkSetting' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamSubscriptionSinkSetting.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamSubscriptionSinkSetting value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamSubscriptionSinkSetting read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamSubscriptionSinkSetting instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamSubscriptionSinkSetting given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamSubscriptionSinkSetting + * @throws IOException if the JSON string is invalid with respect to StreamSubscriptionSinkSetting + */ + public static StreamSubscriptionSinkSetting fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamSubscriptionSinkSetting.class); + } + + /** + * Convert an instance of StreamSubscriptionSinkSetting to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamTarget.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamTarget.java new file mode 100644 index 00000000..b09686f2 --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/StreamTarget.java @@ -0,0 +1,279 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Stream uuid + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class StreamTarget { + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + + public StreamTarget() { + } + + public StreamTarget uuid(UUID uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Stream UUID + * @return uuid + **/ + @javax.annotation.Nullable + + public UUID getUuid() { + return uuid; + } + + + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the StreamTarget instance itself + */ + public StreamTarget putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + StreamTarget streamTarget = (StreamTarget) o; + return Objects.equals(this.uuid, streamTarget.uuid)&& + Objects.equals(this.additionalProperties, streamTarget.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(uuid, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class StreamTarget {\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("uuid"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to StreamTarget + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!StreamTarget.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in StreamTarget is not found in the empty JSON string", StreamTarget.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!StreamTarget.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'StreamTarget' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(StreamTarget.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, StreamTarget value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public StreamTarget read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + StreamTarget instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of StreamTarget given an JSON string + * + * @param jsonString JSON string + * @return An instance of StreamTarget + * @throws IOException if the JSON string is invalid with respect to StreamTarget + */ + public static StreamTarget fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, StreamTarget.class); + } + + /** + * Convert an instance of StreamTarget to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubInterface.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubInterface.java index 68208dfa..baa2775b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubInterface.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubInterface.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionAsset.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionAsset.java index e5e6fa44..96811f4f 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionAsset.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionAsset.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,7 +13,6 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.SubscriptionAssetType; import com.equinix.openapi.fabric.v4.model.SubscriptionRouterPackageType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,7 +49,7 @@ public class SubscriptionAsset { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - private SubscriptionAssetType type; + private String type; public static final String SERIALIZED_NAME_PACKAGE = "package"; @SerializedName(SERIALIZED_NAME_PACKAGE) @@ -63,24 +62,24 @@ public class SubscriptionAsset { public SubscriptionAsset() { } - public SubscriptionAsset type(SubscriptionAssetType type) { + public SubscriptionAsset type(String type) { this.type = type; return this; } /** - * Get type + * Type of the subscription asset ( XF_ROUTER ,IP_VC, IPWAN_VC ) * @return type **/ @javax.annotation.Nullable - public SubscriptionAssetType getType() { + public String getType() { return type; } - public void setType(SubscriptionAssetType type) { + public void setType(String type) { this.type = type; } @@ -114,7 +113,7 @@ public SubscriptionAsset bandwidth(Integer bandwidth) { } /** - * Get bandwidth + * Bandwidth of the asset in Mbps * @return bandwidth **/ @javax.annotation.Nullable @@ -244,6 +243,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field(s) %s in SubscriptionAsset is not found in the empty JSON string", SubscriptionAsset.openapiRequiredFields.toString())); } } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } // validate the optional field `package` if (jsonObj.get("package") != null && !jsonObj.get("package").isJsonNull()) { SubscriptionRouterPackageType.validateJsonObject(jsonObj.getAsJsonObject("package")); diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionEntitlementResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionEntitlementResponse.java index 54d81e8d..f9ed85d7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionEntitlementResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionEntitlementResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -100,7 +100,7 @@ public SubscriptionEntitlementResponse quantityEntitled(Integer quantityEntitled } /** - * Get quantityEntitled + * Quantity entitled for the subscription * minimum: 0 * @return quantityEntitled **/ @@ -123,7 +123,7 @@ public SubscriptionEntitlementResponse quantityConsumed(Integer quantityConsumed } /** - * Get quantityConsumed + * Quantity consumed from the entitlement * minimum: 0 * @return quantityConsumed **/ @@ -146,7 +146,7 @@ public SubscriptionEntitlementResponse quantityAvailable(Integer quantityAvailab } /** - * Get quantityAvailable + * Quantity available from the entitlement * minimum: 0 * @return quantityAvailable **/ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionResponse.java index 9d4183f3..c99a5a6c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -15,7 +15,7 @@ import java.util.Arrays; import com.equinix.openapi.fabric.v4.model.Changelog; import com.equinix.openapi.fabric.v4.model.SubscriptionEntitlementResponse; -import com.equinix.openapi.fabric.v4.model.SubscriptionStatus; +import com.equinix.openapi.fabric.v4.model.SubscriptionState; import com.equinix.openapi.fabric.v4.model.SubscriptionTrial; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,7 +50,7 @@ import com.equinix.openapi.fabric.JSON; /** - * Subscription + * Subscription Response */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class SubscriptionResponse { @@ -62,12 +62,12 @@ public class SubscriptionResponse { @SerializedName(SERIALIZED_NAME_UUID) private UUID uuid; - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private SubscriptionStatus status; + public static final String SERIALIZED_NAME_STATE = "state"; + @SerializedName(SERIALIZED_NAME_STATE) + private SubscriptionState state; /** - * Gets or Sets marketplace + * Marketplace Type */ @JsonAdapter(MarketplaceEnum.Adapter.class) public enum MarketplaceEnum { @@ -122,7 +122,7 @@ public MarketplaceEnum read(final JsonReader jsonReader) throws IOException { private MarketplaceEnum marketplace; /** - * Gets or Sets offerType + * Marketplace Offer Type */ @JsonAdapter(OfferTypeEnum.Adapter.class) public enum OfferTypeEnum { @@ -206,7 +206,7 @@ public SubscriptionResponse href(URI href) { } /** - * Get href + * Subscription URL * @return href **/ @javax.annotation.Nullable @@ -228,7 +228,7 @@ public SubscriptionResponse uuid(UUID uuid) { } /** - * Get uuid + * Unique identifier of the Subscription * @return uuid **/ @javax.annotation.Nullable @@ -243,25 +243,25 @@ public void setUuid(UUID uuid) { } - public SubscriptionResponse status(SubscriptionStatus status) { + public SubscriptionResponse state(SubscriptionState state) { - this.status = status; + this.state = state; return this; } /** - * Get status - * @return status + * Get state + * @return state **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull - public SubscriptionStatus getStatus() { - return status; + public SubscriptionState getState() { + return state; } - public void setStatus(SubscriptionStatus status) { - this.status = status; + public void setState(SubscriptionState state) { + this.state = state; } @@ -272,10 +272,10 @@ public SubscriptionResponse marketplace(MarketplaceEnum marketplace) { } /** - * Get marketplace + * Marketplace Type * @return marketplace **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull public MarketplaceEnum getMarketplace() { return marketplace; @@ -294,7 +294,7 @@ public SubscriptionResponse offerType(OfferTypeEnum offerType) { } /** - * Get offerType + * Marketplace Offer Type * @return offerType **/ @javax.annotation.Nullable @@ -316,7 +316,7 @@ public SubscriptionResponse isAutoRenew(Boolean isAutoRenew) { } /** - * Get isAutoRenew + * Is Auto Renewal Enabled * @return isAutoRenew **/ @javax.annotation.Nullable @@ -338,7 +338,7 @@ public SubscriptionResponse offerId(String offerId) { } /** - * Get offerId + * Marketplace Offer Id * @return offerId **/ @javax.annotation.Nullable @@ -382,7 +382,7 @@ public SubscriptionResponse subscriptionKey(String subscriptionKey) { } /** - * Get subscriptionKey + * Subscription Key * @return subscriptionKey **/ @javax.annotation.Nullable @@ -404,18 +404,15 @@ public SubscriptionResponse entitlements(List e } public SubscriptionResponse addEntitlementsItem(SubscriptionEntitlementResponse entitlementsItem) { - if (this.entitlements == null) { - this.entitlements = new ArrayList<>(); - } this.entitlements.add(entitlementsItem); return this; } /** - * Get entitlements + * List of entitlements associated with the subscription * @return entitlements **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull public List getEntitlements() { return entitlements; @@ -505,7 +502,7 @@ public boolean equals(Object o) { SubscriptionResponse subscriptionResponse = (SubscriptionResponse) o; return Objects.equals(this.href, subscriptionResponse.href) && Objects.equals(this.uuid, subscriptionResponse.uuid) && - Objects.equals(this.status, subscriptionResponse.status) && + Objects.equals(this.state, subscriptionResponse.state) && Objects.equals(this.marketplace, subscriptionResponse.marketplace) && Objects.equals(this.offerType, subscriptionResponse.offerType) && Objects.equals(this.isAutoRenew, subscriptionResponse.isAutoRenew) && @@ -519,7 +516,7 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(href, uuid, status, marketplace, offerType, isAutoRenew, offerId, trial, subscriptionKey, entitlements, changelog, additionalProperties); + return Objects.hash(href, uuid, state, marketplace, offerType, isAutoRenew, offerId, trial, subscriptionKey, entitlements, changelog, additionalProperties); } @Override @@ -528,7 +525,7 @@ public String toString() { sb.append("class SubscriptionResponse {\n"); sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); sb.append(" marketplace: ").append(toIndentedString(marketplace)).append("\n"); sb.append(" offerType: ").append(toIndentedString(offerType)).append("\n"); sb.append(" isAutoRenew: ").append(toIndentedString(isAutoRenew)).append("\n"); @@ -562,7 +559,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("href"); openapiFields.add("uuid"); - openapiFields.add("status"); + openapiFields.add("state"); openapiFields.add("marketplace"); openapiFields.add("offerType"); openapiFields.add("isAutoRenew"); @@ -574,6 +571,9 @@ private String toIndentedString(Object o) { // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("state"); + openapiRequiredFields.add("marketplace"); + openapiRequiredFields.add("entitlements"); } /** @@ -588,13 +588,20 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { throw new IllegalArgumentException(String.format("The required field(s) %s in SubscriptionResponse is not found in the empty JSON string", SubscriptionResponse.openapiRequiredFields.toString())); } } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SubscriptionResponse.openapiRequiredFields) { + if (jsonObj.get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); + } + } if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); } if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); } - if ((jsonObj.get("marketplace") != null && !jsonObj.get("marketplace").isJsonNull()) && !jsonObj.get("marketplace").isJsonPrimitive()) { + if (!jsonObj.get("marketplace").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `marketplace` to be a primitive type in the JSON string but got `%s`", jsonObj.get("marketplace").toString())); } if ((jsonObj.get("offerType") != null && !jsonObj.get("offerType").isJsonNull()) && !jsonObj.get("offerType").isJsonPrimitive()) { @@ -610,20 +617,16 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if ((jsonObj.get("subscriptionKey") != null && !jsonObj.get("subscriptionKey").isJsonNull()) && !jsonObj.get("subscriptionKey").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `subscriptionKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("subscriptionKey").toString())); } - if (jsonObj.get("entitlements") != null && !jsonObj.get("entitlements").isJsonNull()) { - JsonArray jsonArrayentitlements = jsonObj.getAsJsonArray("entitlements"); - if (jsonArrayentitlements != null) { - // ensure the json data is an array - if (!jsonObj.get("entitlements").isJsonArray()) { - throw new IllegalArgumentException(String.format("Expected the field `entitlements` to be an array in the JSON string but got `%s`", jsonObj.get("entitlements").toString())); - } - - // validate the optional field `entitlements` (array) - for (int i = 0; i < jsonArrayentitlements.size(); i++) { - SubscriptionEntitlementResponse.validateJsonObject(jsonArrayentitlements.get(i).getAsJsonObject()); - }; - } + // ensure the json data is an array + if (!jsonObj.get("entitlements").isJsonArray()) { + throw new IllegalArgumentException(String.format("Expected the field `entitlements` to be an array in the JSON string but got `%s`", jsonObj.get("entitlements").toString())); } + + JsonArray jsonArrayentitlements = jsonObj.getAsJsonArray("entitlements"); + // validate the required field `entitlements` (array) + for (int i = 0; i < jsonArrayentitlements.size(); i++) { + SubscriptionEntitlementResponse.validateJsonObject(jsonArrayentitlements.get(i).getAsJsonObject()); + }; // validate the optional field `changelog` if (jsonObj.get("changelog") != null && !jsonObj.get("changelog").isJsonNull()) { Changelog.validateJsonObject(jsonObj.getAsJsonObject("changelog")); diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionRouterPackageType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionRouterPackageType.java index 2f0e0114..e6b16fe6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionRouterPackageType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionRouterPackageType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionStatus.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionState.java similarity index 71% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionStatus.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionState.java index 986c9cb0..c4e3c202 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionStatus.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionState.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -22,10 +22,10 @@ import com.google.gson.stream.JsonWriter; /** - * Gets or Sets SubscriptionStatus + * Subscription State */ -@JsonAdapter(SubscriptionStatus.Adapter.class) -public enum SubscriptionStatus { +@JsonAdapter(SubscriptionState.Adapter.class) +public enum SubscriptionState { ACTIVE("ACTIVE"), @@ -37,7 +37,7 @@ public enum SubscriptionStatus { private String value; - SubscriptionStatus(String value) { + SubscriptionState(String value) { this.value = value; } @@ -50,8 +50,8 @@ public String toString() { return String.valueOf(value); } - public static SubscriptionStatus fromValue(String value) { - for (SubscriptionStatus b : SubscriptionStatus.values()) { + public static SubscriptionState fromValue(String value) { + for (SubscriptionState b : SubscriptionState.values()) { if (b.value.equals(value)) { return b; } @@ -59,16 +59,16 @@ public static SubscriptionStatus fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final SubscriptionStatus enumeration) throws IOException { + public void write(final JsonWriter jsonWriter, final SubscriptionState enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public SubscriptionStatus read(final JsonReader jsonReader) throws IOException { + public SubscriptionState read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return SubscriptionStatus.fromValue(value); + return SubscriptionState.fromValue(value); } } } diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionTrial.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionTrial.java index dbb2895a..cca91c79 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionTrial.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/SubscriptionTrial.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -43,7 +43,7 @@ import com.equinix.openapi.fabric.JSON; /** - * Trial + * Free Trial Subscription */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class SubscriptionTrial { @@ -65,7 +65,7 @@ public SubscriptionTrial enabled(Boolean enabled) { } /** - * Get enabled + * Free Trial Enabled * @return enabled **/ @javax.annotation.Nullable @@ -87,7 +87,7 @@ public SubscriptionTrial expiryDateTime(OffsetDateTime expiryDateTime) { } /** - * Get expiryDateTime + * Free Trial Expiry Date * @return expiryDateTime **/ @javax.annotation.Nullable diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilter.java index 887e2e87..0ecd88db 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilters.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilters.java index a274b4f6..e7edfece 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilters.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceFilters.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceOrFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceOrFilter.java index eb5ceb36..0f1ce033 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceOrFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceOrFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSimpleExpression.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSimpleExpression.java index dbd052ae..5ea3a787 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSimpleExpression.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSimpleExpression.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortBy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortBy.java index 1c98156e..5b3ce6b7 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortBy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortBy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortCriteria.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortCriteria.java index e102ab82..b6ed2e38 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortCriteria.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortCriteria.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortDirection.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortDirection.java index 8902f2c5..ca5f07d0 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortDirection.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServiceSortDirection.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServicesSearchRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServicesSearchRequest.java index e9471152..252edafc 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServicesSearchRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TimeServicesSearchRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TopUtilizedStatistics.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TopUtilizedStatistics.java index 7406859f..9b1141a1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TopUtilizedStatistics.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/TopUtilizedStatistics.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateConnectionResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateConnectionResponse.java new file mode 100644 index 00000000..27972e8e --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateConnectionResponse.java @@ -0,0 +1,410 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.equinix.openapi.fabric.v4.model.ConnectionRedundancy; +import com.equinix.openapi.fabric.v4.model.ConnectionSide; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Validate Connection specification + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class ValidateConnectionResponse { + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private String uuid; + + public static final String SERIALIZED_NAME_BANDWIDTH = "bandwidth"; + @SerializedName(SERIALIZED_NAME_BANDWIDTH) + private Integer bandwidth; + + public static final String SERIALIZED_NAME_REDUNDANCY = "redundancy"; + @SerializedName(SERIALIZED_NAME_REDUNDANCY) + private ConnectionRedundancy redundancy; + + public static final String SERIALIZED_NAME_A_SIDE = "aSide"; + @SerializedName(SERIALIZED_NAME_A_SIDE) + private ConnectionSide aSide; + + public static final String SERIALIZED_NAME_Z_SIDE = "zSide"; + @SerializedName(SERIALIZED_NAME_Z_SIDE) + private ConnectionSide zSide; + + public ValidateConnectionResponse() { + } + + public ValidateConnectionResponse uuid(String uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Equinix-assigned connection identifier + * @return uuid + **/ + @javax.annotation.Nullable + + public String getUuid() { + return uuid; + } + + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + + public ValidateConnectionResponse bandwidth(Integer bandwidth) { + + this.bandwidth = bandwidth; + return this; + } + + /** + * Connection bandwidth in Mbps + * minimum: 0 + * maximum: 50000 + * @return bandwidth + **/ + @javax.annotation.Nullable + + public Integer getBandwidth() { + return bandwidth; + } + + + public void setBandwidth(Integer bandwidth) { + this.bandwidth = bandwidth; + } + + + public ValidateConnectionResponse redundancy(ConnectionRedundancy redundancy) { + + this.redundancy = redundancy; + return this; + } + + /** + * Get redundancy + * @return redundancy + **/ + @javax.annotation.Nullable + + public ConnectionRedundancy getRedundancy() { + return redundancy; + } + + + public void setRedundancy(ConnectionRedundancy redundancy) { + this.redundancy = redundancy; + } + + + public ValidateConnectionResponse aSide(ConnectionSide aSide) { + + this.aSide = aSide; + return this; + } + + /** + * Get aSide + * @return aSide + **/ + @javax.annotation.Nullable + + public ConnectionSide getaSide() { + return aSide; + } + + + public void setaSide(ConnectionSide aSide) { + this.aSide = aSide; + } + + + public ValidateConnectionResponse zSide(ConnectionSide zSide) { + + this.zSide = zSide; + return this; + } + + /** + * Get zSide + * @return zSide + **/ + @javax.annotation.Nullable + + public ConnectionSide getzSide() { + return zSide; + } + + + public void setzSide(ConnectionSide zSide) { + this.zSide = zSide; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the ValidateConnectionResponse instance itself + */ + public ValidateConnectionResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ValidateConnectionResponse validateConnectionResponse = (ValidateConnectionResponse) o; + return Objects.equals(this.uuid, validateConnectionResponse.uuid) && + Objects.equals(this.bandwidth, validateConnectionResponse.bandwidth) && + Objects.equals(this.redundancy, validateConnectionResponse.redundancy) && + Objects.equals(this.aSide, validateConnectionResponse.aSide) && + Objects.equals(this.zSide, validateConnectionResponse.zSide)&& + Objects.equals(this.additionalProperties, validateConnectionResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(uuid, bandwidth, redundancy, aSide, zSide, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ValidateConnectionResponse {\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" bandwidth: ").append(toIndentedString(bandwidth)).append("\n"); + sb.append(" redundancy: ").append(toIndentedString(redundancy)).append("\n"); + sb.append(" aSide: ").append(toIndentedString(aSide)).append("\n"); + sb.append(" zSide: ").append(toIndentedString(zSide)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("uuid"); + openapiFields.add("bandwidth"); + openapiFields.add("redundancy"); + openapiFields.add("aSide"); + openapiFields.add("zSide"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to ValidateConnectionResponse + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!ValidateConnectionResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ValidateConnectionResponse is not found in the empty JSON string", ValidateConnectionResponse.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + // validate the optional field `redundancy` + if (jsonObj.get("redundancy") != null && !jsonObj.get("redundancy").isJsonNull()) { + ConnectionRedundancy.validateJsonObject(jsonObj.getAsJsonObject("redundancy")); + } + // validate the optional field `aSide` + if (jsonObj.get("aSide") != null && !jsonObj.get("aSide").isJsonNull()) { + ConnectionSide.validateJsonObject(jsonObj.getAsJsonObject("aSide")); + } + // validate the optional field `zSide` + if (jsonObj.get("zSide") != null && !jsonObj.get("zSide").isJsonNull()) { + ConnectionSide.validateJsonObject(jsonObj.getAsJsonObject("zSide")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ValidateConnectionResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ValidateConnectionResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ValidateConnectionResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ValidateConnectionResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public ValidateConnectionResponse read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + ValidateConnectionResponse instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ValidateConnectionResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of ValidateConnectionResponse + * @throws IOException if the JSON string is invalid with respect to ValidateConnectionResponse + */ + public static ValidateConnectionResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ValidateConnectionResponse.class); + } + + /** + * Convert an instance of ValidateConnectionResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequest.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequest.java index 2d82d00c..96e5fa5a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequest.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequest.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilter.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilter.java index 5d64ac8e..b03e9280 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilter.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilter.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilterAnd.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilterAnd.java index b3809f43..58b77708 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilterAnd.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateRequestFilterAnd.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateSubnetResponse.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateSubnetResponse.java index 43af5629..51692d0a 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateSubnetResponse.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ValidateSubnetResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ViewPoint.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ViewPoint.java index 4476b8a2..6d347ded 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ViewPoint.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/ViewPoint.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionBridgePackageCode.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionBridgePackageCode.java index 0a0011a1..0fed524e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionBridgePackageCode.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionBridgePackageCode.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPrice.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPrice.java index 50b31145..ccb3d7af 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPrice.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPrice.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASide.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASide.java index f30907a4..e3aa836b 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASide.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASide.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPoint.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPoint.java index 92d367ef..d33ae118 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPoint.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPoint.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPointPort.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPointPort.java index 4638c6af..e68e3419 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPointPort.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPointPort.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPointPortSettings.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPointPortSettings.java index 88115487..1f136ecb 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPointPortSettings.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceASideAccessPointPortSettings.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceAccessPointType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceAccessPointType.java index a80b7392..a459a28e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceAccessPointType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceAccessPointType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceConnectionType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceConnectionType.java index be59e2ca..d653b95c 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceConnectionType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceConnectionType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSide.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSide.java index d9abb7c9..e6225cc5 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSide.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSide.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPoint.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPoint.java index b1aec7ce..a490c9c4 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPoint.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPoint.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridge.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridge.java index efc876fc..2f918265 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridge.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridge.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridgePackage.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridgePackage.java index dbf01379..0ca3e8e2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridgePackage.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointBridgePackage.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointProfile.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointProfile.java index 54aa2e07..49fd6ce6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointProfile.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionPriceZSideAccessPointProfile.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolEvpnVxlan.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionSide.java similarity index 65% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolEvpnVxlan.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionSide.java index 2c7cb585..ff6a79d1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolEvpnVxlan.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionSide.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,7 +13,7 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.LinkProtocolType; +import com.equinix.openapi.fabric.v4.model.AccessPoint; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -43,90 +43,36 @@ import com.equinix.openapi.fabric.JSON; /** - * Connection link protocol configuration - EVPN_VXLAN + * Fabric Connection access point object. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class LinkProtocolEvpnVxlan { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private LinkProtocolType type; +public class VirtualConnectionSide { + public static final String SERIALIZED_NAME_ACCESS_POINT = "accessPoint"; + @SerializedName(SERIALIZED_NAME_ACCESS_POINT) + private AccessPoint accessPoint; - public static final String SERIALIZED_NAME_VNID = "vnid"; - @SerializedName(SERIALIZED_NAME_VNID) - private Integer vnid; - - public static final String SERIALIZED_NAME_TYPE5VNI = "type5vni"; - @SerializedName(SERIALIZED_NAME_TYPE5VNI) - private Integer type5vni; - - public LinkProtocolEvpnVxlan() { + public VirtualConnectionSide() { } - public LinkProtocolEvpnVxlan type(LinkProtocolType type) { + public VirtualConnectionSide accessPoint(AccessPoint accessPoint) { - this.type = type; + this.accessPoint = accessPoint; return this; } /** - * Get type - * @return type + * Get accessPoint + * @return accessPoint **/ @javax.annotation.Nullable - public LinkProtocolType getType() { - return type; - } - - - public void setType(LinkProtocolType type) { - this.type = type; - } - - - public LinkProtocolEvpnVxlan vnid(Integer vnid) { - - this.vnid = vnid; - return this; - } - - /** - * Virtual Network Identifier - * minimum: 20001 - * maximum: 40000 - * @return vnid - **/ - @javax.annotation.Nonnull - - public Integer getVnid() { - return vnid; + public AccessPoint getAccessPoint() { + return accessPoint; } - public void setVnid(Integer vnid) { - this.vnid = vnid; - } - - - public LinkProtocolEvpnVxlan type5vni(Integer type5vni) { - - this.type5vni = type5vni; - return this; - } - - /** - * Type 5 VNI identifier - * @return type5vni - **/ - @javax.annotation.Nonnull - - public Integer getType5vni() { - return type5vni; - } - - - public void setType5vni(Integer type5vni) { - this.type5vni = type5vni; + public void setAccessPoint(AccessPoint accessPoint) { + this.accessPoint = accessPoint; } /** @@ -142,9 +88,9 @@ public void setType5vni(Integer type5vni) { * * @param key name of the property * @param value value of the property - * @return the LinkProtocolEvpnVxlan instance itself + * @return the VirtualConnectionSide instance itself */ - public LinkProtocolEvpnVxlan putAdditionalProperty(String key, Object value) { + public VirtualConnectionSide putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -183,25 +129,21 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - LinkProtocolEvpnVxlan linkProtocolEvpnVxlan = (LinkProtocolEvpnVxlan) o; - return Objects.equals(this.type, linkProtocolEvpnVxlan.type) && - Objects.equals(this.vnid, linkProtocolEvpnVxlan.vnid) && - Objects.equals(this.type5vni, linkProtocolEvpnVxlan.type5vni)&& - Objects.equals(this.additionalProperties, linkProtocolEvpnVxlan.additionalProperties); + VirtualConnectionSide virtualConnectionSide = (VirtualConnectionSide) o; + return Objects.equals(this.accessPoint, virtualConnectionSide.accessPoint)&& + Objects.equals(this.additionalProperties, virtualConnectionSide.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, vnid, type5vni, additionalProperties); + return Objects.hash(accessPoint, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class LinkProtocolEvpnVxlan {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" vnid: ").append(toIndentedString(vnid)).append("\n"); - sb.append(" type5vni: ").append(toIndentedString(type5vni)).append("\n"); + sb.append("class VirtualConnectionSide {\n"); + sb.append(" accessPoint: ").append(toIndentedString(accessPoint)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -225,34 +167,27 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("vnid"); - openapiFields.add("type5vni"); + openapiFields.add("accessPoint"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("vnid"); - openapiRequiredFields.add("type5vni"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to LinkProtocolEvpnVxlan + * @throws IOException if the JSON Object is invalid with respect to VirtualConnectionSide */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!LinkProtocolEvpnVxlan.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LinkProtocolEvpnVxlan is not found in the empty JSON string", LinkProtocolEvpnVxlan.openapiRequiredFields.toString())); + if (!VirtualConnectionSide.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in VirtualConnectionSide is not found in the empty JSON string", VirtualConnectionSide.openapiRequiredFields.toString())); } } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : LinkProtocolEvpnVxlan.openapiRequiredFields) { - if (jsonObj.get(requiredField) == null) { - throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); - } + // validate the optional field `accessPoint` + if (jsonObj.get("accessPoint") != null && !jsonObj.get("accessPoint").isJsonNull()) { + AccessPoint.validateJsonObject(jsonObj.getAsJsonObject("accessPoint")); } } @@ -260,16 +195,16 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!LinkProtocolEvpnVxlan.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LinkProtocolEvpnVxlan' and its subtypes + if (!VirtualConnectionSide.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'VirtualConnectionSide' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolEvpnVxlan.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(VirtualConnectionSide.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, LinkProtocolEvpnVxlan value) throws IOException { + public void write(JsonWriter out, VirtualConnectionSide value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -292,11 +227,11 @@ else if (entry.getValue() instanceof Character) } @Override - public LinkProtocolEvpnVxlan read(JsonReader in) throws IOException { + public VirtualConnectionSide read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - LinkProtocolEvpnVxlan instance = thisAdapter.fromJsonTree(jsonObj); + VirtualConnectionSide instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -323,18 +258,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of LinkProtocolEvpnVxlan given an JSON string + * Create an instance of VirtualConnectionSide given an JSON string * * @param jsonString JSON string - * @return An instance of LinkProtocolEvpnVxlan - * @throws IOException if the JSON string is invalid with respect to LinkProtocolEvpnVxlan + * @return An instance of VirtualConnectionSide + * @throws IOException if the JSON string is invalid with respect to VirtualConnectionSide */ - public static LinkProtocolEvpnVxlan fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LinkProtocolEvpnVxlan.class); + public static VirtualConnectionSide fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, VirtualConnectionSide.class); } /** - * Convert an instance of LinkProtocolEvpnVxlan to an JSON string + * Convert an instance of VirtualConnectionSide to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolDot1q.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionTimeServiceResponse.java similarity index 57% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolDot1q.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionTimeServiceResponse.java index 791778f3..60090595 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/LinkProtocolDot1q.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionTimeServiceResponse.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -13,13 +13,15 @@ import java.util.Objects; import java.util.Arrays; -import com.equinix.openapi.fabric.v4.model.LinkProtocolType; +import com.equinix.openapi.fabric.v4.model.VirtualConnectionSide; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.net.URI; +import java.util.UUID; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -43,140 +45,139 @@ import com.equinix.openapi.fabric.JSON; /** - * Connection link protocol configuration - DOT1Q + * Fabric Connection Precision Time Service Response Object */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class LinkProtocolDot1q { +public class VirtualConnectionTimeServiceResponse { + public static final String SERIALIZED_NAME_HREF = "href"; + @SerializedName(SERIALIZED_NAME_HREF) + private URI href; + public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - private LinkProtocolType type; - - public static final String SERIALIZED_NAME_TAG_PROTOCOL_ID = "tagProtocolId"; - @SerializedName(SERIALIZED_NAME_TAG_PROTOCOL_ID) - private String tagProtocolId; + private String type; - public static final String SERIALIZED_NAME_VLAN_TAG = "vlanTag"; - @SerializedName(SERIALIZED_NAME_VLAN_TAG) - private String vlanTag; + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; - public static final String SERIALIZED_NAME_VLAN_TAG_MIN = "vlanTagMin"; - @SerializedName(SERIALIZED_NAME_VLAN_TAG_MIN) - private Integer vlanTagMin; + public static final String SERIALIZED_NAME_A_SIDE = "aSide"; + @SerializedName(SERIALIZED_NAME_A_SIDE) + private VirtualConnectionSide aSide; - public static final String SERIALIZED_NAME_VLAN_TAG_MAX = "vlanTagMax"; - @SerializedName(SERIALIZED_NAME_VLAN_TAG_MAX) - private Integer vlanTagMax; + public static final String SERIALIZED_NAME_Z_SIDE = "zSide"; + @SerializedName(SERIALIZED_NAME_Z_SIDE) + private VirtualConnectionSide zSide; - public LinkProtocolDot1q() { + public VirtualConnectionTimeServiceResponse() { } - public LinkProtocolDot1q type(LinkProtocolType type) { - - this.type = type; - return this; + + public VirtualConnectionTimeServiceResponse( + URI href + ) { + this(); + this.href = href; } /** - * Get type - * @return type + * Connection URI + * @return href **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull - public LinkProtocolType getType() { - return type; + public URI getHref() { + return href; } - public void setType(LinkProtocolType type) { - this.type = type; - } - public LinkProtocolDot1q tagProtocolId(String tagProtocolId) { + public VirtualConnectionTimeServiceResponse type(String type) { - this.tagProtocolId = tagProtocolId; + this.type = type; return this; } /** - * Tag protocol identifier - * @return tagProtocolId + * Connection Type. + * @return type **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull - public String getTagProtocolId() { - return tagProtocolId; + public String getType() { + return type; } - public void setTagProtocolId(String tagProtocolId) { - this.tagProtocolId = tagProtocolId; + public void setType(String type) { + this.type = type; } - public LinkProtocolDot1q vlanTag(String vlanTag) { + public VirtualConnectionTimeServiceResponse uuid(UUID uuid) { - this.vlanTag = vlanTag; + this.uuid = uuid; return this; } /** - * VLAN tag - * @return vlanTag + * Connection UUID. + * @return uuid **/ @javax.annotation.Nonnull - public String getVlanTag() { - return vlanTag; + public UUID getUuid() { + return uuid; } - public void setVlanTag(String vlanTag) { - this.vlanTag = vlanTag; + public void setUuid(UUID uuid) { + this.uuid = uuid; } - public LinkProtocolDot1q vlanTagMin(Integer vlanTagMin) { + public VirtualConnectionTimeServiceResponse aSide(VirtualConnectionSide aSide) { - this.vlanTagMin = vlanTagMin; + this.aSide = aSide; return this; } /** - * VLAN tag Min value specified for DOT1Q connections - * @return vlanTagMin + * Get aSide + * @return aSide **/ @javax.annotation.Nullable - public Integer getVlanTagMin() { - return vlanTagMin; + public VirtualConnectionSide getaSide() { + return aSide; } - public void setVlanTagMin(Integer vlanTagMin) { - this.vlanTagMin = vlanTagMin; + public void setaSide(VirtualConnectionSide aSide) { + this.aSide = aSide; } - public LinkProtocolDot1q vlanTagMax(Integer vlanTagMax) { + public VirtualConnectionTimeServiceResponse zSide(VirtualConnectionSide zSide) { - this.vlanTagMax = vlanTagMax; + this.zSide = zSide; return this; } /** - * VLAN tag Max value specified for DOT1Q connections - * @return vlanTagMax + * Get zSide + * @return zSide **/ @javax.annotation.Nullable - public Integer getVlanTagMax() { - return vlanTagMax; + public VirtualConnectionSide getzSide() { + return zSide; } - public void setVlanTagMax(Integer vlanTagMax) { - this.vlanTagMax = vlanTagMax; + public void setzSide(VirtualConnectionSide zSide) { + this.zSide = zSide; } /** @@ -192,9 +193,9 @@ public void setVlanTagMax(Integer vlanTagMax) { * * @param key name of the property * @param value value of the property - * @return the LinkProtocolDot1q instance itself + * @return the VirtualConnectionTimeServiceResponse instance itself */ - public LinkProtocolDot1q putAdditionalProperty(String key, Object value) { + public VirtualConnectionTimeServiceResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -233,29 +234,29 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - LinkProtocolDot1q linkProtocolDot1q = (LinkProtocolDot1q) o; - return Objects.equals(this.type, linkProtocolDot1q.type) && - Objects.equals(this.tagProtocolId, linkProtocolDot1q.tagProtocolId) && - Objects.equals(this.vlanTag, linkProtocolDot1q.vlanTag) && - Objects.equals(this.vlanTagMin, linkProtocolDot1q.vlanTagMin) && - Objects.equals(this.vlanTagMax, linkProtocolDot1q.vlanTagMax)&& - Objects.equals(this.additionalProperties, linkProtocolDot1q.additionalProperties); + VirtualConnectionTimeServiceResponse virtualConnectionTimeServiceResponse = (VirtualConnectionTimeServiceResponse) o; + return Objects.equals(this.href, virtualConnectionTimeServiceResponse.href) && + Objects.equals(this.type, virtualConnectionTimeServiceResponse.type) && + Objects.equals(this.uuid, virtualConnectionTimeServiceResponse.uuid) && + Objects.equals(this.aSide, virtualConnectionTimeServiceResponse.aSide) && + Objects.equals(this.zSide, virtualConnectionTimeServiceResponse.zSide)&& + Objects.equals(this.additionalProperties, virtualConnectionTimeServiceResponse.additionalProperties); } @Override public int hashCode() { - return Objects.hash(type, tagProtocolId, vlanTag, vlanTagMin, vlanTagMax, additionalProperties); + return Objects.hash(href, type, uuid, aSide, zSide, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class LinkProtocolDot1q {\n"); + sb.append("class VirtualConnectionTimeServiceResponse {\n"); + sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" tagProtocolId: ").append(toIndentedString(tagProtocolId)).append("\n"); - sb.append(" vlanTag: ").append(toIndentedString(vlanTag)).append("\n"); - sb.append(" vlanTagMin: ").append(toIndentedString(vlanTagMin)).append("\n"); - sb.append(" vlanTagMax: ").append(toIndentedString(vlanTagMax)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" aSide: ").append(toIndentedString(aSide)).append("\n"); + sb.append(" zSide: ").append(toIndentedString(zSide)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -279,41 +280,54 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); + openapiFields.add("href"); openapiFields.add("type"); - openapiFields.add("tagProtocolId"); - openapiFields.add("vlanTag"); - openapiFields.add("vlanTagMin"); - openapiFields.add("vlanTagMax"); + openapiFields.add("uuid"); + openapiFields.add("aSide"); + openapiFields.add("zSide"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("vlanTag"); + openapiRequiredFields.add("href"); + openapiRequiredFields.add("type"); + openapiRequiredFields.add("uuid"); } /** * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to LinkProtocolDot1q + * @throws IOException if the JSON Object is invalid with respect to VirtualConnectionTimeServiceResponse */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!LinkProtocolDot1q.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in LinkProtocolDot1q is not found in the empty JSON string", LinkProtocolDot1q.openapiRequiredFields.toString())); + if (!VirtualConnectionTimeServiceResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in VirtualConnectionTimeServiceResponse is not found in the empty JSON string", VirtualConnectionTimeServiceResponse.openapiRequiredFields.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : LinkProtocolDot1q.openapiRequiredFields) { + for (String requiredField : VirtualConnectionTimeServiceResponse.openapiRequiredFields) { if (jsonObj.get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if ((jsonObj.get("tagProtocolId") != null && !jsonObj.get("tagProtocolId").isJsonNull()) && !jsonObj.get("tagProtocolId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `tagProtocolId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tagProtocolId").toString())); + if (!jsonObj.get("href").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); + } + if (!jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if (!jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + // validate the optional field `aSide` + if (jsonObj.get("aSide") != null && !jsonObj.get("aSide").isJsonNull()) { + VirtualConnectionSide.validateJsonObject(jsonObj.getAsJsonObject("aSide")); } - if (!jsonObj.get("vlanTag").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `vlanTag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("vlanTag").toString())); + // validate the optional field `zSide` + if (jsonObj.get("zSide") != null && !jsonObj.get("zSide").isJsonNull()) { + VirtualConnectionSide.validateJsonObject(jsonObj.getAsJsonObject("zSide")); } } @@ -321,16 +335,16 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!LinkProtocolDot1q.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'LinkProtocolDot1q' and its subtypes + if (!VirtualConnectionTimeServiceResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'VirtualConnectionTimeServiceResponse' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(LinkProtocolDot1q.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(VirtualConnectionTimeServiceResponse.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, LinkProtocolDot1q value) throws IOException { + public void write(JsonWriter out, VirtualConnectionTimeServiceResponse value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -353,11 +367,11 @@ else if (entry.getValue() instanceof Character) } @Override - public LinkProtocolDot1q read(JsonReader in) throws IOException { + public VirtualConnectionTimeServiceResponse read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - LinkProtocolDot1q instance = thisAdapter.fromJsonTree(jsonObj); + VirtualConnectionTimeServiceResponse instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -384,18 +398,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of LinkProtocolDot1q given an JSON string + * Create an instance of VirtualConnectionTimeServiceResponse given an JSON string * * @param jsonString JSON string - * @return An instance of LinkProtocolDot1q - * @throws IOException if the JSON string is invalid with respect to LinkProtocolDot1q + * @return An instance of VirtualConnectionTimeServiceResponse + * @throws IOException if the JSON string is invalid with respect to VirtualConnectionTimeServiceResponse */ - public static LinkProtocolDot1q fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, LinkProtocolDot1q.class); + public static VirtualConnectionTimeServiceResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, VirtualConnectionTimeServiceResponse.class); } /** - * Convert an instance of LinkProtocolDot1q to an JSON string + * Convert an instance of VirtualConnectionTimeServiceResponse to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricConnectionUuid.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionUuid.java similarity index 80% rename from equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricConnectionUuid.java rename to equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionUuid.java index f0662aa3..dabb3c88 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/FabricConnectionUuid.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualConnectionUuid.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -47,11 +47,7 @@ * UUID of the Fabric Connection Instance */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FabricConnectionUuid { - public static final String SERIALIZED_NAME_UUID = "uuid"; - @SerializedName(SERIALIZED_NAME_UUID) - private UUID uuid; - +public class VirtualConnectionUuid { public static final String SERIALIZED_NAME_HREF = "href"; @SerializedName(SERIALIZED_NAME_HREF) private URI href; @@ -60,72 +56,75 @@ public class FabricConnectionUuid { @SerializedName(SERIALIZED_NAME_TYPE) private String type; - public FabricConnectionUuid() { + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + + public VirtualConnectionUuid() { } - public FabricConnectionUuid uuid(UUID uuid) { - - this.uuid = uuid; - return this; + + public VirtualConnectionUuid( + URI href + ) { + this(); + this.href = href; } /** - * uuid of the Fabric L2 connection - * @return uuid + * Connection URI + * @return href **/ - @javax.annotation.Nonnull + @javax.annotation.Nullable - public UUID getUuid() { - return uuid; + public URI getHref() { + return href; } - public void setUuid(UUID uuid) { - this.uuid = uuid; - } - public FabricConnectionUuid href(URI href) { + public VirtualConnectionUuid type(String type) { - this.href = href; + this.type = type; return this; } /** - * the href for the L2 connection - * @return href + * Connection Type + * @return type **/ @javax.annotation.Nullable - public URI getHref() { - return href; + public String getType() { + return type; } - public void setHref(URI href) { - this.href = href; + public void setType(String type) { + this.type = type; } - public FabricConnectionUuid type(String type) { + public VirtualConnectionUuid uuid(UUID uuid) { - this.type = type; + this.uuid = uuid; return this; } /** - * Get type - * @return type + * Connection UUID. + * @return uuid **/ - @javax.annotation.Nullable + @javax.annotation.Nonnull - public String getType() { - return type; + public UUID getUuid() { + return uuid; } - public void setType(String type) { - this.type = type; + public void setUuid(UUID uuid) { + this.uuid = uuid; } /** @@ -141,9 +140,9 @@ public void setType(String type) { * * @param key name of the property * @param value value of the property - * @return the FabricConnectionUuid instance itself + * @return the VirtualConnectionUuid instance itself */ - public FabricConnectionUuid putAdditionalProperty(String key, Object value) { + public VirtualConnectionUuid putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -182,25 +181,25 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - FabricConnectionUuid fabricConnectionUuid = (FabricConnectionUuid) o; - return Objects.equals(this.uuid, fabricConnectionUuid.uuid) && - Objects.equals(this.href, fabricConnectionUuid.href) && - Objects.equals(this.type, fabricConnectionUuid.type)&& - Objects.equals(this.additionalProperties, fabricConnectionUuid.additionalProperties); + VirtualConnectionUuid virtualConnectionUuid = (VirtualConnectionUuid) o; + return Objects.equals(this.href, virtualConnectionUuid.href) && + Objects.equals(this.type, virtualConnectionUuid.type) && + Objects.equals(this.uuid, virtualConnectionUuid.uuid)&& + Objects.equals(this.additionalProperties, virtualConnectionUuid.additionalProperties); } @Override public int hashCode() { - return Objects.hash(uuid, href, type, additionalProperties); + return Objects.hash(href, type, uuid, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class FabricConnectionUuid {\n"); - sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append("class VirtualConnectionUuid {\n"); sb.append(" href: ").append(toIndentedString(href)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -224,9 +223,9 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); - openapiFields.add("uuid"); openapiFields.add("href"); openapiFields.add("type"); + openapiFields.add("uuid"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -237,46 +236,46 @@ private String toIndentedString(Object o) { * Validates the JSON Object and throws an exception if issues found * * @param jsonObj JSON Object - * @throws IOException if the JSON Object is invalid with respect to FabricConnectionUuid + * @throws IOException if the JSON Object is invalid with respect to VirtualConnectionUuid */ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if (jsonObj == null) { - if (!FabricConnectionUuid.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null - throw new IllegalArgumentException(String.format("The required field(s) %s in FabricConnectionUuid is not found in the empty JSON string", FabricConnectionUuid.openapiRequiredFields.toString())); + if (!VirtualConnectionUuid.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in VirtualConnectionUuid is not found in the empty JSON string", VirtualConnectionUuid.openapiRequiredFields.toString())); } } // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : FabricConnectionUuid.openapiRequiredFields) { + for (String requiredField : VirtualConnectionUuid.openapiRequiredFields) { if (jsonObj.get(requiredField) == null) { throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonObj.toString())); } } - if (!jsonObj.get("uuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); - } if ((jsonObj.get("href") != null && !jsonObj.get("href").isJsonNull()) && !jsonObj.get("href").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `href` to be a primitive type in the JSON string but got `%s`", jsonObj.get("href").toString())); } if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } + if (!jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!FabricConnectionUuid.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'FabricConnectionUuid' and its subtypes + if (!VirtualConnectionUuid.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'VirtualConnectionUuid' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter - = gson.getDelegateAdapter(this, TypeToken.get(FabricConnectionUuid.class)); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(VirtualConnectionUuid.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, FabricConnectionUuid value) throws IOException { + public void write(JsonWriter out, VirtualConnectionUuid value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); obj.remove("additionalProperties"); // serialize additional properties @@ -299,11 +298,11 @@ else if (entry.getValue() instanceof Character) } @Override - public FabricConnectionUuid read(JsonReader in) throws IOException { + public VirtualConnectionUuid read(JsonReader in) throws IOException { JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); validateJsonObject(jsonObj); // store additional fields in the deserialized instance - FabricConnectionUuid instance = thisAdapter.fromJsonTree(jsonObj); + VirtualConnectionUuid instance = thisAdapter.fromJsonTree(jsonObj); for (Map.Entry entry : jsonObj.entrySet()) { if (!openapiFields.contains(entry.getKey())) { if (entry.getValue().isJsonPrimitive()) { // primitive type @@ -330,18 +329,18 @@ else if (entry.getValue().getAsJsonPrimitive().isBoolean()) } /** - * Create an instance of FabricConnectionUuid given an JSON string + * Create an instance of VirtualConnectionUuid given an JSON string * * @param jsonString JSON string - * @return An instance of FabricConnectionUuid - * @throws IOException if the JSON string is invalid with respect to FabricConnectionUuid + * @return An instance of VirtualConnectionUuid + * @throws IOException if the JSON string is invalid with respect to VirtualConnectionUuid */ - public static FabricConnectionUuid fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, FabricConnectionUuid.class); + public static VirtualConnectionUuid fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, VirtualConnectionUuid.class); } /** - * Convert an instance of FabricConnectionUuid to an JSON string + * Convert an instance of VirtualConnectionUuid to an JSON string * * @return JSON string */ diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualDevice.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualDevice.java index 757b295e..f935c184 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualDevice.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualDevice.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualDeviceInterface.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualDeviceInterface.java new file mode 100644 index 00000000..a459ef1d --- /dev/null +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualDeviceInterface.java @@ -0,0 +1,385 @@ +/* + * Equinix Fabric API v4 + * + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.equinix.openapi.fabric.v4.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.UUID; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Set; + +import com.equinix.openapi.fabric.JSON; + +/** + * Virtual Device Interface Information + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +public class VirtualDeviceInterface { + /** + * Type of interface + */ + @JsonAdapter(TypeEnum.Adapter.class) + public enum TypeEnum { + NETWORK("NETWORK"); + + private String value; + + TypeEnum(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static TypeEnum fromValue(String value) { + for (TypeEnum b : TypeEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public TypeEnum read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return TypeEnum.fromValue(value); + } + } + } + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + private TypeEnum type; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private Integer id; + + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + private UUID uuid; + + public VirtualDeviceInterface() { + } + + public VirtualDeviceInterface type(TypeEnum type) { + + this.type = type; + return this; + } + + /** + * Type of interface + * @return type + **/ + @javax.annotation.Nullable + + public TypeEnum getType() { + return type; + } + + + public void setType(TypeEnum type) { + this.type = type; + } + + + public VirtualDeviceInterface id(Integer id) { + + this.id = id; + return this; + } + + /** + * Network Edge assigned identifier + * @return id + **/ + @javax.annotation.Nullable + + public Integer getId() { + return id; + } + + + public void setId(Integer id) { + this.id = id; + } + + + public VirtualDeviceInterface uuid(UUID uuid) { + + this.uuid = uuid; + return this; + } + + /** + * Interface identifier + * @return uuid + **/ + @javax.annotation.Nullable + + public UUID getUuid() { + return uuid; + } + + + public void setUuid(UUID uuid) { + this.uuid = uuid; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the VirtualDeviceInterface instance itself + */ + public VirtualDeviceInterface putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VirtualDeviceInterface virtualDeviceInterface = (VirtualDeviceInterface) o; + return Objects.equals(this.type, virtualDeviceInterface.type) && + Objects.equals(this.id, virtualDeviceInterface.id) && + Objects.equals(this.uuid, virtualDeviceInterface.uuid)&& + Objects.equals(this.additionalProperties, virtualDeviceInterface.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(type, id, uuid, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class VirtualDeviceInterface {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("type"); + openapiFields.add("id"); + openapiFields.add("uuid"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Object and throws an exception if issues found + * + * @param jsonObj JSON Object + * @throws IOException if the JSON Object is invalid with respect to VirtualDeviceInterface + */ + public static void validateJsonObject(JsonObject jsonObj) throws IOException { + if (jsonObj == null) { + if (!VirtualDeviceInterface.openapiRequiredFields.isEmpty()) { // has required fields but JSON object is null + throw new IllegalArgumentException(String.format("The required field(s) %s in VirtualDeviceInterface is not found in the empty JSON string", VirtualDeviceInterface.openapiRequiredFields.toString())); + } + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!VirtualDeviceInterface.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'VirtualDeviceInterface' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(VirtualDeviceInterface.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, VirtualDeviceInterface value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + obj.add(entry.getKey(), gson.toJsonTree(entry.getValue()).getAsJsonObject()); + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public VirtualDeviceInterface read(JsonReader in) throws IOException { + JsonObject jsonObj = elementAdapter.read(in).getAsJsonObject(); + validateJsonObject(jsonObj); + // store additional fields in the deserialized instance + VirtualDeviceInterface instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of VirtualDeviceInterface given an JSON string + * + * @param jsonString JSON string + * @return An instance of VirtualDeviceInterface + * @throws IOException if the JSON string is invalid with respect to VirtualDeviceInterface + */ + public static VirtualDeviceInterface fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, VirtualDeviceInterface.class); + } + + /** + * Convert an instance of VirtualDeviceInterface to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualNetwork.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualNetwork.java index 342fe88f..c34966e6 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualNetwork.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualNetwork.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortConfiguration.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortConfiguration.java index 4ca6aaee..be71dbcc 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortConfiguration.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortConfiguration.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortLocation.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortLocation.java index 46988be8..3e8416a1 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortLocation.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortLocation.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortPrice.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortPrice.java index 69af0878..3b6f3eb2 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortPrice.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortPrice.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortRedundancy.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortRedundancy.java index c4acbe85..86f92694 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortRedundancy.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortRedundancy.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortServiceType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortServiceType.java index b145fc24..5c7ebf8e 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortServiceType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortServiceType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortType.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortType.java index 8b446824..f12be304 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortType.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VirtualPortType.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VpicInterface.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VpicInterface.java index 6cb9d7cb..542d4aee 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VpicInterface.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/v4/model/VpicInterface.java @@ -1,7 +1,7 @@ /* * Equinix Fabric API v4 * - * Contact: api-support@equinix.com + * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/spec/oas3.fabric.fetched.json b/spec/oas3.fabric.fetched.json index 36eeef94..1b17b4c7 100644 --- a/spec/oas3.fabric.fetched.json +++ b/spec/oas3.fabric.fetched.json @@ -2,18 +2,17 @@ "openapi": "3.0.3", "info": { "title": "Equinix Fabric API v4", - "description": "Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
", + "description": "Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
", "termsOfService": "https://www.equinix.com/about/legal/terms", "contact": { "name": "Equinix API Support", - "url": "https://equinix.com/about/", - "email": "api-support@equinix.com" + "url": "https://docs.equinix.com/api-support.htm" }, "license": { "name": "Equinix Inc", "url": "https://developer.equinix.com/agreement" }, - "version": "4.15" + "version": "4.17" }, "externalDocs": { "description": "Find more information on Equinix Developer Portal", @@ -70,6 +69,14 @@ { "name": "Statistics", "description": "Statistics" + }, + { + "name": "Stream Subscriptions", + "description": "Stream Subscriptions Beta" + }, + { + "name": "Streams", + "description": "Streams Beta" } ], "paths": { @@ -940,6 +947,224 @@ } } }, + "/fabric/v4/connections/{connectionId}/advertisedRoutes/search": { + "post": { + "tags": [ + "Cloud Routers" + ], + "summary": "search advertised", + "description": "The API provides capability to get list of user's advertised routes using search criteria, including optional filtering, pagination and sorting", + "operationId": "searchConnectionAdvertisedRoutes", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "description": "Connection Id", + "required": true, + "schema": { + "$ref": "#/components/schemas/ConnectionId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectionRouteSearchRequest" + }, + "examples": { + "ConnectionRoutesSearchType": { + "$ref": "#/components/examples/ConnectionRoutesSearchByType" + }, + "ConnectionRoutesSearchByState": { + "$ref": "#/components/examples/ConnectionRoutesSearchByState" + }, + "ConnectionRoutesSearchByMed": { + "$ref": "#/components/examples/ConnectionRoutesSearchByMed" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectionRouteTableEntrySearchResponse" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/400" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + } + } + } + }, + "/fabric/v4/connections/{connectionId}/receivedRoutes/search": { + "post": { + "tags": [ + "Cloud Routers" + ], + "summary": "Search received", + "description": "The API provides capability to get list of received routes using search criteria, including optional filtering, pagination and sorting", + "operationId": "searchConnectionReceivedRoutes", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "description": "Connection Id", + "required": true, + "schema": { + "$ref": "#/components/schemas/ConnectionId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectionRouteSearchRequest" + }, + "examples": { + "ConnectionRoutesSearchType": { + "$ref": "#/components/examples/ConnectionRoutesSearchByType" + }, + "ConnectionRoutesSearchByState": { + "$ref": "#/components/examples/ConnectionRoutesSearchByState" + }, + "ConnectionRoutesSearchByMed": { + "$ref": "#/components/examples/ConnectionRoutesSearchByMed" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectionRouteTableEntrySearchResponse" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/400" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + } + } + } + }, "/fabric/v4/connections/{connectionId}/routingProtocols": { "get": { "tags": [ @@ -4455,8 +4680,11 @@ "tokenExample": { "$ref": "#/components/examples/getServiceToken" }, - "tokenCrhExample": { - "$ref": "#/components/examples/getServiceToken-CRH" + "tokenVDExample": { + "$ref": "#/components/examples/getServiceToken-VD" + }, + "tokenNetworkExample": { + "$ref": "#/components/examples/getServiceToken-Network" } } } @@ -4528,8 +4756,26 @@ } ], "responses": { - "204": { - "description": "Deleted Service Token Successfully" + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ServiceToken" + }, + "examples": { + "tokenExample": { + "$ref": "#/components/examples/getServiceToken" + }, + "tokenVDExample": { + "$ref": "#/components/examples/getServiceToken-VD" + }, + "tokenNetworkExample": { + "$ref": "#/components/examples/getServiceToken-Network" + } + } + } + } }, "400": { "description": "Bad request", @@ -4546,8 +4792,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4555,7 +4801,22 @@ }, "examples": { "example": { - "$ref": "#/components/examples/401" + "$ref": "#/components/examples/403" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" } } } @@ -4623,8 +4884,11 @@ "tokenExample": { "$ref": "#/components/examples/getServiceToken" }, - "tokenCrhExample": { - "$ref": "#/components/examples/getServiceToken-CRH" + "tokenVDExample": { + "$ref": "#/components/examples/getServiceToken-VD" + }, + "tokenNetworkExample": { + "$ref": "#/components/examples/getServiceToken-Network" } } } @@ -4659,6 +4923,21 @@ } } } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } } } } @@ -4700,9 +4979,6 @@ "examples": { "tokenExample": { "$ref": "#/components/examples/getServiceTokens" - }, - "tokenCrhExample": { - "$ref": "#/components/examples/getServiceTokens-CRH" } } } @@ -4732,6 +5008,7 @@ "summary": "Create Service Token", "description": "Create Service Tokens generates Equinix Fabric? service tokens. These tokens authorize users to access protected resources and services.", "operationId": "createServiceToken", + "parameters": [], "requestBody": { "content": { "application/json": { @@ -4759,6 +5036,12 @@ }, "ZsideTokenWithVxlanExample": { "$ref": "#/components/examples/createZsideServiceTokenWithVxlan" + }, + "ZsideTokenWithVDExample": { + "$ref": "#/components/examples/createZsideServiceTokenWithVD" + }, + "ZsideTokenWithNetworkExample": { + "$ref": "#/components/examples/createZsideServiceTokenWithNetwork" } } } @@ -4776,9 +5059,6 @@ "examples": { "tokenExample": { "$ref": "#/components/examples/getServiceToken" - }, - "tokenCrhExample": { - "$ref": "#/components/examples/getServiceToken-CRH" } } } @@ -4948,7 +5228,24 @@ "summary": "Search servicetokens", "description": "The API provides capability to get list of user's servicetokens using search criteria, including optional filtering, pagination and sorting", "operationId": "searchServiceTokens", - "parameters": [], + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "schema": { + "type": "number" + } + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "schema": { + "type": "number" + } + } + ], "requestBody": { "content": { "application/json": { @@ -5292,7 +5589,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Port" + "$ref": "#/components/schemas/PortRequest" }, "examples": { "COLOSinglePortNonLag": { @@ -5389,7 +5686,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BulkPort" + "$ref": "#/components/schemas/BulkPortRequest" }, "examples": { "COLOBulkPort": { @@ -5406,7 +5703,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AllPortsResponse" + "$ref": "#/components/schemas/BulkPort" }, "examples": { "bulkPortExample": { @@ -9374,6 +9671,12 @@ "examples": { "RouteEntriesStatusUpdate": { "$ref": "#/components/examples/RouteEntriesStatusUpdate" + }, + "ReceivedRouteEntriesStatusUpdate": { + "$ref": "#/components/examples/ReceivedRouteEntriesStatusUpdate" + }, + "AdvertisedRouteEntriesStatusUpdate": { + "$ref": "#/components/examples/AdvertisedRouteEntriesStatusUpdate" } } } @@ -9391,6 +9694,12 @@ "examples": { "cloudRouterActionExample": { "$ref": "#/components/examples/CloudRouterActionResponse" + }, + "receivedRouteEntriesExample": { + "$ref": "#/components/examples/CloudRouterReceivedRoutesActionResponse" + }, + "advertisedRouteEntriesExample": { + "$ref": "#/components/examples/CloudRouterAdvertisedRoutesActionResponse" } } } @@ -9489,14 +9798,14 @@ } } }, - "/fabric/v4/routers/{routerId}/routes/search": { + "/fabric/v4/routers/{routerId}/actions/search": { "post": { "tags": [ "Cloud Routers" ], - "summary": "Search Route Table", - "description": "The API provides capability to get list of user's Fabric Cloud Router route table entries using search criteria, including optional filtering, pagination and sorting", - "operationId": "searchCloudRouterRoutes", + "summary": "Search actions", + "description": "This API provides capability to refresh route table and bgp session summary information", + "operationId": "searchRouterActions", "parameters": [ { "name": "routerId", @@ -9512,23 +9821,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RouteTableEntrySearchRequest" + "$ref": "#/components/schemas/CloudRouterActionsSearchRequest" }, "examples": { - "SearchFilterByNextHop": { - "$ref": "#/components/examples/SearchFilterByNextHop" - }, - "SearchFilterByPrefix": { - "$ref": "#/components/examples/SearchFilterByPrefix" - }, - "SearchFilterByType": { - "$ref": "#/components/examples/SearchFilterByType" - }, - "SearchFilterByStatus": { - "$ref": "#/components/examples/SearchFilterByStatus" - }, - "SearchFilterOrAnd": { - "$ref": "#/components/examples/SearchFilterOrAnd" + "CloudRouterActionsSearchByType": { + "$ref": "#/components/examples/CloudRouterActionsSearchByType" } } } @@ -9541,7 +9838,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RouteTableEntrySearchResponse" + "$ref": "#/components/schemas/CloudRouterActionsSearchResponse" } } } @@ -9639,121 +9936,53 @@ } } }, - "/fabric/v4/routers/{routerId}/validate": { - "post": { + "/fabric/v4/routers/{routerId}/actions/{actionId}": { + "get": { "tags": [ - "Routing Protocols" + "Cloud Routers" ], - "summary": "Validate Subnet", - "description": "This API provides capability to validate all subnets associated with any connection in the given FCR", - "operationId": "validateRoutingProtocol", + "summary": "Get actions", + "description": "This API provides capability to fetch action status", + "operationId": "getCloudRouterActionsByUuid", "parameters": [ { "name": "routerId", "in": "path", - "description": "Cloud Router UUID", + "description": "Router UUID", "required": true, "schema": { - "$ref": "#/components/schemas/RouterId" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateRequest" - }, - "examples": { - "ValidateDirectIpv4": { - "$ref": "#/components/examples/Request-direct-ipv4" - }, - "ValidateDirectIpv6": { - "$ref": "#/components/examples/Request-direct-ipv6" - } - } + "$ref": "#/components/schemas/RouterId_1" } }, - "required": true - }, - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateSubnetResponse" - }, - "examples": { - "ValidateSubnet": { - "$ref": "#/components/examples/Response-200" - } - } - } + { + "name": "actionId", + "in": "path", + "description": "Action UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/ActionId_1" } }, - "400": { - "description": "Bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorList" - }, - "examples": { - "Bad Request": { - "$ref": "#/components/examples/error-400" - }, - "Subnet Overlapping": { - "$ref": "#/components/examples/error-400-overlappingSubnet" - } - } - } + { + "name": "state", + "in": "query", + "description": "Action state", + "schema": { + "$ref": "#/components/schemas/ActionState" } } - } - } - }, - "/fabric/v4/routers/search": { - "post": { - "tags": [ - "Cloud Routers" ], - "summary": "Search Routers", - "description": "The API provides capability to get list of user's Cloud Routers using search criteria, including optional filtering, pagination and sorting", - "operationId": "searchCloudRouters", - "parameters": [], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CloudRouterSearchRequest" - }, - "examples": { - "SearchFilterByStatus": { - "$ref": "#/components/examples/SearchFilterByStatus" - }, - "SearchFilterByNameAndMetroName": { - "$ref": "#/components/examples/SearchFilterByNameAndMetroName" - }, - "SearchFilterOrAnd": { - "$ref": "#/components/examples/SearchFilterOrAnd" - } - } - } - }, - "required": true - }, "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SearchResponse" + "$ref": "#/components/schemas/CloudRouterActionResponse" }, "examples": { - "Example": { - "$ref": "#/components/examples/search-example" + "routerActionExample": { + "$ref": "#/components/examples/CloudRouterActionResponse" } } } @@ -9768,7 +9997,7 @@ }, "examples": { "example": { - "$ref": "#/components/examples/400_invalid_sorting" + "$ref": "#/components/examples/400_invalid_operation" } } } @@ -9804,102 +10033,8 @@ } } }, - "415": { - "description": "Unsupported Media Type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorList" - }, - "examples": { - "example": { - "$ref": "#/components/examples/415" - } - } - } - } - }, - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorList" - }, - "examples": { - "example": { - "$ref": "#/components/examples/500" - } - } - } - } - } - } - } - }, - "/fabric/v4/routerPackages": { - "get": { - "tags": [ - "Cloud Routers" - ], - "summary": "List Packages", - "description": "This API provides capability to retrieve user's Cloud Routers Packages", - "operationId": "getCloudRouterPackages", - "parameters": [ - { - "name": "offset", - "in": "query", - "description": "offset", - "required": false, - "schema": { - "type": "integer" - }, - "example": 1 - }, - { - "name": "limit", - "in": "query", - "description": "number of records to fetch", - "required": false, - "schema": { - "type": "integer" - }, - "example": 10 - } - ], - "responses": { - "200": { - "description": "Fabric Cloud Router Packages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PackageResponse" - }, - "examples": { - "Example": { - "$ref": "#/components/examples/ListFCRPackagesResponse" - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorList" - }, - "examples": { - "example": { - "$ref": "#/components/examples/401" - } - } - } - } - }, - "403": { - "description": "Forbidden", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -9907,14 +10042,471 @@ }, "examples": { "example": { - "$ref": "#/components/examples/403" + "$ref": "#/components/examples/404" } } } } }, "415": { - "description": "Unsupported Media Type", + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/routers/{routerId}/routes/search": { + "post": { + "tags": [ + "Cloud Routers" + ], + "summary": "Search Route Table", + "description": "The API provides capability to get list of user's Fabric Cloud Router route table entries using search criteria, including optional filtering, pagination and sorting", + "operationId": "searchCloudRouterRoutes", + "parameters": [ + { + "name": "routerId", + "in": "path", + "description": "Router UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/RouterId_1" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RouteTableEntrySearchRequest" + }, + "examples": { + "SearchFilterByNextHop": { + "$ref": "#/components/examples/SearchFilterByNextHop" + }, + "SearchFilterByPrefix": { + "$ref": "#/components/examples/SearchFilterByPrefix" + }, + "SearchFilterByType": { + "$ref": "#/components/examples/SearchFilterByType" + }, + "SearchFilterByStatus": { + "$ref": "#/components/examples/SearchFilterByStatus" + }, + "SearchFilterOrAnd": { + "$ref": "#/components/examples/SearchFilterOrAnd" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RouteTableEntrySearchResponse" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/400_invalid_sorting" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/routers/{routerId}/validate": { + "post": { + "tags": [ + "Routing Protocols" + ], + "summary": "Validate Subnet", + "description": "This API provides capability to validate all subnets associated with any connection in the given FCR", + "operationId": "validateRoutingProtocol", + "parameters": [ + { + "name": "routerId", + "in": "path", + "description": "Cloud Router UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/RouterId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidateRequest" + }, + "examples": { + "ValidateDirectIpv4": { + "$ref": "#/components/examples/Request-direct-ipv4" + }, + "ValidateDirectIpv6": { + "$ref": "#/components/examples/Request-direct-ipv6" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidateSubnetResponse" + }, + "examples": { + "ValidateSubnet": { + "$ref": "#/components/examples/Response-200" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "Bad Request": { + "$ref": "#/components/examples/error-400" + }, + "Subnet Overlapping": { + "$ref": "#/components/examples/error-400-overlappingSubnet" + } + } + } + } + } + } + } + }, + "/fabric/v4/routers/search": { + "post": { + "tags": [ + "Cloud Routers" + ], + "summary": "Search Routers", + "description": "The API provides capability to get list of user's Cloud Routers using search criteria, including optional filtering, pagination and sorting", + "operationId": "searchCloudRouters", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudRouterSearchRequest" + }, + "examples": { + "SearchFilterByStatus": { + "$ref": "#/components/examples/SearchFilterByStatus" + }, + "SearchFilterByNameAndMetroName": { + "$ref": "#/components/examples/SearchFilterByNameAndMetroName" + }, + "SearchFilterOrAnd": { + "$ref": "#/components/examples/SearchFilterOrAnd" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SearchResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/search-example" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/400_invalid_sorting" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/routerPackages": { + "get": { + "tags": [ + "Cloud Routers" + ], + "summary": "List Packages", + "description": "This API provides capability to retrieve user's Cloud Routers Packages", + "operationId": "getCloudRouterPackages", + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "responses": { + "200": { + "description": "Fabric Cloud Router Packages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PackageResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/ListFCRPackagesResponse" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", "content": { "application/json": { "schema": { @@ -11038,36 +11630,68 @@ } } }, - "/fabric/v4/timeServices/{serviceId}": { - "get": { + "/fabric/v4/timeServices": { + "post": { "tags": [ "Precision Time" ], - "summary": "Get Time Service", - "description": "The API provides capability to get precision timing service's details", - "operationId": "getTimeServicesById", - "parameters": [ - { - "name": "serviceId", - "in": "path", - "description": "Service UUID", - "required": true, - "schema": { - "$ref": "#/components/schemas/ServiceId" + "summary": "Create Time Service", + "description": "The API provides capability to create Precision Time service", + "operationId": "createTimeServices", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/precisionTimeServiceRequest" + }, + "examples": { + "ntpStandard": { + "$ref": "#/components/examples/ntpStandardService" + }, + "ptpStandard": { + "$ref": "#/components/examples/ptpStandardService" + }, + "ntpEnterprise": { + "$ref": "#/components/examples/ntpEnterpriseService" + }, + "ptpEnterprise": { + "$ref": "#/components/examples/ptpEnterpriseService" + }, + "ptpStandardWithAdvancedConfiguration": { + "$ref": "#/components/examples/ptpStandardWithAdvancedConfiguration" + }, + "ptpEnterpriseWithAdvancedConfiguration": { + "$ref": "#/components/examples/ptpEnterpriseWithAdvancedConfiguration" + }, + "ntpEnterpriseWithAdvancedConfiguration": { + "$ref": "#/components/examples/ntpEnterpriseWithAdvancedConfiguration" + } + } } - } - ], + }, + "required": true + }, "responses": { - "200": { - "description": "Successful operation", + "202": { + "description": "Successful Accepted operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceCreateResponse" + "$ref": "#/components/schemas/precisionTimeServiceResponse" }, "examples": { - "NtpStandard": { + "ntpStandard": { "$ref": "#/components/examples/ntpStandardCreateResponse" + }, + "ntpEnterprise": { + "$ref": "#/components/examples/ntpEnterpriseCreateResponse" + }, + "ptpStandard": { + "$ref": "#/components/examples/ptpStandardCreateResponse" + }, + "ptpEnterprise": { + "$ref": "#/components/examples/ptpEnterpriseCreateResponse" } } } @@ -11081,9 +11705,6 @@ "$ref": "#/components/schemas/ErrorList" }, "examples": { - "MandatoryName": { - "$ref": "#/components/examples/400-Mandatory-Name" - }, "InvalidName": { "$ref": "#/components/examples/400-Invalid-Name" }, @@ -11278,14 +11899,16 @@ } } } - }, - "delete": { + } + }, + "/fabric/v4/timeServices/{serviceId}": { + "get": { "tags": [ "Precision Time" ], - "summary": "Delete time service", - "description": "Delete EPT service by it's uuid", - "operationId": "deleteTimeServiceById", + "summary": "Get Service By ID.", + "description": "The API provides capability to get Precision Time Service details", + "operationId": "getTimeServicesById", "parameters": [ { "name": "serviceId", @@ -11298,21 +11921,55 @@ } ], "responses": { - "202": { + "200": { "description": "Successful operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceCreateResponse" + "$ref": "#/components/schemas/precisionTimeServiceResponse" }, "examples": { - "NtpStandard": { - "$ref": "#/components/examples/ntpStandardCreateResponse" + "ntpStandardOriginPort": { + "$ref": "#/components/examples/ntpStandardResponseASidePort" + }, + "ntpStandardOriginVirtualDevice": { + "$ref": "#/components/examples/ntpStandardResponseASideVirtualDevice" + }, + "ntpStandardOriginCloudRouter": { + "$ref": "#/components/examples/ntpStandardResponseASideCloudRouter" + }, + "ntpEnterpriseOriginPort": { + "$ref": "#/components/examples/ntpEnterpriseWOMD5ResponseASidePort" + }, + "ntpEnterpriseWithAdvConfigOriginPort": { + "$ref": "#/components/examples/ntpEnterpriseResponseASidePort" + }, + "ntpEnterpriseWithAdvConfigOriginVirtualDevice": { + "$ref": "#/components/examples/ntpEnterpriseResponseASideVirtualDevice" + }, + "ntpEnterpriseWithAdvConfigOriginCloudRouter": { + "$ref": "#/components/examples/ntpEnterpriseResponseASideCloudRouter" + }, + "ptpStandardOriginPort": { + "$ref": "#/components/examples/ptpStandardResponse" + }, + "ptpEnterpriseOriginPort": { + "$ref": "#/components/examples/ptpEnterpriseResponse" } } } } }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, "401": { "description": "Unauthorized", "content": { @@ -11343,6 +12000,21 @@ } } }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, "415": { "description": "Unsupported Media Type", "content": { @@ -11375,13 +12047,13 @@ } } }, - "patch": { + "put": { "tags": [ "Precision Time" ], - "summary": "Patch time service", - "description": "The API provides capability to update timing service", - "operationId": "updateTimeServicesById", + "summary": "Configure Service.", + "description": "The API provides capability to Configure/Fulfill the Precision Time Service.", + "operationId": "fulfillTimeServices", "parameters": [ { "name": "serviceId", @@ -11395,21 +12067,22 @@ ], "requestBody": { "content": { - "application/json-patch+json": { + "application/json": { "schema": { - "maxItems": 1, - "minItems": 1, - "type": "array", - "items": { - "$ref": "#/components/schemas/precisionTimeChangeOperation" - } + "$ref": "#/components/schemas/precisionTimeServiceRequest" }, "examples": { - "editName": { - "$ref": "#/components/examples/editName" + "ntpStandard": { + "$ref": "#/components/examples/configureStandardService" + }, + "ptpStandard": { + "$ref": "#/components/examples/configureStandardService" + }, + "ntpEnterpriseWithAdvanceConfiguration": { + "$ref": "#/components/examples/configureNtpEnterpriseAdvancedConfig" }, - "editPackageCode": { - "$ref": "#/components/examples/editPackageCode" + "ptpEnterpriseWithAdvanceConfiguration": { + "$ref": "#/components/examples/configurePtpWithAdvancedConfig" } } } @@ -11418,15 +12091,15 @@ }, "responses": { "202": { - "description": "Successful operation", + "description": "Successful Accepted operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceCreateResponse" + "$ref": "#/components/schemas/precisionTimeServiceResponse" }, "examples": { - "NtpStandard": { - "$ref": "#/components/examples/ntpStandardCreateResponse" + "ntpStandard": { + "$ref": "#/components/examples/ntpStandardConfigureResponse" } } } @@ -11440,9 +12113,6 @@ "$ref": "#/components/schemas/ErrorList" }, "examples": { - "MandatoryName": { - "$ref": "#/components/examples/400-Mandatory-Name" - }, "InvalidName": { "$ref": "#/components/examples/400-Invalid-Name" }, @@ -11606,6 +12276,21 @@ } } }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, "415": { "description": "Unsupported Media Type", "content": { @@ -11637,35 +12322,162 @@ } } } - } - }, - "/fabric/v4/timeServices": { - "post": { + }, + "delete": { "tags": [ "Precision Time" ], - "summary": "Create Time Service", - "description": "The API provides capability to create timing service", - "operationId": "createTimeServices", - "parameters": [], + "summary": "Delete by ID.", + "description": "The API provides capability to delete Precision Time Service by service id.", + "operationId": "deleteTimeServiceById", + "parameters": [ + { + "name": "serviceId", + "in": "path", + "description": "Service UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/ServiceId" + } + } + ], + "responses": { + "202": { + "description": "Successful Delete", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/precisionTimeServiceResponse" + }, + "examples": { + "ntpStandard": { + "$ref": "#/components/examples/ntpStandardDeletingResponse" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "patch": { + "tags": [ + "Precision Time" + ], + "summary": "Update By ID.", + "description": "The API provides capability to update Precision Time Service by service id.", + "operationId": "updateTimeServicesById", + "parameters": [ + { + "name": "serviceId", + "in": "path", + "description": "Service UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/ServiceId" + } + } + ], "requestBody": { "content": { - "application/json": { + "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceRequest" + "maxItems": 1, + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/components/schemas/precisionTimeChangeOperation" + } }, "examples": { - "ntpStandard": { - "$ref": "#/components/examples/ntpStandard" + "updateName": { + "$ref": "#/components/examples/updateName" }, - "ptpStandard": { - "$ref": "#/components/examples/ptpStandard" + "updatePackageCode": { + "$ref": "#/components/examples/updatePackageCode" }, - "ptpEnterpriseWithAdvanceConfiguration": { - "$ref": "#/components/examples/ptpEnterpriseWithAdvanceConfiguration" + "updateNetworkInformation": { + "$ref": "#/components/examples/updateNetworkInformation" }, - "ntpEnterpriseWithAdvanceConfiguration": { - "$ref": "#/components/examples/ntpEnterpriseWithAdvanceConfiguration" + "updatePtpAdvancedConfiguration": { + "$ref": "#/components/examples/updatePtpAdvancedConfiguration" + }, + "updateNtpAdvancedConfiguration": { + "$ref": "#/components/examples/updateNtpAdvancedConfiguration" } } } @@ -11674,15 +12486,15 @@ }, "responses": { "202": { - "description": "Successful operation", + "description": "Successful Accepted operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceCreateResponse" + "$ref": "#/components/schemas/precisionTimeServiceResponse" }, "examples": { - "NtpStandard": { - "$ref": "#/components/examples/ntpStandardCreateResponse" + "ntpStandard": { + "$ref": "#/components/examples/ntpStandardReprovisionResponse" } } } @@ -11696,9 +12508,6 @@ "$ref": "#/components/schemas/ErrorList" }, "examples": { - "MandatoryName": { - "$ref": "#/components/examples/400-Mandatory-Name" - }, "InvalidName": { "$ref": "#/components/examples/400-Invalid-Name" }, @@ -11862,6 +12671,21 @@ } } }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, "415": { "description": "Unsupported Media Type", "content": { @@ -12347,272 +13171,2191 @@ }, "x-preview": false } - } - }, - "components": { - "schemas": { - "ConnectionPostRequest": { - "required": [ - "aSide", - "bandwidth", - "name", - "notifications", - "type", - "zSide" + }, + "/fabric/v4/streams": { + "get": { + "tags": [ + "Streams" ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/ConnectionType" - }, - "name": { - "type": "string", - "description": "Customer-provided connection name" - }, - "order": { - "$ref": "#/components/schemas/Order" + "summary": "Get Streams", + "description": "This API provides capability to retrieve streams", + "operationId": "getStreams", + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 }, - "notifications": { - "type": "array", - "description": "Preferences for notifications on connection configuration or status changes", - "items": { - "$ref": "#/components/schemas/SimplifiedNotification" + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAllStreamResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/stream-get-all-example" + } + } + } } }, - "bandwidth": { - "maximum": 50000, - "minimum": 0, - "type": "integer", - "description": "Connection bandwidth in Mbps" - }, - "geoScope": { - "$ref": "#/components/schemas/GeoScopeType" - }, - "redundancy": { - "$ref": "#/components/schemas/ConnectionRedundancy" - }, - "aSide": { - "$ref": "#/components/schemas/ConnectionSide" - }, - "zSide": { - "$ref": "#/components/schemas/ConnectionSide" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } }, - "project": { - "$ref": "#/components/schemas/Project" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } }, - "additionalInfo": { - "type": "array", - "description": "Connection additional information", - "items": { - "$ref": "#/components/schemas/ConnectionSideAdditionalInfo" + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } } }, - "marketplaceSubscription": { - "$ref": "#/components/schemas/marketplaceSubscription" + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } } - }, - "description": "Create connection post request" + } }, - "Connection": { - "required": [ - "aSide", - "bandwidth", - "name", - "type", - "zSide" + "post": { + "tags": [ + "Streams" ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/ConnectionType" - }, - "href": { - "type": "string", - "description": "Connection URI", - "format": "uri", - "readOnly": true - }, - "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier" - }, - "name": { - "type": "string", - "description": "Customer-provided connection name" - }, - "description": { - "type": "string", - "description": "Customer-provided connection description" - }, - "state": { - "$ref": "#/components/schemas/ConnectionState" - }, - "change": { - "$ref": "#/components/schemas/Change" - }, - "operation": { - "$ref": "#/components/schemas/ConnectionOperation" - }, - "order": { - "$ref": "#/components/schemas/Order" - }, - "notifications": { - "type": "array", - "description": "Preferences for notifications on connection configuration or status changes", - "items": { - "$ref": "#/components/schemas/SimplifiedNotification" + "summary": "Create Stream", + "description": "This API provides capability to create user's stream", + "operationId": "createStreams", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamPostRequest" + }, + "examples": { + "CreateStream": { + "$ref": "#/components/examples/StreamPostRequestExample" + } + } } }, - "account": { - "$ref": "#/components/schemas/SimplifiedAccount" - }, - "changeLog": { - "$ref": "#/components/schemas/Changelog" - }, - "bandwidth": { - "maximum": 10000, - "minimum": 0, - "type": "integer", - "description": "Connection bandwidth in Mbps" - }, - "geoScope": { - "$ref": "#/components/schemas/GeoScopeType" - }, - "redundancy": { - "$ref": "#/components/schemas/ConnectionRedundancy" - }, - "isRemote": { - "type": "boolean", - "description": "Connection property derived from access point locations" - }, - "direction": { - "$ref": "#/components/schemas/ConnectionDirection" + "required": true + }, + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Stream" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamResponseExample" + } + } + } + } }, - "aSide": { - "$ref": "#/components/schemas/ConnectionSide" + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } }, - "zSide": { - "$ref": "#/components/schemas/ConnectionSide" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } }, - "marketplaceSubscription": { - "$ref": "#/components/schemas/marketplaceSubscription" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } }, - "additionalInfo": { - "type": "array", - "description": "Connection additional information", - "items": { - "$ref": "#/components/schemas/ConnectionSideAdditionalInfo" + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } } }, - "project": { - "$ref": "#/components/schemas/Project" + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } } - }, - "description": "Connection specification" - }, - "ErrorList": { - "type": "array", - "description": "List of Error Message", - "items": { - "$ref": "#/components/schemas/Error" - } - }, - "ConnectionId": { - "type": "string", - "description": "Connection UUID", - "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" - }, - "ConnectionDirection": { - "type": "string", - "description": "Connection directionality from the requester point of view", - "enum": [ - "INTERNAL", - "INCOMING", - "OUTGOING" - ] - }, - "VirtualCircuitId": { - "type": "string", - "description": "Virtual Circuit UUID" - }, - "ConnectionUpdateRequest": { - "minItems": 1, - "type": "array", - "description": "Connection Update Request", - "items": { - "$ref": "#/components/schemas/ConnectionChangeOperation" } - }, - "ConnectionActionRequest": { - "required": [ - "type" + } + }, + "/fabric/v4/streams/{streamId}": { + "get": { + "tags": [ + "Streams" ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/Actions" - }, - "description": { - "type": "string", - "description": "Connection rejection reason datail" - }, - "data": { - "$ref": "#/components/schemas/ConnectionAcceptanceData" + "summary": "Get Stream", + "description": "This API provides capability to get user's stream", + "operationId": "getStreamByUuid", + "parameters": [ + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } } - }, - "description": "Connection action request" - }, - "ConnectionAction": { - "required": [ - "data", - "href", - "type", - "uuid" ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/Actions" - }, - "href": { - "type": "string", - "description": "Connection action URI", - "format": "uri", - "readOnly": true + "responses": { + "200": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Stream" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamResponseExample" + } + } + } + } }, - "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier" + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } }, - "description": { - "type": "string", - "description": "Connection rejection reason detail" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } }, - "data": { - "$ref": "#/components/schemas/ConnectionAcceptanceData" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } }, - "changeLog": { - "$ref": "#/components/schemas/Changelog" - } - }, - "description": "Connection action" - }, - "GetResponse": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } }, - "data": { - "type": "array", - "description": "List of Routing Protocols", - "items": { - "$ref": "#/components/schemas/RoutingProtocolData" + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } } } } }, - "RoutingProtocolBase": { + "put": { + "tags": [ + "Streams" + ], + "summary": "Update Stream", + "description": "This API provides capability to update user's stream", + "operationId": "updateStreamByUuid", + "parameters": [ + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamPutRequest" + }, + "examples": { + "UpdateStream": { + "$ref": "#/components/examples/StreamPutRequestExample" + } + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Stream" + }, + "examples": { + "StreamResponse": { + "$ref": "#/components/examples/StreamResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Streams" + ], + "summary": "Delete Stream", + "description": "This API provides capability to delete user's stream", + "operationId": "deleteStreamByUuid", + "parameters": [ + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Stream" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamDeleteRequestExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streamAssets/search": { + "post": { + "tags": [ + "Streams" + ], + "summary": "Get Assets", + "description": "This API provides capability to retrieve stream assets", + "operationId": "getStreamsAssets", + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAssetSearchRequest" + }, + "examples": { + "SearchAssets": { + "$ref": "#/components/examples/StreamAssetSearchRequestExample" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAllStreamAssetResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/stream-asset-get-all-example" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streams/{streamId}/{asset}/{assetId}": { + "get": { + "tags": [ + "Streams" + ], + "summary": "Get Asset", + "description": "This API provides capability to get user's assets attached to a stream", + "operationId": "getStreamAssetByUuid", + "parameters": [ + { + "name": "assetId", + "in": "path", + "description": "asset UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/AssetId" + } + }, + { + "name": "asset", + "in": "path", + "description": "asset", + "required": true, + "schema": { + "$ref": "#/components/schemas/Asset" + } + }, + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "responses": { + "200": { + "description": "Stream asset object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAsset" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamConnectionAssetResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "put": { + "tags": [ + "Streams" + ], + "summary": "Attach Asset", + "description": "This API provides capability to attach an asset to a stream", + "operationId": "updateStreamAssetByUuid", + "parameters": [ + { + "name": "assetId", + "in": "path", + "description": "asset UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/AssetId" + } + }, + { + "name": "asset", + "in": "path", + "description": "asset", + "required": true, + "schema": { + "$ref": "#/components/schemas/Asset" + } + }, + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAssetPutRequest" + }, + "examples": { + "UpdateStream": { + "$ref": "#/components/examples/StreamAssetPutRequestExample" + } + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAsset" + }, + "examples": { + "StreamAssetResponse": { + "$ref": "#/components/examples/StreamRouterAssetAttachResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Streams" + ], + "summary": "Detach Asset", + "description": "This API provides capability to detach an asset from a stream", + "operationId": "deleteStreamAssetByUuid", + "parameters": [ + { + "name": "assetId", + "in": "path", + "description": "asset UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/AssetId" + } + }, + { + "name": "asset", + "in": "path", + "description": "asset", + "required": true, + "schema": { + "$ref": "#/components/schemas/Asset" + } + }, + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAsset" + }, + "examples": { + "StreamAssetResponse": { + "$ref": "#/components/examples/StreamRouterAssetDetachResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streams/{streamId}/streamSubscriptions": { + "get": { + "tags": [ + "Streams" + ], + "summary": "Get Stream's Subs", + "description": "This API provides capability to retrieve subscriptions in a stream", + "operationId": "getSubscriptionsInStream", + "parameters": [ + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + }, + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSubscriptionsInStreamResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/stream-get-all-subscription-example" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streamSubscriptions": { + "get": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Get Subscriptions", + "description": "This API provides capability to retrieve stream subscriptions", + "operationId": "getStreamSubscriptions", + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAllStreamSubscriptionResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/stream-subscription-get-all-example" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Create Subscription", + "description": "This API provides capability to create user's Stream Subscriptions", + "operationId": "createStreamSubscriptions", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionPostRequest" + }, + "examples": { + "CreateStreamSubscription_Splunk": { + "$ref": "#/components/examples/StreamSubscriptionPostRequestExampleSplunk" + }, + "CreateStreamSubscription_Slack": { + "$ref": "#/components/examples/StreamSubscriptionPostRequestExampleSlack" + }, + "CreateStreamSubscription_Pagerduty": { + "$ref": "#/components/examples/StreamSubscriptionPostRequestExamplePagerduty" + }, + "CreateStreamSubscription_Datadog": { + "$ref": "#/components/examples/StreamSubscriptionPostRequestExampleDatadog" + } + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "Stream Subscription object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscription" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamSubscriptionResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streamSubscriptions/{streamSubscriptionId}": { + "get": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Get Subscription", + "description": "This API provides capability to delete user's get Stream Subscriptions", + "operationId": "getStreamSubscriptionByUuid", + "parameters": [ + { + "name": "streamSubscriptionId", + "in": "path", + "description": "Stream Subscription UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionId" + } + } + ], + "responses": { + "200": { + "description": "Stream Subscription object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscription" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamSubscriptionResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "put": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Update Subscription", + "description": "This API provides capability to update user's Stream Subscriptions", + "operationId": "updateStreamSubscriptionByUuid", + "parameters": [ + { + "name": "streamSubscriptionId", + "in": "path", + "description": "Stream Subscription UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionPutRequest" + }, + "examples": { + "UpdateSubscription": { + "$ref": "#/components/examples/StreamSubscriptionPutRequestExample" + } + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "Stream Subscription object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscription" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamSubscriptionResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Delete Subscription", + "description": "This API provides capability to delete user's Stream Subscriptions", + "operationId": "deleteStreamSubscriptionByUuid", + "parameters": [ + { + "name": "streamSubscriptionId", + "in": "path", + "description": "Stream Subscription UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionId" + } + } + ], + "responses": { + "202": { + "description": "Stream Subscription object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscription" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamSubscriptionDeleteResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "ConnectionPostRequest": { + "required": [ + "aSide", + "bandwidth", + "name", + "notifications", + "type", + "zSide" + ], + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/ConnectionType" + }, + "name": { + "type": "string", + "description": "Customer-provided connection name" + }, + "order": { + "$ref": "#/components/schemas/Order" + }, + "notifications": { + "type": "array", + "description": "Preferences for notifications on connection configuration or status changes", + "items": { + "$ref": "#/components/schemas/SimplifiedNotification" + } + }, + "bandwidth": { + "maximum": 50000, + "minimum": 0, + "type": "integer", + "description": "Connection bandwidth in Mbps" + }, + "geoScope": { + "$ref": "#/components/schemas/GeoScopeType" + }, + "redundancy": { + "$ref": "#/components/schemas/ConnectionRedundancy" + }, + "aSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "zSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "additionalInfo": { + "type": "array", + "description": "Connection additional information", + "items": { + "$ref": "#/components/schemas/ConnectionSideAdditionalInfo" + } + }, + "marketplaceSubscription": { + "$ref": "#/components/schemas/marketplaceSubscription" + } + }, + "description": "Create connection post request" + }, + "Connection": { + "required": [ + "aSide", + "bandwidth", + "name", + "type", + "zSide" + ], + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Connection URI", + "format": "uri", + "readOnly": true + }, + "type": { + "$ref": "#/components/schemas/ConnectionType" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned connection identifier" + }, + "name": { + "type": "string", + "description": "Customer-provided connection name" + }, + "description": { + "type": "string", + "description": "Customer-provided connection description" + }, + "state": { + "$ref": "#/components/schemas/ConnectionState" + }, + "change": { + "$ref": "#/components/schemas/Change" + }, + "operation": { + "$ref": "#/components/schemas/ConnectionOperation" + }, + "order": { + "$ref": "#/components/schemas/Order" + }, + "notifications": { + "type": "array", + "description": "Preferences for notifications on connection configuration or status changes", + "items": { + "$ref": "#/components/schemas/SimplifiedNotification" + } + }, + "account": { + "$ref": "#/components/schemas/SimplifiedAccount" + }, + "changeLog": { + "$ref": "#/components/schemas/Changelog" + }, + "bandwidth": { + "maximum": 10000, + "minimum": 0, + "type": "integer", + "description": "Connection bandwidth in Mbps" + }, + "geoScope": { + "$ref": "#/components/schemas/GeoScopeType" + }, + "redundancy": { + "$ref": "#/components/schemas/ConnectionRedundancy" + }, + "isRemote": { + "type": "boolean", + "description": "Connection property derived from access point locations" + }, + "direction": { + "$ref": "#/components/schemas/ConnectionDirection" + }, + "aSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "zSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "marketplaceSubscription": { + "$ref": "#/components/schemas/marketplaceSubscription" + }, + "additionalInfo": { + "type": "array", + "description": "Connection additional information", + "items": { + "$ref": "#/components/schemas/ConnectionSideAdditionalInfo" + } + }, + "project": { + "$ref": "#/components/schemas/Project" + } + }, + "description": "Connection specification" + }, + "ErrorList": { + "type": "array", + "description": "List of Error Message", + "items": { + "$ref": "#/components/schemas/Error" + } + }, + "ConnectionId": { + "type": "string", + "description": "Connection UUID", + "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + }, + "ConnectionDirection": { + "type": "string", + "description": "Connection directionality from the requester point of view", + "enum": [ + "INTERNAL", + "INCOMING", + "OUTGOING" + ] + }, + "VirtualCircuitId": { + "type": "string", + "description": "Virtual Circuit UUID" + }, + "ConnectionUpdateRequest": { + "minItems": 1, + "type": "array", + "description": "Connection Update Request", + "items": { + "$ref": "#/components/schemas/ConnectionChangeOperation" + } + }, + "ConnectionActionRequest": { + "required": [ + "type" + ], + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/Actions" + }, + "description": { + "type": "string", + "description": "Connection rejection reason detail" + }, + "data": { + "$ref": "#/components/schemas/ConnectionAcceptanceData" + } + }, + "description": "Connection action request" + }, + "ConnectionAction": { + "required": [ + "data", + "href", + "type", + "uuid" + ], + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/Actions" + }, + "href": { + "type": "string", + "description": "Connection action URI", + "format": "uri", + "readOnly": true + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned connection identifier" + }, + "description": { + "type": "string", + "description": "Connection rejection reason detail" + }, + "data": { + "$ref": "#/components/schemas/ConnectionAcceptanceData" + }, + "changeLog": { + "$ref": "#/components/schemas/Changelog" + } + }, + "description": "Connection action" + }, + "ConnectionRouteSearchRequest": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/ConnectionRouteEntryFilters" + }, + "pagination": { + "$ref": "#/components/schemas/PaginationRequest" + }, + "sort": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConnectionRouteSortCriteria" + } + } + }, + "description": "Search requests containing criteria" + }, + "ConnectionRouteEntryFilters": { + "type": "object", + "properties": { + "and": { + "maxItems": 8, + "type": "array", + "items": { + "$ref": "#/components/schemas/ConnectionRouteEntryFilter" + } + } + } + }, + "ConnectionRouteEntryFilter": { + "type": "object", + "anyOf": [ + { + "$ref": "#/components/schemas/ConnectionRouteEntrySimpleExpression" + }, + { + "$ref": "#/components/schemas/ConnectionRouteEntryOrFilter" + } + ] + }, + "ConnectionRouteEntrySimpleExpression": { + "type": "object", + "properties": { + "property": { + "type": "string", + "description": "Possible field names to use on filters:\n * `/type` - Route table entry type\n * `/state` - Route table entry state\n * `/prefix` - Route table entry prefix\n * `/nextHop` - Route table entry nextHop\n * `/*` - all-category search\n", + "example": "/type" + }, + "operator": { + "type": "string", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `>` - greater than\n * `>=` - greater than or equal to\n * `<` - less than\n * `<=` - less than or equal to\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `~*` - case-insensitive like\n", + "example": "=" + }, + "values": { + "type": "array", + "items": { + "type": "string", + "example": "IPv4_BGP_ROUTE" + } + } + } + }, + "ConnectionRouteEntryOrFilter": { + "type": "object", + "properties": { + "or": { + "maxItems": 3, + "type": "array", + "items": { + "$ref": "#/components/schemas/ConnectionRouteEntrySimpleExpression" + } + } + } + }, + "ConnectionRouteSortCriteria": { + "type": "object", + "properties": { + "direction": { + "$ref": "#/components/schemas/ConnectionRouteEntrySortDirection" + }, + "property": { + "$ref": "#/components/schemas/ConnectionRouteEntrySortBy" + } + } + }, + "ConnectionRouteEntrySortDirection": { + "type": "string", + "description": "Sorting direction", + "default": "DESC", + "enum": [ + "DESC", + "ASC" + ] + }, + "ConnectionRouteEntrySortBy": { + "type": "string", + "description": "Possible field names to use on sorting", + "default": "/changeLog/updatedDateTime", + "enum": [ + "/changeLog/createdDateTime", + "/changeLog/updatedDateTime", + "/med", + "/connection/name", + "/type", + "/prefix", + "/nextHop" + ] + }, + "ConnectionRouteTableEntrySearchResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/ConnectionRouteTableEntry" + } + } + } + }, + "GetResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "List of Routing Protocols", + "items": { + "$ref": "#/components/schemas/RoutingProtocolData" + } + } + } + }, + "RoutingProtocolBase": { "type": "object", "properties": { "type": { @@ -14193,9 +16936,6 @@ "format": "uuid" }, "ServiceToken": { - "required": [ - "uuid" - ], "type": "object", "properties": { "type": { @@ -14212,6 +16952,14 @@ "description": "Equinix-assigned service token identifier", "format": "uuid" }, + "issuerSide": { + "type": "string", + "description": "information about token side", + "enum": [ + "ASIDE", + "ZSIDE" + ] + }, "name": { "type": "string", "description": "Customer-provided service token name" @@ -14535,18 +17283,14 @@ "description": "GET All User Port Across Fabric Metros" }, "Port": { - "required": [ - "account", - "connectivitySourceType", - "encapsulation", - "location", - "physicalPortsSpeed", - "physicalPortsType", - "settings", - "type" - ], "type": "object", "properties": { + "href": { + "type": "string", + "description": "Equinix assigned response attribute for an absolute URL that is the subject of the link's context.", + "format": "uri", + "readOnly": true + }, "type": { "$ref": "#/components/schemas/PortType" }, @@ -14554,12 +17298,6 @@ "type": "integer", "description": "Equinix assigned response attribute for Port Id" }, - "href": { - "type": "string", - "description": "Equinix assigned response attribute for an absolute URL that is the subject of the link's context.", - "format": "uri", - "readOnly": true - }, "uuid": { "type": "string", "description": "Equinix assigned response attribute for port identifier", @@ -14622,22 +17360,23 @@ "order": { "$ref": "#/components/schemas/PortOrder" }, - "cvpId": { - "type": "string", - "description": "Equinix assigned response attribute for Unique ID for a virtual port." - }, "operation": { - "$ref": "#/components/schemas/PortOperation" + "allOf": [ + { + "$ref": "#/components/schemas/PortOperation" + } + ] }, "account": { "$ref": "#/components/schemas/SimplifiedAccount" }, - "changelog": { + "changeLog": { "$ref": "#/components/schemas/Changelog" }, "serviceType": { "type": "string", "description": "Port service Type", + "deprecated": true, "enum": [ "EPL", "MSP" @@ -14646,7 +17385,8 @@ "bandwidth": { "minimum": 0, "type": "integer", - "description": "Equinix assigned response attribute for Port bandwidth in Mbps" + "description": "Equinix assigned response attribute for Port bandwidth in Mbps", + "deprecated": true }, "availableBandwidth": { "minimum": 0, @@ -14689,12 +17429,19 @@ "description": "If LAG enabled" }, "lag": { - "$ref": "#/components/schemas/PortLag" + "allOf": [ + { + "$ref": "#/components/schemas/PortLag" + } + ] }, "asn": { "type": "integer", "description": "Port ASN" }, + "package": { + "$ref": "#/components/schemas/Package" + }, "settings": { "$ref": "#/components/schemas/PortSettings" }, @@ -14736,19 +17483,20 @@ "PhysicalPort": { "type": "object", "properties": { - "type": { - "$ref": "#/components/schemas/PhysicalPortType" - }, - "id": { - "type": "integer", - "description": "Equinix assigned response attribute for Physical Port Id" - }, "href": { "type": "string", "description": "Equinix assigned response attribute for an absolute URL that is the subject of the link's context.", "format": "uri", "readOnly": true }, + "type": { + "$ref": "#/components/schemas/PhysicalPortType" + }, + "id": { + "type": "integer", + "description": "Equinix assigned response attribute for Physical Port Id", + "deprecated": true + }, "state": { "$ref": "#/components/schemas/PortState" }, @@ -14764,12 +17512,23 @@ "type": "string", "description": "Physical Port Interface Type" }, + "uuid": { + "type": "string", + "description": "Equinix assigned response attribute for physical port identifier", + "format": "uuid" + }, "tether": { "$ref": "#/components/schemas/PortTether" }, "demarcationPoint": { "$ref": "#/components/schemas/PortDemarcationPoint" }, + "settings": { + "$ref": "#/components/schemas/PhysicalPortSettings" + }, + "interface": { + "$ref": "#/components/schemas/PortInterface" + }, "notifications": { "type": "array", "description": "Notification preferences", @@ -14800,17 +17559,49 @@ }, "description": "Physical Port specification" }, + "PortRequest": { + "required": [ + "account", + "connectivitySourceType", + "encapsulation", + "location", + "physicalPortsSpeed", + "physicalPortsType", + "settings", + "type" + ], + "type": "object", + "description": "PortRequest is the Request Object for creating single and bulk fabric ports", + "allOf": [ + { + "$ref": "#/components/schemas/Port" + } + ] + }, + "BulkPortRequest": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PortRequest" + } + } + }, + "description": "Create bulk port request" + }, "BulkPort": { "type": "object", "properties": { "data": { "type": "array", + "description": "Ports that are part of BulkPort", "items": { "$ref": "#/components/schemas/Port" } } }, - "description": "Create bulk port request" + "description": "Bulk Port specification" }, "BulkPhysicalPort": { "type": "object", @@ -15597,7 +18388,7 @@ "type": "string", "description": "Cloud Router action state", "enum": [ - "DONE", + "SUCCEEDED", "FAILED", "PENDING" ] @@ -15628,6 +18419,16 @@ }, "changeLog": { "$ref": "#/components/schemas/Changelog" + }, + "href": { + "type": "string", + "example": "https://api.equinix.com//fabric/v4/routers/a1c6b7fd-aead-410a-96b4-b1dfa1071700/actions/1e9414f1-763e-4c0a-86c6-0bc8336048d9" + }, + "connection": { + "$ref": "#/components/schemas/RouterActionsConnection" + }, + "operation": { + "$ref": "#/components/schemas/Operation" } }, "description": "Cloud Router actions response object" @@ -15640,10 +18441,140 @@ "properties": { "type": { "$ref": "#/components/schemas/CloudRouterActionType" + }, + "connection": { + "$ref": "#/components/schemas/RouterActionsConnection" } }, "description": "Cloud Router action request" }, + "CloudRouterActionsSearchRequest": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/CloudRouterActionsSearchFilters" + }, + "pagination": { + "$ref": "#/components/schemas/PaginationRequest" + }, + "sort": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CloudRouterActionsSearchSortCriteria" + } + } + }, + "description": "Search requests containing criteria" + }, + "CloudRouterActionsSearchFilters": { + "type": "object", + "properties": { + "and": { + "maxItems": 8, + "type": "array", + "items": { + "$ref": "#/components/schemas/CloudRouterActionsSearchFilter" + } + } + } + }, + "CloudRouterActionsSearchFilter": { + "type": "object", + "anyOf": [ + { + "$ref": "#/components/schemas/CloudRouterActionsSearchExpression" + }, + { + "$ref": "#/components/schemas/CloudRouterActionsSearchOrFilter" + } + ] + }, + "CloudRouterActionsSearchExpression": { + "type": "object", + "properties": { + "property": { + "type": "string", + "description": "Possible field names to use on filters:\n * `/type` - type of update\n * `/state` - action state\n * `/connection/uuid` - connection uuid associated\n * `/*` - all-category search\n", + "example": "/type" + }, + "operator": { + "type": "string", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `>` - greater than\n * `>=` - greater than or equal to\n * `<` - less than\n * `<=` - less than or equal to\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `~*` - case-insensitive like\n", + "example": "=" + }, + "values": { + "type": "array", + "items": { + "type": "string", + "example": "ROUTE_TABLE_ENTRY_UPDATE" + } + } + } + }, + "CloudRouterActionsSearchOrFilter": { + "type": "object", + "properties": { + "or": { + "maxItems": 3, + "type": "array", + "items": { + "$ref": "#/components/schemas/CloudRouterActionsSearchExpression" + } + } + } + }, + "CloudRouterActionsSearchSortCriteria": { + "type": "object", + "properties": { + "direction": { + "$ref": "#/components/schemas/CloudRouterActionsSearchSortDirection" + }, + "property": { + "$ref": "#/components/schemas/CloudRouterActionsSearchSortBy" + } + } + }, + "CloudRouterActionsSearchSortDirection": { + "type": "string", + "description": "Sorting direction", + "default": "DESC", + "enum": [ + "DESC", + "ASC" + ] + }, + "CloudRouterActionsSearchSortBy": { + "type": "string", + "description": "Possible field names to use on sorting", + "default": "/changeLog/updatedDateTime", + "enum": [ + "/changeLog/createdDateTime", + "/changeLog/updatedDateTime", + "/connection/name", + "/type" + ] + }, + "CloudRouterActionsSearchResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/CloudRouterActionResponse" + } + } + } + }, + "ActionId_1": { + "type": "string", + "description": "Action UUID", + "format": "uuid", + "example": "457400f8-d360-11e9-bb65-2a2ae2dbcced" + }, "RouteTableEntrySearchRequest": { "type": "object", "properties": { @@ -16079,7 +19010,7 @@ "type": "array", "description": "Connection response data", "items": { - "$ref": "#/components/schemas/Connection" + "$ref": "#/components/schemas/ValidateConnectionResponse" } } }, @@ -16332,42 +19263,425 @@ "ASC" ] }, - "NetworkSortBy": { + "NetworkSortBy": { + "type": "string", + "description": "Possible field names to use on sorting", + "default": "/changeLog/updatedDateTime", + "enum": [ + "/name", + "/uuid", + "/scope", + "/operation/equinixStatus", + "/location/region", + "/changeLog/createdDateTime", + "/changeLog/updatedDateTime" + ] + }, + "NetworkSearchResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "sort": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NetworkSortCriteriaResponse" + } + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Network" + } + } + }, + "description": "List of networks" + }, + "NetworkConnections": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Connection" + } + } + }, + "description": "List of network changes" + }, + "NetworkChangeResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NetworkChange" + } + } + }, + "description": "List of network changes" + }, + "ChangeId_3": { + "type": "string", + "description": "Network Change UUID", + "format": "uuid", + "example": "6d500177-9404-41f2-99e8-2bf1a84d8db5" + }, + "NetworkChange": { + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Network URI", + "format": "uri", + "readOnly": true, + "example": "https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9" + }, + "uuid": { + "type": "string", + "description": "Uniquely identifies a change", + "format": "uuid", + "example": "4b17da68-3d6b-436d-9c8f-2105f3b950d9" + }, + "type": { + "$ref": "#/components/schemas/NetworkChangeType" + }, + "status": { + "$ref": "#/components/schemas/NetworkChangeStatus" + }, + "createdDateTime": { + "type": "string", + "description": "Set when change flow starts", + "format": "date-time", + "example": "2020-11-06T07:00:00Z" + }, + "updatedDateTime": { + "type": "string", + "description": "Set when change object is updated", + "format": "date-time", + "example": "2020-11-06T07:00:00Z" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NetworkChangeOperation" + } + } + }, + "description": "Current state of latest network change" + }, + "precisionTimeServiceRequest": { + "title": "precisionTimeServiceRequest", + "required": [ + "connections", + "ipv4", + "name", + "package", + "type" + ], + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Precision Time Service Type refers to the corresponding Protocol.", + "enum": [ + "NTP", + "PTP" + ] + }, + "name": { + "type": "string", + "description": "Precision Time Service name." + }, + "package": { + "$ref": "#/components/schemas/precisionTimePackageRequest" + }, + "connections": { + "type": "array", + "items": { + "$ref": "#/components/schemas/virtualConnectionUuid" + } + }, + "ipv4": { + "$ref": "#/components/schemas/ipv4" + }, + "ntpAdvancedConfiguration": { + "$ref": "#/components/schemas/ntpAdvanceConfiguration" + }, + "ptpAdvancedConfiguration": { + "$ref": "#/components/schemas/ptpAdvanceConfiguration" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "order": { + "$ref": "#/components/schemas/precisionTimeOrder" + } + }, + "description": "Create Precision Time Service Request Schema." + }, + "precisionTimeServiceResponse": { + "title": "precisionTimeServiceResponse", + "required": [ + "href", + "package", + "state", + "type", + "uuid" + ], + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Precision Time Service URI.", + "format": "uri" + }, + "type": { + "type": "string", + "description": "Precision Time Service type refers to the corresponding protocol.", + "enum": [ + "NTP", + "PTP" + ] + }, + "name": { + "type": "string", + "description": "Precision Time Service Name." + }, + "uuid": { + "type": "string", + "description": "Precision Time Service UUID.", + "format": "uuid" + }, + "state": { + "type": "string", + "description": "Precision Time Service Status.", + "enum": [ + "CANCELLED", + "CONFIGURING", + "CONFIGURING_FAILED", + "DRAFT", + "DEPROVISIONING", + "DEPROVISIONING_FAILED", + "DEPROVISIONED", + "PROVISIONED", + "PROVISIONING", + "PROVISIONING_FAILED", + "REPROVISIONING", + "REPROVISIONING_FAILED" + ] + }, + "package": { + "$ref": "#/components/schemas/precisionTimePackageResponse" + }, + "connections": { + "maxItems": 2, + "minItems": 1, + "uniqueItems": true, + "type": "array", + "description": "Fabric Connections associated with Precision Time Service.", + "items": { + "$ref": "#/components/schemas/virtualConnectionTimeServiceResponse" + } + }, + "ipv4": { + "$ref": "#/components/schemas/ipv4" + }, + "ntpAdvancedConfiguration": { + "$ref": "#/components/schemas/ntpAdvanceConfiguration" + }, + "ptpAdvancedConfiguration": { + "$ref": "#/components/schemas/ptpAdvanceConfiguration" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "account": { + "$ref": "#/components/schemas/SimplifiedAccount" + }, + "order": { + "$ref": "#/components/schemas/precisionTimeOrder" + }, + "changeLog": { + "$ref": "#/components/schemas/Changelog" + } + }, + "description": "Precision Time Service Response Schema." + }, + "ServiceId": { + "type": "string", + "description": "Precision Time Service UUID", + "format": "uuid", + "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + }, + "precisionTimeChangeOperation": { + "required": [ + "op", + "path", + "value" + ], + "type": "object", + "properties": { + "op": { + "type": "string", + "description": "Handy shortcut for operation name", + "enum": [ + "replace", + "add", + "remove" + ] + }, + "path": { + "type": "string", + "description": "path inside document leading to updated parameter", + "enum": [ + "/name", + "/package/code", + "/ipv4", + "/ntpAdvancedConfiguration", + "/ptpAdvancedConfiguration" + ] + }, + "value": { + "type": "object", + "description": "new value for updated parameter" + } + }, + "description": "Fabric Precision Timing change operation data" + }, + "TimeServicesSearchRequest": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/TimeServiceFilters" + }, + "pagination": { + "$ref": "#/components/schemas/PaginationRequest" + }, + "sort": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TimeServiceSortCriteria" + } + } + }, + "description": "Search requests containing criteria" + }, + "TimeServiceFilters": { + "type": "object", + "properties": { + "and": { + "maxItems": 8, + "type": "array", + "items": { + "$ref": "#/components/schemas/TimeServiceFilter" + } + } + } + }, + "TimeServiceFilter": { + "type": "object", + "anyOf": [ + { + "$ref": "#/components/schemas/TimeServiceSimpleExpression" + }, + { + "$ref": "#/components/schemas/TimeServiceOrFilter" + } + ] + }, + "TimeServiceSimpleExpression": { + "type": "object", + "properties": { + "property": { + "type": "string", + "description": "Possible field names to use on filters:\n * `/project/projectId` - project id (mandatory)\n * `/name` - Precision Time Service name\n * `/uuid` - Precision Time Service uuid\n * `/type` - Precision Time Service protocol\n * `/state` - Precision Time Service status\n * `/account/accountNumber` - Precision Time Service account number\n * `/package/code` - Precision Time Service package\n * `/*` - all-category search\n", + "example": "/name" + }, + "operator": { + "type": "string", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `ILIKE` - case-insensitive like\n", + "example": "=" + }, + "values": { + "type": "array", + "items": { + "type": "string", + "example": "FabricPrecisionTimeService-1" + } + } + } + }, + "TimeServiceOrFilter": { + "type": "object", + "properties": { + "or": { + "maxItems": 3, + "type": "array", + "items": { + "$ref": "#/components/schemas/TimeServiceSimpleExpression" + } + } + } + }, + "TimeServiceSortCriteria": { + "type": "object", + "properties": { + "direction": { + "$ref": "#/components/schemas/TimeServiceSortDirection" + }, + "property": { + "$ref": "#/components/schemas/TimeServiceSortBy" + } + } + }, + "TimeServiceSortDirection": { + "type": "string", + "description": "Sorting direction", + "default": "DESC", + "enum": [ + "DESC", + "ASC" + ] + }, + "TimeServiceSortBy": { "type": "string", "description": "Possible field names to use on sorting", "default": "/changeLog/updatedDateTime", "enum": [ "/name", "/uuid", - "/scope", - "/operation/equinixStatus", - "/location/region", + "/state", + "/type", + "/package/code", "/changeLog/createdDateTime", "/changeLog/updatedDateTime" ] }, - "NetworkSearchResponse": { + "ServiceSearchResponse": { "type": "object", "properties": { "pagination": { "$ref": "#/components/schemas/Pagination" }, - "sort": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetworkSortCriteriaResponse" - } - }, "data": { "type": "array", + "description": "Data returned from the API call.", "items": { - "$ref": "#/components/schemas/Network" + "$ref": "#/components/schemas/precisionTimeServiceResponse" } } - }, - "description": "List of networks" + } }, - "NetworkConnections": { + "precisionTimeServiceConnectionsResponse": { + "title": "precisionTimeServiceConnectionResponse", "type": "object", "properties": { "pagination": { @@ -16375,14 +19689,16 @@ }, "data": { "type": "array", + "description": "Data returned from the API call", "items": { - "$ref": "#/components/schemas/Connection" + "$ref": "#/components/schemas/connectionLink" } } }, - "description": "List of network changes" + "description": "EPT service instance's L2 connections" }, - "NetworkChangeResponse": { + "precisionTimeServicePackagesResponse": { + "title": "precisionTimeServicePackagesResponse", "type": "object", "properties": { "pagination": { @@ -16390,228 +19706,389 @@ }, "data": { "type": "array", + "description": "Data returned from the API call", "items": { - "$ref": "#/components/schemas/NetworkChange" + "$ref": "#/components/schemas/precisionTimePackageResponse" } } }, - "description": "List of network changes" - }, - "ChangeId_3": { - "type": "string", - "description": "Network Change UUID", - "format": "uuid", - "example": "6d500177-9404-41f2-99e8-2bf1a84d8db5" + "description": "Precision Packages" }, - "NetworkChange": { + "precisionTimePackageResponse": { + "title": "precisionTimePackageRespose", + "required": [ + "bandwidth", + "code", + "type" + ], "type": "object", "properties": { "href": { "type": "string", - "description": "Network URI", - "format": "uri", - "readOnly": true, - "example": "https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9" + "format": "uri" }, - "uuid": { + "type": { "type": "string", - "description": "Uniquely identifies a change", - "format": "uuid", - "example": "4b17da68-3d6b-436d-9c8f-2105f3b950d9" + "enum": [ + "TIME_SERVICE_PACKAGE" + ] }, - "type": { - "$ref": "#/components/schemas/NetworkChangeType" + "code": { + "type": "string", + "enum": [ + "NTP_STANDARD", + "NTP_ENTERPRISE", + "PTP_STANDARD", + "PTP_ENTERPRISE" + ] }, - "status": { - "$ref": "#/components/schemas/NetworkChangeStatus" + "bandwidth": { + "type": "integer", + "description": "Connection bandwidth in Mbps.", + "example": 10 }, - "createdDateTime": { - "type": "string", - "description": "Set when change flow starts", - "format": "date-time", - "example": "2020-11-06T07:00:00Z" + "clientsPerSecondMax": { + "minimum": 0, + "type": "integer", + "description": "Max. number of clients that can be synchronized per second at a packet rate of 1 per second.", + "example": 100 }, - "updatedDateTime": { + "redundancySupported": { + "type": "boolean", + "description": "Is Redundant virtual connection supported for the package code.", + "example": false + }, + "multiSubnetSupported": { + "type": "boolean", + "description": "Is Multiple subnet supported for the package code.", + "example": true + }, + "accuracySlaUnit": { "type": "string", - "description": "Set when change object is updated", - "format": "date-time", - "example": "2020-11-06T07:00:00Z" + "description": "Accuracy SLA unit.", + "example": "microseconds" }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetworkChangeOperation" - } + "accuracySla": { + "type": "integer", + "description": "Accuracy SLA for the package code, -1 value denotes the accuracySla is not published.", + "example": 50 + }, + "accuracySlaMin": { + "minimum": 1, + "type": "integer", + "description": "Typical minimum Accuracy for the package code.", + "example": 1 + }, + "accuracySlaMax": { + "minimum": 1, + "type": "integer", + "description": "Typical maximum Accuracy for the package code.", + "example": 10 + }, + "changelog": { + "$ref": "#/components/schemas/Changelog" } }, - "description": "Current state of latest network change" + "description": "EPT Service Package Information", + "example": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD", + "type": "TIME_SERVICE_PACKAGE", + "code": "NTP_STANDARD", + "bandwidth": 10, + "accuracySlaUnit": "microseconds", + "accuracySla": 50, + "accuracySlaMin": 1, + "accuracySlaMax": 10, + "clientsPerSecondMax": 100, + "redundancySupported": true, + "multiSubnetSupported": true, + "changeLog": { + "createdDateTime": "2023-05-16T07:50:49.749Z", + "updatedDateTime": "2023-05-17T07:50:49.749Z" + } + } }, - "ServiceId": { + "SubscriptionId": { "type": "string", - "description": "Precision Time Service UUID", + "description": "Subscription Id", "format": "uuid", "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" }, - "precisionTimeServiceCreateResponse": { - "title": "precisionTimeServiceResponse", + "SubscriptionResponse": { "required": [ - "href", - "ipv4", - "package", - "state", - "type", - "uuid" + "entitlements", + "marketplace", + "state" ], "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "NTP", - "PTP" - ] - }, "href": { "type": "string", + "description": "Subscription URL", "format": "uri" }, "uuid": { "type": "string", - "description": "uuid of the ept service", + "description": "Unique identifier of the Subscription", "format": "uuid" }, - "name": { - "type": "string", - "description": "name of the ept service" + "state": { + "$ref": "#/components/schemas/SubscriptionState" }, - "description": { - "type": "string" + "marketplace": { + "type": "string", + "description": "Marketplace Type", + "enum": [ + "AWS", + "GCP", + "AZURE", + "REDHAT" + ] }, - "state": { + "offerType": { "type": "string", - "description": "indicate service state", + "description": "Marketplace Offer Type", "enum": [ - "PROVISIONED", - "PROVISIONING", - "PROVISIONING_FAILED", - "CONFIGURING", - "CANCELLED", - "DEPROVISIONING_FAILED", - "PENDING_CONFIGURATION", - "DEPROVISIONED", - "CONFIGURING_FAILED", - "DEPROVISIONING" + "PUBLIC", + "PRIVATE_OFFER" ] }, - "package": { - "$ref": "#/components/schemas/precisionTimePackageResponse" + "isAutoRenew": { + "type": "boolean", + "description": "Is Auto Renewal Enabled", + "example": true }, - "connections": { - "maxItems": 2, - "minItems": 1, - "uniqueItems": true, + "offerId": { + "type": "string", + "description": "Marketplace Offer Id" + }, + "trial": { + "$ref": "#/components/schemas/SubscriptionTrial" + }, + "subscriptionKey": { + "type": "string", + "description": "Subscription Key" + }, + "entitlements": { "type": "array", - "description": "fabric l2 connections used for the ept service", + "description": "List of entitlements associated with the subscription", "items": { - "$ref": "#/components/schemas/fabricConnectionUuid" + "$ref": "#/components/schemas/SubscriptionEntitlementResponse" } }, - "ipv4": { - "$ref": "#/components/schemas/ipv4" + "changelog": { + "$ref": "#/components/schemas/Changelog" + } + }, + "description": "Subscription Response", + "x-preview": false + }, + "SubscriptionState": { + "type": "string", + "description": "Subscription State", + "enum": [ + "ACTIVE", + "EXPIRED", + "CANCELLED", + "GRACE_PERIOD" + ] + }, + "SubscriptionTrial": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Free Trial Enabled" }, - "account": { - "$ref": "#/components/schemas/account" + "expiryDateTime": { + "type": "string", + "description": "Free Trial Expiry Date", + "format": "date-time" + } + }, + "description": "Free Trial Subscription" + }, + "SubscriptionEntitlementResponse": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "Subscription Entitlement Id", + "format": "uuid" }, - "advanceConfiguration": { - "$ref": "#/components/schemas/advanceConfiguration" + "quantityEntitled": { + "minimum": 0, + "type": "integer", + "description": "Quantity entitled for the subscription" }, - "project": { - "$ref": "#/components/schemas/Project" + "quantityConsumed": { + "minimum": 0, + "type": "integer", + "description": "Quantity consumed from the entitlement" + }, + "quantityAvailable": { + "minimum": 0, + "type": "integer", + "description": "Quantity available from the entitlement" + }, + "asset": { + "$ref": "#/components/schemas/SubscriptionAsset" } }, - "description": "EPT service instance" + "description": "Subscription entitlement" }, - "precisionTimeChangeOperation": { - "required": [ - "op", - "path", - "value" - ], + "SubscriptionAsset": { "type": "object", "properties": { - "op": { + "type": { "type": "string", - "description": "Handy shortcut for operation name", - "enum": [ - "replace" - ] + "description": "Type of the subscription asset ( XF_ROUTER ,IP_VC, IPWAN_VC )" }, - "path": { + "package": { + "$ref": "#/components/schemas/SubscriptionRouterPackageType" + }, + "bandwidth": { + "type": "integer", + "description": "Bandwidth of the asset in Mbps" + } + }, + "description": "Asset information" + }, + "SubscriptionRouterPackageType": { + "type": "object", + "properties": { + "code": { "type": "string", - "description": "path inside document leading to updated parameter", + "description": "Cloud Router package code", "enum": [ - "/name", - "/package/code" + "ADVANCED", + "STANDARD" ] - }, - "value": { - "type": "object", - "description": "new value for updated parameter" } }, - "description": "Fabric Precision Timing change operation data" + "description": "Cloud Router Package Type" }, - "precisionTimeServiceRequest": { - "title": "precisionTimeServiceRequest", - "required": [ - "connections", - "ipv4", - "name", - "package", - "type" - ], + "GetAllStreamResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/Stream" + } + } + } + }, + "StreamPostRequest": { "type": "object", "properties": { "type": { "type": "string", - "description": "Indicate the entity is EPT service", "enum": [ - "NTP", - "PTP" + "TELEMETRY_STREAM" ] }, "name": { - "type": "string" + "type": "string", + "description": "Customer-provided stream name" }, "description": { - "type": "string" + "type": "string", + "description": "Customer-provided stream description" }, - "package": { - "$ref": "#/components/schemas/precisionTimePackageRequest" + "project": { + "$ref": "#/components/schemas/Project" }, - "connections": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fabricConnectionUuid" - } + "enabled": { + "type": "boolean", + "description": "Stream enabled status", + "example": true + } + }, + "description": "Create Stream" + }, + "Stream": { + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Stream URI", + "format": "uri", + "readOnly": true, + "example": "https://api.equinix.com/fabric/v4/streams/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170" }, - "ipv4": { - "$ref": "#/components/schemas/ipv4" + "uuid": { + "type": "string", + "description": "Equinix-assigned access point identifier", + "format": "uuid", + "example": "c9b8e7a2-f3b1-4576-a4a9-1366a63df170" + }, + "state": { + "type": "string", + "description": "Stream provision state", + "enum": [ + "PROVISIONING", + "PROVISIONED", + "DEPROVISIONING", + "DEPROVISIONED", + "FAILED" + ] }, - "advanceConfiguration": { - "$ref": "#/components/schemas/advanceConfiguration" + "assetsCount": { + "type": "integer", + "description": "Stream assets count", + "example": 1 }, - "project": { - "$ref": "#/components/schemas/Project" + "streamSubscriptionsCount": { + "type": "integer", + "description": "Stream subscriptions count", + "example": 2 + }, + "changelog": { + "$ref": "#/components/schemas/Changelog" } }, - "description": "EPT service instance" + "description": "Stream object", + "allOf": [ + { + "$ref": "#/components/schemas/StreamPostRequest" + } + ] }, - "TimeServicesSearchRequest": { + "StreamId": { + "type": "string", + "description": "Stream UUID", + "format": "uuid", + "example": "657400f8-d360-11e9-bb65-2a2ae2dbcce5" + }, + "StreamPutRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Customer-provided stream name" + }, + "description": { + "type": "string", + "description": "Customer-provided stream description" + }, + "enabled": { + "type": "boolean", + "description": "stream state", + "example": true + } + }, + "description": "Update Stream" + }, + "StreamAssetSearchRequest": { "type": "object", "properties": { "filter": { - "$ref": "#/components/schemas/TimeServiceFilters" + "$ref": "#/components/schemas/StreamAssetFilters" }, "pagination": { "$ref": "#/components/schemas/PaginationRequest" @@ -16619,81 +20096,81 @@ "sort": { "type": "array", "items": { - "$ref": "#/components/schemas/TimeServiceSortCriteria" + "$ref": "#/components/schemas/StreamAssetSortCriteria" } } }, "description": "Search requests containing criteria" }, - "TimeServiceFilters": { + "StreamAssetFilters": { "type": "object", "properties": { "and": { "maxItems": 8, "type": "array", "items": { - "$ref": "#/components/schemas/TimeServiceFilter" + "$ref": "#/components/schemas/StreamAssetFilter" } } } }, - "TimeServiceFilter": { + "StreamAssetFilter": { "type": "object", "anyOf": [ { - "$ref": "#/components/schemas/TimeServiceSimpleExpression" + "$ref": "#/components/schemas/StreamAssetSimpleExpression" }, { - "$ref": "#/components/schemas/TimeServiceOrFilter" + "$ref": "#/components/schemas/StreamAssetOrFilter" } ] }, - "TimeServiceSimpleExpression": { + "StreamAssetSimpleExpression": { "type": "object", "properties": { "property": { "type": "string", - "description": "Possible field names to use on filters:\n * `/project/projectId` - project id (mandatory)\n * `/name` - Precision Time Service name\n * `/uuid` - Precision Time Service uuid\n * `/type` - Precision Time Service protocol\n * `/state` - Precision Time Service status\n * `/account/accountNumber` - Precision Time Service account number\n * `/package/code` - Precision Time Service package\n * `/*` - all-category search\n", + "description": "Possible field names to use on filters:\n * `/uuid` - Asset uuid\n * `/streamUuid` - Stream uuid\n * `/projectId` - Asset projectId\n * `/*` - all-category search\n", "example": "/name" }, "operator": { "type": "string", - "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `ILIKE` - case-insensitive like\n", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `>` - greater than\n * `>=` - greater than or equal to\n * `<` - less than\n * `<=` - less than or equal to\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `ILIKE` - case-insensitive like\n", "example": "=" }, "values": { "type": "array", "items": { "type": "string", - "example": "FabricPrecisionTimeService-1" + "example": "FabricStreamAsset-1" } } } }, - "TimeServiceOrFilter": { + "StreamAssetOrFilter": { "type": "object", "properties": { "or": { "maxItems": 3, "type": "array", "items": { - "$ref": "#/components/schemas/TimeServiceSimpleExpression" + "$ref": "#/components/schemas/StreamAssetSimpleExpression" } } } }, - "TimeServiceSortCriteria": { + "StreamAssetSortCriteria": { "type": "object", "properties": { "direction": { - "$ref": "#/components/schemas/TimeServiceSortDirection" + "$ref": "#/components/schemas/StreamAssetSortDirection" }, "property": { - "$ref": "#/components/schemas/TimeServiceSortBy" + "$ref": "#/components/schemas/StreamAssetSortBy" } } }, - "TimeServiceSortDirection": { + "StreamAssetSortDirection": { "type": "string", "description": "Sorting direction", "default": "DESC", @@ -16702,295 +20179,399 @@ "ASC" ] }, - "TimeServiceSortBy": { + "StreamAssetSortBy": { "type": "string", "description": "Possible field names to use on sorting", - "default": "/changeLog/updatedDateTime", + "default": "/uuid", "enum": [ - "/name", - "/uuid", - "/state", - "/type", - "/package/code", - "/changeLog/createdDateTime", - "/changeLog/updatedDateTime" + "/uuid" + ] + }, + "GetAllStreamAssetResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/StreamAsset" + } + } + } + }, + "AssetId": { + "type": "string", + "description": "Stream Asset UUID", + "format": "uuid", + "example": "757400f8-d360-11e9-bb65-2a2ae2dbcce6" + }, + "Asset": { + "type": "string", + "enum": [ + "ports", + "connections", + "routers", + "metros" ] }, - "ServiceSearchResponse": { + "StreamAsset": { + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Stream Asset URI", + "format": "uri", + "readOnly": true + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned access point identifier", + "format": "uuid", + "example": "c9b8e7a2-f3b1-4576-a4a9-1366a63df170" + }, + "metricsEnabled": { + "type": "boolean", + "description": "enable metric", + "example": false + }, + "attachmentStatus": { + "type": "string", + "description": "asset status", + "enum": [ + "ATTACHING", + "ATTACHED", + "DETACHED", + "DETACHING", + "FAILED" + ] + } + }, + "description": "Stream object" + }, + "StreamAssetPutRequest": { + "type": "object", + "properties": { + "metricsEnabled": { + "type": "boolean", + "description": "enable metric", + "example": false + } + }, + "description": "Update Stream Asset" + }, + "GetSubscriptionsInStreamResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/StreamGetSubscriptions" + } + } + } + }, + "GetAllStreamSubscriptionResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/StreamSubscription" + } + } + } + }, + "StreamSubscriptionPostRequest": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "STREAM_SUBSCRIPTION" + ] + }, + "name": { + "type": "string", + "description": "Customer-provided stream subscription name" + }, + "description": { + "type": "string", + "description": "Customer-provided stream subscription description" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "enabled": { + "type": "boolean", + "description": "Stream subscription enabled status", + "example": true + }, + "stream": { + "$ref": "#/components/schemas/StreamTarget" + }, + "filters": { + "$ref": "#/components/schemas/StreamSubscriptionFilter" + }, + "sink": { + "$ref": "#/components/schemas/StreamSubscriptionSink" + } + }, + "description": "Create Stream Subscription" + }, + "StreamSubscriptionFilter": { "type": "object", "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" - }, - "data": { + "and": { + "maxItems": 8, "type": "array", - "description": "Data returned from the API call.", "items": { - "$ref": "#/components/schemas/precisionTimeServiceResponse" + "$ref": "#/components/schemas/StreamFilter" } } } }, - "precisionTimeServiceConnectionsResponse": { - "title": "precisionTimeServiceConnectionResponse", + "StreamFilter": { + "type": "object", + "anyOf": [ + { + "$ref": "#/components/schemas/StreamFilterSimpleExpression" + }, + { + "$ref": "#/components/schemas/StreamFilterOrFilter" + } + ] + }, + "StreamFilterSimpleExpression": { "type": "object", "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" + "property": { + "type": "string", + "description": "Possible field names to use on filters:\n * `/subject` - subject\n * `/type` - type\n", + "example": "/equinixproject" }, - "data": { + "operator": { + "type": "string", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `in` - in\n * `LIKE` - case-sensitive like\n * `ILIKE` - case-insensitive like\n", + "example": "=" + }, + "values": { "type": "array", - "description": "Data returned from the API call", "items": { - "$ref": "#/components/schemas/connectionLink" + "type": "string" } } - }, - "description": "EPT service instance's L2 connections" + } }, - "precisionTimeServicePackagesResponse": { - "title": "precisionTimeServicePackagesResponse", + "StreamFilterOrFilter": { "type": "object", "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" - }, - "data": { + "or": { + "maxItems": 3, "type": "array", - "description": "Data returned from the API call", "items": { - "$ref": "#/components/schemas/precisionTimePackageResponse" + "$ref": "#/components/schemas/StreamFilterSimpleExpression" } } - }, - "description": "Precision Packages" + } }, - "precisionTimePackageResponse": { - "title": "precisionTimePackageRespose", - "required": [ - "code" - ], + "StreamSubscriptionSink": { "type": "object", "properties": { - "href": { - "type": "string", - "format": "uri" - }, - "code": { + "uri": { "type": "string", - "enum": [ - "NTP_STANDARD", - "NTP_ENTERPRISE", - "PTP_STANDARD", - "PTP_ENTERPRISE" - ] + "description": "any publicly reachable http endpoint" }, "type": { "type": "string", + "description": "destination type", "enum": [ - "TIME_SERVICE_PACKAGE" + "DATADOG", + "PAGERDUTY", + "SPLUNK_HEC", + "SLACK", + "TEAMS", + "CUSTOM" ] }, - "bandwidth": { + "batchEnabled": { + "type": "boolean", + "description": "batch mode on/off", + "example": false + }, + "batchSizeMax": { "type": "integer", - "example": 10 + "description": "maximum batch size" }, - "clientsPerSecondMax": { + "batchWaitTimeMax": { "type": "integer", - "example": 100 + "description": "maximum batch waiting time" }, - "redundancySupported": { - "type": "boolean", - "example": true + "credential": { + "$ref": "#/components/schemas/StreamSubscriptionSinkCredential" }, - "multiSubnetSupported": { - "type": "boolean", - "example": true + "settings": { + "$ref": "#/components/schemas/StreamSubscriptionSinkSetting" + } + }, + "description": "Create Stream destination" + }, + "StreamSubscriptionSinkCredential": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "credential type", + "enum": [ + "ACCESS_TOKEN", + "INTEGRATION_KEY", + "API_KEY" + ] }, - "accuracyUnit": { + "accessToken": { "type": "string", - "example": "microseconds" + "description": "passed as Authorization header value" }, - "accuracySla": { - "type": "integer", - "example": 50 + "integrationKey": { + "type": "string", + "description": "passed as Authorization header value" }, - "accuracyAvgMin": { - "type": "integer", - "example": 1 + "apiKey": { + "type": "string", + "description": "passed as Authorization header value" + } + }, + "description": "Stream subscription sink credentials" + }, + "StreamSubscriptionSinkSetting": { + "type": "object", + "properties": { + "eventIndex": { + "type": "string", + "description": "event index" }, - "accuracyAvgMax": { - "type": "integer", - "example": 10 + "metricIndex": { + "type": "string", + "description": "metric index" }, - "changelog": { - "$ref": "#/components/schemas/Changelog" + "source": { + "type": "string", + "description": "source" + }, + "applicationKey": { + "type": "string", + "description": "Application key" } }, - "description": "EPT Service Package Information", - "example": { - "href": "https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD", - "code": "NTP_STANDARD", - "type": "TIME_SERVICE_PACKAGE", - "bandwidth": 10, - "accuracyUnit": "microseconds", - "accuracySla": 50, - "accuracyAvgMin": 1, - "accuracyAvgMax": 10, - "clientsPerSecondMax": 100, - "redundancySupported": true, - "multiSubnetSupported": true, - "changeLog": { - "createdDateTime": "2023-05-16T07:50:49.749Z", - "updatedDateTime": "2023-05-17T07:50:49.749Z" - } - } - }, - "SubscriptionId": { - "type": "string", - "description": "Subscription Id", - "format": "uuid", - "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + "description": "Stream subscription sink settings" }, - "SubscriptionResponse": { + "StreamSubscription": { "type": "object", "properties": { "href": { "type": "string", - "format": "uri" + "description": "Stream Subscription URI", + "format": "uri", + "readOnly": true, + "example": "https://api.equinix.com/fabric/v4/streamSubscription/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170" }, "uuid": { "type": "string", - "format": "uuid" - }, - "status": { - "$ref": "#/components/schemas/SubscriptionStatus" + "description": "Equinix-assigned access point identifier", + "format": "uuid", + "example": "c9b8e7a2-f3b1-4576-a4a9-1366a63df170" }, - "marketplace": { + "type": { "type": "string", + "description": "type", "enum": [ - "AWS", - "GCP", - "AZURE", - "REDHAT" + "STREAM_SUBSCRIPTION" ] }, - "offerType": { + "name": { + "type": "string", + "description": "Customer-provided subscription name" + }, + "description": { + "type": "string", + "description": "Customer-provided subscription description" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "state": { "type": "string", + "description": "Steam subscription provision state", "enum": [ - "PUBLIC", - "PRIVATE_OFFER" + "PROVISIONING", + "PROVISIONED", + "DEPROVISIONING", + "DEPROVISIONED", + "FAILED" ] }, - "isAutoRenew": { + "enabled": { "type": "boolean", - "example": true - }, - "offerId": { - "type": "string" + "description": "Stream subscription enabled status" }, - "trial": { - "$ref": "#/components/schemas/SubscriptionTrial" + "stream": { + "$ref": "#/components/schemas/StreamTarget" }, - "subscriptionKey": { - "type": "string" + "filters": { + "$ref": "#/components/schemas/StreamSubscriptionFilter" }, - "entitlements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionEntitlementResponse" - } + "sink": { + "$ref": "#/components/schemas/StreamSubscriptionSink" }, "changelog": { "$ref": "#/components/schemas/Changelog" } }, - "description": "Subscription", - "x-preview": false + "description": "Stream Subscription object" }, - "SubscriptionStatus": { + "StreamSubscriptionId": { "type": "string", - "enum": [ - "ACTIVE", - "EXPIRED", - "CANCELLED", - "GRACE_PERIOD" - ] - }, - "SubscriptionTrial": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "expiryDateTime": { - "type": "string", - "format": "date-time" - } - }, - "description": "Trial" + "description": "Stream Subscription UUID", + "format": "uuid", + "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" }, - "SubscriptionEntitlementResponse": { + "StreamSubscriptionPutRequest": { "type": "object", "properties": { - "uuid": { + "name": { "type": "string", - "description": "Subscription Entitlement Id", - "format": "uuid" - }, - "quantityEntitled": { - "minimum": 0, - "type": "integer" + "description": "Customer-provided stream subscription name" }, - "quantityConsumed": { - "minimum": 0, - "type": "integer" + "description": { + "type": "string", + "description": "Customer-provided stream subscription description" }, - "quantityAvailable": { - "minimum": 0, - "type": "integer" + "stream": { + "$ref": "#/components/schemas/StreamTarget" }, - "asset": { - "$ref": "#/components/schemas/SubscriptionAsset" - } - }, - "description": "Subscription entitlement" - }, - "SubscriptionAsset": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/SubscriptionAssetType" + "enabled": { + "type": "boolean", + "description": "Stream subscription enabled status", + "example": true }, - "package": { - "$ref": "#/components/schemas/SubscriptionRouterPackageType" + "filters": { + "$ref": "#/components/schemas/StreamSubscriptionFilter" }, - "bandwidth": { - "type": "integer" - } - }, - "description": "Asset information" - }, - "SubscriptionAssetType": { - "type": "string", - "enum": [ - "XF_ROUTER", - "IP_VC" - ] - }, - "SubscriptionRouterPackageType": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "Cloud Router package code", - "enum": [ - "ADVANCED", - "STANDARD" - ] + "sink": { + "$ref": "#/components/schemas/StreamSubscriptionSink" } }, - "description": "Cloud Router Package Type" + "description": "Update Stream Subscription" }, "ConnectionType": { "type": "string", @@ -17486,6 +21067,81 @@ }, "description": "Connection acceptance data" }, + "PaginationRequest": { + "type": "object", + "properties": { + "offset": { + "minimum": 0, + "type": "integer", + "description": "Index of the first element.", + "default": 0 + }, + "limit": { + "minimum": 1, + "type": "integer", + "description": "Number of elements to be requested per page. Number must be between 1 and 100, and the default is 20.", + "default": 20 + } + }, + "description": "Pagination request information" + }, + "ConnectionRouteTableEntry": { + "required": [ + "changeLog", + "state", + "type" + ], + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/RouteTableEntryType" + }, + "protocolType": { + "$ref": "#/components/schemas/RouteTableEntryProtocolType" + }, + "state": { + "type": "string", + "example": "ACTIVE", + "enum": [ + "ACTIVE", + "INACTIVE" + ] + }, + "age": { + "type": "string", + "example": "PT5M30S" + }, + "prefix": { + "type": "string", + "example": "192.168.10.0/24" + }, + "nextHop": { + "type": "string", + "example": "10.10.10.5" + }, + "MED": { + "type": "integer", + "example": 5 + }, + "localPreference": { + "type": "integer", + "example": 200 + }, + "asPath": { + "type": "array", + "items": { + "type": "string" + } + }, + "connection": { + "$ref": "#/components/schemas/ConnectionRouteTableEntry_connection" + }, + "changeLog": { + "$ref": "#/components/schemas/Changelog" + } + }, + "description": "Adv/Rec Route table entry object" + }, "BGPConnectionIpv4": { "required": [ "customerPeerIp", @@ -17515,16 +21171,22 @@ }, "inboundMED": { "type": "integer", - "description": "inbound Multi Exit Discriminator attribute", + "description": "Inbound Multi Exit Discriminator attribute", "format": "int64", "example": 1000 }, "outboundMED": { "type": "integer", - "description": "inbound Multi Exit Discriminator attribute", + "description": "Outbound Multi Exit Discriminator attribute", "format": "int64", "example": 2000 }, + "routesMax": { + "type": "integer", + "description": "Maximum learnt prefixes limit", + "format": "int64", + "example": 1000 + }, "operation": { "$ref": "#/components/schemas/BGPConnectionOperation" } @@ -17559,16 +21221,22 @@ }, "inboundMED": { "type": "integer", - "description": "inbound Multi Exit Discriminator attribute", + "description": "Inbound Multi Exit Discriminator attribute", "format": "int64", "example": 1000 }, "outboundMED": { "type": "integer", - "description": "inbound Multi Exit Discriminator attribute", + "description": "Outbound Multi Exit Discriminator attribute", "format": "int64", "example": 2000 }, + "routesMax": { + "type": "integer", + "description": "Maximum learnt prefixes limit", + "format": "int64", + "example": 1000 + }, "operation": { "$ref": "#/components/schemas/BGPConnectionOperation" } @@ -17821,24 +21489,6 @@ }, "description": "Routing Protocol change operation data" }, - "PaginationRequest": { - "type": "object", - "properties": { - "offset": { - "minimum": 0, - "type": "integer", - "description": "Index of the first element.", - "default": 0 - }, - "limit": { - "minimum": 1, - "type": "integer", - "description": "Number of elements to be requested per page. Number must be between 1 and 100, and the default is 20.", - "default": 20 - } - }, - "description": "Pagination request information" - }, "SortDirection": { "type": "string", "description": "Sorting direction", @@ -17991,7 +21641,8 @@ }, "ibx": { "type": "string", - "example": "AM1" + "example": "AM1", + "deprecated": true } } }, @@ -18010,7 +21661,8 @@ "type": "string", "description": "Type of Service Token", "enum": [ - "VC_TOKEN" + "VC_TOKEN", + "EPL_TOKEN" ] }, "ServiceTokenConnection": { @@ -18023,7 +21675,10 @@ "type": "string", "description": "Type of Connection", "enum": [ - "EVPL_VC" + "EVPL_VC", + "EVPLAN_VC", + "EPLAN_VC", + "IPWAN_VC" ] }, "href": { @@ -18042,6 +21697,11 @@ "description": "Authorization to connect remotely", "default": false }, + "allowCustomBandwidth": { + "type": "boolean", + "description": "Allow custom bandwidth value", + "default": false + }, "bandwidthLimit": { "maximum": 100000, "minimum": 0, @@ -18156,7 +21816,7 @@ }, "uuid": { "type": "string", - "description": "Equinix-assigned order identifier", + "description": "Equinix-assigned order identifier, this is a derived response atrribute", "format": "uuid" }, "signature": { @@ -18172,12 +21832,29 @@ "description": "Availability of a given physical port.", "enum": [ "UP", - "DOWN" + "DOWN", + "PARTIAL" ] }, "connectionCount": { "type": "integer", - "description": "Total number of connections." + "description": "Total number of connections.", + "format": "int64" + }, + "evplVCCount": { + "type": "integer", + "description": "Total number of connections.", + "format": "int64" + }, + "fgVCCount": { + "type": "integer", + "description": "Total number of connections.", + "format": "int64" + }, + "accessVCCount": { + "type": "integer", + "description": "Total number of connections.", + "format": "int64" }, "opStatusChangedAt": { "type": "string", @@ -18207,14 +21884,6 @@ "type": { "type": "string", "description": "Port interface type" - }, - "ifIndex": { - "type": "string", - "description": "Port interface index" - }, - "name": { - "type": "string", - "description": "Port interface name" } }, "description": "Port interface" @@ -18267,7 +21936,8 @@ }, "group": { "type": "string", - "description": "Port UUID of respective primary port" + "description": "Port UUID of respective primary port", + "deprecated": true }, "priority": { "$ref": "#/components/schemas/PortPriority" @@ -18304,7 +21974,8 @@ }, "enabled": { "type": "boolean", - "description": "enabled" + "description": "enabled", + "deprecated": true }, "name": { "type": "string", @@ -18317,27 +21988,47 @@ }, "description": "Port Lag" }, - "PortSettings": { + "Package": { "type": "object", "properties": { - "product": { + "code": { "type": "string", - "description": "Product name" + "description": "Type of Port Package", + "enum": [ + "STANDARD", + "UNLIMITED", + "UNLIMITED_PLUS" + ] }, + "type": { + "type": "string", + "description": "Port service Type", + "enum": [ + "EPL", + "MSP" + ] + } + }, + "description": "Package settings for port" + }, + "PortSettings": { + "type": "object", + "properties": { "buyout": { - "type": "boolean" + "type": "boolean", + "deprecated": true }, "viewPortPermission": { - "type": "boolean" + "type": "boolean", + "deprecated": true }, "placeVcOrderPermission": { - "type": "boolean" + "type": "boolean", + "deprecated": true }, "layer3Enabled": { - "type": "boolean" - }, - "productCode": { - "type": "string" + "type": "boolean", + "deprecated": true }, "sharedPortType": { "type": "boolean" @@ -18354,11 +22045,11 @@ "packageType": { "type": "string", "description": "Type of Port Package", + "deprecated": true, "enum": [ "STANDARD", - "UNTAGGED", "UNLIMITED", - "UNLIMITED PLUS" + "UNLIMITED_PLUS" ] } }, @@ -18468,6 +22159,19 @@ }, "description": "Port physical connection" }, + "PhysicalPortSettings": { + "type": "object", + "properties": { + "errorMessage": { + "type": "string" + }, + "packageType": { + "type": "string", + "deprecated": true + } + }, + "description": "Physical Port configuration settings" + }, "LinkProtocolResponse": { "type": "object", "properties": { @@ -18837,7 +22541,7 @@ "PROVISIONING", "DEPROVISIONING", "DEPROVISIONED", - "LOCKED", + "REPROVISIONING", "NOT_PROVISIONED", "NOT_DEPROVISIONED" ] @@ -18925,9 +22629,38 @@ "description": "Cloud Router action type", "enum": [ "BGP_SESSION_STATUS_UPDATE", - "ROUTE_TABLE_ENTRY_UPDATE" + "ROUTE_TABLE_ENTRY_UPDATE", + "RECEIVED_ROUTE_ENTRY_UPDATE", + "ADVERTISED_ROUTE_ENTRY_UPDATE" ] }, + "RouterActionsConnection": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "Connection UUID", + "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + } + }, + "description": "Connection object for router actions" + }, + "Operation": { + "type": "object", + "properties": { + "bgpIpv4RoutesCount": { + "type": "integer", + "description": "IPV4 Route Count", + "example": 6 + }, + "bgpIpv6RoutesCount": { + "type": "integer", + "description": "IPV6 Route Count", + "example": 6 + } + }, + "description": "Operation object for router actions" + }, "RouteTableEntry": { "required": [ "changeLog", @@ -18957,7 +22690,7 @@ "type": "string", "example": "10.10.10.5" }, - "metric": { + "MED": { "type": "integer", "example": 5 }, @@ -18968,11 +22701,11 @@ "asPath": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, "connection": { - "$ref": "#/components/schemas/RouteTableEntry_connection" + "$ref": "#/components/schemas/ConnectionRouteTableEntry_connection" }, "changeLog": { "$ref": "#/components/schemas/Changelog" @@ -19025,6 +22758,31 @@ }, "description": "Available services details" }, + "ValidateConnectionResponse": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "Equinix-assigned connection identifier" + }, + "bandwidth": { + "maximum": 50000, + "minimum": 0, + "type": "integer", + "description": "Connection bandwidth in Mbps" + }, + "redundancy": { + "$ref": "#/components/schemas/ConnectionRedundancy" + }, + "aSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "zSide": { + "$ref": "#/components/schemas/ConnectionSide" + } + }, + "description": "Validate Connection specification" + }, "NetworkType": { "type": "string", "description": "Network type", @@ -19172,25 +22930,50 @@ "SUBMITTED_FOR_APPROVAL" ] }, - "fabricConnectionUuid": { + "precisionTimePackageRequest": { + "title": "precisionTimePackageRequest", + "required": [ + "code" + ], + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Precision Time Service Level", + "enum": [ + "NTP_STANDARD", + "NTP_ENTERPRISE", + "PTP_STANDARD", + "PTP_ENTERPRISE" + ] + } + }, + "description": "Precision Time Service Level Request", + "example": { + "code": "NTP_STANDARD" + } + }, + "virtualConnectionUuid": { "title": "fabricConnectionUuid", "required": [ "uuid" ], "type": "object", "properties": { - "uuid": { - "type": "string", - "description": "uuid of the Fabric L2 connection", - "format": "uuid" - }, "href": { "type": "string", - "description": "the href for the L2 connection", - "format": "uri" + "description": "Connection URI", + "format": "uri", + "readOnly": true }, "type": { - "type": "string" + "type": "string", + "description": "Connection Type" + }, + "uuid": { + "type": "string", + "description": "Connection UUID.", + "format": "uuid" } }, "description": "UUID of the Fabric Connection Instance", @@ -19200,22 +22983,31 @@ }, "ipv4": { "title": "ipv4", + "required": [ + "networkMask", + "primary", + "secondary" + ], "type": "object", "properties": { "primary": { "type": "string", + "description": "Primary Timing Server IP Address", "format": "ipv4" }, "secondary": { "type": "string", + "description": "Secondary Timing Server IP Address", "format": "ipv4" }, "networkMask": { "type": "string", + "description": "Network Mask", "format": "ipv4" }, "defaultGateway": { "type": "string", + "description": "Gateway Interface IP address", "format": "ipv4" } }, @@ -19227,150 +23019,155 @@ "defaultGateway": "10.0.0.3" } }, - "account": { - "required": [ - "accountNumber" - ], + "ntpAdvanceConfiguration": { + "type": "array", + "description": "NTP Advanced configuration - MD5 Authentication.", + "items": { + "$ref": "#/components/schemas/md5" + } + }, + "ptpAdvanceConfiguration": { "type": "object", "properties": { - "accountNumber": { - "type": "integer" + "timeScale": { + "type": "string", + "description": "Time Scale value, ARB denotes Arbitrary and PTP denotes Precision Time Protocol.", + "example": "ARB", + "enum": [ + "ARB", + "PTP" + ] }, - "isResellerAccount": { - "type": "boolean" + "domain": { + "maximum": 127, + "minimum": 0, + "type": "integer", + "description": "The PTP domain value.", + "example": 0 }, - "orgId": { - "type": "string" + "priority1": { + "maximum": 248, + "minimum": 0, + "type": "integer", + "description": "The priority1 value determines the best primary clock, Lower value indicates higher priority.", + "example": 128 }, - "globalOrgId": { - "type": "string" - } - }, - "description": "Account model, includes account number and flag to indicate if this account is reseller", - "example": { - "accountNumber": 123456 - } - }, - "advanceConfiguration": { - "type": "object", - "properties": { - "ntp": { - "$ref": "#/components/schemas/ntpAdvanceConfiguration" + "priority2": { + "maximum": 248, + "minimum": 0, + "type": "integer", + "description": "The priority2 value differentiates and prioritizes the primary clock to avoid confusion when priority1-value is the same for different primary clocks in a network.", + "example": 128 }, - "ptp": { - "$ref": "#/components/schemas/ptpAdvanceConfiguration" + "logAnnounceInterval": { + "type": "integer", + "description": "Logarithmic value that controls the rate of PTP Announce packets from the PTP time server. Default is 1 (1 packet every 2 seconds), Unit packets/second.", + "example": 1, + "enum": [ + -3, + -2, + -1, + 0, + 1 + ] + }, + "logSyncInterval": { + "type": "integer", + "description": "Logarithmic value that controls the rate of PTP Sync packets. Default is -4 (16 packets per second), Unit packets/second..", + "example": -4, + "enum": [ + -5, + -4, + -3, + -2, + -1, + 0, + 1 + ] + }, + "logDelayReqInterval": { + "type": "integer", + "description": "Logarithmic value that controls the rate of PTP DelayReq packets. Default is -4 (16 packets per second), Unit packets/second..", + "example": -4, + "enum": [ + -5, + -4, + -3, + -2, + -1, + 0, + 1 + ] + }, + "transportMode": { + "type": "string", + "enum": [ + "MULTICAST", + "UNICAST", + "HYBRID" + ] + }, + "grantTime": { + "maximum": 7200, + "minimum": 30, + "type": "integer", + "description": "Unicast Grant Time in seconds. For Multicast and Hybrid transport modes, grant time defaults to 300 seconds. For Unicast mode, grant time can be between 30 to 7200.", + "example": 300 } }, - "description": "Advance Configuration for NTP/PTP" + "description": "PTP Advanced Configuration." }, - "precisionTimePackageRequest": { - "title": "precisionTimePackageRequest", - "required": [ - "code" - ], + "precisionTimeOrder": { + "title": "precisionTimeOrder", "type": "object", "properties": { - "href": { + "purchaseOrderNumber": { "type": "string", - "format": "uri" + "description": "Purchase order number" }, - "code": { + "customerReferenceNumber": { "type": "string", - "enum": [ - "NTP_STANDARD", - "NTP_ENTERPRISE", - "PTP_STANDARD", - "PTP_ENTERPRISE" - ] + "description": "Customer reference number" + }, + "orderNumber": { + "type": "string", + "description": "Order Reference Number" } }, - "description": "EPT Package Request", - "example": { - "code": "NTP_STANDARD" - } + "description": "Precision Time Order" }, - "precisionTimeServiceResponse": { - "title": "precisionTimeServiceResponse", + "virtualConnectionTimeServiceResponse": { + "title": "fabricConnectionResponse", "required": [ "href", - "ipv4", - "order", - "package", - "state", "type", "uuid" ], "type": "object", "properties": { - "type": { + "href": { "type": "string", - "enum": [ - "NTP", - "PTP" - ] + "description": "Connection URI", + "format": "uri", + "readOnly": true }, - "href": { + "type": { "type": "string", - "format": "uri" + "description": "Connection Type." }, "uuid": { "type": "string", - "description": "uuid of the ept service", + "description": "Connection UUID.", "format": "uuid" }, - "name": { - "type": "string", - "description": "name of the ept service" - }, - "description": { - "type": "string" - }, - "state": { - "type": "string", - "description": "indicate service state", - "enum": [ - "PROVISIONED", - "PROVISIONING", - "PROVISIONING_FAILED", - "CONFIGURING", - "CANCELLED", - "DEPROVISIONING_FAILED", - "PENDING_CONFIGURATION", - "DEPROVISIONED", - "CONFIGURING_FAILED", - "DEPROVISIONING" - ] - }, - "package": { - "$ref": "#/components/schemas/precisionTimePackageResponse" - }, - "connections": { - "maxItems": 2, - "minItems": 1, - "uniqueItems": true, - "type": "array", - "description": "fabric l2 connections used for the ept service", - "items": { - "$ref": "#/components/schemas/fabricConnectionUuid" - } - }, - "order": { - "$ref": "#/components/schemas/Order" - }, - "ipv4": { - "$ref": "#/components/schemas/ipv4" - }, - "advanceConfiguration": { - "$ref": "#/components/schemas/advanceConfiguration" - }, - "project": { - "$ref": "#/components/schemas/Project" + "aSide": { + "$ref": "#/components/schemas/virtualConnectionSide" }, - "account": { - "$ref": "#/components/schemas/account" + "zSide": { + "$ref": "#/components/schemas/virtualConnectionSide" } }, - "description": "EPT service instance" + "description": "Fabric Connection Precision Time Service Response Object" }, "connectionLink": { "type": "object", @@ -19392,6 +23189,40 @@ } } }, + "StreamGetSubscriptions": { + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Stream Get Stream Subscriptions URI", + "format": "uri", + "readOnly": true + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned access point identifier", + "format": "uuid", + "example": "c9b8e7a2-f3b1-4576-a4a9-1366a63df170" + }, + "type": { + "type": "string", + "description": "Stream subscription type", + "enum": [ + "STREAM_SUBSCRIPTION" + ] + } + }, + "description": "Stream object" + }, + "StreamTarget": { + "type": "object", + "properties": { + "uuid": { + "$ref": "#/components/schemas/StreamId" + } + }, + "description": "Stream uuid" + }, "ConnectionPriority": { "type": "string", "description": "Connection priority in redundancy group", @@ -19575,6 +23406,27 @@ "PENDING_INTERFACE_CONFIGURATION" ] }, + "RouteTableEntryType": { + "type": "string", + "description": "Route table entry type", + "enum": [ + "IPv4_BGP_ROUTE", + "IPv4_STATIC_ROUTE", + "IPv4_DIRECT_ROUTE", + "IPv6_BGP_ROUTE", + "IPv6_STATIC_ROUTE", + "IPv6_DIRECT_ROUTE" + ] + }, + "RouteTableEntryProtocolType": { + "type": "string", + "description": "Route table entry protocol type", + "enum": [ + "BGP", + "STATIC", + "DIRECT" + ] + }, "BGPConnectionOperation": { "type": "object", "properties": { @@ -19758,7 +23610,7 @@ } } }, - "description": "Connection link protocol configuration" + "description": "Connection link protocol,virtual device or network configuration" }, "PortDeviceRedundancy": { "type": "object", @@ -19870,27 +23722,6 @@ }, "description": "Service Token details of Link Protocol" }, - "RouteTableEntryType": { - "type": "string", - "description": "Route table entry type", - "enum": [ - "IPv4_BGP_ROUTE", - "IPv4_STATIC_ROUTE", - "IPv4_DIRECT_ROUTE", - "IPv6_BGP_ROUTE", - "IPv6_STATIC_ROUTE", - "IPv6_DIRECT_ROUTE" - ] - }, - "RouteTableEntryProtocolType": { - "type": "string", - "description": "Route table entry protocol type", - "enum": [ - "BGP", - "STATIC", - "DIRECT" - ] - }, "RouteTableEntryState": { "type": "string", "description": "Route table entry state", @@ -19934,73 +23765,41 @@ "/changeLog/updatedDateTime" ] }, - "ntpAdvanceConfiguration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/md5" - } - }, - "ptpAdvanceConfiguration": { + "md5": { "type": "object", "properties": { - "timeScale": { + "type": { "type": "string", - "description": "Time Scale value, ARB denotes Arbitrary and PTP denotes Precision Time Protocol.", - "example": "ARB", "enum": [ - "ARB", - "PTP" + "ASCII", + "HEX" ] }, - "domain": { - "maximum": 127, - "minimum": 0, - "type": "integer", - "example": 0 - }, - "priority1": { - "maximum": 248, - "minimum": 0, - "type": "integer", - "example": 0 - }, - "priority2": { - "maximum": 248, - "minimum": 0, - "type": "integer", - "example": 0 - }, - "logAnnounceInterval": { - "type": "integer", - "description": "The mean time interval between Announce messages. A shorter interval makes ptp4l react faster to the changes in the master-slave hierarchy. The interval should be the same in the whole domain. It's specified as a power of two in seconds. The default is 1 (2 seconds).", - "example": 0 - }, - "logSyncInterval": { - "type": "integer", - "description": "The mean time interval between Sync messages. A shorter interval may improve accuracy of the local clock. It's specified as a power of two in seconds. The default is 0 (1 second).", - "example": 0 - }, - "logDelayReqInterval": { + "keyNumber": { + "maximum": 65534, + "minimum": 1, "type": "integer", - "example": 0 + "description": "The authentication Key ID.", + "example": 10 }, - "transportMode": { + "key": { + "maxLength": 40, + "minLength": 10, "type": "string", - "enum": [ - "Multicast", - "Unicast", - "Hybrid" - ] - }, - "grantTime": { - "maximum": 7200, - "minimum": 30, - "type": "integer", - "description": "Unicast Grant Time in seconds. For Multicast and Hybrid transport modes, grant time defaults to 300 seconds. For Unicast mode, grant time can be between 30 to 7200.", - "example": 300 + "description": "The plaintext authentication key. For ASCII type, the key must contain printable ASCII characters, range 10-20 characters. For HEX type, range should be 10-40 characters." } } }, + "virtualConnectionSide": { + "title": "fabricConnectionAccessPoint", + "type": "object", + "properties": { + "accessPoint": { + "$ref": "#/components/schemas/AccessPoint" + } + }, + "description": "Fabric Connection access point object." + }, "AccessPointType": { "type": "string", "description": "Access point type", @@ -20062,10 +23861,6 @@ "state": { "$ref": "#/components/schemas/PortState" }, - "cvpId": { - "type": "string", - "description": "Equinix assigned response attribute for Unique ID for a virtual port." - }, "operation": { "$ref": "#/components/schemas/PortOperation" }, @@ -20075,6 +23870,7 @@ "serviceType": { "type": "string", "description": "Port service Type", + "deprecated": true, "enum": [ "EPL", "MSP" @@ -20083,17 +23879,20 @@ "bandwidth": { "minimum": 0, "type": "integer", - "description": "Equinix assigned response attribute for Port bandwidth in Mbps" + "description": "Equinix assigned response attribute for Port bandwidth in Mbps", + "format": "int64" }, "availableBandwidth": { "minimum": 0, "type": "integer", - "description": "Equinix assigned response attribute for Port available bandwidth in Mbps" + "description": "Equinix assigned response attribute for Port available bandwidth in Mbps", + "format": "int64" }, "usedBandwidth": { "minimum": 0, "type": "integer", - "description": "Equinix assigned response attribute for Port used bandwidth in Mbps" + "description": "Equinix assigned response attribute for Port used bandwidth in Mbps", + "format": "int64" }, "location": { "$ref": "#/components/schemas/SimplifiedLocation" @@ -20120,6 +23919,9 @@ "type": "boolean", "description": "If LAG enabled" }, + "package": { + "$ref": "#/components/schemas/Package" + }, "settings": { "$ref": "#/components/schemas/PortSettings" }, @@ -20481,35 +24283,28 @@ "type": "string", "description": "Type of Access point", "enum": [ - "COLO" + "COLO", + "VD", + "NETWORK" ] }, "port": { "$ref": "#/components/schemas/SimplifiedMetadataEntity" }, "linkProtocol": { - "$ref": "#/components/schemas/LinkProtocol" - } - }, - "description": "List of criteria for selecting network access points with optimal efficiency, security, compatibility, and availability." - }, - "md5": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ASCII", - "HEX" - ] + "$ref": "#/components/schemas/SimplifiedLinkProtocol" }, - "id": { - "type": "integer" + "virtualDevice": { + "$ref": "#/components/schemas/SimplifiedVirtualDevice" }, - "password": { - "type": "string" + "interface": { + "$ref": "#/components/schemas/VirtualDeviceInterface" + }, + "network": { + "$ref": "#/components/schemas/SimplifiedTokenNetwork" } - } + }, + "description": "List of criteria for selecting network access points with optimal efficiency, security, compatibility, and availability." }, "LinkProtocolType": { "type": "string", @@ -20579,188 +24374,128 @@ "type": { "type": "string", "description": "Type of Port" - } - }, - "description": "Configuration details for port used at the access point." - }, - "LinkProtocol": { - "required": [ - "type" - ], - "type": "object", - "description": "Connection link protocol Configuration", - "discriminator": { - "propertyName": "type", - "mapping": { - "UNTAGGED": "#/components/schemas/LinkProtocolUntagged", - "DOT1Q": "#/components/schemas/LinkProtocolDot1q", - "QINQ": "#/components/schemas/LinkProtocolQinq", - "VXLAN": "#/components/schemas/LinkProtocolVxlan", - "EVPN_VXLAN": "#/components/schemas/LinkProtocolEvpnVxlan" - } - }, - "oneOf": [ - { - "$ref": "#/components/schemas/LinkProtocolUntagged" }, - { - "$ref": "#/components/schemas/LinkProtocolDot1q" - }, - { - "$ref": "#/components/schemas/LinkProtocolQinq" - }, - { - "$ref": "#/components/schemas/LinkProtocolVxlan" - }, - { - "$ref": "#/components/schemas/LinkProtocolEvpnVxlan" - } - ] - }, - "LinkProtocolUntagged": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/LinkProtocolType" + "cvpId": { + "type": "integer", + "description": "Customer virtual port Id" }, - "ipv4": { - "$ref": "#/components/schemas/LinkProtocolIpv4Ipv6Config" + "bandwidth": { + "type": "number", + "description": "Port Bandwidth" }, - "ipv6": { - "$ref": "#/components/schemas/LinkProtocolIpv4Ipv6Config" - } - }, - "description": "Connection link protocol configuration - UNTAGGED" - }, - "LinkProtocolDot1q": { - "required": [ - "vlanTag" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/LinkProtocolType" + "portName": { + "type": "string", + "description": "Port Name" }, - "tagProtocolId": { + "encapsulationProtocolType": { "type": "string", - "description": "Tag protocol identifier" + "description": "Port Encapsulation" }, - "vlanTag": { + "accountName": { "type": "string", - "description": "VLAN tag" + "description": "Account Name" }, - "vlanTagMin": { - "type": "integer", - "description": "VLAN tag Min value specified for DOT1Q connections" + "priority": { + "type": "string", + "description": "Port Priority" }, - "vlanTagMax": { - "type": "integer", - "description": "VLAN tag Max value specified for DOT1Q connections" + "location": { + "$ref": "#/components/schemas/SimplifiedLocation" } }, - "description": "Connection link protocol configuration - DOT1Q" + "description": "Configuration details for port used at the access point." }, - "LinkProtocolQinq": { - "required": [ - "innerTagProtocolId", - "outerTagProtocolId", - "vlanCTag", - "vlanSTag" - ], + "SimplifiedVirtualDevice": { "type": "object", "properties": { - "type": { - "$ref": "#/components/schemas/LinkProtocolType" - }, - "innerTagProtocolId": { - "type": "integer", - "description": "Inner tag protocol identifier" - }, - "outerTagProtocolId": { - "type": "integer", - "description": "Outer tag protocol identifier" - }, - "vlanCTag": { - "type": "integer", - "description": "Inner tag, i.e., C-VLAN tag" + "href": { + "type": "string", + "description": "url to entity", + "format": "uri" }, - "vlanSTag": { - "type": "integer", - "description": "Outer tag, i.e., S-VLAN tag" + "uuid": { + "type": "string", + "description": "Network Edge assigned Virtual Device Identifier", + "format": "uuid" }, - "vlanCTagMin": { - "type": "integer", - "description": "Outer tag Min value specified for QINQ connections" + "type": { + "type": "string", + "description": "Type of Virtual Device", + "enum": [ + "EDGE" + ] }, - "vlanCTagMax": { - "type": "integer", - "description": "Outer tag Max value specified for QINQ connections" + "name": { + "type": "string", + "description": "Customer-assigned Virtual Device name" }, - "subInterface": { - "type": "integer", - "description": "Subinterface identifier" + "cluster": { + "type": "string", + "description": "Virtual Device Cluster Information" } - }, - "description": "Connection link protocol configuration - QINQ" + } }, - "LinkProtocolVxlan": { - "required": [ - "vni" - ], + "VirtualDeviceInterface": { "type": "object", "properties": { "type": { - "$ref": "#/components/schemas/LinkProtocolType" + "type": "string", + "description": "Type of interface", + "enum": [ + "NETWORK" + ] }, - "vni": { - "maximum": 16777215, - "minimum": 4097, + "id": { "type": "integer", - "description": "Virtual Network Identifier" + "description": "Network Edge assigned identifier" + }, + "uuid": { + "type": "string", + "description": "Interface identifier", + "format": "uuid" } }, - "description": "Connection link protocol configuration - VXLAN" + "description": "Virtual Device Interface Information" }, - "LinkProtocolEvpnVxlan": { - "required": [ - "type5vni", - "vnid" - ], + "SimplifiedTokenNetwork": { "type": "object", "properties": { - "type": { - "$ref": "#/components/schemas/LinkProtocolType" + "href": { + "type": "string", + "description": "url to entity", + "format": "uri" }, - "vnid": { - "maximum": 40000, - "minimum": 20001, - "type": "integer", - "description": "Virtual Network Identifier" + "uuid": { + "type": "string", + "description": "Network Identifier", + "format": "uuid" }, - "type5vni": { - "type": "integer", - "description": "Type 5 VNI identifier" - } - }, - "description": "Connection link protocol configuration - EVPN_VXLAN" - }, - "LinkProtocolIpv4Ipv6Config": { - "type": "object", - "properties": { - "linkPrefix": { + "type": { "type": "string", - "description": "Link subnet prefix" + "description": "Type of Network", + "enum": [ + "EVPLAN", + "EPLAN", + "IPWAN" + ] }, - "localIfaceIp": { + "name": { "type": "string", - "description": "Prefix datatype when linkPrefix not specified" + "description": "Network Name" }, - "remoteIfaceIp": { + "scope": { "type": "string", - "description": "Equinix-side link interface address" + "description": "scope of Network", + "enum": [ + "LOCAL", + "REGIONAL", + "GLOBAL" + ] + }, + "location": { + "$ref": "#/components/schemas/SimplifiedLocation" } - }, - "description": "IPv4 or IPv6 specific configuration" + } }, "PriceError_additionalInfo": { "type": "object", @@ -20834,6 +24569,19 @@ }, "description": "Filters" }, + "ConnectionRouteTableEntry_connection": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "example": "81331c52-04c0-4656-a4a7-18c52669348f" + }, + "name": { + "type": "string", + "example": "connection_1" + } + } + }, "PortOrder_purchaseOrder": { "type": "object", "properties": { @@ -20858,6 +24606,16 @@ "format": "uuid" }, "selectionType": { + "type": "string", + "deprecated": true, + "enum": [ + "EXEMPTION", + "EXISTING", + "NEW", + "BLANKET" + ] + }, + "type": { "type": "string", "enum": [ "EXEMPTION", @@ -20905,19 +24663,6 @@ }, "description": "Port signature Type" }, - "RouteTableEntry_connection": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "example": "81331c52-04c0-4656-a4a7-18c52669348f" - }, - "name": { - "type": "string", - "example": "connection_1" - } - } - }, "VirtualConnectionPriceASide_accessPoint_port_settings": { "type": "object", "properties": { @@ -28221,8 +31966,17 @@ "value": [ { "op": "replace", - "path": "/aSide/accessPoint/virtualDevice/uuid", - "value": "5e7fd31d-f1e8-46fe-b6ad-6f5f2306cfd8" + "path": "/aSide/accessPoint", + "value": { + "virtualDevice": { + "type": "EDGE", + "uuid": "207667ba-3211-452c-b0a8-8b9046e122a5" + }, + "interface": { + "type": "CLOUD", + "id": 4 + } + } } ] }, @@ -28427,6 +32181,81 @@ } } }, + "ConnectionRoutesSearchByType": { + "value": { + "filter": { + "and": [ + { + "property": "/type", + "operator": "=", + "values": [ + "IPv4_BGP_ROUTE" + ] + } + ] + }, + "pagination": { + "offset": 0, + "limit": 20 + }, + "sort": [ + { + "direction": "DESC", + "property": "/changeLog/createdDateTime" + } + ] + } + }, + "ConnectionRoutesSearchByState": { + "value": { + "filter": { + "and": [ + { + "property": "/state", + "operator": "=", + "values": [ + "ACTIVE" + ] + } + ] + }, + "pagination": { + "offset": 0, + "limit": 20 + }, + "sort": [ + { + "direction": "DESC", + "property": "/changeLog/createdDateTime" + } + ] + } + }, + "ConnectionRoutesSearchByMed": { + "value": { + "filter": { + "and": [ + { + "property": "/med", + "operator": "=", + "values": [ + 200 + ] + } + ] + }, + "pagination": { + "offset": 0, + "limit": 20 + }, + "sort": [ + { + "direction": "DESC", + "property": "/changeLog/createdDateTime" + } + ] + } + }, "RoutingProtocolGetAll": { "value": { "pagination": { @@ -28461,6 +32290,7 @@ "outboundASPrependCount": 3, "inboundMED": 1000, "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UNKNOWN" } @@ -28596,6 +32426,7 @@ "outboundASPrependCount": 3, "inboundMED": 1000, "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UNKNOWN" } @@ -28865,6 +32696,7 @@ "outboundASPrependCount": 3, "inboundMED": 1000, "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UNKNOWN" } @@ -28957,6 +32789,7 @@ "outboundASPrependCount": 3, "inboundMED": 1000, "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29270,6 +33103,10 @@ "bgpIpv4": { "customerPeerIp": "10.1.1.2", "equinixPeerIp": "10.1.1.3", + "outboundASPrependCount": 3, + "inboundMED": 1000, + "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29278,6 +33115,10 @@ "bgpIpv6": { "customerPeerIp": "2001:db8:c59b::1", "equinixPeerIp": "2001:db8:c59b::1", + "outboundASPrependCount": 3, + "inboundMED": 1000, + "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29285,6 +33126,7 @@ }, "customerAsn": 0, "equinixAsn": 0, + "asOverrideEnabled": true, "bgpAuthKey": "string", "bfd": { "enabled": true, @@ -29318,6 +33160,10 @@ "bgpIpv4": { "customerPeerIp": "10.1.1.2", "equinixPeerIp": "10.1.1.3", + "outboundASPrependCount": 3, + "inboundMED": 1000, + "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29326,6 +33172,10 @@ "bgpIpv6": { "customerPeerIp": "2001:db8:c59b::1", "equinixPeerIp": "2001:db8:c59b::1", + "outboundASPrependCount": 3, + "inboundMED": 1000, + "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29334,6 +33184,7 @@ "customerAsn": 0, "equinixAsn": 0, "bgpAuthKey": "string", + "asOverrideEnabled": true, "bfd": { "enabled": true, "interval": "100" @@ -33145,8 +36996,6 @@ "expirationDateTime": "2021-03-18T06:43:49.980Z", "connection": { "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", "allowRemoteConnection": false, "bandwidthLimit": 50, "allowCustomBandwidth": false, @@ -33185,50 +37034,56 @@ "createdDateTime": "2021-03-18T06:43:49.980Z", "updatedBy": "843577", "updatedDateTime": "2021-03-18T06:44:14.206Z" + }, + "project": { + "projectId": "995072000433550" } } }, - "getServiceToken-CRH": { + "getServiceToken-VD": { "value": { - "href": "http://api.equinix.com/fabric/v4/serviceTokens/13ab7dc7-c18e-4f73-aa35-fc3a83966e79", + "href": "http://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1", "type": "VC_TOKEN", - "uuid": "13ab7dc7-c18e-4f73-aa35-fc3a83966e79", - "name": "Az_Aside_Dot1Q_Pri_SV", - "description": "Az_Aside_Dot1Q_Pri_SV_Description", + "name": "Zside_Virtual_Device_token", + "uuid": "ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "description": "Zside vd token", "state": "INACTIVE", - "expiry": 0, - "expirationDateTime": "2021-03-18T06:43:49.980Z", "connection": { "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", - "allowRemoteConnection": false, - "bandwidthLimit": 50, + "allowRemoteConnection": true, "allowCustomBandwidth": false, - "aSide": { + "supportedBandwidths": [ + 10, + 50, + 200 + ], + "zSide": { "accessPointSelectors": [ { - "type": "COLO", - "port": { - "href": "http://api.equinix.com/fabric/v4/ports/b840a1db-5758-758f-97e0-328a5c00a874", - "type": "XF_PORT", - "uuid": "b840a1db-5758-758f-97e0-328a5c00a874" + "type": "VD", + "virtualDevice": { + "name": "testVirtualDeviceName", + "type": "EDGE", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4" }, - "linkProtocol": { - "type": "QINQ", - "vlanCTag": 1399, - "vlanSTag": 1388 + "interface": { + "type": "NETWORK", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4", + "id": 45645 } } ] } }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", "notifications": [ { "type": "NOTIFICATION", "emails": [ - "abc@company.com", - "provider@company.com" + "abc@company.com" ] } ], @@ -33240,9 +37095,56 @@ "createdDateTime": "2021-03-18T06:43:49.980Z", "updatedBy": "843577", "updatedDateTime": "2021-03-18T06:44:14.206Z" + } + } + }, + "getServiceToken-Network": { + "value": { + "href": "https://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "type": "VC_TOKEN", + "name": "Zside_network_token", + "uuid": "ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "description": "Zside Network token", + "state": "INACTIVE", + "connection": { + "type": "EVPLAN_VC", + "allowRemoteConnection": true, + "allowCustomBandwidth": false, + "bandwidthLimit": 20000, + "zSide": { + "accessPointSelectors": [ + { + "type": "NETWORK", + "network": { + "href": "https://api.equinix.com/fabric/v4/networks/20d32a80-0d61-4333-bc03-707b591ae2f4", + "type": "EVPLAN", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4", + "scope": "REGIONAL" + } + } + ] + } }, "project": { - "projectId": "995072000433550" + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ], + "account": { + "orgId": 111437 + }, + "changeLog": { + "createdBy": "843577", + "createdDateTime": "2021-03-18T06:43:49.980Z", + "updatedBy": "843577", + "updatedDateTime": "2021-03-18T06:44:14.206Z" } } }, @@ -33325,10 +37227,92 @@ "value": { "pagination": { "offset": 0, - "limit": 1, - "total": 1 + "limit": 75, + "total": 2 }, "data": [ + { + "href": "https://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "type": "VC_TOKEN", + "name": "zside_network_token", + "uuid": "ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "description": "zside_Network_token", + "connection": { + "type": "EVPLAN_VC", + "allowRemoteConnection": true, + "allowCustomBandwidth": false, + "bandwidthLimit": 20000, + "zSide": { + "accessPointSelectors": [ + { + "type": "NETWORK", + "network": { + "href": "https://api.equinix.com/fabric/v4/networks/20d32a80-0d61-4333-bc03-707b591ae2f4", + "type": "EVPLAN", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4", + "scope": "REGIONAL" + } + } + ] + } + }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ] + }, + { + "href": "https://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "type": "VC_TOKEN", + "name": "zside_vd_token", + "uuid": "ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "description": "zside vd token", + "connection": { + "type": "EVPL_VC", + "allowRemoteConnection": true, + "allowCustomBandwidth": false, + "supportedBandwidths": [ + 10, + 50, + 200 + ], + "zSide": { + "accessPointSelectors": [ + { + "type": "VD", + "virtualDevice": { + "type": "EDGE", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4" + }, + "interface": { + "type": "NETWORK", + "id": 45645 + } + } + ] + } + }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ] + }, { "href": "http://api.equinix.com/fabric/v4/serviceTokens/13ab7dc7-c18e-4f73-aa35-fc3a83966e79", "type": "VC_TOKEN", @@ -33337,10 +37321,11 @@ "description": "Az_Aside_Dot1Q_Pri_SV_Description", "state": "INACTIVE", "expirationDateTime": "2021-03-18T06:43:49.980Z", + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, "connection": { "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", "allowRemoteConnection": false, "bandwidthLimit": 50, "allowCustomBandwidth": false, @@ -33384,73 +37369,6 @@ ] } }, - "getServiceTokens-CRH": { - "value": { - "pagination": { - "offset": 0, - "limit": 75, - "total": 1 - }, - "data": [ - { - "href": "http://api.equinix.com/fabric/v4/serviceTokens/13ab7dc7-c18e-4f73-aa35-fc3a83966e79", - "type": "VC_TOKEN", - "uuid": "13ab7dc7-c18e-4f73-aa35-fc3a83966e79", - "name": "Az_Aside_Dot1Q_Pri_SV", - "description": "Az_Aside_Dot1Q_Pri_SV_Description", - "state": "INACTIVE", - "expiry": 0, - "expirationDateTime": "2021-03-18T06:43:49.980Z", - "connection": { - "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", - "allowRemoteConnection": false, - "bandwidthLimit": 50, - "allowCustomBandwidth": false, - "aSide": { - "accessPointSelectors": [ - { - "type": "COLO", - "port": { - "href": "http://api.equinix.com/fabric/v4/ports/b840a1db-5758-758f-97e0-328a5c00a874", - "type": "XF_PORT", - "uuid": "b840a1db-5758-758f-97e0-328a5c00a874" - }, - "linkProtocol": { - "type": "QINQ", - "vlanCTag": 1399, - "vlanSTag": 1388 - } - } - ] - } - }, - "notifications": [ - { - "type": "NOTIFICATION", - "emails": [ - "abc@company.com", - "provider@company.com" - ] - } - ], - "account": { - "orgId": 111437 - }, - "changeLog": { - "createdBy": "843577", - "createdDateTime": "2021-03-18T06:43:49.980Z", - "updatedBy": "843577", - "updatedDateTime": "2021-03-18T06:44:14.206Z" - } - } - ], - "project": { - "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" - } - } - }, "createServiceTokenWithQnQ": { "value": { "type": "VC_TOKEN", @@ -33768,6 +37686,90 @@ ] } }, + "createZsideServiceTokenWithVD": { + "value": { + "type": "VC_TOKEN", + "name": "Zside_VD_token", + "description": "zside vd token", + "connection": { + "type": "EVPL_VC", + "allowRemoteConnection": true, + "allowCustomBandwidth": false, + "supportedBandwidths": [ + 10, + 50, + 200, + 10000 + ], + "zSide": { + "accessPointSelectors": [ + { + "type": "VD", + "virtualDevice": { + "type": "EDGE", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4" + }, + "interface": { + "type": "NETWORK", + "id": 45645 + } + } + ] + } + }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ] + } + }, + "createZsideServiceTokenWithNetwork": { + "value": { + "type": "VC_TOKEN", + "name": "zside_Network_token", + "description": "Zside_Network_token", + "connection": { + "type": "EVPLAN_VC", + "allowRemoteConnection": true, + "supportedBandwidths": [ + 10, + 50, + 200 + ], + "zSide": { + "accessPointSelectors": [ + { + "type": "NETWORK", + "network": { + "type": "EVPLAN", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4" + } + } + ] + } + }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ] + } + }, "Resend_Service_Token": { "value": { "type": "RESEND_EMAIL_NOTIFICATION" @@ -33785,8 +37787,6 @@ "expirationDateTime": "2021-03-18T06:43:49.980Z", "connection": { "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", "allowRemoteConnection": false, "bandwidthLimit": 50, "allowCustomBandwidth": false, @@ -34081,12 +38081,11 @@ "uuid": "e91484bb-4f65-4ab3-8f77-500dec2f855d", "name": "test-AT1-Dot1q-L-Secondary-108608", "state": "ACTIVE", - "cvpId": "108608", "bandwidth": 10000, "usedBandwidth": 0, "availableBandwidth": 20000, + "physicalPortSpeed": 10000, "redundancy": { - "group": "1", "priority": "SECONDARY" }, "location": { @@ -34108,8 +38107,9 @@ "tagProtocolId": 33024 }, "lagEnabled": true, - "lag": { - "enabled": true + "package": { + "code": "STANDARD", + "type": "MSP" }, "settings": { "buyout": false, @@ -34143,30 +38143,41 @@ "patchPanelPortA": "92", "patchPanelPortB": "24" }, + "operation": { + "operationalStatus": "UP" + }, "demarcationPoint": { "ibx": "AT1", "patchPanel": "PP:8118:1586", "patchPanelName": "PP:8118:1586", "patchPanelPortA": "92", "patchPanelPortB": "24" - }, - "operation": { - "operationalStatus": "UP" } } ], "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-06-14T17:21:25.586Z", - "connectionCount": 0 + "connectionCount": 0, + "evplVcCount": 0, + "fgVcCount": 0, + "accessVcCount": 0 }, "account": { - "accountNumber": "100179", + "accountNumber": 100179, "accountName": "L2", "globalCustId": "007700000090982RG8", - "orgId": "100179", + "orgId": 100179, "organizationName": "Cust_Org_100179" }, + "order": { + "purchaseOrder": { + "startDate": "2020-06-14T17:21:25.586Z", + "endDate": "2020-06-15T17:21:25.586Z", + "type": "NEW" + }, + "orderNumber": "1-222078525611" + }, "changeLog": { "createdDateTime": "2020-06-14T17:21:25.586Z" }, @@ -34187,8 +38198,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": false, "encapsulation": { @@ -34196,10 +38207,10 @@ "tagProtocolId": 33024 }, "project": { - "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" + "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931'" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34213,9 +38224,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34249,8 +38260,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": true, "encapsulation": { @@ -34261,7 +38272,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34275,9 +38286,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34311,8 +38322,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": true, "encapsulation": { @@ -34323,7 +38334,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34337,9 +38348,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34382,8 +38393,10 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", + "package": { + "code": "STANDARD" + }, "settings": { - "packageType": "STANDARD", "sharedPortType": false, "sharedPortProduct": null }, @@ -34406,9 +38419,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34484,7 +38497,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34503,9 +38516,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34530,8 +38543,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": true, "encapsulation": { @@ -34542,7 +38555,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34561,9 +38574,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34586,8 +38599,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": false, "encapsulation": { @@ -34598,15 +38611,15 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "order": { "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34646,8 +38659,10 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", + "package": { + "code": "STANDARD" + }, "settings": { - "packageType": "STANDARD", "sharedPortProduct": "NETWORK_EDGE" }, "redundancy": { @@ -34669,9 +38684,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34730,8 +38745,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": true, "encapsulation": { @@ -34742,7 +38757,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34756,9 +38771,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34793,9 +38808,11 @@ "type": "DOT1Q", "tagProtocolId": 33024 }, + "package": { + "code": "STANDARD" + }, "settings": { - "sharedPortType": "false,", - "packageType": "STANDARD" + "sharedPortType": false }, "project": { "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" @@ -35068,6 +39085,8 @@ "name": "L2-DEV-USER01-CX-10G-PRIMARY", "description": "Test Redundant port in Amsterdam", "physicalPortsSpeed": 10000, + "physicalPortsType": "1000BASE_LX", + "connectivitySourceType": "BMMR", "location": { "metroCode": "AM" }, @@ -35087,9 +39106,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35141,9 +39160,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35191,8 +39210,8 @@ "account": { "accountNumber": 270848 }, - "changelog": { - "createdBy": "907831", + "changeLog": { + "createdBy": 907831, "createdDateTime": "2023-06-02T22:25:52.206Z" }, "location": { @@ -35204,9 +39223,11 @@ "priority": "PRIMARY" }, "lagEnabled": false, + "package": { + "code": "STANDARD" + }, "settings": { - "sharedPortType": false, - "packageType": "STANDARD" + "sharedPortType": false }, "project": { "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" @@ -35240,8 +39261,8 @@ "account": { "accountNumber": 270848 }, - "changelog": { - "createdBy": "907831", + "changeLog": { + "createdBy": 907831, "createdDateTime": "2023-06-02T22:25:52.206Z" }, "location": { @@ -35256,9 +39277,11 @@ "project": { "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, + "package": { + "code": "STANDARD" + }, "settings": { - "sharedPortType": false, - "packageType": "STANDARD" + "sharedPortType": false }, "notifications": [ { @@ -35299,9 +39322,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35339,9 +39362,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35373,9 +39396,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35425,9 +39448,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35455,9 +39478,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35538,10 +39561,12 @@ "uuid": "e91484bb-4f65-4ab3-8f77-500dec2f855d", "name": "test-AT1-Dot1q-L-Secondary-108608", "state": "ACTIVE", - "cvpId": "108608", "bandwidth": 10000, "usedBandwidth": 0, "availableBandwidth": 20000, + "physicalPortsSpeed": 10000, + "physicalPortsType": "1000BASE_LX", + "connectivitySourceType": "COLO", "redundancy": { "group": "1", "priority": "Secondary" @@ -35565,8 +39590,9 @@ "tagProtocolId": 33024 }, "lagEnabled": true, - "lag": { - "enabled": true + "package": { + "code": "STANDARD", + "type": "MSP" }, "settings": { "buyout": false, @@ -35591,9 +39617,6 @@ "patchPanelName": "PP:8118:1586", "patchPanelPortA": "92", "patchPanelPortB": "24" - }, - "operation": { - "operationalStatus": "UP" } }, { @@ -35606,22 +39629,22 @@ "patchPanel": "PP:8118:1586", "patchPanelPortA": "92", "patchPanelPortB": "24" - }, - "operation": { - "operationalStatus": "UP" } } ], "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-06-14T17:21:25.586Z", - "connectionCount": 0 + "connectionCount": 0, + "evplVcCount": 0, + "fgVcCount": 0, + "accessVcCount": 0 }, "account": { - "accountNumber": "100179", + "accountNumber": 100179, "accountName": "L2", "globalCustId": "007700000090982RG8", - "orgId": "100179", + "orgId": 100179, "organizationName": "Cust_Org_100179" }, "changeLog": { @@ -35665,9 +39688,6 @@ "tagProtocolId": 33024 }, "lagEnabled": true, - "lag": { - "enabled": true - }, "settings": { "buyout": false, "placeVcOrderPermission": true, @@ -37337,6 +41357,84 @@ "type": "ROUTE_TABLE_ENTRY_UPDATE" } }, + "ReceivedRouteEntriesStatusUpdate": { + "value": { + "type": "RECEIVED_ROUTE_ENTRY_UPDATE" + } + }, + "AdvertisedRouteEntriesStatusUpdate": { + "value": { + "type": "ADVERTISED_ROUTE_ENTRY_UPDATE", + "connection": { + "uuid": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + } + } + }, + "CloudRouterReceivedRoutesActionResponse": { + "value": { + "type": "RECEIVED_ROUTE_ENTRY_UPDATE", + "uuid": "37c10edc-ba2e-4240-a850-8a48f9c47d01", + "state": "PENDING", + "connection": { + "uuid": "3066ab1d-af87-49d7-8a14-c9bdb57ac809" + }, + "changeLog": { + "createdDateTime": "2020-05-21T10:30:00Z" + } + } + }, + "CloudRouterAdvertisedRoutesActionResponse": { + "value": { + "type": "ADVERTISED_ROUTE_ENTRY_UPDATE", + "uuid": "37c10edc-ba2e-4240-a850-8a48f9c47d01", + "state": "PENDING", + "connection": { + "uuid": "3066ab1d-af87-49d7-8a14-c9bdb57ac809" + }, + "changeLog": { + "createdDateTime": "2020-05-21T10:30:00Z" + } + } + }, + "CloudRouterActionsSearchByType": { + "value": { + "filter": { + "and": [ + { + "property": "/type", + "operator": "=", + "values": [ + "ROUTE_TABLE_ENTRY_UPDATE" + ] + } + ] + }, + "pagination": { + "offset": 0, + "limit": 20 + }, + "sort": [ + { + "direction": "DESC", + "property": "/changeLog/createdDateTime" + } + ] + } + }, + "400_invalid_sorting": { + "value": [ + { + "errorCode": "EQ-3043015", + "errorMessage": "Invalid value for sorting direction.", + "correlationId": "cebc3d33-9037-4a2b-a7af-0ad65602cdec", + "additionalInfo": [ + { + "reason": "Only accept DESC and ASC for sorting direction." + } + ] + } + ] + }, "SearchFilterByNextHop": { "value": { "filter": { @@ -37463,20 +41561,6 @@ } } }, - "400_invalid_sorting": { - "value": [ - { - "errorCode": "EQ-3043015", - "errorMessage": "Invalid value for sorting direction.", - "correlationId": "cebc3d33-9037-4a2b-a7af-0ad65602cdec", - "additionalInfo": [ - { - "reason": "Only accept DESC and ASC for sorting direction." - } - ] - } - ] - }, "Request-direct-ipv4": { "value": { "filter": { @@ -39082,18 +43166,214 @@ "updatedDateTime": "2020-05-21T10:30:50Z" } }, + "ntpStandardService": { + "value": { + "type": "NTP", + "name": "EPT-NTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + } + } + }, + "ptpStandardService": { + "value": { + "type": "PTP", + "name": "EPT-PTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "PTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "purchaseOrderNumber": "1-129105284100" + } + } + }, + "ntpEnterpriseService": { + "value": { + "type": "NTP", + "name": "EPT-NTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + } + } + }, + "ptpEnterpriseService": { + "value": { + "type": "PTP", + "name": "EPT-PTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "PTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + } + } + }, + "ptpStandardWithAdvancedConfiguration": { + "value": { + "type": "PTP", + "name": "EPT-PTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "PTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + } + } + }, + "ptpEnterpriseWithAdvancedConfiguration": { + "value": { + "type": "PTP", + "name": "EPT-PTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "PTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + } + } + }, + "ntpEnterpriseWithAdvancedConfiguration": { + "value": { + "type": "NTP", + "name": "EPT-NTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ] + } + }, "ntpStandardCreateResponse": { "value": { "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", - "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", - "name": "EPT-Single-Service", "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", "state": "PROVISIONING", "connections": [ { - "href": "https://api.equinix.com/fabric/v4/connections/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", "type": "EVPL_VC", - "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } } ], "package": { @@ -39108,23 +43388,210 @@ }, "account": { "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } } }, - "400-Mandatory-Name": { - "value": [ - { - "errorCode": "EQ-4800011", - "errorMessage": "Validation Error", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515", - "additionalInfo": [ - { - "property": "/package/protocol", - "reason": "Mandatory field is missing" + "ntpEnterpriseCreateResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } } - ] + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ], + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } + }, + "ptpStandardCreateResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "PTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-PTP-Service", + "state": "PROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_STANDARD", + "code": "PTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } + }, + "ptpEnterpriseCreateResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "PTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-PTP-Service", + "state": "PROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_ENTERPRISE", + "code": "PTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } }, "400-Invalid-Name": { "value": [ @@ -39135,7 +43602,7 @@ "additionalInfo": [ { "property": "/name", - "reason": "Invalid name" + "reason": "Invalid name provided" } ] } @@ -39487,66 +43954,607 @@ "errorMessage": "Invalid GrantTime range - Allowed range is 30 to 7200", "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" } - ] + ] + }, + "400-Invalid-Type": { + "value": [ + { + "errorCode": "EQ-4800010", + "errorMessage": "Invalid Type - Allowed values are ASCII, HEX", + "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + } + ] + }, + "400-Invalid-Id": { + "value": [ + { + "errorCode": "EQ-4800010", + "errorMessage": "Invalid Id - Only Integers are allowed", + "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + } + ] + }, + "400-Invalid-Password": { + "value": [ + { + "errorCode": "EQ-4800010", + "errorMessage": "Invalid Password", + "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + } + ] + }, + "400-Validate-Password": { + "value": [ + { + "errorCode": "EQ-4800114", + "errorMessage": "Only HEX allowed, chars value length should between 10 - 40", + "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + } + ] + }, + "ntpStandardResponseASidePort": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } + }, + "ntpStandardResponseASideVirtualDevice": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "VD", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } + }, + "ntpStandardResponseASideCloudRouter": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "IP_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "CLOUD_ROUTER", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } }, - "400-Invalid-Type": { - "value": [ - { - "errorCode": "EQ-4800010", - "errorMessage": "Invalid Type - Allowed values are ASCII, HEX", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + "ntpEnterpriseWOMD5ResponseASidePort": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "400-Invalid-Id": { - "value": [ - { - "errorCode": "EQ-4800010", - "errorMessage": "Invalid Id - Only Integers are allowed", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + "ntpEnterpriseResponseASidePort": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ], + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "400-Invalid-Password": { - "value": [ - { - "errorCode": "EQ-4800010", - "errorMessage": "Invalid Password", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + "ntpEnterpriseResponseASideVirtualDevice": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "VD", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ], + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "400-Validate-Password": { - "value": [ - { - "errorCode": "EQ-4800114", - "errorMessage": "Only HEX allowed, chars value length should between 10 - 40", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + "ntpEnterpriseResponseASideCloudRouter": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "IP_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "CLOUD_ROUTER", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ], + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "editName": { - "value": [ - { - "op": "replace", - "path": "/name", - "value": "EPT-Single-Service" + "ptpStandardResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "PTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-PTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_STANDARD", + "code": "PTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "editPackageCode": { - "value": [ - { - "op": "replace", - "path": "/package/code", - "value": "NTP_ENTERPRISE" + "ptpEnterpriseResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "PTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-PTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_ENTERPRISE", + "code": "PTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "ntpStandard": { + "configureStandardService": { "value": { - "name": "EPT-Single-Service", "type": "NTP", + "name": "EPT-Standard-Service", "connections": [ { "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" @@ -39563,37 +44571,49 @@ } } }, - "ptpStandard": { + "configureNtpEnterpriseAdvancedConfig": { "value": { - "name": "EPT-Single-Service", - "type": "PTP", + "type": "NTP", + "name": "EPT-NTP-Service", "connections": [ { "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" } ], "package": { - "code": "PTP_STANDARD" + "code": "NTP_ENTERPRISE" }, "ipv4": { "primary": "192.168.0.2", "secondary": "192.168.0.3", "networkMask": "255.255.255.255", "defaultGateway": "192.167.0.1" - } + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ] } }, - "ptpEnterpriseWithAdvanceConfiguration": { + "configurePtpWithAdvancedConfig": { "value": { - "name": "EPT-Single-Service", "type": "PTP", + "name": "EPT-PTP-Service", "connections": [ { "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" } ], "package": { - "code": "PTP_ENTERPRISE" + "code": "PTP_STANDARD" }, "ipv4": { "primary": "192.168.0.2", @@ -39601,30 +44621,112 @@ "networkMask": "255.255.255.255", "defaultGateway": "192.167.0.1" }, - "advanceConfiguration": { - "ptp": { - "tailScale": true, - "domain": 10, - "priority1": 5, - "priority2": 7, - "logAnnounceInterval": 0, - "logSyncInterval": 0, - "logDelayReqInterval": 0 + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + } + } + }, + "ntpStandardConfigureResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "account": { + "accountNumber": 123456 + }, + "order": { + "orderNumber": "1-129105284100" + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } } }, - "ntpEnterpriseWithAdvanceConfiguration": { + "ntpStandardDeletingResponse": { "value": { - "name": "EPT-Single-Service", + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "DEPROVISIONING", "connections": [ { - "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } } ], "package": { - "code": "NTP_ENTERPRISE" + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" }, "ipv4": { "primary": "192.168.0.2", @@ -39632,15 +44734,148 @@ "networkMask": "255.255.255.255", "defaultGateway": "192.167.0.1" }, - "advanceConfiguration": { - "ntp": [ + "account": { + "accountNumber": 123456 + }, + "order": { + "orderNumber": "1-216720438646" + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z", + "deletedByEmail": "abc@xyz.com", + "deletedDateTime": "2024-08-24T06:52:46Z" + } + } + }, + "updateName": { + "value": [ + { + "op": "replace", + "path": "/name", + "value": "Updated-Service-Name" + } + ] + }, + "updatePackageCode": { + "value": [ + { + "op": "replace", + "path": "/package/code", + "value": "NTP_ENTERPRISE" + } + ] + }, + "updateNetworkInformation": { + "value": [ + { + "op": "replace", + "path": "/ipv4", + "value": { + "primary": "192.168.254.241", + "secondary": "192.168.254.242", + "networkMask": "255.255.255.240", + "defaultGateway": "192.168.254.254" + } + } + ] + }, + "updatePtpAdvancedConfiguration": { + "value": [ + { + "op": "replace", + "path": "/ptpAdvancedConfiguration", + "value": { + "timeScale": "PTP", + "domain": 20, + "priority1": 20, + "priority2": 20, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + } + } + ] + }, + "updateNtpAdvancedConfiguration": { + "value": [ + { + "op": "replace", + "path": "/ntpAdvancedConfiguration", + "value": [ { "type": "ASCII", - "id": 12345, - "password": "MTIzNDU2Nzg5MA" + "keyNumber": 65534, + "key": "plain-text-key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1" } ] } + ] + }, + "ntpStandardReprovisionResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "REPROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "account": { + "accountNumber": 123456 + }, + "order": { + "orderNumber": "1-129105284100" + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } } }, "SearchTimeServicesFilterByStatus": { @@ -39683,7 +44918,7 @@ "property": "/name", "operator": "=", "values": [ - "test-time-service" + "test-service" ] }, { @@ -39758,15 +44993,35 @@ }, "data": [ { - "href": "https://api.equinix.com/fabric/v4/routers/201b7346-a9eb-42fe-ae7a-08148c71928d", + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", "name": "EPT-NTP-STD-Service", - "type": "NTP", "state": "PROVISIONING", "connections": [ { - "href": "https://api.equinix.com/fabric/v4/connections/a8ba52de-faae-43b5-b0b1-6904d37ee011", - "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } } ], "package": { @@ -39781,6 +45036,12 @@ }, "account": { "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } } ] @@ -39831,16 +45092,16 @@ "data": [ { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", - "code": "NTP_STANDARD", "type": "TIME_SERVICE_PACKAGE", + "code": "NTP_STANDARD", "bandwidth": 1, - "clientsPerSecondMax": 2000, - "accuracyUnit": "microseconds", + "clientsPerSecondMax": 1000, + "accuracySlaUnit": "microseconds", "accuracySla": -1, - "accuracyAvgMin": 1, - "accuracyAvgMax": 100, - "redundancySupported": true, - "multiSubnetSupported": true, + "accuracySlaMin": 1, + "accuracySlaMax": 100, + "redundancySupported": false, + "multiSubnetSupported": false, "changeLog": { "createdDateTime": "2023-05-16T07:50:49.749Z", "updatedDateTime": "2023-05-17T07:50:49.749Z" @@ -39848,15 +45109,15 @@ }, { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", - "code": "NTP_ENTERPRISE", "type": "TIME_SERVICE_PACKAGE", + "code": "NTP_ENTERPRISE", "bandwidth": 5, - "clientsPerSecondMax": 1000, - "accuracyUnit": "microseconds", + "clientsPerSecondMax": 2000, + "accuracySlaUnit": "microseconds", "accuracySla": -1, - "accuracyAvgMin": 1, - "accuracyAvgMax": 100, - "redundancySupported": true, + "accuracySlaMin": 1, + "accuracySlaMax": 100, + "redundancySupported": false, "multiSubnetSupported": true, "changeLog": { "createdDateTime": "2023-05-16T07:50:49.749Z", @@ -39865,15 +45126,15 @@ }, { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_STANDARD", - "code": "PTP_STANDARD", "type": "TIME_SERVICE_PACKAGE", + "code": "PTP_STANDARD", "bandwidth": 5, - "clientsPerSecondMax": 100, - "accuracyUnit": "microseconds", + "clientsPerSecondMax": 20, + "accuracySlaUnit": "microseconds", "accuracySla": 50, - "accuracyAvgMin": 1, - "accuracyAvgMax": 10, - "redundancySupported": true, + "accuracySlaMin": 1, + "accuracySlaMax": 10, + "redundancySupported": false, "multiSubnetSupported": true, "changeLog": { "createdDateTime": "2023-05-16T07:50:49.749Z", @@ -39882,15 +45143,15 @@ }, { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_ENTERPRISE", - "code": "PTP_ENTERPRISE", "type": "TIME_SERVICE_PACKAGE", + "code": "PTP_ENTERPRISE", "bandwidth": 10, - "clientsPerSecondMax": 20, - "accuracyUnit": "microseconds", + "clientsPerSecondMax": 100, + "accuracySlaUnit": "microseconds", "accuracySla": 50, - "accuracyAvgMin": 1, - "accuracyAvgMax": 10, - "redundancySupported": true, + "accuracySlaMin": 1, + "accuracySlaMax": 10, + "redundancySupported": false, "multiSubnetSupported": true, "changeLog": { "createdDateTime": "2023-05-16T07:50:49.749Z", @@ -39903,14 +45164,14 @@ "servicePackageResponse": { "value": { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", - "code": "NTP_STANDARD", "type": "TIME_SERVICE_PACKAGE", + "code": "NTP_STANDARD", "bandwidth": 10, "clientsPerSecondMax": 100, - "accuracyUnit": "microseconds", + "accuracySlaUnit": "microseconds", "accuracySla": 50, - "accuracyAvgMin": 1, - "accuracyAvgMax": 10, + "accuracySlaMin": 1, + "accuracySlaMax": 10, "redundancySupported": true, "multiSubnetSupported": true, "changeLog": { @@ -39927,7 +45188,7 @@ "marketplace": "AWS", "offerType": "PRIVATE_OFFER", "isAutoRenew": false, - "offerId": "offer id", + "offerId": "offer-wqquayy2jy25o", "trial": { "enabled": true, "expiryDateTime": "2020-05-21T10:30:00Z" @@ -39935,9 +45196,9 @@ "entitlements": [ { "uuid": "a15b6b20-b765-4bf7-a661-a3e9372d5435", - "name": "FCR Standard", "quantityEntitled": 1, "quantityConsumed": 0, + "quantityAvailable": 1, "asset": { "type": "XF_ROUTER", "package": { @@ -39965,36 +45226,87 @@ } } }, - "StreamResponseExample": { + "stream-get-all-example": { "value": { - "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", - "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", - "type": "STREAM_SUBSCRIPTION", + "pagination": { + "offset": 0, + "limit": 20, + "total": 1 + }, + "data": [ + { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "name": "stream 1", + "description": "stream dec 1", + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "enabled": true, + "state": "PROVISIONED", + "assetsCount": 1, + "streamSubscriptionsCount": 2, + "changelog": { + "createdDateTime": "2024-05-06T16:21:18.545214Z" + } + } + ] + } + }, + "StreamPostRequestExample": { + "value": { + "type": "TELEMETRY_STREAM", "name": "splunk1", - "description": "subscription 1", + "description": "subscription-1", "enabled": true, - "state": "PROVISIONED", "project": { - "projectId": 123456 + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + } + } + }, + "StreamResponseExample": { + "value": { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "name": "stream1", + "description": "stream 1", + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" }, + "enabled": true, + "state": "PROVISIONED", + "assetsCount": 1, + "streamSubscriptionsCount": 2, "changelog": { "createdDateTime": "2024-05-06T16:21:18.545214Z" } } }, - "StreamPostRequestExample": { + "StreamPutRequestExample": { "value": { - "type": "STREAM_SUBSCRIPTION", "name": "splunk1", - "description": "subscription 1" + "description": "subscription 1", + "enabled": true } }, - "StreamPutRequestExample": { + "StreamDeleteRequestExample": { "value": { - "name": "splunk1", - "description": "subscription 1", - "stream": { - "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "name": "stream1", + "description": "stream 1", + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "enabled": true, + "state": "DEPROVISIONING", + "assetsCount": 1, + "streamSubscriptionsCount": 2, + "changelog": { + "createdDateTime": "2024-05-06T16:21:18.545214Z" } } }, @@ -40018,7 +45330,7 @@ "sort": [ { "direction": "DESC", - "property": "/changeLog/createdDateTime" + "property": "/uuid" } ] } @@ -40032,44 +45344,44 @@ }, "data": [ { - "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", "href": "https://api.equinix.com/fabric/v4/ports/e684aa26-8276-48b7-bb42-a6d9def0a419", - "metricsEnabled": true, + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "metricsEnabled": false, "attachmentStatus": "ATTACHED" } ] } }, - "StreamRouterAssetResponseExample": { + "StreamConnectionAssetResponseExample": { "value": { + "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/connections/d684aa26-8276-48b7-bb42-a6d9def0a418", "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", - "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/routers/d684aa26-8276-48b7-bb42-a6d9def0a418", - "metricsEnabled": true, + "metricsEnabled": false, "attachmentStatus": "ATTACHED" } }, "StreamAssetPutRequestExample": { "value": { - "metricsEnabled": true + "metricsEnabled": false } }, - "StreamConnectionAssetResponseExample": { + "StreamRouterAssetAttachResponseExample": { "value": { + "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/routers/d684aa26-8276-48b7-bb42-a6d9def0a418", "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", - "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/connections/d684aa26-8276-48b7-bb42-a6d9def0a418", - "metricsEnabled": true, - "attachmentStatus": "ATTACHED" + "metricsEnabled": false, + "attachmentStatus": "ATTACHING" } }, - "StreamPortAssetResponseExample": { + "StreamRouterAssetDetachResponseExample": { "value": { + "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/routers/d684aa26-8276-48b7-bb42-a6d9def0a418", "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", - "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/ports/d684aa26-8276-48b7-bb42-a6d9def0a418", - "metricsEnabled": true, - "attachmentStatus": "ATTACHED" + "metricsEnabled": false, + "attachmentStatus": "DETACHING" } }, - "stream-subscription-get-all-example": { + "stream-get-all-subscription-example": { "value": { "pagination": { "offset": 0, @@ -40078,30 +45390,52 @@ }, "data": [ { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418/streamSubscriptions", "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "STREAM_SUBSCRIPTION" + } + ] + } + }, + "stream-subscription-get-all-example": { + "value": { + "pagination": { + "offset": 0, + "limit": 20, + "total": 1 + }, + "data": [ + { "href": "https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", "type": "STREAM_SUBSCRIPTION", "name": "splunk", "description": "subscription 1", - "enabled": true, + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, "state": "PROVISIONED", + "enabled": true, + "stream": { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418" + }, "filters": { "and": [ { - "path": "subject", + "property": "/subject", "operator": "LIKE", "values": [ "%36276e58-b5a1-4864-ab5e-be10dff9eac1%" - ], - "or": [] + ] }, { - "path": "equinixproject", + "property": "/equinixproject", "operator": "IN", "values": [ "197607000886247" - ], - "or": [] + ] } ] }, @@ -40119,27 +45453,26 @@ ] } }, - "StreamSubscriptionPostRequestExample": { + "StreamSubscriptionPostRequestExampleSplunk": { "value": { "type": "STREAM_SUBSCRIPTION", "name": "splunk1", - "description": "subscription 1", + "description": "subscription-1", "enabled": true, "stream": { "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" }, "project": { - "projectId": 123456 + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" }, "filters": { "and": [ { - "path": "type", + "property": "/type", "operator": "LIKE", "values": [ - "%com.equinix.event.fabric.connection%" - ], - "or": [] + "%com.equinix.fabric.connection%" + ] } ] }, @@ -40150,34 +45483,130 @@ "type": "ACCESS_TOKEN", "accessToken": "my-access-token" }, - "batchEnabled": false, - "batchSizeMax": 50, - "batchWaitTimeMax": 5 + "settings": { + "source": "Equinix", + "eventIndex": "idx-hec-event", + "metricIndex": "idx-hec-metric" + } + } + } + }, + "StreamSubscriptionPostRequestExampleSlack": { + "value": { + "type": "STREAM_SUBSCRIPTION", + "name": "slack1", + "description": "subscription-1", + "enabled": true, + "stream": { + "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" + }, + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "sink": { + "uri": "https://xxxxxx", + "type": "SLACK" + } + } + }, + "StreamSubscriptionPostRequestExamplePagerduty": { + "value": { + "type": "STREAM_SUBSCRIPTION", + "name": "pagerduty", + "description": "subscription-1", + "enabled": true, + "stream": { + "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" + }, + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "filters": { + "and": [ + { + "property": "/type", + "operator": "LIKE", + "values": [ + "%com.equinix.fabric.connection%" + ] + } + ] + }, + "sink": { + "uri": "https://xxxxxx", + "type": "PAGERDUTY", + "credential": { + "type": "INTEGRATION_KEY", + "integrationKey": "my-integration-key" + }, + "settings": { + "source": "Equinix" + } + } + } + }, + "StreamSubscriptionPostRequestExampleDatadog": { + "value": { + "type": "STREAM_SUBSCRIPTION", + "name": "datadog", + "description": "subscription-1", + "enabled": true, + "stream": { + "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" + }, + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "filters": { + "and": [ + { + "property": "/type", + "operator": "LIKE", + "values": [ + "%com.equinix.fabric.connection%" + ] + } + ] + }, + "sink": { + "uri": "https://xx.datadoghq.com", + "type": "DATADOG", + "credential": { + "type": "API_KEY", + "apiKey": "my-api-key" + }, + "settings": { + "source": "Equinix", + "applicationKey": "my-application-key" + } } } }, "StreamSubscriptionResponseExample": { "value": { - "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", "href": "https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418", - "type": "TELEMETRY_STREAM", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "STREAM_SUBSCRIPTION", "name": "stream 1", "description": "stream dec 1", "project": { - "projectId": 1234546 + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" }, "state": "PROVISIONED", - "assetCount": 1, - "streamSubscriptionCount": 2, + "enabled": true, + "stream": { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418" + }, "filters": { "and": [ { - "path": "type", + "property": "/type", "operator": "LIKE", "values": [ - "%com.equinix.event.fabric.connection%" - ], - "or": [] + "%com.equinix.fabric.connection%" + ] } ] }, @@ -40188,6 +45617,11 @@ "type": "ACCESS_TOKEN", "accessToken": "my-access-token" }, + "settings": { + "source": "Equinix", + "eventIndex": "idx-hec-event", + "metricIndex": "idx-hec-metric" + }, "batchEnabled": false, "batchSizeMax": 50, "batchWaitTimeMax": 5 @@ -40208,12 +45642,57 @@ "filters": { "and": [ { - "path": "type", + "property": "/type", "operator": "LIKE", "values": [ "%equinix.event.fabric.connection%" - ], - "or": [] + ] + } + ] + }, + "sink": { + "uri": "https://xxxxxx", + "type": "SPLUNK_HEC", + "credential": { + "type": "ACCESS_TOKEN", + "accessToken": "my-access-token" + }, + "settings": { + "source": "Equinix", + "eventIndex": "idx-hec-event", + "metricIndex": "idx-hec-metric" + }, + "batchEnabled": false, + "batchSizeMax": 50, + "batchWaitTimeMax": 5 + } + } + }, + "StreamSubscriptionDeleteResponseExample": { + "value": { + "href": "https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "STREAM_SUBSCRIPTION", + "name": "stream 1", + "description": "stream dec 1", + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "state": "DEPROVISIONING", + "enabled": true, + "stream": { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418" + }, + "filters": { + "and": [ + { + "property": "/type", + "operator": "LIKE", + "values": [ + "%com.equinix.fabric.connection%" + ] } ] }, @@ -40224,9 +45703,17 @@ "type": "ACCESS_TOKEN", "accessToken": "my-access-token" }, + "settings": { + "source": "Equinix", + "eventIndex": "idx-hec-event", + "metricIndex": "idx-hec-metric" + }, "batchEnabled": false, "batchSizeMax": 50, "batchWaitTimeMax": 5 + }, + "changelog": { + "createdDateTime": "2024-05-06T16:21:18.545214Z" } } } diff --git a/spec/oas3.fabric.patched.json b/spec/oas3.fabric.patched.json index ee1725ee..5740547a 100644 --- a/spec/oas3.fabric.patched.json +++ b/spec/oas3.fabric.patched.json @@ -2,18 +2,17 @@ "openapi": "3.0.3", "info": { "title": "Equinix Fabric API v4", - "description": "Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
", + "description": "Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to:
1. Cloud Service Providers - Clouds, network and other service providers.
2. Enterprises - Other Equinix customers, vendors and partners.
3. Myself - Another customer instance deployed at Equinix.

Integrations (SDKs, Tools) links:
Fabric Java SDK
Fabric Go SDK
Fabric Python SDK
Equinix Terraform Provider
Fabric Terraform Modules
Equinix Pulumi Provider
", "termsOfService": "https://www.equinix.com/about/legal/terms", "contact": { "name": "Equinix API Support", - "url": "https://equinix.com/about/", - "email": "api-support@equinix.com" + "url": "https://docs.equinix.com/api-support.htm" }, "license": { "name": "Equinix Inc", "url": "https://developer.equinix.com/agreement" }, - "version": "4.15" + "version": "4.17" }, "externalDocs": { "description": "Find more information on Equinix Developer Portal", @@ -70,6 +69,14 @@ { "name": "Statistics", "description": "Statistics" + }, + { + "name": "Stream Subscriptions", + "description": "Stream Subscriptions Beta" + }, + { + "name": "Streams", + "description": "Streams Beta" } ], "paths": { @@ -940,6 +947,224 @@ } } }, + "/fabric/v4/connections/{connectionId}/advertisedRoutes/search": { + "post": { + "tags": [ + "Cloud Routers" + ], + "summary": "search advertised", + "description": "The API provides capability to get list of user's advertised routes using search criteria, including optional filtering, pagination and sorting", + "operationId": "searchConnectionAdvertisedRoutes", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "description": "Connection Id", + "required": true, + "schema": { + "$ref": "#/components/schemas/ConnectionId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectionRouteSearchRequest" + }, + "examples": { + "ConnectionRoutesSearchType": { + "$ref": "#/components/examples/ConnectionRoutesSearchByType" + }, + "ConnectionRoutesSearchByState": { + "$ref": "#/components/examples/ConnectionRoutesSearchByState" + }, + "ConnectionRoutesSearchByMed": { + "$ref": "#/components/examples/ConnectionRoutesSearchByMed" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectionRouteTableEntrySearchResponse" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/400" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + } + } + } + }, + "/fabric/v4/connections/{connectionId}/receivedRoutes/search": { + "post": { + "tags": [ + "Cloud Routers" + ], + "summary": "Search received", + "description": "The API provides capability to get list of received routes using search criteria, including optional filtering, pagination and sorting", + "operationId": "searchConnectionReceivedRoutes", + "parameters": [ + { + "name": "connectionId", + "in": "path", + "description": "Connection Id", + "required": true, + "schema": { + "$ref": "#/components/schemas/ConnectionId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectionRouteSearchRequest" + }, + "examples": { + "ConnectionRoutesSearchType": { + "$ref": "#/components/examples/ConnectionRoutesSearchByType" + }, + "ConnectionRoutesSearchByState": { + "$ref": "#/components/examples/ConnectionRoutesSearchByState" + }, + "ConnectionRoutesSearchByMed": { + "$ref": "#/components/examples/ConnectionRoutesSearchByMed" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectionRouteTableEntrySearchResponse" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/400" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + } + } + } + }, "/fabric/v4/connections/{connectionId}/routingProtocols": { "get": { "tags": [ @@ -4455,8 +4680,11 @@ "tokenExample": { "$ref": "#/components/examples/getServiceToken" }, - "tokenCrhExample": { - "$ref": "#/components/examples/getServiceToken-CRH" + "tokenVDExample": { + "$ref": "#/components/examples/getServiceToken-VD" + }, + "tokenNetworkExample": { + "$ref": "#/components/examples/getServiceToken-Network" } } } @@ -4528,8 +4756,26 @@ } ], "responses": { - "204": { - "description": "Deleted Service Token Successfully" + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ServiceToken" + }, + "examples": { + "tokenExample": { + "$ref": "#/components/examples/getServiceToken" + }, + "tokenVDExample": { + "$ref": "#/components/examples/getServiceToken-VD" + }, + "tokenNetworkExample": { + "$ref": "#/components/examples/getServiceToken-Network" + } + } + } + } }, "400": { "description": "Bad request", @@ -4546,8 +4792,8 @@ } } }, - "401": { - "description": "Unauthorized", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4555,7 +4801,22 @@ }, "examples": { "example": { - "$ref": "#/components/examples/401" + "$ref": "#/components/examples/403" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" } } } @@ -4623,8 +4884,11 @@ "tokenExample": { "$ref": "#/components/examples/getServiceToken" }, - "tokenCrhExample": { - "$ref": "#/components/examples/getServiceToken-CRH" + "tokenVDExample": { + "$ref": "#/components/examples/getServiceToken-VD" + }, + "tokenNetworkExample": { + "$ref": "#/components/examples/getServiceToken-Network" } } } @@ -4659,6 +4923,21 @@ } } } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } } } } @@ -4700,9 +4979,6 @@ "examples": { "tokenExample": { "$ref": "#/components/examples/getServiceTokens" - }, - "tokenCrhExample": { - "$ref": "#/components/examples/getServiceTokens-CRH" } } } @@ -4732,6 +5008,7 @@ "summary": "Create Service Token", "description": "Create Service Tokens generates Equinix Fabric? service tokens. These tokens authorize users to access protected resources and services.", "operationId": "createServiceToken", + "parameters": [], "requestBody": { "content": { "application/json": { @@ -4759,6 +5036,12 @@ }, "ZsideTokenWithVxlanExample": { "$ref": "#/components/examples/createZsideServiceTokenWithVxlan" + }, + "ZsideTokenWithVDExample": { + "$ref": "#/components/examples/createZsideServiceTokenWithVD" + }, + "ZsideTokenWithNetworkExample": { + "$ref": "#/components/examples/createZsideServiceTokenWithNetwork" } } } @@ -4776,9 +5059,6 @@ "examples": { "tokenExample": { "$ref": "#/components/examples/getServiceToken" - }, - "tokenCrhExample": { - "$ref": "#/components/examples/getServiceToken-CRH" } } } @@ -4948,7 +5228,24 @@ "summary": "Search servicetokens", "description": "The API provides capability to get list of user's servicetokens using search criteria, including optional filtering, pagination and sorting", "operationId": "searchServiceTokens", - "parameters": [], + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "schema": { + "type": "number" + } + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "schema": { + "type": "number" + } + } + ], "requestBody": { "content": { "application/json": { @@ -5292,7 +5589,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Port" + "$ref": "#/components/schemas/PortRequest" }, "examples": { "COLOSinglePortNonLag": { @@ -5389,7 +5686,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BulkPort" + "$ref": "#/components/schemas/BulkPortRequest" }, "examples": { "COLOBulkPort": { @@ -5406,7 +5703,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AllPortsResponse" + "$ref": "#/components/schemas/BulkPort" }, "examples": { "bulkPortExample": { @@ -9374,6 +9671,12 @@ "examples": { "RouteEntriesStatusUpdate": { "$ref": "#/components/examples/RouteEntriesStatusUpdate" + }, + "ReceivedRouteEntriesStatusUpdate": { + "$ref": "#/components/examples/ReceivedRouteEntriesStatusUpdate" + }, + "AdvertisedRouteEntriesStatusUpdate": { + "$ref": "#/components/examples/AdvertisedRouteEntriesStatusUpdate" } } } @@ -9391,6 +9694,12 @@ "examples": { "cloudRouterActionExample": { "$ref": "#/components/examples/CloudRouterActionResponse" + }, + "receivedRouteEntriesExample": { + "$ref": "#/components/examples/CloudRouterReceivedRoutesActionResponse" + }, + "advertisedRouteEntriesExample": { + "$ref": "#/components/examples/CloudRouterAdvertisedRoutesActionResponse" } } } @@ -9489,14 +9798,14 @@ } } }, - "/fabric/v4/routers/{routerId}/routes/search": { + "/fabric/v4/routers/{routerId}/actions/search": { "post": { "tags": [ "Cloud Routers" ], - "summary": "Search Route Table", - "description": "The API provides capability to get list of user's Fabric Cloud Router route table entries using search criteria, including optional filtering, pagination and sorting", - "operationId": "searchCloudRouterRoutes", + "summary": "Search actions", + "description": "This API provides capability to refresh route table and bgp session summary information", + "operationId": "searchRouterActions", "parameters": [ { "name": "routerId", @@ -9512,23 +9821,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RouteTableEntrySearchRequest" + "$ref": "#/components/schemas/CloudRouterActionsSearchRequest" }, "examples": { - "SearchFilterByNextHop": { - "$ref": "#/components/examples/SearchFilterByNextHop" - }, - "SearchFilterByPrefix": { - "$ref": "#/components/examples/SearchFilterByPrefix" - }, - "SearchFilterByType": { - "$ref": "#/components/examples/SearchFilterByType" - }, - "SearchFilterByStatus": { - "$ref": "#/components/examples/SearchFilterByStatus" - }, - "SearchFilterOrAnd": { - "$ref": "#/components/examples/SearchFilterOrAnd" + "CloudRouterActionsSearchByType": { + "$ref": "#/components/examples/CloudRouterActionsSearchByType" } } } @@ -9541,7 +9838,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RouteTableEntrySearchResponse" + "$ref": "#/components/schemas/CloudRouterActionsSearchResponse" } } } @@ -9639,121 +9936,53 @@ } } }, - "/fabric/v4/routers/{routerId}/validate": { - "post": { + "/fabric/v4/routers/{routerId}/actions/{actionId}": { + "get": { "tags": [ - "Routing Protocols" + "Cloud Routers" ], - "summary": "Validate Subnet", - "description": "This API provides capability to validate all subnets associated with any connection in the given FCR", - "operationId": "validateRoutingProtocol", + "summary": "Get actions", + "description": "This API provides capability to fetch action status", + "operationId": "getCloudRouterActionsByUuid", "parameters": [ { "name": "routerId", "in": "path", - "description": "Cloud Router UUID", + "description": "Router UUID", "required": true, "schema": { - "$ref": "#/components/schemas/RouterId" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateRequest" - }, - "examples": { - "ValidateDirectIpv4": { - "$ref": "#/components/examples/Request-direct-ipv4" - }, - "ValidateDirectIpv6": { - "$ref": "#/components/examples/Request-direct-ipv6" - } - } + "$ref": "#/components/schemas/RouterId_1" } }, - "required": true - }, - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateSubnetResponse" - }, - "examples": { - "ValidateSubnet": { - "$ref": "#/components/examples/Response-200" - } - } - } + { + "name": "actionId", + "in": "path", + "description": "Action UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/ActionId_1" } }, - "400": { - "description": "Bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorList" - }, - "examples": { - "Bad Request": { - "$ref": "#/components/examples/error-400" - }, - "Subnet Overlapping": { - "$ref": "#/components/examples/error-400-overlappingSubnet" - } - } - } + { + "name": "state", + "in": "query", + "description": "Action state", + "schema": { + "$ref": "#/components/schemas/ActionState" } } - } - } - }, - "/fabric/v4/routers/search": { - "post": { - "tags": [ - "Cloud Routers" ], - "summary": "Search Routers", - "description": "The API provides capability to get list of user's Cloud Routers using search criteria, including optional filtering, pagination and sorting", - "operationId": "searchCloudRouters", - "parameters": [], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CloudRouterSearchRequest" - }, - "examples": { - "SearchFilterByStatus": { - "$ref": "#/components/examples/SearchFilterByStatus" - }, - "SearchFilterByNameAndMetroName": { - "$ref": "#/components/examples/SearchFilterByNameAndMetroName" - }, - "SearchFilterOrAnd": { - "$ref": "#/components/examples/SearchFilterOrAnd" - } - } - } - }, - "required": true - }, "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SearchResponse" + "$ref": "#/components/schemas/CloudRouterActionResponse" }, "examples": { - "Example": { - "$ref": "#/components/examples/search-example" + "routerActionExample": { + "$ref": "#/components/examples/CloudRouterActionResponse" } } } @@ -9768,7 +9997,7 @@ }, "examples": { "example": { - "$ref": "#/components/examples/400_invalid_sorting" + "$ref": "#/components/examples/400_invalid_operation" } } } @@ -9804,102 +10033,8 @@ } } }, - "415": { - "description": "Unsupported Media Type", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorList" - }, - "examples": { - "example": { - "$ref": "#/components/examples/415" - } - } - } - } - }, - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorList" - }, - "examples": { - "example": { - "$ref": "#/components/examples/500" - } - } - } - } - } - } - } - }, - "/fabric/v4/routerPackages": { - "get": { - "tags": [ - "Cloud Routers" - ], - "summary": "List Packages", - "description": "This API provides capability to retrieve user's Cloud Routers Packages", - "operationId": "getCloudRouterPackages", - "parameters": [ - { - "name": "offset", - "in": "query", - "description": "offset", - "required": false, - "schema": { - "type": "integer" - }, - "example": 1 - }, - { - "name": "limit", - "in": "query", - "description": "number of records to fetch", - "required": false, - "schema": { - "type": "integer" - }, - "example": 10 - } - ], - "responses": { - "200": { - "description": "Fabric Cloud Router Packages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PackageResponse" - }, - "examples": { - "Example": { - "$ref": "#/components/examples/ListFCRPackagesResponse" - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorList" - }, - "examples": { - "example": { - "$ref": "#/components/examples/401" - } - } - } - } - }, - "403": { - "description": "Forbidden", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -9907,14 +10042,471 @@ }, "examples": { "example": { - "$ref": "#/components/examples/403" + "$ref": "#/components/examples/404" } } } } }, "415": { - "description": "Unsupported Media Type", + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/routers/{routerId}/routes/search": { + "post": { + "tags": [ + "Cloud Routers" + ], + "summary": "Search Route Table", + "description": "The API provides capability to get list of user's Fabric Cloud Router route table entries using search criteria, including optional filtering, pagination and sorting", + "operationId": "searchCloudRouterRoutes", + "parameters": [ + { + "name": "routerId", + "in": "path", + "description": "Router UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/RouterId_1" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RouteTableEntrySearchRequest" + }, + "examples": { + "SearchFilterByNextHop": { + "$ref": "#/components/examples/SearchFilterByNextHop" + }, + "SearchFilterByPrefix": { + "$ref": "#/components/examples/SearchFilterByPrefix" + }, + "SearchFilterByType": { + "$ref": "#/components/examples/SearchFilterByType" + }, + "SearchFilterByStatus": { + "$ref": "#/components/examples/SearchFilterByStatus" + }, + "SearchFilterOrAnd": { + "$ref": "#/components/examples/SearchFilterOrAnd" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RouteTableEntrySearchResponse" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/400_invalid_sorting" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/routers/{routerId}/validate": { + "post": { + "tags": [ + "Routing Protocols" + ], + "summary": "Validate Subnet", + "description": "This API provides capability to validate all subnets associated with any connection in the given FCR", + "operationId": "validateRoutingProtocol", + "parameters": [ + { + "name": "routerId", + "in": "path", + "description": "Cloud Router UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/RouterId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidateRequest" + }, + "examples": { + "ValidateDirectIpv4": { + "$ref": "#/components/examples/Request-direct-ipv4" + }, + "ValidateDirectIpv6": { + "$ref": "#/components/examples/Request-direct-ipv6" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidateSubnetResponse" + }, + "examples": { + "ValidateSubnet": { + "$ref": "#/components/examples/Response-200" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "Bad Request": { + "$ref": "#/components/examples/error-400" + }, + "Subnet Overlapping": { + "$ref": "#/components/examples/error-400-overlappingSubnet" + } + } + } + } + } + } + } + }, + "/fabric/v4/routers/search": { + "post": { + "tags": [ + "Cloud Routers" + ], + "summary": "Search Routers", + "description": "The API provides capability to get list of user's Cloud Routers using search criteria, including optional filtering, pagination and sorting", + "operationId": "searchCloudRouters", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudRouterSearchRequest" + }, + "examples": { + "SearchFilterByStatus": { + "$ref": "#/components/examples/SearchFilterByStatus" + }, + "SearchFilterByNameAndMetroName": { + "$ref": "#/components/examples/SearchFilterByNameAndMetroName" + }, + "SearchFilterOrAnd": { + "$ref": "#/components/examples/SearchFilterOrAnd" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SearchResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/search-example" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/400_invalid_sorting" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/routerPackages": { + "get": { + "tags": [ + "Cloud Routers" + ], + "summary": "List Packages", + "description": "This API provides capability to retrieve user's Cloud Routers Packages", + "operationId": "getCloudRouterPackages", + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "responses": { + "200": { + "description": "Fabric Cloud Router Packages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PackageResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/ListFCRPackagesResponse" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", "content": { "application/json": { "schema": { @@ -11038,36 +11630,68 @@ } } }, - "/fabric/v4/timeServices/{serviceId}": { - "get": { + "/fabric/v4/timeServices": { + "post": { "tags": [ "Precision Time" ], - "summary": "Get Time Service", - "description": "The API provides capability to get precision timing service's details", - "operationId": "getTimeServicesById", - "parameters": [ - { - "name": "serviceId", - "in": "path", - "description": "Service UUID", - "required": true, - "schema": { - "$ref": "#/components/schemas/ServiceId" + "summary": "Create Time Service", + "description": "The API provides capability to create Precision Time service", + "operationId": "createTimeServices", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/precisionTimeServiceRequest" + }, + "examples": { + "ntpStandard": { + "$ref": "#/components/examples/ntpStandardService" + }, + "ptpStandard": { + "$ref": "#/components/examples/ptpStandardService" + }, + "ntpEnterprise": { + "$ref": "#/components/examples/ntpEnterpriseService" + }, + "ptpEnterprise": { + "$ref": "#/components/examples/ptpEnterpriseService" + }, + "ptpStandardWithAdvancedConfiguration": { + "$ref": "#/components/examples/ptpStandardWithAdvancedConfiguration" + }, + "ptpEnterpriseWithAdvancedConfiguration": { + "$ref": "#/components/examples/ptpEnterpriseWithAdvancedConfiguration" + }, + "ntpEnterpriseWithAdvancedConfiguration": { + "$ref": "#/components/examples/ntpEnterpriseWithAdvancedConfiguration" + } + } } - } - ], + }, + "required": true + }, "responses": { - "200": { - "description": "Successful operation", + "202": { + "description": "Successful Accepted operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceCreateResponse" + "$ref": "#/components/schemas/precisionTimeServiceResponse" }, "examples": { - "NtpStandard": { + "ntpStandard": { "$ref": "#/components/examples/ntpStandardCreateResponse" + }, + "ntpEnterprise": { + "$ref": "#/components/examples/ntpEnterpriseCreateResponse" + }, + "ptpStandard": { + "$ref": "#/components/examples/ptpStandardCreateResponse" + }, + "ptpEnterprise": { + "$ref": "#/components/examples/ptpEnterpriseCreateResponse" } } } @@ -11081,9 +11705,6 @@ "$ref": "#/components/schemas/ErrorList" }, "examples": { - "MandatoryName": { - "$ref": "#/components/examples/400-Mandatory-Name" - }, "InvalidName": { "$ref": "#/components/examples/400-Invalid-Name" }, @@ -11278,14 +11899,16 @@ } } } - }, - "delete": { + } + }, + "/fabric/v4/timeServices/{serviceId}": { + "get": { "tags": [ "Precision Time" ], - "summary": "Delete time service", - "description": "Delete EPT service by it's uuid", - "operationId": "deleteTimeServiceById", + "summary": "Get Service By ID.", + "description": "The API provides capability to get Precision Time Service details", + "operationId": "getTimeServicesById", "parameters": [ { "name": "serviceId", @@ -11298,21 +11921,55 @@ } ], "responses": { - "202": { + "200": { "description": "Successful operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceCreateResponse" + "$ref": "#/components/schemas/precisionTimeServiceResponse" }, "examples": { - "NtpStandard": { - "$ref": "#/components/examples/ntpStandardCreateResponse" + "ntpStandardOriginPort": { + "$ref": "#/components/examples/ntpStandardResponseASidePort" + }, + "ntpStandardOriginVirtualDevice": { + "$ref": "#/components/examples/ntpStandardResponseASideVirtualDevice" + }, + "ntpStandardOriginCloudRouter": { + "$ref": "#/components/examples/ntpStandardResponseASideCloudRouter" + }, + "ntpEnterpriseOriginPort": { + "$ref": "#/components/examples/ntpEnterpriseWOMD5ResponseASidePort" + }, + "ntpEnterpriseWithAdvConfigOriginPort": { + "$ref": "#/components/examples/ntpEnterpriseResponseASidePort" + }, + "ntpEnterpriseWithAdvConfigOriginVirtualDevice": { + "$ref": "#/components/examples/ntpEnterpriseResponseASideVirtualDevice" + }, + "ntpEnterpriseWithAdvConfigOriginCloudRouter": { + "$ref": "#/components/examples/ntpEnterpriseResponseASideCloudRouter" + }, + "ptpStandardOriginPort": { + "$ref": "#/components/examples/ptpStandardResponse" + }, + "ptpEnterpriseOriginPort": { + "$ref": "#/components/examples/ptpEnterpriseResponse" } } } } }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, "401": { "description": "Unauthorized", "content": { @@ -11343,6 +12000,21 @@ } } }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, "415": { "description": "Unsupported Media Type", "content": { @@ -11375,13 +12047,13 @@ } } }, - "patch": { + "put": { "tags": [ "Precision Time" ], - "summary": "Patch time service", - "description": "The API provides capability to update timing service", - "operationId": "updateTimeServicesById", + "summary": "Configure Service.", + "description": "The API provides capability to Configure/Fulfill the Precision Time Service.", + "operationId": "fulfillTimeServices", "parameters": [ { "name": "serviceId", @@ -11395,21 +12067,22 @@ ], "requestBody": { "content": { - "application/json-patch+json": { + "application/json": { "schema": { - "maxItems": 1, - "minItems": 1, - "type": "array", - "items": { - "$ref": "#/components/schemas/precisionTimeChangeOperation" - } + "$ref": "#/components/schemas/precisionTimeServiceRequest" }, "examples": { - "editName": { - "$ref": "#/components/examples/editName" + "ntpStandard": { + "$ref": "#/components/examples/configureStandardService" + }, + "ptpStandard": { + "$ref": "#/components/examples/configureStandardService" + }, + "ntpEnterpriseWithAdvanceConfiguration": { + "$ref": "#/components/examples/configureNtpEnterpriseAdvancedConfig" }, - "editPackageCode": { - "$ref": "#/components/examples/editPackageCode" + "ptpEnterpriseWithAdvanceConfiguration": { + "$ref": "#/components/examples/configurePtpWithAdvancedConfig" } } } @@ -11418,15 +12091,15 @@ }, "responses": { "202": { - "description": "Successful operation", + "description": "Successful Accepted operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceCreateResponse" + "$ref": "#/components/schemas/precisionTimeServiceResponse" }, "examples": { - "NtpStandard": { - "$ref": "#/components/examples/ntpStandardCreateResponse" + "ntpStandard": { + "$ref": "#/components/examples/ntpStandardConfigureResponse" } } } @@ -11440,9 +12113,6 @@ "$ref": "#/components/schemas/ErrorList" }, "examples": { - "MandatoryName": { - "$ref": "#/components/examples/400-Mandatory-Name" - }, "InvalidName": { "$ref": "#/components/examples/400-Invalid-Name" }, @@ -11606,6 +12276,21 @@ } } }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, "415": { "description": "Unsupported Media Type", "content": { @@ -11637,35 +12322,162 @@ } } } - } - }, - "/fabric/v4/timeServices": { - "post": { + }, + "delete": { "tags": [ "Precision Time" ], - "summary": "Create Time Service", - "description": "The API provides capability to create timing service", - "operationId": "createTimeServices", - "parameters": [], + "summary": "Delete by ID.", + "description": "The API provides capability to delete Precision Time Service by service id.", + "operationId": "deleteTimeServiceById", + "parameters": [ + { + "name": "serviceId", + "in": "path", + "description": "Service UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/ServiceId" + } + } + ], + "responses": { + "202": { + "description": "Successful Delete", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/precisionTimeServiceResponse" + }, + "examples": { + "ntpStandard": { + "$ref": "#/components/examples/ntpStandardDeletingResponse" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "patch": { + "tags": [ + "Precision Time" + ], + "summary": "Update By ID.", + "description": "The API provides capability to update Precision Time Service by service id.", + "operationId": "updateTimeServicesById", + "parameters": [ + { + "name": "serviceId", + "in": "path", + "description": "Service UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/ServiceId" + } + } + ], "requestBody": { "content": { - "application/json": { + "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceRequest" + "maxItems": 1, + "minItems": 1, + "type": "array", + "items": { + "$ref": "#/components/schemas/precisionTimeChangeOperation" + } }, "examples": { - "ntpStandard": { - "$ref": "#/components/examples/ntpStandard" + "updateName": { + "$ref": "#/components/examples/updateName" }, - "ptpStandard": { - "$ref": "#/components/examples/ptpStandard" + "updatePackageCode": { + "$ref": "#/components/examples/updatePackageCode" }, - "ptpEnterpriseWithAdvanceConfiguration": { - "$ref": "#/components/examples/ptpEnterpriseWithAdvanceConfiguration" + "updateNetworkInformation": { + "$ref": "#/components/examples/updateNetworkInformation" }, - "ntpEnterpriseWithAdvanceConfiguration": { - "$ref": "#/components/examples/ntpEnterpriseWithAdvanceConfiguration" + "updatePtpAdvancedConfiguration": { + "$ref": "#/components/examples/updatePtpAdvancedConfiguration" + }, + "updateNtpAdvancedConfiguration": { + "$ref": "#/components/examples/updateNtpAdvancedConfiguration" } } } @@ -11674,15 +12486,15 @@ }, "responses": { "202": { - "description": "Successful operation", + "description": "Successful Accepted operation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/precisionTimeServiceCreateResponse" + "$ref": "#/components/schemas/precisionTimeServiceResponse" }, "examples": { - "NtpStandard": { - "$ref": "#/components/examples/ntpStandardCreateResponse" + "ntpStandard": { + "$ref": "#/components/examples/ntpStandardReprovisionResponse" } } } @@ -11696,9 +12508,6 @@ "$ref": "#/components/schemas/ErrorList" }, "examples": { - "MandatoryName": { - "$ref": "#/components/examples/400-Mandatory-Name" - }, "InvalidName": { "$ref": "#/components/examples/400-Invalid-Name" }, @@ -11862,6 +12671,21 @@ } } }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, "415": { "description": "Unsupported Media Type", "content": { @@ -12347,272 +13171,2191 @@ }, "x-preview": false } - } - }, - "components": { - "schemas": { - "ConnectionPostRequest": { - "required": [ - "aSide", - "bandwidth", - "name", - "notifications", - "type", - "zSide" + }, + "/fabric/v4/streams": { + "get": { + "tags": [ + "Streams" ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/ConnectionType" - }, - "name": { - "type": "string", - "description": "Customer-provided connection name" - }, - "order": { - "$ref": "#/components/schemas/Order" + "summary": "Get Streams", + "description": "This API provides capability to retrieve streams", + "operationId": "getStreams", + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 }, - "notifications": { - "type": "array", - "description": "Preferences for notifications on connection configuration or status changes", - "items": { - "$ref": "#/components/schemas/SimplifiedNotification" + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAllStreamResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/stream-get-all-example" + } + } + } } }, - "bandwidth": { - "maximum": 50000, - "minimum": 0, - "type": "integer", - "description": "Connection bandwidth in Mbps" - }, - "geoScope": { - "$ref": "#/components/schemas/GeoScopeType" - }, - "redundancy": { - "$ref": "#/components/schemas/ConnectionRedundancy" - }, - "aSide": { - "$ref": "#/components/schemas/ConnectionSide" - }, - "zSide": { - "$ref": "#/components/schemas/ConnectionSide" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } }, - "project": { - "$ref": "#/components/schemas/Project" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } }, - "additionalInfo": { - "type": "array", - "description": "Connection additional information", - "items": { - "$ref": "#/components/schemas/ConnectionSideAdditionalInfo" + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } } }, - "marketplaceSubscription": { - "$ref": "#/components/schemas/marketplaceSubscription" + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } } - }, - "description": "Create connection post request" + } }, - "Connection": { - "required": [ - "aSide", - "bandwidth", - "name", - "type", - "zSide" + "post": { + "tags": [ + "Streams" ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/ConnectionType" - }, - "href": { - "type": "string", - "description": "Connection URI", - "format": "uri", - "readOnly": true - }, - "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier" - }, - "name": { - "type": "string", - "description": "Customer-provided connection name" - }, - "description": { - "type": "string", - "description": "Customer-provided connection description" - }, - "state": { - "$ref": "#/components/schemas/ConnectionState" - }, - "change": { - "$ref": "#/components/schemas/Change" - }, - "operation": { - "$ref": "#/components/schemas/ConnectionOperation" - }, - "order": { - "$ref": "#/components/schemas/Order" - }, - "notifications": { - "type": "array", - "description": "Preferences for notifications on connection configuration or status changes", - "items": { - "$ref": "#/components/schemas/SimplifiedNotification" + "summary": "Create Stream", + "description": "This API provides capability to create user's stream", + "operationId": "createStreams", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamPostRequest" + }, + "examples": { + "CreateStream": { + "$ref": "#/components/examples/StreamPostRequestExample" + } + } } }, - "account": { - "$ref": "#/components/schemas/SimplifiedAccount" - }, - "changeLog": { - "$ref": "#/components/schemas/Changelog" - }, - "bandwidth": { - "maximum": 10000, - "minimum": 0, - "type": "integer", - "description": "Connection bandwidth in Mbps" - }, - "geoScope": { - "$ref": "#/components/schemas/GeoScopeType" - }, - "redundancy": { - "$ref": "#/components/schemas/ConnectionRedundancy" - }, - "isRemote": { - "type": "boolean", - "description": "Connection property derived from access point locations" - }, - "direction": { - "$ref": "#/components/schemas/ConnectionDirection" + "required": true + }, + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Stream" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamResponseExample" + } + } + } + } }, - "aSide": { - "$ref": "#/components/schemas/ConnectionSide" + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } }, - "zSide": { - "$ref": "#/components/schemas/ConnectionSide" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } }, - "marketplaceSubscription": { - "$ref": "#/components/schemas/marketplaceSubscription" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } }, - "additionalInfo": { - "type": "array", - "description": "Connection additional information", - "items": { - "$ref": "#/components/schemas/ConnectionSideAdditionalInfo" + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } } }, - "project": { - "$ref": "#/components/schemas/Project" + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } } - }, - "description": "Connection specification" - }, - "ErrorList": { - "type": "array", - "description": "List of Error Message", - "items": { - "$ref": "#/components/schemas/Error" - } - }, - "ConnectionId": { - "type": "string", - "description": "Connection UUID", - "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" - }, - "ConnectionDirection": { - "type": "string", - "description": "Connection directionality from the requester point of view", - "enum": [ - "INTERNAL", - "INCOMING", - "OUTGOING" - ] - }, - "VirtualCircuitId": { - "type": "string", - "description": "Virtual Circuit UUID" - }, - "ConnectionUpdateRequest": { - "minItems": 1, - "type": "array", - "description": "Connection Update Request", - "items": { - "$ref": "#/components/schemas/ConnectionChangeOperation" } - }, - "ConnectionActionRequest": { - "required": [ - "type" + } + }, + "/fabric/v4/streams/{streamId}": { + "get": { + "tags": [ + "Streams" ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/Actions" - }, - "description": { - "type": "string", - "description": "Connection rejection reason datail" - }, - "data": { - "$ref": "#/components/schemas/ConnectionAcceptanceData" + "summary": "Get Stream", + "description": "This API provides capability to get user's stream", + "operationId": "getStreamByUuid", + "parameters": [ + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } } - }, - "description": "Connection action request" - }, - "ConnectionAction": { - "required": [ - "data", - "type", - "uuid" ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/Actions" - }, - "href": { - "type": "string", - "description": "Connection action URI", - "format": "uri", - "readOnly": true + "responses": { + "200": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Stream" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamResponseExample" + } + } + } + } }, - "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier" + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } }, - "description": { - "type": "string", - "description": "Connection rejection reason detail" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } }, - "data": { - "$ref": "#/components/schemas/ConnectionAcceptanceData" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } }, - "changeLog": { - "$ref": "#/components/schemas/Changelog" - } - }, - "description": "Connection action" - }, - "GetResponse": { - "type": "object", - "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } }, - "data": { - "type": "array", - "description": "List of Routing Protocols", - "items": { - "$ref": "#/components/schemas/RoutingProtocolData" + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } } } } }, - "RoutingProtocolBase": { - "type": "object", + "put": { + "tags": [ + "Streams" + ], + "summary": "Update Stream", + "description": "This API provides capability to update user's stream", + "operationId": "updateStreamByUuid", + "parameters": [ + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamPutRequest" + }, + "examples": { + "UpdateStream": { + "$ref": "#/components/examples/StreamPutRequestExample" + } + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Stream" + }, + "examples": { + "StreamResponse": { + "$ref": "#/components/examples/StreamResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Streams" + ], + "summary": "Delete Stream", + "description": "This API provides capability to delete user's stream", + "operationId": "deleteStreamByUuid", + "parameters": [ + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Stream" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamDeleteRequestExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streamAssets/search": { + "post": { + "tags": [ + "Streams" + ], + "summary": "Get Assets", + "description": "This API provides capability to retrieve stream assets", + "operationId": "getStreamsAssets", + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAssetSearchRequest" + }, + "examples": { + "SearchAssets": { + "$ref": "#/components/examples/StreamAssetSearchRequestExample" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAllStreamAssetResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/stream-asset-get-all-example" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streams/{streamId}/{asset}/{assetId}": { + "get": { + "tags": [ + "Streams" + ], + "summary": "Get Asset", + "description": "This API provides capability to get user's assets attached to a stream", + "operationId": "getStreamAssetByUuid", + "parameters": [ + { + "name": "assetId", + "in": "path", + "description": "asset UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/AssetId" + } + }, + { + "name": "asset", + "in": "path", + "description": "asset", + "required": true, + "schema": { + "$ref": "#/components/schemas/Asset" + } + }, + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "responses": { + "200": { + "description": "Stream asset object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAsset" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamConnectionAssetResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "put": { + "tags": [ + "Streams" + ], + "summary": "Attach Asset", + "description": "This API provides capability to attach an asset to a stream", + "operationId": "updateStreamAssetByUuid", + "parameters": [ + { + "name": "assetId", + "in": "path", + "description": "asset UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/AssetId" + } + }, + { + "name": "asset", + "in": "path", + "description": "asset", + "required": true, + "schema": { + "$ref": "#/components/schemas/Asset" + } + }, + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAssetPutRequest" + }, + "examples": { + "UpdateStream": { + "$ref": "#/components/examples/StreamAssetPutRequestExample" + } + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAsset" + }, + "examples": { + "StreamAssetResponse": { + "$ref": "#/components/examples/StreamRouterAssetAttachResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Streams" + ], + "summary": "Detach Asset", + "description": "This API provides capability to detach an asset from a stream", + "operationId": "deleteStreamAssetByUuid", + "parameters": [ + { + "name": "assetId", + "in": "path", + "description": "asset UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/AssetId" + } + }, + { + "name": "asset", + "in": "path", + "description": "asset", + "required": true, + "schema": { + "$ref": "#/components/schemas/Asset" + } + }, + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + } + ], + "responses": { + "202": { + "description": "Stream object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamAsset" + }, + "examples": { + "StreamAssetResponse": { + "$ref": "#/components/examples/StreamRouterAssetDetachResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streams/{streamId}/streamSubscriptions": { + "get": { + "tags": [ + "Streams" + ], + "summary": "Get Stream's Subs", + "description": "This API provides capability to retrieve subscriptions in a stream", + "operationId": "getSubscriptionsInStream", + "parameters": [ + { + "name": "streamId", + "in": "path", + "description": "Stream UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamId" + } + }, + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSubscriptionsInStreamResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/stream-get-all-subscription-example" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streamSubscriptions": { + "get": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Get Subscriptions", + "description": "This API provides capability to retrieve stream subscriptions", + "operationId": "getStreamSubscriptions", + "parameters": [ + { + "name": "offset", + "in": "query", + "description": "offset", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 + }, + { + "name": "limit", + "in": "query", + "description": "number of records to fetch", + "required": false, + "schema": { + "type": "integer" + }, + "example": 10 + } + ], + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAllStreamSubscriptionResponse" + }, + "examples": { + "Example": { + "$ref": "#/components/examples/stream-subscription-get-all-example" + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Create Subscription", + "description": "This API provides capability to create user's Stream Subscriptions", + "operationId": "createStreamSubscriptions", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionPostRequest" + }, + "examples": { + "CreateStreamSubscription_Splunk": { + "$ref": "#/components/examples/StreamSubscriptionPostRequestExampleSplunk" + }, + "CreateStreamSubscription_Slack": { + "$ref": "#/components/examples/StreamSubscriptionPostRequestExampleSlack" + }, + "CreateStreamSubscription_Pagerduty": { + "$ref": "#/components/examples/StreamSubscriptionPostRequestExamplePagerduty" + }, + "CreateStreamSubscription_Datadog": { + "$ref": "#/components/examples/StreamSubscriptionPostRequestExampleDatadog" + } + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "Stream Subscription object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscription" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamSubscriptionResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + }, + "/fabric/v4/streamSubscriptions/{streamSubscriptionId}": { + "get": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Get Subscription", + "description": "This API provides capability to delete user's get Stream Subscriptions", + "operationId": "getStreamSubscriptionByUuid", + "parameters": [ + { + "name": "streamSubscriptionId", + "in": "path", + "description": "Stream Subscription UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionId" + } + } + ], + "responses": { + "200": { + "description": "Stream Subscription object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscription" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamSubscriptionResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "put": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Update Subscription", + "description": "This API provides capability to update user's Stream Subscriptions", + "operationId": "updateStreamSubscriptionByUuid", + "parameters": [ + { + "name": "streamSubscriptionId", + "in": "path", + "description": "Stream Subscription UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionId" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionPutRequest" + }, + "examples": { + "UpdateSubscription": { + "$ref": "#/components/examples/StreamSubscriptionPutRequestExample" + } + } + } + }, + "required": true + }, + "responses": { + "202": { + "description": "Stream Subscription object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscription" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamSubscriptionResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "415": { + "description": "Unsupported Media Type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/415" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + }, + "delete": { + "tags": [ + "Stream Subscriptions" + ], + "summary": "Delete Subscription", + "description": "This API provides capability to delete user's Stream Subscriptions", + "operationId": "deleteStreamSubscriptionByUuid", + "parameters": [ + { + "name": "streamSubscriptionId", + "in": "path", + "description": "Stream Subscription UUID", + "required": true, + "schema": { + "$ref": "#/components/schemas/StreamSubscriptionId" + } + } + ], + "responses": { + "202": { + "description": "Stream Subscription object", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StreamSubscription" + }, + "examples": { + "StreamSubscriptionResponse": { + "$ref": "#/components/examples/StreamSubscriptionDeleteResponseExample" + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/401" + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/403" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/404" + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorList" + }, + "examples": { + "example": { + "$ref": "#/components/examples/500" + } + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "ConnectionPostRequest": { + "required": [ + "aSide", + "bandwidth", + "name", + "notifications", + "type", + "zSide" + ], + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/ConnectionType" + }, + "name": { + "type": "string", + "description": "Customer-provided connection name" + }, + "order": { + "$ref": "#/components/schemas/Order" + }, + "notifications": { + "type": "array", + "description": "Preferences for notifications on connection configuration or status changes", + "items": { + "$ref": "#/components/schemas/SimplifiedNotification" + } + }, + "bandwidth": { + "maximum": 50000, + "minimum": 0, + "type": "integer", + "description": "Connection bandwidth in Mbps" + }, + "geoScope": { + "$ref": "#/components/schemas/GeoScopeType" + }, + "redundancy": { + "$ref": "#/components/schemas/ConnectionRedundancy" + }, + "aSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "zSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "additionalInfo": { + "type": "array", + "description": "Connection additional information", + "items": { + "$ref": "#/components/schemas/ConnectionSideAdditionalInfo" + } + }, + "marketplaceSubscription": { + "$ref": "#/components/schemas/marketplaceSubscription" + } + }, + "description": "Create connection post request" + }, + "Connection": { + "required": [ + "aSide", + "bandwidth", + "name", + "type", + "zSide" + ], + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Connection URI", + "format": "uri", + "readOnly": true + }, + "type": { + "$ref": "#/components/schemas/ConnectionType" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned connection identifier" + }, + "name": { + "type": "string", + "description": "Customer-provided connection name" + }, + "description": { + "type": "string", + "description": "Customer-provided connection description" + }, + "state": { + "$ref": "#/components/schemas/ConnectionState" + }, + "change": { + "$ref": "#/components/schemas/Change" + }, + "operation": { + "$ref": "#/components/schemas/ConnectionOperation" + }, + "order": { + "$ref": "#/components/schemas/Order" + }, + "notifications": { + "type": "array", + "description": "Preferences for notifications on connection configuration or status changes", + "items": { + "$ref": "#/components/schemas/SimplifiedNotification" + } + }, + "account": { + "$ref": "#/components/schemas/SimplifiedAccount" + }, + "changeLog": { + "$ref": "#/components/schemas/Changelog" + }, + "bandwidth": { + "maximum": 10000, + "minimum": 0, + "type": "integer", + "description": "Connection bandwidth in Mbps" + }, + "geoScope": { + "$ref": "#/components/schemas/GeoScopeType" + }, + "redundancy": { + "$ref": "#/components/schemas/ConnectionRedundancy" + }, + "isRemote": { + "type": "boolean", + "description": "Connection property derived from access point locations" + }, + "direction": { + "$ref": "#/components/schemas/ConnectionDirection" + }, + "aSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "zSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "marketplaceSubscription": { + "$ref": "#/components/schemas/marketplaceSubscription" + }, + "additionalInfo": { + "type": "array", + "description": "Connection additional information", + "items": { + "$ref": "#/components/schemas/ConnectionSideAdditionalInfo" + } + }, + "project": { + "$ref": "#/components/schemas/Project" + } + }, + "description": "Connection specification" + }, + "ErrorList": { + "type": "array", + "description": "List of Error Message", + "items": { + "$ref": "#/components/schemas/Error" + } + }, + "ConnectionId": { + "type": "string", + "description": "Connection UUID", + "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + }, + "ConnectionDirection": { + "type": "string", + "description": "Connection directionality from the requester point of view", + "enum": [ + "INTERNAL", + "INCOMING", + "OUTGOING" + ] + }, + "VirtualCircuitId": { + "type": "string", + "description": "Virtual Circuit UUID" + }, + "ConnectionUpdateRequest": { + "minItems": 1, + "type": "array", + "description": "Connection Update Request", + "items": { + "$ref": "#/components/schemas/ConnectionChangeOperation" + } + }, + "ConnectionActionRequest": { + "required": [ + "type" + ], + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/Actions" + }, + "description": { + "type": "string", + "description": "Connection rejection reason detail" + }, + "data": { + "$ref": "#/components/schemas/ConnectionAcceptanceData" + } + }, + "description": "Connection action request" + }, + "ConnectionAction": { + "required": [ + "data", + "type", + "uuid" + ], + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/Actions" + }, + "href": { + "type": "string", + "description": "Connection action URI", + "format": "uri", + "readOnly": true + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned connection identifier" + }, + "description": { + "type": "string", + "description": "Connection rejection reason detail" + }, + "data": { + "$ref": "#/components/schemas/ConnectionAcceptanceData" + }, + "changeLog": { + "$ref": "#/components/schemas/Changelog" + } + }, + "description": "Connection action" + }, + "ConnectionRouteSearchRequest": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/ConnectionRouteEntryFilters" + }, + "pagination": { + "$ref": "#/components/schemas/PaginationRequest" + }, + "sort": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ConnectionRouteSortCriteria" + } + } + }, + "description": "Search requests containing criteria" + }, + "ConnectionRouteEntryFilters": { + "type": "object", + "properties": { + "and": { + "maxItems": 8, + "type": "array", + "items": { + "$ref": "#/components/schemas/ConnectionRouteEntryFilter" + } + } + } + }, + "ConnectionRouteEntryFilter": { + "type": "object", + "anyOf": [ + { + "$ref": "#/components/schemas/ConnectionRouteEntrySimpleExpression" + }, + { + "$ref": "#/components/schemas/ConnectionRouteEntryOrFilter" + } + ] + }, + "ConnectionRouteEntrySimpleExpression": { + "type": "object", + "properties": { + "property": { + "type": "string", + "description": "Possible field names to use on filters:\n * `/type` - Route table entry type\n * `/state` - Route table entry state\n * `/prefix` - Route table entry prefix\n * `/nextHop` - Route table entry nextHop\n * `/*` - all-category search\n", + "example": "/type" + }, + "operator": { + "type": "string", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `>` - greater than\n * `>=` - greater than or equal to\n * `<` - less than\n * `<=` - less than or equal to\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `~*` - case-insensitive like\n", + "example": "=" + }, + "values": { + "type": "array", + "items": { + "type": "string", + "example": "IPv4_BGP_ROUTE" + } + } + } + }, + "ConnectionRouteEntryOrFilter": { + "type": "object", + "properties": { + "or": { + "maxItems": 3, + "type": "array", + "items": { + "$ref": "#/components/schemas/ConnectionRouteEntrySimpleExpression" + } + } + } + }, + "ConnectionRouteSortCriteria": { + "type": "object", + "properties": { + "direction": { + "$ref": "#/components/schemas/ConnectionRouteEntrySortDirection" + }, + "property": { + "$ref": "#/components/schemas/ConnectionRouteEntrySortBy" + } + } + }, + "ConnectionRouteEntrySortDirection": { + "type": "string", + "description": "Sorting direction", + "default": "DESC", + "enum": [ + "DESC", + "ASC" + ] + }, + "ConnectionRouteEntrySortBy": { + "type": "string", + "description": "Possible field names to use on sorting", + "default": "/changeLog/updatedDateTime", + "enum": [ + "/changeLog/createdDateTime", + "/changeLog/updatedDateTime", + "/med", + "/connection/name", + "/type", + "/prefix", + "/nextHop" + ] + }, + "ConnectionRouteTableEntrySearchResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/ConnectionRouteTableEntry" + } + } + } + }, + "GetResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "List of Routing Protocols", + "items": { + "$ref": "#/components/schemas/RoutingProtocolData" + } + } + } + }, + "RoutingProtocolBase": { + "type": "object", "properties": { "type": { "type": "string", @@ -14191,9 +16934,6 @@ "format": "uuid" }, "ServiceToken": { - "required": [ - "uuid" - ], "type": "object", "properties": { "type": { @@ -14210,6 +16950,14 @@ "description": "Equinix-assigned service token identifier", "format": "uuid" }, + "issuerSide": { + "type": "string", + "description": "information about token side", + "enum": [ + "ASIDE", + "ZSIDE" + ] + }, "name": { "type": "string", "description": "Customer-provided service token name" @@ -14533,14 +17281,14 @@ "description": "GET All User Port Across Fabric Metros" }, "Port": { - "required": [ - "account", - "encapsulation", - "location", - "settings" - ], "type": "object", "properties": { + "href": { + "type": "string", + "description": "Equinix assigned response attribute for an absolute URL that is the subject of the link's context.", + "format": "uri", + "readOnly": true + }, "type": { "$ref": "#/components/schemas/PortType" }, @@ -14548,12 +17296,6 @@ "type": "integer", "description": "Equinix assigned response attribute for Port Id" }, - "href": { - "type": "string", - "description": "Equinix assigned response attribute for an absolute URL that is the subject of the link's context.", - "format": "uri", - "readOnly": true - }, "uuid": { "type": "string", "description": "Equinix assigned response attribute for port identifier", @@ -14616,22 +17358,23 @@ "order": { "$ref": "#/components/schemas/PortOrder" }, - "cvpId": { - "type": "string", - "description": "Equinix assigned response attribute for Unique ID for a virtual port." - }, "operation": { - "$ref": "#/components/schemas/PortOperation" + "allOf": [ + { + "$ref": "#/components/schemas/PortOperation" + } + ] }, "account": { "$ref": "#/components/schemas/SimplifiedAccount" }, - "changelog": { + "changeLog": { "$ref": "#/components/schemas/Changelog" }, "serviceType": { "type": "string", "description": "Port service Type", + "deprecated": true, "enum": [ "EPL", "MSP" @@ -14640,7 +17383,8 @@ "bandwidth": { "minimum": 0, "type": "integer", - "description": "Equinix assigned response attribute for Port bandwidth in Mbps" + "description": "Equinix assigned response attribute for Port bandwidth in Mbps", + "deprecated": true }, "availableBandwidth": { "minimum": 0, @@ -14683,12 +17427,19 @@ "description": "If LAG enabled" }, "lag": { - "$ref": "#/components/schemas/PortLag" + "allOf": [ + { + "$ref": "#/components/schemas/PortLag" + } + ] }, "asn": { "type": "integer", "description": "Port ASN" }, + "package": { + "$ref": "#/components/schemas/Package" + }, "settings": { "$ref": "#/components/schemas/PortSettings" }, @@ -14730,19 +17481,20 @@ "PhysicalPort": { "type": "object", "properties": { - "type": { - "$ref": "#/components/schemas/PhysicalPortType" - }, - "id": { - "type": "integer", - "description": "Equinix assigned response attribute for Physical Port Id" - }, "href": { "type": "string", "description": "Equinix assigned response attribute for an absolute URL that is the subject of the link's context.", "format": "uri", "readOnly": true }, + "type": { + "$ref": "#/components/schemas/PhysicalPortType" + }, + "id": { + "type": "integer", + "description": "Equinix assigned response attribute for Physical Port Id", + "deprecated": true + }, "state": { "$ref": "#/components/schemas/PortState" }, @@ -14758,12 +17510,23 @@ "type": "string", "description": "Physical Port Interface Type" }, + "uuid": { + "type": "string", + "description": "Equinix assigned response attribute for physical port identifier", + "format": "uuid" + }, "tether": { "$ref": "#/components/schemas/PortTether" }, "demarcationPoint": { "$ref": "#/components/schemas/PortDemarcationPoint" }, + "settings": { + "$ref": "#/components/schemas/PhysicalPortSettings" + }, + "interface": { + "$ref": "#/components/schemas/PortInterface" + }, "notifications": { "type": "array", "description": "Notification preferences", @@ -14794,17 +17557,49 @@ }, "description": "Physical Port specification" }, + "PortRequest": { + "required": [ + "account", + "connectivitySourceType", + "encapsulation", + "location", + "physicalPortsSpeed", + "physicalPortsType", + "settings", + "type" + ], + "type": "object", + "description": "PortRequest is the Request Object for creating single and bulk fabric ports", + "allOf": [ + { + "$ref": "#/components/schemas/Port" + } + ] + }, + "BulkPortRequest": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PortRequest" + } + } + }, + "description": "Create bulk port request" + }, "BulkPort": { "type": "object", "properties": { "data": { "type": "array", + "description": "Ports that are part of BulkPort", "items": { "$ref": "#/components/schemas/Port" } } }, - "description": "Create bulk port request" + "description": "Bulk Port specification" }, "BulkPhysicalPort": { "type": "object", @@ -15591,7 +18386,7 @@ "type": "string", "description": "Cloud Router action state", "enum": [ - "DONE", + "SUCCEEDED", "FAILED", "PENDING" ] @@ -15622,6 +18417,16 @@ }, "changeLog": { "$ref": "#/components/schemas/Changelog" + }, + "href": { + "type": "string", + "example": "https://api.equinix.com//fabric/v4/routers/a1c6b7fd-aead-410a-96b4-b1dfa1071700/actions/1e9414f1-763e-4c0a-86c6-0bc8336048d9" + }, + "connection": { + "$ref": "#/components/schemas/RouterActionsConnection" + }, + "operation": { + "$ref": "#/components/schemas/Operation" } }, "description": "Cloud Router actions response object" @@ -15634,10 +18439,140 @@ "properties": { "type": { "$ref": "#/components/schemas/CloudRouterActionType" + }, + "connection": { + "$ref": "#/components/schemas/RouterActionsConnection" } }, "description": "Cloud Router action request" }, + "CloudRouterActionsSearchRequest": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/CloudRouterActionsSearchFilters" + }, + "pagination": { + "$ref": "#/components/schemas/PaginationRequest" + }, + "sort": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CloudRouterActionsSearchSortCriteria" + } + } + }, + "description": "Search requests containing criteria" + }, + "CloudRouterActionsSearchFilters": { + "type": "object", + "properties": { + "and": { + "maxItems": 8, + "type": "array", + "items": { + "$ref": "#/components/schemas/CloudRouterActionsSearchFilter" + } + } + } + }, + "CloudRouterActionsSearchFilter": { + "type": "object", + "anyOf": [ + { + "$ref": "#/components/schemas/CloudRouterActionsSearchExpression" + }, + { + "$ref": "#/components/schemas/CloudRouterActionsSearchOrFilter" + } + ] + }, + "CloudRouterActionsSearchExpression": { + "type": "object", + "properties": { + "property": { + "type": "string", + "description": "Possible field names to use on filters:\n * `/type` - type of update\n * `/state` - action state\n * `/connection/uuid` - connection uuid associated\n * `/*` - all-category search\n", + "example": "/type" + }, + "operator": { + "type": "string", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `>` - greater than\n * `>=` - greater than or equal to\n * `<` - less than\n * `<=` - less than or equal to\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `~*` - case-insensitive like\n", + "example": "=" + }, + "values": { + "type": "array", + "items": { + "type": "string", + "example": "ROUTE_TABLE_ENTRY_UPDATE" + } + } + } + }, + "CloudRouterActionsSearchOrFilter": { + "type": "object", + "properties": { + "or": { + "maxItems": 3, + "type": "array", + "items": { + "$ref": "#/components/schemas/CloudRouterActionsSearchExpression" + } + } + } + }, + "CloudRouterActionsSearchSortCriteria": { + "type": "object", + "properties": { + "direction": { + "$ref": "#/components/schemas/CloudRouterActionsSearchSortDirection" + }, + "property": { + "$ref": "#/components/schemas/CloudRouterActionsSearchSortBy" + } + } + }, + "CloudRouterActionsSearchSortDirection": { + "type": "string", + "description": "Sorting direction", + "default": "DESC", + "enum": [ + "DESC", + "ASC" + ] + }, + "CloudRouterActionsSearchSortBy": { + "type": "string", + "description": "Possible field names to use on sorting", + "default": "/changeLog/updatedDateTime", + "enum": [ + "/changeLog/createdDateTime", + "/changeLog/updatedDateTime", + "/connection/name", + "/type" + ] + }, + "CloudRouterActionsSearchResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/CloudRouterActionResponse" + } + } + } + }, + "ActionId_1": { + "type": "string", + "description": "Action UUID", + "format": "uuid", + "example": "457400f8-d360-11e9-bb65-2a2ae2dbcced" + }, "RouteTableEntrySearchRequest": { "type": "object", "properties": { @@ -16073,7 +19008,7 @@ "type": "array", "description": "Connection response data", "items": { - "$ref": "#/components/schemas/Connection" + "$ref": "#/components/schemas/ValidateConnectionResponse" } } }, @@ -16326,42 +19261,425 @@ "ASC" ] }, - "NetworkSortBy": { + "NetworkSortBy": { + "type": "string", + "description": "Possible field names to use on sorting", + "default": "/changeLog/updatedDateTime", + "enum": [ + "/name", + "/uuid", + "/scope", + "/operation/equinixStatus", + "/location/region", + "/changeLog/createdDateTime", + "/changeLog/updatedDateTime" + ] + }, + "NetworkSearchResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "sort": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NetworkSortCriteriaResponse" + } + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Network" + } + } + }, + "description": "List of networks" + }, + "NetworkConnections": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Connection" + } + } + }, + "description": "List of network changes" + }, + "NetworkChangeResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NetworkChange" + } + } + }, + "description": "List of network changes" + }, + "ChangeId_3": { + "type": "string", + "description": "Network Change UUID", + "format": "uuid", + "example": "6d500177-9404-41f2-99e8-2bf1a84d8db5" + }, + "NetworkChange": { + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Network URI", + "format": "uri", + "readOnly": true, + "example": "https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9" + }, + "uuid": { + "type": "string", + "description": "Uniquely identifies a change", + "format": "uuid", + "example": "4b17da68-3d6b-436d-9c8f-2105f3b950d9" + }, + "type": { + "$ref": "#/components/schemas/NetworkChangeType" + }, + "status": { + "$ref": "#/components/schemas/NetworkChangeStatus" + }, + "createdDateTime": { + "type": "string", + "description": "Set when change flow starts", + "format": "date-time", + "example": "2020-11-06T07:00:00Z" + }, + "updatedDateTime": { + "type": "string", + "description": "Set when change object is updated", + "format": "date-time", + "example": "2020-11-06T07:00:00Z" + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NetworkChangeOperation" + } + } + }, + "description": "Current state of latest network change" + }, + "precisionTimeServiceRequest": { + "title": "precisionTimeServiceRequest", + "required": [ + "connections", + "ipv4", + "name", + "package", + "type" + ], + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Precision Time Service Type refers to the corresponding Protocol.", + "enum": [ + "NTP", + "PTP" + ] + }, + "name": { + "type": "string", + "description": "Precision Time Service name." + }, + "package": { + "$ref": "#/components/schemas/precisionTimePackageRequest" + }, + "connections": { + "type": "array", + "items": { + "$ref": "#/components/schemas/virtualConnectionUuid" + } + }, + "ipv4": { + "$ref": "#/components/schemas/ipv4" + }, + "ntpAdvancedConfiguration": { + "$ref": "#/components/schemas/ntpAdvanceConfiguration" + }, + "ptpAdvancedConfiguration": { + "$ref": "#/components/schemas/ptpAdvanceConfiguration" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "order": { + "$ref": "#/components/schemas/precisionTimeOrder" + } + }, + "description": "Create Precision Time Service Request Schema." + }, + "precisionTimeServiceResponse": { + "title": "precisionTimeServiceResponse", + "required": [ + "href", + "package", + "state", + "type", + "uuid" + ], + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Precision Time Service URI.", + "format": "uri" + }, + "type": { + "type": "string", + "description": "Precision Time Service type refers to the corresponding protocol.", + "enum": [ + "NTP", + "PTP" + ] + }, + "name": { + "type": "string", + "description": "Precision Time Service Name." + }, + "uuid": { + "type": "string", + "description": "Precision Time Service UUID.", + "format": "uuid" + }, + "state": { + "type": "string", + "description": "Precision Time Service Status.", + "enum": [ + "CANCELLED", + "CONFIGURING", + "CONFIGURING_FAILED", + "DRAFT", + "DEPROVISIONING", + "DEPROVISIONING_FAILED", + "DEPROVISIONED", + "PROVISIONED", + "PROVISIONING", + "PROVISIONING_FAILED", + "REPROVISIONING", + "REPROVISIONING_FAILED" + ] + }, + "package": { + "$ref": "#/components/schemas/precisionTimePackageResponse" + }, + "connections": { + "maxItems": 2, + "minItems": 1, + "uniqueItems": true, + "type": "array", + "description": "Fabric Connections associated with Precision Time Service.", + "items": { + "$ref": "#/components/schemas/virtualConnectionTimeServiceResponse" + } + }, + "ipv4": { + "$ref": "#/components/schemas/ipv4" + }, + "ntpAdvancedConfiguration": { + "$ref": "#/components/schemas/ntpAdvanceConfiguration" + }, + "ptpAdvancedConfiguration": { + "$ref": "#/components/schemas/ptpAdvanceConfiguration" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "account": { + "$ref": "#/components/schemas/SimplifiedAccount" + }, + "order": { + "$ref": "#/components/schemas/precisionTimeOrder" + }, + "changeLog": { + "$ref": "#/components/schemas/Changelog" + } + }, + "description": "Precision Time Service Response Schema." + }, + "ServiceId": { + "type": "string", + "description": "Precision Time Service UUID", + "format": "uuid", + "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + }, + "precisionTimeChangeOperation": { + "required": [ + "op", + "path", + "value" + ], + "type": "object", + "properties": { + "op": { + "type": "string", + "description": "Handy shortcut for operation name", + "enum": [ + "replace", + "add", + "remove" + ] + }, + "path": { + "type": "string", + "description": "path inside document leading to updated parameter", + "enum": [ + "/name", + "/package/code", + "/ipv4", + "/ntpAdvancedConfiguration", + "/ptpAdvancedConfiguration" + ] + }, + "value": { + "type": "object", + "description": "new value for updated parameter" + } + }, + "description": "Fabric Precision Timing change operation data" + }, + "TimeServicesSearchRequest": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/TimeServiceFilters" + }, + "pagination": { + "$ref": "#/components/schemas/PaginationRequest" + }, + "sort": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TimeServiceSortCriteria" + } + } + }, + "description": "Search requests containing criteria" + }, + "TimeServiceFilters": { + "type": "object", + "properties": { + "and": { + "maxItems": 8, + "type": "array", + "items": { + "$ref": "#/components/schemas/TimeServiceFilter" + } + } + } + }, + "TimeServiceFilter": { + "type": "object", + "anyOf": [ + { + "$ref": "#/components/schemas/TimeServiceSimpleExpression" + }, + { + "$ref": "#/components/schemas/TimeServiceOrFilter" + } + ] + }, + "TimeServiceSimpleExpression": { + "type": "object", + "properties": { + "property": { + "type": "string", + "description": "Possible field names to use on filters:\n * `/project/projectId` - project id (mandatory)\n * `/name` - Precision Time Service name\n * `/uuid` - Precision Time Service uuid\n * `/type` - Precision Time Service protocol\n * `/state` - Precision Time Service status\n * `/account/accountNumber` - Precision Time Service account number\n * `/package/code` - Precision Time Service package\n * `/*` - all-category search\n", + "example": "/name" + }, + "operator": { + "type": "string", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `ILIKE` - case-insensitive like\n", + "example": "=" + }, + "values": { + "type": "array", + "items": { + "type": "string", + "example": "FabricPrecisionTimeService-1" + } + } + } + }, + "TimeServiceOrFilter": { + "type": "object", + "properties": { + "or": { + "maxItems": 3, + "type": "array", + "items": { + "$ref": "#/components/schemas/TimeServiceSimpleExpression" + } + } + } + }, + "TimeServiceSortCriteria": { + "type": "object", + "properties": { + "direction": { + "$ref": "#/components/schemas/TimeServiceSortDirection" + }, + "property": { + "$ref": "#/components/schemas/TimeServiceSortBy" + } + } + }, + "TimeServiceSortDirection": { + "type": "string", + "description": "Sorting direction", + "default": "DESC", + "enum": [ + "DESC", + "ASC" + ] + }, + "TimeServiceSortBy": { "type": "string", "description": "Possible field names to use on sorting", "default": "/changeLog/updatedDateTime", "enum": [ "/name", "/uuid", - "/scope", - "/operation/equinixStatus", - "/location/region", + "/state", + "/type", + "/package/code", "/changeLog/createdDateTime", "/changeLog/updatedDateTime" ] }, - "NetworkSearchResponse": { + "ServiceSearchResponse": { "type": "object", "properties": { "pagination": { "$ref": "#/components/schemas/Pagination" }, - "sort": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetworkSortCriteriaResponse" - } - }, "data": { "type": "array", + "description": "Data returned from the API call.", "items": { - "$ref": "#/components/schemas/Network" + "$ref": "#/components/schemas/precisionTimeServiceResponse" } } - }, - "description": "List of networks" + } }, - "NetworkConnections": { + "precisionTimeServiceConnectionsResponse": { + "title": "precisionTimeServiceConnectionResponse", "type": "object", "properties": { "pagination": { @@ -16369,14 +19687,16 @@ }, "data": { "type": "array", + "description": "Data returned from the API call", "items": { - "$ref": "#/components/schemas/Connection" + "$ref": "#/components/schemas/connectionLink" } } }, - "description": "List of network changes" + "description": "EPT service instance's L2 connections" }, - "NetworkChangeResponse": { + "precisionTimeServicePackagesResponse": { + "title": "precisionTimeServicePackagesResponse", "type": "object", "properties": { "pagination": { @@ -16384,228 +19704,389 @@ }, "data": { "type": "array", + "description": "Data returned from the API call", "items": { - "$ref": "#/components/schemas/NetworkChange" + "$ref": "#/components/schemas/precisionTimePackageResponse" } } }, - "description": "List of network changes" - }, - "ChangeId_3": { - "type": "string", - "description": "Network Change UUID", - "format": "uuid", - "example": "6d500177-9404-41f2-99e8-2bf1a84d8db5" + "description": "Precision Packages" }, - "NetworkChange": { + "precisionTimePackageResponse": { + "title": "precisionTimePackageRespose", + "required": [ + "bandwidth", + "code", + "type" + ], "type": "object", "properties": { "href": { "type": "string", - "description": "Network URI", - "format": "uri", - "readOnly": true, - "example": "https://api.equinix.com/fabric/v4/networks/2a4fb415-5a7f-436f-bae6-02f5e403deec/changes/4b17da68-3d6b-436d-9c8f-2105f3b950d9" + "format": "uri" }, - "uuid": { + "type": { "type": "string", - "description": "Uniquely identifies a change", - "format": "uuid", - "example": "4b17da68-3d6b-436d-9c8f-2105f3b950d9" + "enum": [ + "TIME_SERVICE_PACKAGE" + ] }, - "type": { - "$ref": "#/components/schemas/NetworkChangeType" + "code": { + "type": "string", + "enum": [ + "NTP_STANDARD", + "NTP_ENTERPRISE", + "PTP_STANDARD", + "PTP_ENTERPRISE" + ] }, - "status": { - "$ref": "#/components/schemas/NetworkChangeStatus" + "bandwidth": { + "type": "integer", + "description": "Connection bandwidth in Mbps.", + "example": 10 }, - "createdDateTime": { - "type": "string", - "description": "Set when change flow starts", - "format": "date-time", - "example": "2020-11-06T07:00:00Z" + "clientsPerSecondMax": { + "minimum": 0, + "type": "integer", + "description": "Max. number of clients that can be synchronized per second at a packet rate of 1 per second.", + "example": 100 }, - "updatedDateTime": { + "redundancySupported": { + "type": "boolean", + "description": "Is Redundant virtual connection supported for the package code.", + "example": false + }, + "multiSubnetSupported": { + "type": "boolean", + "description": "Is Multiple subnet supported for the package code.", + "example": true + }, + "accuracySlaUnit": { "type": "string", - "description": "Set when change object is updated", - "format": "date-time", - "example": "2020-11-06T07:00:00Z" + "description": "Accuracy SLA unit.", + "example": "microseconds" }, - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NetworkChangeOperation" - } + "accuracySla": { + "type": "integer", + "description": "Accuracy SLA for the package code, -1 value denotes the accuracySla is not published.", + "example": 50 + }, + "accuracySlaMin": { + "minimum": 1, + "type": "integer", + "description": "Typical minimum Accuracy for the package code.", + "example": 1 + }, + "accuracySlaMax": { + "minimum": 1, + "type": "integer", + "description": "Typical maximum Accuracy for the package code.", + "example": 10 + }, + "changelog": { + "$ref": "#/components/schemas/Changelog" } }, - "description": "Current state of latest network change" + "description": "EPT Service Package Information", + "example": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD", + "type": "TIME_SERVICE_PACKAGE", + "code": "NTP_STANDARD", + "bandwidth": 10, + "accuracySlaUnit": "microseconds", + "accuracySla": 50, + "accuracySlaMin": 1, + "accuracySlaMax": 10, + "clientsPerSecondMax": 100, + "redundancySupported": true, + "multiSubnetSupported": true, + "changeLog": { + "createdDateTime": "2023-05-16T07:50:49.749Z", + "updatedDateTime": "2023-05-17T07:50:49.749Z" + } + } }, - "ServiceId": { + "SubscriptionId": { "type": "string", - "description": "Precision Time Service UUID", + "description": "Subscription Id", "format": "uuid", "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" }, - "precisionTimeServiceCreateResponse": { - "title": "precisionTimeServiceResponse", + "SubscriptionResponse": { "required": [ - "href", - "ipv4", - "package", - "state", - "type", - "uuid" + "entitlements", + "marketplace", + "state" ], "type": "object", "properties": { - "type": { - "type": "string", - "enum": [ - "NTP", - "PTP" - ] - }, "href": { "type": "string", + "description": "Subscription URL", "format": "uri" }, "uuid": { "type": "string", - "description": "uuid of the ept service", + "description": "Unique identifier of the Subscription", "format": "uuid" }, - "name": { - "type": "string", - "description": "name of the ept service" + "state": { + "$ref": "#/components/schemas/SubscriptionState" }, - "description": { - "type": "string" + "marketplace": { + "type": "string", + "description": "Marketplace Type", + "enum": [ + "AWS", + "GCP", + "AZURE", + "REDHAT" + ] }, - "state": { + "offerType": { "type": "string", - "description": "indicate service state", + "description": "Marketplace Offer Type", "enum": [ - "PROVISIONED", - "PROVISIONING", - "PROVISIONING_FAILED", - "CONFIGURING", - "CANCELLED", - "DEPROVISIONING_FAILED", - "PENDING_CONFIGURATION", - "DEPROVISIONED", - "CONFIGURING_FAILED", - "DEPROVISIONING" + "PUBLIC", + "PRIVATE_OFFER" ] }, - "package": { - "$ref": "#/components/schemas/precisionTimePackageResponse" + "isAutoRenew": { + "type": "boolean", + "description": "Is Auto Renewal Enabled", + "example": true }, - "connections": { - "maxItems": 2, - "minItems": 1, - "uniqueItems": true, + "offerId": { + "type": "string", + "description": "Marketplace Offer Id" + }, + "trial": { + "$ref": "#/components/schemas/SubscriptionTrial" + }, + "subscriptionKey": { + "type": "string", + "description": "Subscription Key" + }, + "entitlements": { "type": "array", - "description": "fabric l2 connections used for the ept service", + "description": "List of entitlements associated with the subscription", "items": { - "$ref": "#/components/schemas/fabricConnectionUuid" + "$ref": "#/components/schemas/SubscriptionEntitlementResponse" } }, - "ipv4": { - "$ref": "#/components/schemas/ipv4" + "changelog": { + "$ref": "#/components/schemas/Changelog" + } + }, + "description": "Subscription Response", + "x-preview": false + }, + "SubscriptionState": { + "type": "string", + "description": "Subscription State", + "enum": [ + "ACTIVE", + "EXPIRED", + "CANCELLED", + "GRACE_PERIOD" + ] + }, + "SubscriptionTrial": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Free Trial Enabled" }, - "account": { - "$ref": "#/components/schemas/account" + "expiryDateTime": { + "type": "string", + "description": "Free Trial Expiry Date", + "format": "date-time" + } + }, + "description": "Free Trial Subscription" + }, + "SubscriptionEntitlementResponse": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "Subscription Entitlement Id", + "format": "uuid" }, - "advanceConfiguration": { - "$ref": "#/components/schemas/advanceConfiguration" + "quantityEntitled": { + "minimum": 0, + "type": "integer", + "description": "Quantity entitled for the subscription" }, - "project": { - "$ref": "#/components/schemas/Project" + "quantityConsumed": { + "minimum": 0, + "type": "integer", + "description": "Quantity consumed from the entitlement" + }, + "quantityAvailable": { + "minimum": 0, + "type": "integer", + "description": "Quantity available from the entitlement" + }, + "asset": { + "$ref": "#/components/schemas/SubscriptionAsset" } }, - "description": "EPT service instance" + "description": "Subscription entitlement" }, - "precisionTimeChangeOperation": { - "required": [ - "op", - "path", - "value" - ], + "SubscriptionAsset": { "type": "object", "properties": { - "op": { + "type": { "type": "string", - "description": "Handy shortcut for operation name", - "enum": [ - "replace" - ] + "description": "Type of the subscription asset ( XF_ROUTER ,IP_VC, IPWAN_VC )" }, - "path": { + "package": { + "$ref": "#/components/schemas/SubscriptionRouterPackageType" + }, + "bandwidth": { + "type": "integer", + "description": "Bandwidth of the asset in Mbps" + } + }, + "description": "Asset information" + }, + "SubscriptionRouterPackageType": { + "type": "object", + "properties": { + "code": { "type": "string", - "description": "path inside document leading to updated parameter", + "description": "Cloud Router package code", "enum": [ - "/name", - "/package/code" + "ADVANCED", + "STANDARD" ] - }, - "value": { - "type": "object", - "description": "new value for updated parameter" } }, - "description": "Fabric Precision Timing change operation data" + "description": "Cloud Router Package Type" }, - "precisionTimeServiceRequest": { - "title": "precisionTimeServiceRequest", - "required": [ - "connections", - "ipv4", - "name", - "package", - "type" - ], + "GetAllStreamResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/Stream" + } + } + } + }, + "StreamPostRequest": { "type": "object", "properties": { "type": { "type": "string", - "description": "Indicate the entity is EPT service", "enum": [ - "NTP", - "PTP" + "TELEMETRY_STREAM" ] }, "name": { - "type": "string" + "type": "string", + "description": "Customer-provided stream name" }, "description": { - "type": "string" + "type": "string", + "description": "Customer-provided stream description" }, - "package": { - "$ref": "#/components/schemas/precisionTimePackageRequest" + "project": { + "$ref": "#/components/schemas/Project" }, - "connections": { - "type": "array", - "items": { - "$ref": "#/components/schemas/fabricConnectionUuid" - } + "enabled": { + "type": "boolean", + "description": "Stream enabled status", + "example": true + } + }, + "description": "Create Stream" + }, + "Stream": { + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Stream URI", + "format": "uri", + "readOnly": true, + "example": "https://api.equinix.com/fabric/v4/streams/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170" }, - "ipv4": { - "$ref": "#/components/schemas/ipv4" + "uuid": { + "type": "string", + "description": "Equinix-assigned access point identifier", + "format": "uuid", + "example": "c9b8e7a2-f3b1-4576-a4a9-1366a63df170" + }, + "state": { + "type": "string", + "description": "Stream provision state", + "enum": [ + "PROVISIONING", + "PROVISIONED", + "DEPROVISIONING", + "DEPROVISIONED", + "FAILED" + ] }, - "advanceConfiguration": { - "$ref": "#/components/schemas/advanceConfiguration" + "assetsCount": { + "type": "integer", + "description": "Stream assets count", + "example": 1 }, - "project": { - "$ref": "#/components/schemas/Project" + "streamSubscriptionsCount": { + "type": "integer", + "description": "Stream subscriptions count", + "example": 2 + }, + "changelog": { + "$ref": "#/components/schemas/Changelog" } }, - "description": "EPT service instance" + "description": "Stream object", + "allOf": [ + { + "$ref": "#/components/schemas/StreamPostRequest" + } + ] }, - "TimeServicesSearchRequest": { + "StreamId": { + "type": "string", + "description": "Stream UUID", + "format": "uuid", + "example": "657400f8-d360-11e9-bb65-2a2ae2dbcce5" + }, + "StreamPutRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Customer-provided stream name" + }, + "description": { + "type": "string", + "description": "Customer-provided stream description" + }, + "enabled": { + "type": "boolean", + "description": "stream state", + "example": true + } + }, + "description": "Update Stream" + }, + "StreamAssetSearchRequest": { "type": "object", "properties": { "filter": { - "$ref": "#/components/schemas/TimeServiceFilters" + "$ref": "#/components/schemas/StreamAssetFilters" }, "pagination": { "$ref": "#/components/schemas/PaginationRequest" @@ -16613,81 +20094,81 @@ "sort": { "type": "array", "items": { - "$ref": "#/components/schemas/TimeServiceSortCriteria" + "$ref": "#/components/schemas/StreamAssetSortCriteria" } } }, "description": "Search requests containing criteria" }, - "TimeServiceFilters": { + "StreamAssetFilters": { "type": "object", "properties": { "and": { "maxItems": 8, "type": "array", "items": { - "$ref": "#/components/schemas/TimeServiceFilter" + "$ref": "#/components/schemas/StreamAssetFilter" } } } }, - "TimeServiceFilter": { + "StreamAssetFilter": { "type": "object", "anyOf": [ { - "$ref": "#/components/schemas/TimeServiceSimpleExpression" + "$ref": "#/components/schemas/StreamAssetSimpleExpression" }, { - "$ref": "#/components/schemas/TimeServiceOrFilter" + "$ref": "#/components/schemas/StreamAssetOrFilter" } ] }, - "TimeServiceSimpleExpression": { + "StreamAssetSimpleExpression": { "type": "object", "properties": { "property": { "type": "string", - "description": "Possible field names to use on filters:\n * `/project/projectId` - project id (mandatory)\n * `/name` - Precision Time Service name\n * `/uuid` - Precision Time Service uuid\n * `/type` - Precision Time Service protocol\n * `/state` - Precision Time Service status\n * `/account/accountNumber` - Precision Time Service account number\n * `/package/code` - Precision Time Service package\n * `/*` - all-category search\n", + "description": "Possible field names to use on filters:\n * `/uuid` - Asset uuid\n * `/streamUuid` - Stream uuid\n * `/projectId` - Asset projectId\n * `/*` - all-category search\n", "example": "/name" }, "operator": { "type": "string", - "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `ILIKE` - case-insensitive like\n", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `!=` - not equal\n * `>` - greater than\n * `>=` - greater than or equal to\n * `<` - less than\n * `<=` - less than or equal to\n * `[NOT] BETWEEN` - (not) between\n * `[NOT] LIKE` - (not) like\n * `[NOT] IN` - (not) in\n * `ILIKE` - case-insensitive like\n", "example": "=" }, "values": { "type": "array", "items": { "type": "string", - "example": "FabricPrecisionTimeService-1" + "example": "FabricStreamAsset-1" } } } }, - "TimeServiceOrFilter": { + "StreamAssetOrFilter": { "type": "object", "properties": { "or": { "maxItems": 3, "type": "array", "items": { - "$ref": "#/components/schemas/TimeServiceSimpleExpression" + "$ref": "#/components/schemas/StreamAssetSimpleExpression" } } } }, - "TimeServiceSortCriteria": { + "StreamAssetSortCriteria": { "type": "object", "properties": { "direction": { - "$ref": "#/components/schemas/TimeServiceSortDirection" + "$ref": "#/components/schemas/StreamAssetSortDirection" }, "property": { - "$ref": "#/components/schemas/TimeServiceSortBy" + "$ref": "#/components/schemas/StreamAssetSortBy" } } }, - "TimeServiceSortDirection": { + "StreamAssetSortDirection": { "type": "string", "description": "Sorting direction", "default": "DESC", @@ -16696,295 +20177,399 @@ "ASC" ] }, - "TimeServiceSortBy": { + "StreamAssetSortBy": { "type": "string", "description": "Possible field names to use on sorting", - "default": "/changeLog/updatedDateTime", + "default": "/uuid", "enum": [ - "/name", - "/uuid", - "/state", - "/type", - "/package/code", - "/changeLog/createdDateTime", - "/changeLog/updatedDateTime" + "/uuid" + ] + }, + "GetAllStreamAssetResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/StreamAsset" + } + } + } + }, + "AssetId": { + "type": "string", + "description": "Stream Asset UUID", + "format": "uuid", + "example": "757400f8-d360-11e9-bb65-2a2ae2dbcce6" + }, + "Asset": { + "type": "string", + "enum": [ + "ports", + "connections", + "routers", + "metros" ] }, - "ServiceSearchResponse": { + "StreamAsset": { + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Stream Asset URI", + "format": "uri", + "readOnly": true + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned access point identifier", + "format": "uuid", + "example": "c9b8e7a2-f3b1-4576-a4a9-1366a63df170" + }, + "metricsEnabled": { + "type": "boolean", + "description": "enable metric", + "example": false + }, + "attachmentStatus": { + "type": "string", + "description": "asset status", + "enum": [ + "ATTACHING", + "ATTACHED", + "DETACHED", + "DETACHING", + "FAILED" + ] + } + }, + "description": "Stream object" + }, + "StreamAssetPutRequest": { + "type": "object", + "properties": { + "metricsEnabled": { + "type": "boolean", + "description": "enable metric", + "example": false + } + }, + "description": "Update Stream Asset" + }, + "GetSubscriptionsInStreamResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/StreamGetSubscriptions" + } + } + } + }, + "GetAllStreamSubscriptionResponse": { + "type": "object", + "properties": { + "pagination": { + "$ref": "#/components/schemas/Pagination" + }, + "data": { + "type": "array", + "description": "Data returned from the API call.", + "items": { + "$ref": "#/components/schemas/StreamSubscription" + } + } + } + }, + "StreamSubscriptionPostRequest": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "STREAM_SUBSCRIPTION" + ] + }, + "name": { + "type": "string", + "description": "Customer-provided stream subscription name" + }, + "description": { + "type": "string", + "description": "Customer-provided stream subscription description" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "enabled": { + "type": "boolean", + "description": "Stream subscription enabled status", + "example": true + }, + "stream": { + "$ref": "#/components/schemas/StreamTarget" + }, + "filters": { + "$ref": "#/components/schemas/StreamSubscriptionFilter" + }, + "sink": { + "$ref": "#/components/schemas/StreamSubscriptionSink" + } + }, + "description": "Create Stream Subscription" + }, + "StreamSubscriptionFilter": { "type": "object", "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" - }, - "data": { + "and": { + "maxItems": 8, "type": "array", - "description": "Data returned from the API call.", "items": { - "$ref": "#/components/schemas/precisionTimeServiceResponse" + "$ref": "#/components/schemas/StreamFilter" } } } }, - "precisionTimeServiceConnectionsResponse": { - "title": "precisionTimeServiceConnectionResponse", + "StreamFilter": { + "type": "object", + "anyOf": [ + { + "$ref": "#/components/schemas/StreamFilterSimpleExpression" + }, + { + "$ref": "#/components/schemas/StreamFilterOrFilter" + } + ] + }, + "StreamFilterSimpleExpression": { "type": "object", "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" + "property": { + "type": "string", + "description": "Possible field names to use on filters:\n * `/subject` - subject\n * `/type` - type\n", + "example": "/equinixproject" }, - "data": { + "operator": { + "type": "string", + "description": "Possible operators to use on filters:\n * `=` - equal\n * `in` - in\n * `LIKE` - case-sensitive like\n * `ILIKE` - case-insensitive like\n", + "example": "=" + }, + "values": { "type": "array", - "description": "Data returned from the API call", "items": { - "$ref": "#/components/schemas/connectionLink" + "type": "string" } } - }, - "description": "EPT service instance's L2 connections" + } }, - "precisionTimeServicePackagesResponse": { - "title": "precisionTimeServicePackagesResponse", + "StreamFilterOrFilter": { "type": "object", "properties": { - "pagination": { - "$ref": "#/components/schemas/Pagination" - }, - "data": { + "or": { + "maxItems": 3, "type": "array", - "description": "Data returned from the API call", "items": { - "$ref": "#/components/schemas/precisionTimePackageResponse" + "$ref": "#/components/schemas/StreamFilterSimpleExpression" } } - }, - "description": "Precision Packages" + } }, - "precisionTimePackageResponse": { - "title": "precisionTimePackageRespose", - "required": [ - "code" - ], + "StreamSubscriptionSink": { "type": "object", "properties": { - "href": { - "type": "string", - "format": "uri" - }, - "code": { + "uri": { "type": "string", - "enum": [ - "NTP_STANDARD", - "NTP_ENTERPRISE", - "PTP_STANDARD", - "PTP_ENTERPRISE" - ] + "description": "any publicly reachable http endpoint" }, "type": { "type": "string", + "description": "destination type", "enum": [ - "TIME_SERVICE_PACKAGE" + "DATADOG", + "PAGERDUTY", + "SPLUNK_HEC", + "SLACK", + "TEAMS", + "CUSTOM" ] }, - "bandwidth": { + "batchEnabled": { + "type": "boolean", + "description": "batch mode on/off", + "example": false + }, + "batchSizeMax": { "type": "integer", - "example": 10 + "description": "maximum batch size" }, - "clientsPerSecondMax": { + "batchWaitTimeMax": { "type": "integer", - "example": 100 + "description": "maximum batch waiting time" }, - "redundancySupported": { - "type": "boolean", - "example": true + "credential": { + "$ref": "#/components/schemas/StreamSubscriptionSinkCredential" }, - "multiSubnetSupported": { - "type": "boolean", - "example": true + "settings": { + "$ref": "#/components/schemas/StreamSubscriptionSinkSetting" + } + }, + "description": "Create Stream destination" + }, + "StreamSubscriptionSinkCredential": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "credential type", + "enum": [ + "ACCESS_TOKEN", + "INTEGRATION_KEY", + "API_KEY" + ] }, - "accuracyUnit": { + "accessToken": { "type": "string", - "example": "microseconds" + "description": "passed as Authorization header value" }, - "accuracySla": { - "type": "integer", - "example": 50 + "integrationKey": { + "type": "string", + "description": "passed as Authorization header value" }, - "accuracyAvgMin": { - "type": "integer", - "example": 1 + "apiKey": { + "type": "string", + "description": "passed as Authorization header value" + } + }, + "description": "Stream subscription sink credentials" + }, + "StreamSubscriptionSinkSetting": { + "type": "object", + "properties": { + "eventIndex": { + "type": "string", + "description": "event index" }, - "accuracyAvgMax": { - "type": "integer", - "example": 10 + "metricIndex": { + "type": "string", + "description": "metric index" }, - "changelog": { - "$ref": "#/components/schemas/Changelog" + "source": { + "type": "string", + "description": "source" + }, + "applicationKey": { + "type": "string", + "description": "Application key" } }, - "description": "EPT Service Package Information", - "example": { - "href": "https://api.equinix.com/fabric/v4/timeServicePackage/NTP_STANDARD", - "code": "NTP_STANDARD", - "type": "TIME_SERVICE_PACKAGE", - "bandwidth": 10, - "accuracyUnit": "microseconds", - "accuracySla": 50, - "accuracyAvgMin": 1, - "accuracyAvgMax": 10, - "clientsPerSecondMax": 100, - "redundancySupported": true, - "multiSubnetSupported": true, - "changeLog": { - "createdDateTime": "2023-05-16T07:50:49.749Z", - "updatedDateTime": "2023-05-17T07:50:49.749Z" - } - } - }, - "SubscriptionId": { - "type": "string", - "description": "Subscription Id", - "format": "uuid", - "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + "description": "Stream subscription sink settings" }, - "SubscriptionResponse": { + "StreamSubscription": { "type": "object", "properties": { "href": { "type": "string", - "format": "uri" + "description": "Stream Subscription URI", + "format": "uri", + "readOnly": true, + "example": "https://api.equinix.com/fabric/v4/streamSubscription/3c9b8e7a2-f3b1-4576-a4a9-1366a63df170" }, "uuid": { "type": "string", - "format": "uuid" - }, - "status": { - "$ref": "#/components/schemas/SubscriptionStatus" + "description": "Equinix-assigned access point identifier", + "format": "uuid", + "example": "c9b8e7a2-f3b1-4576-a4a9-1366a63df170" }, - "marketplace": { + "type": { "type": "string", + "description": "type", "enum": [ - "AWS", - "GCP", - "AZURE", - "REDHAT" + "STREAM_SUBSCRIPTION" ] }, - "offerType": { + "name": { + "type": "string", + "description": "Customer-provided subscription name" + }, + "description": { + "type": "string", + "description": "Customer-provided subscription description" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "state": { "type": "string", + "description": "Steam subscription provision state", "enum": [ - "PUBLIC", - "PRIVATE_OFFER" + "PROVISIONING", + "PROVISIONED", + "DEPROVISIONING", + "DEPROVISIONED", + "FAILED" ] }, - "isAutoRenew": { + "enabled": { "type": "boolean", - "example": true - }, - "offerId": { - "type": "string" + "description": "Stream subscription enabled status" }, - "trial": { - "$ref": "#/components/schemas/SubscriptionTrial" + "stream": { + "$ref": "#/components/schemas/StreamTarget" }, - "subscriptionKey": { - "type": "string" + "filters": { + "$ref": "#/components/schemas/StreamSubscriptionFilter" }, - "entitlements": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionEntitlementResponse" - } + "sink": { + "$ref": "#/components/schemas/StreamSubscriptionSink" }, "changelog": { "$ref": "#/components/schemas/Changelog" } }, - "description": "Subscription", - "x-preview": false + "description": "Stream Subscription object" }, - "SubscriptionStatus": { + "StreamSubscriptionId": { "type": "string", - "enum": [ - "ACTIVE", - "EXPIRED", - "CANCELLED", - "GRACE_PERIOD" - ] - }, - "SubscriptionTrial": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "expiryDateTime": { - "type": "string", - "format": "date-time" - } - }, - "description": "Trial" + "description": "Stream Subscription UUID", + "format": "uuid", + "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" }, - "SubscriptionEntitlementResponse": { + "StreamSubscriptionPutRequest": { "type": "object", "properties": { - "uuid": { + "name": { "type": "string", - "description": "Subscription Entitlement Id", - "format": "uuid" - }, - "quantityEntitled": { - "minimum": 0, - "type": "integer" + "description": "Customer-provided stream subscription name" }, - "quantityConsumed": { - "minimum": 0, - "type": "integer" + "description": { + "type": "string", + "description": "Customer-provided stream subscription description" }, - "quantityAvailable": { - "minimum": 0, - "type": "integer" + "stream": { + "$ref": "#/components/schemas/StreamTarget" }, - "asset": { - "$ref": "#/components/schemas/SubscriptionAsset" - } - }, - "description": "Subscription entitlement" - }, - "SubscriptionAsset": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/SubscriptionAssetType" + "enabled": { + "type": "boolean", + "description": "Stream subscription enabled status", + "example": true }, - "package": { - "$ref": "#/components/schemas/SubscriptionRouterPackageType" + "filters": { + "$ref": "#/components/schemas/StreamSubscriptionFilter" }, - "bandwidth": { - "type": "integer" - } - }, - "description": "Asset information" - }, - "SubscriptionAssetType": { - "type": "string", - "enum": [ - "XF_ROUTER", - "IP_VC" - ] - }, - "SubscriptionRouterPackageType": { - "type": "object", - "properties": { - "code": { - "type": "string", - "description": "Cloud Router package code", - "enum": [ - "ADVANCED", - "STANDARD" - ] + "sink": { + "$ref": "#/components/schemas/StreamSubscriptionSink" } }, - "description": "Cloud Router Package Type" + "description": "Update Stream Subscription" }, "ConnectionType": { "type": "string", @@ -17480,6 +21065,81 @@ }, "description": "Connection acceptance data" }, + "PaginationRequest": { + "type": "object", + "properties": { + "offset": { + "minimum": 0, + "type": "integer", + "description": "Index of the first element.", + "default": 0 + }, + "limit": { + "minimum": 1, + "type": "integer", + "description": "Number of elements to be requested per page. Number must be between 1 and 100, and the default is 20.", + "default": 20 + } + }, + "description": "Pagination request information" + }, + "ConnectionRouteTableEntry": { + "required": [ + "changeLog", + "state", + "type" + ], + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/RouteTableEntryType" + }, + "protocolType": { + "$ref": "#/components/schemas/RouteTableEntryProtocolType" + }, + "state": { + "type": "string", + "example": "ACTIVE", + "enum": [ + "ACTIVE", + "INACTIVE" + ] + }, + "age": { + "type": "string", + "example": "PT5M30S" + }, + "prefix": { + "type": "string", + "example": "192.168.10.0/24" + }, + "nextHop": { + "type": "string", + "example": "10.10.10.5" + }, + "MED": { + "type": "integer", + "example": 5 + }, + "localPreference": { + "type": "integer", + "example": 200 + }, + "asPath": { + "type": "array", + "items": { + "type": "string" + } + }, + "connection": { + "$ref": "#/components/schemas/ConnectionRouteTableEntry_connection" + }, + "changeLog": { + "$ref": "#/components/schemas/Changelog" + } + }, + "description": "Adv/Rec Route table entry object" + }, "BGPConnectionIpv4": { "required": [ "customerPeerIp", @@ -17509,16 +21169,22 @@ }, "inboundMED": { "type": "integer", - "description": "inbound Multi Exit Discriminator attribute", + "description": "Inbound Multi Exit Discriminator attribute", "format": "int64", "example": 1000 }, "outboundMED": { "type": "integer", - "description": "inbound Multi Exit Discriminator attribute", + "description": "Outbound Multi Exit Discriminator attribute", "format": "int64", "example": 2000 }, + "routesMax": { + "type": "integer", + "description": "Maximum learnt prefixes limit", + "format": "int64", + "example": 1000 + }, "operation": { "$ref": "#/components/schemas/BGPConnectionOperation" } @@ -17553,16 +21219,22 @@ }, "inboundMED": { "type": "integer", - "description": "inbound Multi Exit Discriminator attribute", + "description": "Inbound Multi Exit Discriminator attribute", "format": "int64", "example": 1000 }, "outboundMED": { "type": "integer", - "description": "inbound Multi Exit Discriminator attribute", + "description": "Outbound Multi Exit Discriminator attribute", "format": "int64", "example": 2000 }, + "routesMax": { + "type": "integer", + "description": "Maximum learnt prefixes limit", + "format": "int64", + "example": 1000 + }, "operation": { "$ref": "#/components/schemas/BGPConnectionOperation" } @@ -17815,24 +21487,6 @@ }, "description": "Routing Protocol change operation data" }, - "PaginationRequest": { - "type": "object", - "properties": { - "offset": { - "minimum": 0, - "type": "integer", - "description": "Index of the first element.", - "default": 0 - }, - "limit": { - "minimum": 1, - "type": "integer", - "description": "Number of elements to be requested per page. Number must be between 1 and 100, and the default is 20.", - "default": 20 - } - }, - "description": "Pagination request information" - }, "SortDirection": { "type": "string", "description": "Sorting direction", @@ -17985,7 +21639,8 @@ }, "ibx": { "type": "string", - "example": "AM1" + "example": "AM1", + "deprecated": true } } }, @@ -18004,7 +21659,8 @@ "type": "string", "description": "Type of Service Token", "enum": [ - "VC_TOKEN" + "VC_TOKEN", + "EPL_TOKEN" ] }, "ServiceTokenConnection": { @@ -18017,7 +21673,10 @@ "type": "string", "description": "Type of Connection", "enum": [ - "EVPL_VC" + "EVPL_VC", + "EVPLAN_VC", + "EPLAN_VC", + "IPWAN_VC" ] }, "href": { @@ -18036,6 +21695,11 @@ "description": "Authorization to connect remotely", "default": false }, + "allowCustomBandwidth": { + "type": "boolean", + "description": "Allow custom bandwidth value", + "default": false + }, "bandwidthLimit": { "maximum": 100000, "minimum": 0, @@ -18150,7 +21814,7 @@ }, "uuid": { "type": "string", - "description": "Equinix-assigned order identifier", + "description": "Equinix-assigned order identifier, this is a derived response atrribute", "format": "uuid" }, "signature": { @@ -18166,12 +21830,29 @@ "description": "Availability of a given physical port.", "enum": [ "UP", - "DOWN" + "DOWN", + "PARTIAL" ] }, "connectionCount": { "type": "integer", - "description": "Total number of connections." + "description": "Total number of connections.", + "format": "int64" + }, + "evplVCCount": { + "type": "integer", + "description": "Total number of connections.", + "format": "int64" + }, + "fgVCCount": { + "type": "integer", + "description": "Total number of connections.", + "format": "int64" + }, + "accessVCCount": { + "type": "integer", + "description": "Total number of connections.", + "format": "int64" }, "opStatusChangedAt": { "type": "string", @@ -18201,14 +21882,6 @@ "type": { "type": "string", "description": "Port interface type" - }, - "ifIndex": { - "type": "string", - "description": "Port interface index" - }, - "name": { - "type": "string", - "description": "Port interface name" } }, "description": "Port interface" @@ -18261,7 +21934,8 @@ }, "group": { "type": "string", - "description": "Port UUID of respective primary port" + "description": "Port UUID of respective primary port", + "deprecated": true }, "priority": { "$ref": "#/components/schemas/PortPriority" @@ -18298,7 +21972,8 @@ }, "enabled": { "type": "boolean", - "description": "enabled" + "description": "enabled", + "deprecated": true }, "name": { "type": "string", @@ -18311,27 +21986,47 @@ }, "description": "Port Lag" }, - "PortSettings": { + "Package": { "type": "object", "properties": { - "product": { + "code": { "type": "string", - "description": "Product name" + "description": "Type of Port Package", + "enum": [ + "STANDARD", + "UNLIMITED", + "UNLIMITED_PLUS" + ] }, + "type": { + "type": "string", + "description": "Port service Type", + "enum": [ + "EPL", + "MSP" + ] + } + }, + "description": "Package settings for port" + }, + "PortSettings": { + "type": "object", + "properties": { "buyout": { - "type": "boolean" + "type": "boolean", + "deprecated": true }, "viewPortPermission": { - "type": "boolean" + "type": "boolean", + "deprecated": true }, "placeVcOrderPermission": { - "type": "boolean" + "type": "boolean", + "deprecated": true }, "layer3Enabled": { - "type": "boolean" - }, - "productCode": { - "type": "string" + "type": "boolean", + "deprecated": true }, "sharedPortType": { "type": "boolean" @@ -18348,11 +22043,11 @@ "packageType": { "type": "string", "description": "Type of Port Package", + "deprecated": true, "enum": [ "STANDARD", - "UNTAGGED", "UNLIMITED", - "UNLIMITED PLUS" + "UNLIMITED_PLUS" ] } }, @@ -18462,6 +22157,19 @@ }, "description": "Port physical connection" }, + "PhysicalPortSettings": { + "type": "object", + "properties": { + "errorMessage": { + "type": "string" + }, + "packageType": { + "type": "string", + "deprecated": true + } + }, + "description": "Physical Port configuration settings" + }, "LinkProtocolResponse": { "type": "object", "properties": { @@ -18831,7 +22539,7 @@ "PROVISIONING", "DEPROVISIONING", "DEPROVISIONED", - "LOCKED", + "REPROVISIONING", "NOT_PROVISIONED", "NOT_DEPROVISIONED" ] @@ -18919,9 +22627,38 @@ "description": "Cloud Router action type", "enum": [ "BGP_SESSION_STATUS_UPDATE", - "ROUTE_TABLE_ENTRY_UPDATE" + "ROUTE_TABLE_ENTRY_UPDATE", + "RECEIVED_ROUTE_ENTRY_UPDATE", + "ADVERTISED_ROUTE_ENTRY_UPDATE" ] }, + "RouterActionsConnection": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "Connection UUID", + "example": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + } + }, + "description": "Connection object for router actions" + }, + "Operation": { + "type": "object", + "properties": { + "bgpIpv4RoutesCount": { + "type": "integer", + "description": "IPV4 Route Count", + "example": 6 + }, + "bgpIpv6RoutesCount": { + "type": "integer", + "description": "IPV6 Route Count", + "example": 6 + } + }, + "description": "Operation object for router actions" + }, "RouteTableEntry": { "required": [ "changeLog", @@ -18951,7 +22688,7 @@ "type": "string", "example": "10.10.10.5" }, - "metric": { + "MED": { "type": "integer", "example": 5 }, @@ -18962,11 +22699,11 @@ "asPath": { "type": "array", "items": { - "type": "integer" + "type": "string" } }, "connection": { - "$ref": "#/components/schemas/RouteTableEntry_connection" + "$ref": "#/components/schemas/ConnectionRouteTableEntry_connection" }, "changeLog": { "$ref": "#/components/schemas/Changelog" @@ -19019,6 +22756,31 @@ }, "description": "Available services details" }, + "ValidateConnectionResponse": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "Equinix-assigned connection identifier" + }, + "bandwidth": { + "maximum": 50000, + "minimum": 0, + "type": "integer", + "description": "Connection bandwidth in Mbps" + }, + "redundancy": { + "$ref": "#/components/schemas/ConnectionRedundancy" + }, + "aSide": { + "$ref": "#/components/schemas/ConnectionSide" + }, + "zSide": { + "$ref": "#/components/schemas/ConnectionSide" + } + }, + "description": "Validate Connection specification" + }, "NetworkType": { "type": "string", "description": "Network type", @@ -19166,25 +22928,50 @@ "SUBMITTED_FOR_APPROVAL" ] }, - "fabricConnectionUuid": { + "precisionTimePackageRequest": { + "title": "precisionTimePackageRequest", + "required": [ + "code" + ], + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Precision Time Service Level", + "enum": [ + "NTP_STANDARD", + "NTP_ENTERPRISE", + "PTP_STANDARD", + "PTP_ENTERPRISE" + ] + } + }, + "description": "Precision Time Service Level Request", + "example": { + "code": "NTP_STANDARD" + } + }, + "virtualConnectionUuid": { "title": "fabricConnectionUuid", "required": [ "uuid" ], "type": "object", "properties": { - "uuid": { - "type": "string", - "description": "uuid of the Fabric L2 connection", - "format": "uuid" - }, "href": { "type": "string", - "description": "the href for the L2 connection", - "format": "uri" + "description": "Connection URI", + "format": "uri", + "readOnly": true }, "type": { - "type": "string" + "type": "string", + "description": "Connection Type" + }, + "uuid": { + "type": "string", + "description": "Connection UUID.", + "format": "uuid" } }, "description": "UUID of the Fabric Connection Instance", @@ -19194,22 +22981,31 @@ }, "ipv4": { "title": "ipv4", + "required": [ + "networkMask", + "primary", + "secondary" + ], "type": "object", "properties": { "primary": { "type": "string", + "description": "Primary Timing Server IP Address", "format": "ipv4" }, "secondary": { "type": "string", + "description": "Secondary Timing Server IP Address", "format": "ipv4" }, "networkMask": { "type": "string", + "description": "Network Mask", "format": "ipv4" }, "defaultGateway": { "type": "string", + "description": "Gateway Interface IP address", "format": "ipv4" } }, @@ -19221,150 +23017,155 @@ "defaultGateway": "10.0.0.3" } }, - "account": { - "required": [ - "accountNumber" - ], + "ntpAdvanceConfiguration": { + "type": "array", + "description": "NTP Advanced configuration - MD5 Authentication.", + "items": { + "$ref": "#/components/schemas/md5" + } + }, + "ptpAdvanceConfiguration": { "type": "object", "properties": { - "accountNumber": { - "type": "integer" + "timeScale": { + "type": "string", + "description": "Time Scale value, ARB denotes Arbitrary and PTP denotes Precision Time Protocol.", + "example": "ARB", + "enum": [ + "ARB", + "PTP" + ] }, - "isResellerAccount": { - "type": "boolean" + "domain": { + "maximum": 127, + "minimum": 0, + "type": "integer", + "description": "The PTP domain value.", + "example": 0 }, - "orgId": { - "type": "string" + "priority1": { + "maximum": 248, + "minimum": 0, + "type": "integer", + "description": "The priority1 value determines the best primary clock, Lower value indicates higher priority.", + "example": 128 }, - "globalOrgId": { - "type": "string" - } - }, - "description": "Account model, includes account number and flag to indicate if this account is reseller", - "example": { - "accountNumber": 123456 - } - }, - "advanceConfiguration": { - "type": "object", - "properties": { - "ntp": { - "$ref": "#/components/schemas/ntpAdvanceConfiguration" + "priority2": { + "maximum": 248, + "minimum": 0, + "type": "integer", + "description": "The priority2 value differentiates and prioritizes the primary clock to avoid confusion when priority1-value is the same for different primary clocks in a network.", + "example": 128 }, - "ptp": { - "$ref": "#/components/schemas/ptpAdvanceConfiguration" + "logAnnounceInterval": { + "type": "integer", + "description": "Logarithmic value that controls the rate of PTP Announce packets from the PTP time server. Default is 1 (1 packet every 2 seconds), Unit packets/second.", + "example": 1, + "enum": [ + -3, + -2, + -1, + 0, + 1 + ] + }, + "logSyncInterval": { + "type": "integer", + "description": "Logarithmic value that controls the rate of PTP Sync packets. Default is -4 (16 packets per second), Unit packets/second..", + "example": -4, + "enum": [ + -5, + -4, + -3, + -2, + -1, + 0, + 1 + ] + }, + "logDelayReqInterval": { + "type": "integer", + "description": "Logarithmic value that controls the rate of PTP DelayReq packets. Default is -4 (16 packets per second), Unit packets/second..", + "example": -4, + "enum": [ + -5, + -4, + -3, + -2, + -1, + 0, + 1 + ] + }, + "transportMode": { + "type": "string", + "enum": [ + "MULTICAST", + "UNICAST", + "HYBRID" + ] + }, + "grantTime": { + "maximum": 7200, + "minimum": 30, + "type": "integer", + "description": "Unicast Grant Time in seconds. For Multicast and Hybrid transport modes, grant time defaults to 300 seconds. For Unicast mode, grant time can be between 30 to 7200.", + "example": 300 } }, - "description": "Advance Configuration for NTP/PTP" + "description": "PTP Advanced Configuration." }, - "precisionTimePackageRequest": { - "title": "precisionTimePackageRequest", - "required": [ - "code" - ], + "precisionTimeOrder": { + "title": "precisionTimeOrder", "type": "object", "properties": { - "href": { + "purchaseOrderNumber": { "type": "string", - "format": "uri" + "description": "Purchase order number" }, - "code": { + "customerReferenceNumber": { "type": "string", - "enum": [ - "NTP_STANDARD", - "NTP_ENTERPRISE", - "PTP_STANDARD", - "PTP_ENTERPRISE" - ] + "description": "Customer reference number" + }, + "orderNumber": { + "type": "string", + "description": "Order Reference Number" } }, - "description": "EPT Package Request", - "example": { - "code": "NTP_STANDARD" - } + "description": "Precision Time Order" }, - "precisionTimeServiceResponse": { - "title": "precisionTimeServiceResponse", + "virtualConnectionTimeServiceResponse": { + "title": "fabricConnectionResponse", "required": [ "href", - "ipv4", - "order", - "package", - "state", "type", "uuid" ], "type": "object", "properties": { - "type": { + "href": { "type": "string", - "enum": [ - "NTP", - "PTP" - ] + "description": "Connection URI", + "format": "uri", + "readOnly": true }, - "href": { + "type": { "type": "string", - "format": "uri" + "description": "Connection Type." }, "uuid": { "type": "string", - "description": "uuid of the ept service", + "description": "Connection UUID.", "format": "uuid" }, - "name": { - "type": "string", - "description": "name of the ept service" - }, - "description": { - "type": "string" - }, - "state": { - "type": "string", - "description": "indicate service state", - "enum": [ - "PROVISIONED", - "PROVISIONING", - "PROVISIONING_FAILED", - "CONFIGURING", - "CANCELLED", - "DEPROVISIONING_FAILED", - "PENDING_CONFIGURATION", - "DEPROVISIONED", - "CONFIGURING_FAILED", - "DEPROVISIONING" - ] - }, - "package": { - "$ref": "#/components/schemas/precisionTimePackageResponse" - }, - "connections": { - "maxItems": 2, - "minItems": 1, - "uniqueItems": true, - "type": "array", - "description": "fabric l2 connections used for the ept service", - "items": { - "$ref": "#/components/schemas/fabricConnectionUuid" - } - }, - "order": { - "$ref": "#/components/schemas/Order" - }, - "ipv4": { - "$ref": "#/components/schemas/ipv4" - }, - "advanceConfiguration": { - "$ref": "#/components/schemas/advanceConfiguration" - }, - "project": { - "$ref": "#/components/schemas/Project" + "aSide": { + "$ref": "#/components/schemas/virtualConnectionSide" }, - "account": { - "$ref": "#/components/schemas/account" + "zSide": { + "$ref": "#/components/schemas/virtualConnectionSide" } }, - "description": "EPT service instance" + "description": "Fabric Connection Precision Time Service Response Object" }, "connectionLink": { "type": "object", @@ -19386,6 +23187,40 @@ } } }, + "StreamGetSubscriptions": { + "type": "object", + "properties": { + "href": { + "type": "string", + "description": "Stream Get Stream Subscriptions URI", + "format": "uri", + "readOnly": true + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned access point identifier", + "format": "uuid", + "example": "c9b8e7a2-f3b1-4576-a4a9-1366a63df170" + }, + "type": { + "type": "string", + "description": "Stream subscription type", + "enum": [ + "STREAM_SUBSCRIPTION" + ] + } + }, + "description": "Stream object" + }, + "StreamTarget": { + "type": "object", + "properties": { + "uuid": { + "$ref": "#/components/schemas/StreamId" + } + }, + "description": "Stream uuid" + }, "ConnectionPriority": { "type": "string", "description": "Connection priority in redundancy group", @@ -19569,6 +23404,27 @@ "PENDING_INTERFACE_CONFIGURATION" ] }, + "RouteTableEntryType": { + "type": "string", + "description": "Route table entry type", + "enum": [ + "IPv4_BGP_ROUTE", + "IPv4_STATIC_ROUTE", + "IPv4_DIRECT_ROUTE", + "IPv6_BGP_ROUTE", + "IPv6_STATIC_ROUTE", + "IPv6_DIRECT_ROUTE" + ] + }, + "RouteTableEntryProtocolType": { + "type": "string", + "description": "Route table entry protocol type", + "enum": [ + "BGP", + "STATIC", + "DIRECT" + ] + }, "BGPConnectionOperation": { "type": "object", "properties": { @@ -19752,7 +23608,7 @@ } } }, - "description": "Connection link protocol configuration" + "description": "Connection link protocol,virtual device or network configuration" }, "PortDeviceRedundancy": { "type": "object", @@ -19864,27 +23720,6 @@ }, "description": "Service Token details of Link Protocol" }, - "RouteTableEntryType": { - "type": "string", - "description": "Route table entry type", - "enum": [ - "IPv4_BGP_ROUTE", - "IPv4_STATIC_ROUTE", - "IPv4_DIRECT_ROUTE", - "IPv6_BGP_ROUTE", - "IPv6_STATIC_ROUTE", - "IPv6_DIRECT_ROUTE" - ] - }, - "RouteTableEntryProtocolType": { - "type": "string", - "description": "Route table entry protocol type", - "enum": [ - "BGP", - "STATIC", - "DIRECT" - ] - }, "RouteTableEntryState": { "type": "string", "description": "Route table entry state", @@ -19928,73 +23763,41 @@ "/changeLog/updatedDateTime" ] }, - "ntpAdvanceConfiguration": { - "type": "array", - "items": { - "$ref": "#/components/schemas/md5" - } - }, - "ptpAdvanceConfiguration": { + "md5": { "type": "object", "properties": { - "timeScale": { + "type": { "type": "string", - "description": "Time Scale value, ARB denotes Arbitrary and PTP denotes Precision Time Protocol.", - "example": "ARB", "enum": [ - "ARB", - "PTP" + "ASCII", + "HEX" ] }, - "domain": { - "maximum": 127, - "minimum": 0, - "type": "integer", - "example": 0 - }, - "priority1": { - "maximum": 248, - "minimum": 0, - "type": "integer", - "example": 0 - }, - "priority2": { - "maximum": 248, - "minimum": 0, - "type": "integer", - "example": 0 - }, - "logAnnounceInterval": { - "type": "integer", - "description": "The mean time interval between Announce messages. A shorter interval makes ptp4l react faster to the changes in the master-slave hierarchy. The interval should be the same in the whole domain. It's specified as a power of two in seconds. The default is 1 (2 seconds).", - "example": 0 - }, - "logSyncInterval": { - "type": "integer", - "description": "The mean time interval between Sync messages. A shorter interval may improve accuracy of the local clock. It's specified as a power of two in seconds. The default is 0 (1 second).", - "example": 0 - }, - "logDelayReqInterval": { + "keyNumber": { + "maximum": 65534, + "minimum": 1, "type": "integer", - "example": 0 + "description": "The authentication Key ID.", + "example": 10 }, - "transportMode": { + "key": { + "maxLength": 40, + "minLength": 10, "type": "string", - "enum": [ - "Multicast", - "Unicast", - "Hybrid" - ] - }, - "grantTime": { - "maximum": 7200, - "minimum": 30, - "type": "integer", - "description": "Unicast Grant Time in seconds. For Multicast and Hybrid transport modes, grant time defaults to 300 seconds. For Unicast mode, grant time can be between 30 to 7200.", - "example": 300 + "description": "The plaintext authentication key. For ASCII type, the key must contain printable ASCII characters, range 10-20 characters. For HEX type, range should be 10-40 characters." } } }, + "virtualConnectionSide": { + "title": "fabricConnectionAccessPoint", + "type": "object", + "properties": { + "accessPoint": { + "$ref": "#/components/schemas/AccessPoint" + } + }, + "description": "Fabric Connection access point object." + }, "AccessPointType": { "type": "string", "description": "Access point type", @@ -20056,10 +23859,6 @@ "state": { "$ref": "#/components/schemas/PortState" }, - "cvpId": { - "type": "string", - "description": "Equinix assigned response attribute for Unique ID for a virtual port." - }, "operation": { "$ref": "#/components/schemas/PortOperation" }, @@ -20069,6 +23868,7 @@ "serviceType": { "type": "string", "description": "Port service Type", + "deprecated": true, "enum": [ "EPL", "MSP" @@ -20077,17 +23877,20 @@ "bandwidth": { "minimum": 0, "type": "integer", - "description": "Equinix assigned response attribute for Port bandwidth in Mbps" + "description": "Equinix assigned response attribute for Port bandwidth in Mbps", + "format": "int64" }, "availableBandwidth": { "minimum": 0, "type": "integer", - "description": "Equinix assigned response attribute for Port available bandwidth in Mbps" + "description": "Equinix assigned response attribute for Port available bandwidth in Mbps", + "format": "int64" }, "usedBandwidth": { "minimum": 0, "type": "integer", - "description": "Equinix assigned response attribute for Port used bandwidth in Mbps" + "description": "Equinix assigned response attribute for Port used bandwidth in Mbps", + "format": "int64" }, "location": { "$ref": "#/components/schemas/SimplifiedLocation" @@ -20114,6 +23917,9 @@ "type": "boolean", "description": "If LAG enabled" }, + "package": { + "$ref": "#/components/schemas/Package" + }, "settings": { "$ref": "#/components/schemas/PortSettings" }, @@ -20475,35 +24281,28 @@ "type": "string", "description": "Type of Access point", "enum": [ - "COLO" + "COLO", + "VD", + "NETWORK" ] }, "port": { "$ref": "#/components/schemas/SimplifiedMetadataEntity" }, "linkProtocol": { - "$ref": "#/components/schemas/LinkProtocol" - } - }, - "description": "List of criteria for selecting network access points with optimal efficiency, security, compatibility, and availability." - }, - "md5": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ASCII", - "HEX" - ] + "$ref": "#/components/schemas/SimplifiedLinkProtocol" }, - "id": { - "type": "integer" + "virtualDevice": { + "$ref": "#/components/schemas/SimplifiedVirtualDevice" }, - "password": { - "type": "string" + "interface": { + "$ref": "#/components/schemas/VirtualDeviceInterface" + }, + "network": { + "$ref": "#/components/schemas/SimplifiedTokenNetwork" } - } + }, + "description": "List of criteria for selecting network access points with optimal efficiency, security, compatibility, and availability." }, "LinkProtocolType": { "type": "string", @@ -20573,188 +24372,128 @@ "type": { "type": "string", "description": "Type of Port" - } - }, - "description": "Configuration details for port used at the access point." - }, - "LinkProtocol": { - "required": [ - "type" - ], - "type": "object", - "description": "Connection link protocol Configuration", - "discriminator": { - "propertyName": "type", - "mapping": { - "UNTAGGED": "#/components/schemas/LinkProtocolUntagged", - "DOT1Q": "#/components/schemas/LinkProtocolDot1q", - "QINQ": "#/components/schemas/LinkProtocolQinq", - "VXLAN": "#/components/schemas/LinkProtocolVxlan", - "EVPN_VXLAN": "#/components/schemas/LinkProtocolEvpnVxlan" - } - }, - "oneOf": [ - { - "$ref": "#/components/schemas/LinkProtocolUntagged" }, - { - "$ref": "#/components/schemas/LinkProtocolDot1q" - }, - { - "$ref": "#/components/schemas/LinkProtocolQinq" - }, - { - "$ref": "#/components/schemas/LinkProtocolVxlan" - }, - { - "$ref": "#/components/schemas/LinkProtocolEvpnVxlan" - } - ] - }, - "LinkProtocolUntagged": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/LinkProtocolType" + "cvpId": { + "type": "integer", + "description": "Customer virtual port Id" }, - "ipv4": { - "$ref": "#/components/schemas/LinkProtocolIpv4Ipv6Config" + "bandwidth": { + "type": "number", + "description": "Port Bandwidth" }, - "ipv6": { - "$ref": "#/components/schemas/LinkProtocolIpv4Ipv6Config" - } - }, - "description": "Connection link protocol configuration - UNTAGGED" - }, - "LinkProtocolDot1q": { - "required": [ - "vlanTag" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/LinkProtocolType" + "portName": { + "type": "string", + "description": "Port Name" }, - "tagProtocolId": { + "encapsulationProtocolType": { "type": "string", - "description": "Tag protocol identifier" + "description": "Port Encapsulation" }, - "vlanTag": { + "accountName": { "type": "string", - "description": "VLAN tag" + "description": "Account Name" }, - "vlanTagMin": { - "type": "integer", - "description": "VLAN tag Min value specified for DOT1Q connections" + "priority": { + "type": "string", + "description": "Port Priority" }, - "vlanTagMax": { - "type": "integer", - "description": "VLAN tag Max value specified for DOT1Q connections" + "location": { + "$ref": "#/components/schemas/SimplifiedLocation" } }, - "description": "Connection link protocol configuration - DOT1Q" + "description": "Configuration details for port used at the access point." }, - "LinkProtocolQinq": { - "required": [ - "innerTagProtocolId", - "outerTagProtocolId", - "vlanCTag", - "vlanSTag" - ], + "SimplifiedVirtualDevice": { "type": "object", "properties": { - "type": { - "$ref": "#/components/schemas/LinkProtocolType" - }, - "innerTagProtocolId": { - "type": "integer", - "description": "Inner tag protocol identifier" - }, - "outerTagProtocolId": { - "type": "integer", - "description": "Outer tag protocol identifier" - }, - "vlanCTag": { - "type": "integer", - "description": "Inner tag, i.e., C-VLAN tag" + "href": { + "type": "string", + "description": "url to entity", + "format": "uri" }, - "vlanSTag": { - "type": "integer", - "description": "Outer tag, i.e., S-VLAN tag" + "uuid": { + "type": "string", + "description": "Network Edge assigned Virtual Device Identifier", + "format": "uuid" }, - "vlanCTagMin": { - "type": "integer", - "description": "Outer tag Min value specified for QINQ connections" + "type": { + "type": "string", + "description": "Type of Virtual Device", + "enum": [ + "EDGE" + ] }, - "vlanCTagMax": { - "type": "integer", - "description": "Outer tag Max value specified for QINQ connections" + "name": { + "type": "string", + "description": "Customer-assigned Virtual Device name" }, - "subInterface": { - "type": "integer", - "description": "Subinterface identifier" + "cluster": { + "type": "string", + "description": "Virtual Device Cluster Information" } - }, - "description": "Connection link protocol configuration - QINQ" + } }, - "LinkProtocolVxlan": { - "required": [ - "vni" - ], + "VirtualDeviceInterface": { "type": "object", "properties": { "type": { - "$ref": "#/components/schemas/LinkProtocolType" + "type": "string", + "description": "Type of interface", + "enum": [ + "NETWORK" + ] }, - "vni": { - "maximum": 16777215, - "minimum": 4097, + "id": { "type": "integer", - "description": "Virtual Network Identifier" + "description": "Network Edge assigned identifier" + }, + "uuid": { + "type": "string", + "description": "Interface identifier", + "format": "uuid" } }, - "description": "Connection link protocol configuration - VXLAN" + "description": "Virtual Device Interface Information" }, - "LinkProtocolEvpnVxlan": { - "required": [ - "type5vni", - "vnid" - ], + "SimplifiedTokenNetwork": { "type": "object", "properties": { - "type": { - "$ref": "#/components/schemas/LinkProtocolType" + "href": { + "type": "string", + "description": "url to entity", + "format": "uri" }, - "vnid": { - "maximum": 40000, - "minimum": 20001, - "type": "integer", - "description": "Virtual Network Identifier" + "uuid": { + "type": "string", + "description": "Network Identifier", + "format": "uuid" }, - "type5vni": { - "type": "integer", - "description": "Type 5 VNI identifier" - } - }, - "description": "Connection link protocol configuration - EVPN_VXLAN" - }, - "LinkProtocolIpv4Ipv6Config": { - "type": "object", - "properties": { - "linkPrefix": { + "type": { "type": "string", - "description": "Link subnet prefix" + "description": "Type of Network", + "enum": [ + "EVPLAN", + "EPLAN", + "IPWAN" + ] }, - "localIfaceIp": { + "name": { "type": "string", - "description": "Prefix datatype when linkPrefix not specified" + "description": "Network Name" }, - "remoteIfaceIp": { + "scope": { "type": "string", - "description": "Equinix-side link interface address" + "description": "scope of Network", + "enum": [ + "LOCAL", + "REGIONAL", + "GLOBAL" + ] + }, + "location": { + "$ref": "#/components/schemas/SimplifiedLocation" } - }, - "description": "IPv4 or IPv6 specific configuration" + } }, "PriceError_additionalInfo": { "type": "object", @@ -20828,6 +24567,19 @@ }, "description": "Filters" }, + "ConnectionRouteTableEntry_connection": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "example": "81331c52-04c0-4656-a4a7-18c52669348f" + }, + "name": { + "type": "string", + "example": "connection_1" + } + } + }, "PortOrder_purchaseOrder": { "type": "object", "properties": { @@ -20852,6 +24604,16 @@ "format": "uuid" }, "selectionType": { + "type": "string", + "deprecated": true, + "enum": [ + "EXEMPTION", + "EXISTING", + "NEW", + "BLANKET" + ] + }, + "type": { "type": "string", "enum": [ "EXEMPTION", @@ -20899,19 +24661,6 @@ }, "description": "Port signature Type" }, - "RouteTableEntry_connection": { - "type": "object", - "properties": { - "uuid": { - "type": "string", - "example": "81331c52-04c0-4656-a4a7-18c52669348f" - }, - "name": { - "type": "string", - "example": "connection_1" - } - } - }, "VirtualConnectionPriceASide_accessPoint_port_settings": { "type": "object", "properties": { @@ -28215,8 +31964,17 @@ "value": [ { "op": "replace", - "path": "/aSide/accessPoint/virtualDevice/uuid", - "value": "5e7fd31d-f1e8-46fe-b6ad-6f5f2306cfd8" + "path": "/aSide/accessPoint", + "value": { + "virtualDevice": { + "type": "EDGE", + "uuid": "207667ba-3211-452c-b0a8-8b9046e122a5" + }, + "interface": { + "type": "CLOUD", + "id": 4 + } + } } ] }, @@ -28421,6 +32179,81 @@ } } }, + "ConnectionRoutesSearchByType": { + "value": { + "filter": { + "and": [ + { + "property": "/type", + "operator": "=", + "values": [ + "IPv4_BGP_ROUTE" + ] + } + ] + }, + "pagination": { + "offset": 0, + "limit": 20 + }, + "sort": [ + { + "direction": "DESC", + "property": "/changeLog/createdDateTime" + } + ] + } + }, + "ConnectionRoutesSearchByState": { + "value": { + "filter": { + "and": [ + { + "property": "/state", + "operator": "=", + "values": [ + "ACTIVE" + ] + } + ] + }, + "pagination": { + "offset": 0, + "limit": 20 + }, + "sort": [ + { + "direction": "DESC", + "property": "/changeLog/createdDateTime" + } + ] + } + }, + "ConnectionRoutesSearchByMed": { + "value": { + "filter": { + "and": [ + { + "property": "/med", + "operator": "=", + "values": [ + 200 + ] + } + ] + }, + "pagination": { + "offset": 0, + "limit": 20 + }, + "sort": [ + { + "direction": "DESC", + "property": "/changeLog/createdDateTime" + } + ] + } + }, "RoutingProtocolGetAll": { "value": { "pagination": { @@ -28455,6 +32288,7 @@ "outboundASPrependCount": 3, "inboundMED": 1000, "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UNKNOWN" } @@ -28590,6 +32424,7 @@ "outboundASPrependCount": 3, "inboundMED": 1000, "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UNKNOWN" } @@ -28859,6 +32694,7 @@ "outboundASPrependCount": 3, "inboundMED": 1000, "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UNKNOWN" } @@ -28951,6 +32787,7 @@ "outboundASPrependCount": 3, "inboundMED": 1000, "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29264,6 +33101,10 @@ "bgpIpv4": { "customerPeerIp": "10.1.1.2", "equinixPeerIp": "10.1.1.3", + "outboundASPrependCount": 3, + "inboundMED": 1000, + "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29272,6 +33113,10 @@ "bgpIpv6": { "customerPeerIp": "2001:db8:c59b::1", "equinixPeerIp": "2001:db8:c59b::1", + "outboundASPrependCount": 3, + "inboundMED": 1000, + "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29279,6 +33124,7 @@ }, "customerAsn": 0, "equinixAsn": 0, + "asOverrideEnabled": true, "bgpAuthKey": "string", "bfd": { "enabled": true, @@ -29312,6 +33158,10 @@ "bgpIpv4": { "customerPeerIp": "10.1.1.2", "equinixPeerIp": "10.1.1.3", + "outboundASPrependCount": 3, + "inboundMED": 1000, + "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29320,6 +33170,10 @@ "bgpIpv6": { "customerPeerIp": "2001:db8:c59b::1", "equinixPeerIp": "2001:db8:c59b::1", + "outboundASPrependCount": 3, + "inboundMED": 1000, + "outboundMED": 2000, + "routesMax": 40, "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-10-30T07:21:39Z" @@ -29328,6 +33182,7 @@ "customerAsn": 0, "equinixAsn": 0, "bgpAuthKey": "string", + "asOverrideEnabled": true, "bfd": { "enabled": true, "interval": "100" @@ -33139,8 +36994,6 @@ "expirationDateTime": "2021-03-18T06:43:49.980Z", "connection": { "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", "allowRemoteConnection": false, "bandwidthLimit": 50, "allowCustomBandwidth": false, @@ -33179,50 +37032,56 @@ "createdDateTime": "2021-03-18T06:43:49.980Z", "updatedBy": "843577", "updatedDateTime": "2021-03-18T06:44:14.206Z" + }, + "project": { + "projectId": "995072000433550" } } }, - "getServiceToken-CRH": { + "getServiceToken-VD": { "value": { - "href": "http://api.equinix.com/fabric/v4/serviceTokens/13ab7dc7-c18e-4f73-aa35-fc3a83966e79", + "href": "http://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1", "type": "VC_TOKEN", - "uuid": "13ab7dc7-c18e-4f73-aa35-fc3a83966e79", - "name": "Az_Aside_Dot1Q_Pri_SV", - "description": "Az_Aside_Dot1Q_Pri_SV_Description", + "name": "Zside_Virtual_Device_token", + "uuid": "ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "description": "Zside vd token", "state": "INACTIVE", - "expiry": 0, - "expirationDateTime": "2021-03-18T06:43:49.980Z", "connection": { "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", - "allowRemoteConnection": false, - "bandwidthLimit": 50, + "allowRemoteConnection": true, "allowCustomBandwidth": false, - "aSide": { + "supportedBandwidths": [ + 10, + 50, + 200 + ], + "zSide": { "accessPointSelectors": [ { - "type": "COLO", - "port": { - "href": "http://api.equinix.com/fabric/v4/ports/b840a1db-5758-758f-97e0-328a5c00a874", - "type": "XF_PORT", - "uuid": "b840a1db-5758-758f-97e0-328a5c00a874" + "type": "VD", + "virtualDevice": { + "name": "testVirtualDeviceName", + "type": "EDGE", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4" }, - "linkProtocol": { - "type": "QINQ", - "vlanCTag": 1399, - "vlanSTag": 1388 + "interface": { + "type": "NETWORK", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4", + "id": 45645 } } ] } }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", "notifications": [ { "type": "NOTIFICATION", "emails": [ - "abc@company.com", - "provider@company.com" + "abc@company.com" ] } ], @@ -33234,9 +37093,56 @@ "createdDateTime": "2021-03-18T06:43:49.980Z", "updatedBy": "843577", "updatedDateTime": "2021-03-18T06:44:14.206Z" + } + } + }, + "getServiceToken-Network": { + "value": { + "href": "https://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "type": "VC_TOKEN", + "name": "Zside_network_token", + "uuid": "ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "description": "Zside Network token", + "state": "INACTIVE", + "connection": { + "type": "EVPLAN_VC", + "allowRemoteConnection": true, + "allowCustomBandwidth": false, + "bandwidthLimit": 20000, + "zSide": { + "accessPointSelectors": [ + { + "type": "NETWORK", + "network": { + "href": "https://api.equinix.com/fabric/v4/networks/20d32a80-0d61-4333-bc03-707b591ae2f4", + "type": "EVPLAN", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4", + "scope": "REGIONAL" + } + } + ] + } }, "project": { - "projectId": "995072000433550" + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ], + "account": { + "orgId": 111437 + }, + "changeLog": { + "createdBy": "843577", + "createdDateTime": "2021-03-18T06:43:49.980Z", + "updatedBy": "843577", + "updatedDateTime": "2021-03-18T06:44:14.206Z" } } }, @@ -33319,10 +37225,92 @@ "value": { "pagination": { "offset": 0, - "limit": 1, - "total": 1 + "limit": 75, + "total": 2 }, "data": [ + { + "href": "https://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "type": "VC_TOKEN", + "name": "zside_network_token", + "uuid": "ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "description": "zside_Network_token", + "connection": { + "type": "EVPLAN_VC", + "allowRemoteConnection": true, + "allowCustomBandwidth": false, + "bandwidthLimit": 20000, + "zSide": { + "accessPointSelectors": [ + { + "type": "NETWORK", + "network": { + "href": "https://api.equinix.com/fabric/v4/networks/20d32a80-0d61-4333-bc03-707b591ae2f4", + "type": "EVPLAN", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4", + "scope": "REGIONAL" + } + } + ] + } + }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ] + }, + { + "href": "https://api.equinix.com/fabric/v4/serviceTokens/ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "type": "VC_TOKEN", + "name": "zside_vd_token", + "uuid": "ea40918e-9b39-4045-8be8-0beaa7eb5ce1", + "description": "zside vd token", + "connection": { + "type": "EVPL_VC", + "allowRemoteConnection": true, + "allowCustomBandwidth": false, + "supportedBandwidths": [ + 10, + 50, + 200 + ], + "zSide": { + "accessPointSelectors": [ + { + "type": "VD", + "virtualDevice": { + "type": "EDGE", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4" + }, + "interface": { + "type": "NETWORK", + "id": 45645 + } + } + ] + } + }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ] + }, { "href": "http://api.equinix.com/fabric/v4/serviceTokens/13ab7dc7-c18e-4f73-aa35-fc3a83966e79", "type": "VC_TOKEN", @@ -33331,10 +37319,11 @@ "description": "Az_Aside_Dot1Q_Pri_SV_Description", "state": "INACTIVE", "expirationDateTime": "2021-03-18T06:43:49.980Z", + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, "connection": { "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", "allowRemoteConnection": false, "bandwidthLimit": 50, "allowCustomBandwidth": false, @@ -33378,73 +37367,6 @@ ] } }, - "getServiceTokens-CRH": { - "value": { - "pagination": { - "offset": 0, - "limit": 75, - "total": 1 - }, - "data": [ - { - "href": "http://api.equinix.com/fabric/v4/serviceTokens/13ab7dc7-c18e-4f73-aa35-fc3a83966e79", - "type": "VC_TOKEN", - "uuid": "13ab7dc7-c18e-4f73-aa35-fc3a83966e79", - "name": "Az_Aside_Dot1Q_Pri_SV", - "description": "Az_Aside_Dot1Q_Pri_SV_Description", - "state": "INACTIVE", - "expiry": 0, - "expirationDateTime": "2021-03-18T06:43:49.980Z", - "connection": { - "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", - "allowRemoteConnection": false, - "bandwidthLimit": 50, - "allowCustomBandwidth": false, - "aSide": { - "accessPointSelectors": [ - { - "type": "COLO", - "port": { - "href": "http://api.equinix.com/fabric/v4/ports/b840a1db-5758-758f-97e0-328a5c00a874", - "type": "XF_PORT", - "uuid": "b840a1db-5758-758f-97e0-328a5c00a874" - }, - "linkProtocol": { - "type": "QINQ", - "vlanCTag": 1399, - "vlanSTag": 1388 - } - } - ] - } - }, - "notifications": [ - { - "type": "NOTIFICATION", - "emails": [ - "abc@company.com", - "provider@company.com" - ] - } - ], - "account": { - "orgId": 111437 - }, - "changeLog": { - "createdBy": "843577", - "createdDateTime": "2021-03-18T06:43:49.980Z", - "updatedBy": "843577", - "updatedDateTime": "2021-03-18T06:44:14.206Z" - } - } - ], - "project": { - "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" - } - } - }, "createServiceTokenWithQnQ": { "value": { "type": "VC_TOKEN", @@ -33762,6 +37684,90 @@ ] } }, + "createZsideServiceTokenWithVD": { + "value": { + "type": "VC_TOKEN", + "name": "Zside_VD_token", + "description": "zside vd token", + "connection": { + "type": "EVPL_VC", + "allowRemoteConnection": true, + "allowCustomBandwidth": false, + "supportedBandwidths": [ + 10, + 50, + 200, + 10000 + ], + "zSide": { + "accessPointSelectors": [ + { + "type": "VD", + "virtualDevice": { + "type": "EDGE", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4" + }, + "interface": { + "type": "NETWORK", + "id": 45645 + } + } + ] + } + }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ] + } + }, + "createZsideServiceTokenWithNetwork": { + "value": { + "type": "VC_TOKEN", + "name": "zside_Network_token", + "description": "Zside_Network_token", + "connection": { + "type": "EVPLAN_VC", + "allowRemoteConnection": true, + "supportedBandwidths": [ + 10, + 50, + 200 + ], + "zSide": { + "accessPointSelectors": [ + { + "type": "NETWORK", + "network": { + "type": "EVPLAN", + "uuid": "20d32a80-0d61-4333-bc03-707b591ae2f4" + } + } + ] + } + }, + "project": { + "projectId": "30ad25e2-53dc-11ed-bdc3-0242ac120002" + }, + "expirationDateTime": "2021-03-18T06:43:49.980Z", + "notifications": [ + { + "type": "NOTIFICATION", + "emails": [ + "abc@company.com" + ] + } + ] + } + }, "Resend_Service_Token": { "value": { "type": "RESEND_EMAIL_NOTIFICATION" @@ -33779,8 +37785,6 @@ "expirationDateTime": "2021-03-18T06:43:49.980Z", "connection": { "type": "EVPL_VC", - "href": "http://api.equinix.com/fabric/v4/connections/53dc2010-5006-46b6-9e91-995c47415d5b", - "uuid": "53dc2010-5006-46b6-9e91-995c47415d5b", "allowRemoteConnection": false, "bandwidthLimit": 50, "allowCustomBandwidth": false, @@ -34075,12 +38079,11 @@ "uuid": "e91484bb-4f65-4ab3-8f77-500dec2f855d", "name": "test-AT1-Dot1q-L-Secondary-108608", "state": "ACTIVE", - "cvpId": "108608", "bandwidth": 10000, "usedBandwidth": 0, "availableBandwidth": 20000, + "physicalPortSpeed": 10000, "redundancy": { - "group": "1", "priority": "SECONDARY" }, "location": { @@ -34102,8 +38105,9 @@ "tagProtocolId": 33024 }, "lagEnabled": true, - "lag": { - "enabled": true + "package": { + "code": "STANDARD", + "type": "MSP" }, "settings": { "buyout": false, @@ -34137,30 +38141,41 @@ "patchPanelPortA": "92", "patchPanelPortB": "24" }, + "operation": { + "operationalStatus": "UP" + }, "demarcationPoint": { "ibx": "AT1", "patchPanel": "PP:8118:1586", "patchPanelName": "PP:8118:1586", "patchPanelPortA": "92", "patchPanelPortB": "24" - }, - "operation": { - "operationalStatus": "UP" } } ], "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-06-14T17:21:25.586Z", - "connectionCount": 0 + "connectionCount": 0, + "evplVcCount": 0, + "fgVcCount": 0, + "accessVcCount": 0 }, "account": { - "accountNumber": "100179", + "accountNumber": 100179, "accountName": "L2", "globalCustId": "007700000090982RG8", - "orgId": "100179", + "orgId": 100179, "organizationName": "Cust_Org_100179" }, + "order": { + "purchaseOrder": { + "startDate": "2020-06-14T17:21:25.586Z", + "endDate": "2020-06-15T17:21:25.586Z", + "type": "NEW" + }, + "orderNumber": "1-222078525611" + }, "changeLog": { "createdDateTime": "2020-06-14T17:21:25.586Z" }, @@ -34181,8 +38196,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": false, "encapsulation": { @@ -34190,10 +38205,10 @@ "tagProtocolId": 33024 }, "project": { - "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" + "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931'" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34207,9 +38222,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34243,8 +38258,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": true, "encapsulation": { @@ -34255,7 +38270,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34269,9 +38284,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34305,8 +38320,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": true, "encapsulation": { @@ -34317,7 +38332,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34331,9 +38346,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34376,8 +38391,10 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", + "package": { + "code": "STANDARD" + }, "settings": { - "packageType": "STANDARD", "sharedPortType": false, "sharedPortProduct": null }, @@ -34400,9 +38417,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34478,7 +38495,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34497,9 +38514,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34524,8 +38541,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": true, "encapsulation": { @@ -34536,7 +38553,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34555,9 +38572,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34580,8 +38597,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": false, "encapsulation": { @@ -34592,15 +38609,15 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "order": { "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34640,8 +38657,10 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", + "package": { + "code": "STANDARD" + }, "settings": { - "packageType": "STANDARD", "sharedPortProduct": "NETWORK_EDGE" }, "redundancy": { @@ -34663,9 +38682,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34724,8 +38743,8 @@ "metroCode": "GV" }, "demarcationPointIbx": "GV1", - "settings": { - "packageType": "STANDARD" + "package": { + "code": "STANDARD" }, "lagEnabled": true, "encapsulation": { @@ -34736,7 +38755,7 @@ "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, "account": { - "accountNumber": "270848" + "accountNumber": 270848 }, "notifications": [ { @@ -34750,9 +38769,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -34787,9 +38806,11 @@ "type": "DOT1Q", "tagProtocolId": 33024 }, + "package": { + "code": "STANDARD" + }, "settings": { - "sharedPortType": "false,", - "packageType": "STANDARD" + "sharedPortType": false }, "project": { "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" @@ -35062,6 +39083,8 @@ "name": "L2-DEV-USER01-CX-10G-PRIMARY", "description": "Test Redundant port in Amsterdam", "physicalPortsSpeed": 10000, + "physicalPortsType": "1000BASE_LX", + "connectivitySourceType": "BMMR", "location": { "metroCode": "AM" }, @@ -35081,9 +39104,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35135,9 +39158,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35185,8 +39208,8 @@ "account": { "accountNumber": 270848 }, - "changelog": { - "createdBy": "907831", + "changeLog": { + "createdBy": 907831, "createdDateTime": "2023-06-02T22:25:52.206Z" }, "location": { @@ -35198,9 +39221,11 @@ "priority": "PRIMARY" }, "lagEnabled": false, + "package": { + "code": "STANDARD" + }, "settings": { - "sharedPortType": false, - "packageType": "STANDARD" + "sharedPortType": false }, "project": { "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" @@ -35234,8 +39259,8 @@ "account": { "accountNumber": 270848 }, - "changelog": { - "createdBy": "907831", + "changeLog": { + "createdBy": 907831, "createdDateTime": "2023-06-02T22:25:52.206Z" }, "location": { @@ -35250,9 +39275,11 @@ "project": { "projectId": "8f23b36f-db8f-44c8-a6e5-606e1b485931" }, + "package": { + "code": "STANDARD" + }, "settings": { - "sharedPortType": false, - "packageType": "STANDARD" + "sharedPortType": false }, "notifications": [ { @@ -35293,9 +39320,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35333,9 +39360,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35367,9 +39394,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35419,9 +39446,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35449,9 +39476,9 @@ "purchaseOrder": { "number": 156576, "amount": 10, - "startDate": "2018-06-11", - "endDate": "2018-07-11", - "selectionType": "NEW" + "startDate": "2018-06-11T22:25:52.206Z", + "endDate": "2018-07-11T22:25:52.206Z", + "type": "NEW" }, "signature": { "signatory": "DELEGATE", @@ -35532,10 +39559,12 @@ "uuid": "e91484bb-4f65-4ab3-8f77-500dec2f855d", "name": "test-AT1-Dot1q-L-Secondary-108608", "state": "ACTIVE", - "cvpId": "108608", "bandwidth": 10000, "usedBandwidth": 0, "availableBandwidth": 20000, + "physicalPortsSpeed": 10000, + "physicalPortsType": "1000BASE_LX", + "connectivitySourceType": "COLO", "redundancy": { "group": "1", "priority": "Secondary" @@ -35559,8 +39588,9 @@ "tagProtocolId": 33024 }, "lagEnabled": true, - "lag": { - "enabled": true + "package": { + "code": "STANDARD", + "type": "MSP" }, "settings": { "buyout": false, @@ -35585,9 +39615,6 @@ "patchPanelName": "PP:8118:1586", "patchPanelPortA": "92", "patchPanelPortB": "24" - }, - "operation": { - "operationalStatus": "UP" } }, { @@ -35600,22 +39627,22 @@ "patchPanel": "PP:8118:1586", "patchPanelPortA": "92", "patchPanelPortB": "24" - }, - "operation": { - "operationalStatus": "UP" } } ], "operation": { "operationalStatus": "UP", "opStatusChangedAt": "2021-06-14T17:21:25.586Z", - "connectionCount": 0 + "connectionCount": 0, + "evplVcCount": 0, + "fgVcCount": 0, + "accessVcCount": 0 }, "account": { - "accountNumber": "100179", + "accountNumber": 100179, "accountName": "L2", "globalCustId": "007700000090982RG8", - "orgId": "100179", + "orgId": 100179, "organizationName": "Cust_Org_100179" }, "changeLog": { @@ -35659,9 +39686,6 @@ "tagProtocolId": 33024 }, "lagEnabled": true, - "lag": { - "enabled": true - }, "settings": { "buyout": false, "placeVcOrderPermission": true, @@ -37331,6 +41355,84 @@ "type": "ROUTE_TABLE_ENTRY_UPDATE" } }, + "ReceivedRouteEntriesStatusUpdate": { + "value": { + "type": "RECEIVED_ROUTE_ENTRY_UPDATE" + } + }, + "AdvertisedRouteEntriesStatusUpdate": { + "value": { + "type": "ADVERTISED_ROUTE_ENTRY_UPDATE", + "connection": { + "uuid": "557400f8-d360-11e9-bb65-2a2ae2dbcce4" + } + } + }, + "CloudRouterReceivedRoutesActionResponse": { + "value": { + "type": "RECEIVED_ROUTE_ENTRY_UPDATE", + "uuid": "37c10edc-ba2e-4240-a850-8a48f9c47d01", + "state": "PENDING", + "connection": { + "uuid": "3066ab1d-af87-49d7-8a14-c9bdb57ac809" + }, + "changeLog": { + "createdDateTime": "2020-05-21T10:30:00Z" + } + } + }, + "CloudRouterAdvertisedRoutesActionResponse": { + "value": { + "type": "ADVERTISED_ROUTE_ENTRY_UPDATE", + "uuid": "37c10edc-ba2e-4240-a850-8a48f9c47d01", + "state": "PENDING", + "connection": { + "uuid": "3066ab1d-af87-49d7-8a14-c9bdb57ac809" + }, + "changeLog": { + "createdDateTime": "2020-05-21T10:30:00Z" + } + } + }, + "CloudRouterActionsSearchByType": { + "value": { + "filter": { + "and": [ + { + "property": "/type", + "operator": "=", + "values": [ + "ROUTE_TABLE_ENTRY_UPDATE" + ] + } + ] + }, + "pagination": { + "offset": 0, + "limit": 20 + }, + "sort": [ + { + "direction": "DESC", + "property": "/changeLog/createdDateTime" + } + ] + } + }, + "400_invalid_sorting": { + "value": [ + { + "errorCode": "EQ-3043015", + "errorMessage": "Invalid value for sorting direction.", + "correlationId": "cebc3d33-9037-4a2b-a7af-0ad65602cdec", + "additionalInfo": [ + { + "reason": "Only accept DESC and ASC for sorting direction." + } + ] + } + ] + }, "SearchFilterByNextHop": { "value": { "filter": { @@ -37457,20 +41559,6 @@ } } }, - "400_invalid_sorting": { - "value": [ - { - "errorCode": "EQ-3043015", - "errorMessage": "Invalid value for sorting direction.", - "correlationId": "cebc3d33-9037-4a2b-a7af-0ad65602cdec", - "additionalInfo": [ - { - "reason": "Only accept DESC and ASC for sorting direction." - } - ] - } - ] - }, "Request-direct-ipv4": { "value": { "filter": { @@ -39076,18 +43164,214 @@ "updatedDateTime": "2020-05-21T10:30:50Z" } }, + "ntpStandardService": { + "value": { + "type": "NTP", + "name": "EPT-NTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + } + } + }, + "ptpStandardService": { + "value": { + "type": "PTP", + "name": "EPT-PTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "PTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "purchaseOrderNumber": "1-129105284100" + } + } + }, + "ntpEnterpriseService": { + "value": { + "type": "NTP", + "name": "EPT-NTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + } + } + }, + "ptpEnterpriseService": { + "value": { + "type": "PTP", + "name": "EPT-PTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "PTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + } + } + }, + "ptpStandardWithAdvancedConfiguration": { + "value": { + "type": "PTP", + "name": "EPT-PTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "PTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + } + } + }, + "ptpEnterpriseWithAdvancedConfiguration": { + "value": { + "type": "PTP", + "name": "EPT-PTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "PTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + } + } + }, + "ntpEnterpriseWithAdvancedConfiguration": { + "value": { + "type": "NTP", + "name": "EPT-NTP-Service", + "connections": [ + { + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + } + ], + "package": { + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ] + } + }, "ntpStandardCreateResponse": { "value": { "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", - "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", - "name": "EPT-Single-Service", "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", "state": "PROVISIONING", "connections": [ { - "href": "https://api.equinix.com/fabric/v4/connections/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", "type": "EVPL_VC", - "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } } ], "package": { @@ -39102,23 +43386,210 @@ }, "account": { "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } } }, - "400-Mandatory-Name": { - "value": [ - { - "errorCode": "EQ-4800011", - "errorMessage": "Validation Error", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515", - "additionalInfo": [ - { - "property": "/package/protocol", - "reason": "Mandatory field is missing" + "ntpEnterpriseCreateResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } } - ] + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ], + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } + }, + "ptpStandardCreateResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "PTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-PTP-Service", + "state": "PROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_STANDARD", + "code": "PTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } + }, + "ptpEnterpriseCreateResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "PTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-PTP-Service", + "state": "PROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_ENTERPRISE", + "code": "PTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } }, "400-Invalid-Name": { "value": [ @@ -39129,7 +43600,7 @@ "additionalInfo": [ { "property": "/name", - "reason": "Invalid name" + "reason": "Invalid name provided" } ] } @@ -39481,66 +43952,607 @@ "errorMessage": "Invalid GrantTime range - Allowed range is 30 to 7200", "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" } - ] + ] + }, + "400-Invalid-Type": { + "value": [ + { + "errorCode": "EQ-4800010", + "errorMessage": "Invalid Type - Allowed values are ASCII, HEX", + "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + } + ] + }, + "400-Invalid-Id": { + "value": [ + { + "errorCode": "EQ-4800010", + "errorMessage": "Invalid Id - Only Integers are allowed", + "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + } + ] + }, + "400-Invalid-Password": { + "value": [ + { + "errorCode": "EQ-4800010", + "errorMessage": "Invalid Password", + "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + } + ] + }, + "400-Validate-Password": { + "value": [ + { + "errorCode": "EQ-4800114", + "errorMessage": "Only HEX allowed, chars value length should between 10 - 40", + "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + } + ] + }, + "ntpStandardResponseASidePort": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } + }, + "ntpStandardResponseASideVirtualDevice": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "VD", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } + }, + "ntpStandardResponseASideCloudRouter": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "IP_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "CLOUD_ROUTER", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } + } }, - "400-Invalid-Type": { - "value": [ - { - "errorCode": "EQ-4800010", - "errorMessage": "Invalid Type - Allowed values are ASCII, HEX", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + "ntpEnterpriseWOMD5ResponseASidePort": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "400-Invalid-Id": { - "value": [ - { - "errorCode": "EQ-4800010", - "errorMessage": "Invalid Id - Only Integers are allowed", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + "ntpEnterpriseResponseASidePort": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ], + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "400-Invalid-Password": { - "value": [ - { - "errorCode": "EQ-4800010", - "errorMessage": "Invalid Password", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + "ntpEnterpriseResponseASideVirtualDevice": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "VD", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ], + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "400-Validate-Password": { - "value": [ - { - "errorCode": "EQ-4800114", - "errorMessage": "Only HEX allowed, chars value length should between 10 - 40", - "correlationId": "c82ff3bc-de07-47e5-b3ec-53a009d01515" + "ntpEnterpriseResponseASideCloudRouter": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "IP_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "CLOUD_ROUTER", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", + "code": "NTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ], + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "editName": { - "value": [ - { - "op": "replace", - "path": "/name", - "value": "EPT-Single-Service" + "ptpStandardResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "PTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-PTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_STANDARD", + "code": "PTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "editPackageCode": { - "value": [ - { - "op": "replace", - "path": "/package/code", - "value": "NTP_ENTERPRISE" + "ptpEnterpriseResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "PTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-PTP-Service", + "state": "PROVISIONED", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_ENTERPRISE", + "code": "PTP_ENTERPRISE" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + }, + "order": { + "orderNumber": "1-129105284100" + }, + "account": { + "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } - ] + } }, - "ntpStandard": { + "configureStandardService": { "value": { - "name": "EPT-Single-Service", "type": "NTP", + "name": "EPT-Standard-Service", "connections": [ { "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" @@ -39557,37 +44569,49 @@ } } }, - "ptpStandard": { + "configureNtpEnterpriseAdvancedConfig": { "value": { - "name": "EPT-Single-Service", - "type": "PTP", + "type": "NTP", + "name": "EPT-NTP-Service", "connections": [ { "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" } ], "package": { - "code": "PTP_STANDARD" + "code": "NTP_ENTERPRISE" }, "ipv4": { "primary": "192.168.0.2", "secondary": "192.168.0.3", "networkMask": "255.255.255.255", "defaultGateway": "192.167.0.1" - } + }, + "ntpAdvancedConfiguration": [ + { + "type": "ASCII", + "keyNumber": 65534, + "key": "plain_printable_key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1a1" + } + ] } }, - "ptpEnterpriseWithAdvanceConfiguration": { + "configurePtpWithAdvancedConfig": { "value": { - "name": "EPT-Single-Service", "type": "PTP", + "name": "EPT-PTP-Service", "connections": [ { "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" } ], "package": { - "code": "PTP_ENTERPRISE" + "code": "PTP_STANDARD" }, "ipv4": { "primary": "192.168.0.2", @@ -39595,30 +44619,112 @@ "networkMask": "255.255.255.255", "defaultGateway": "192.167.0.1" }, - "advanceConfiguration": { - "ptp": { - "tailScale": true, - "domain": 10, - "priority1": 5, - "priority2": 7, - "logAnnounceInterval": 0, - "logSyncInterval": 0, - "logDelayReqInterval": 0 + "ptpAdvancedConfiguration": { + "timeScale": true, + "domain": 127, + "priority1": 0, + "priority2": 1, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + } + } + }, + "ntpStandardConfigureResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "PROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "account": { + "accountNumber": 123456 + }, + "order": { + "orderNumber": "1-129105284100" + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } } }, - "ntpEnterpriseWithAdvanceConfiguration": { + "ntpStandardDeletingResponse": { "value": { - "name": "EPT-Single-Service", + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "DEPROVISIONING", "connections": [ { - "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } } ], "package": { - "code": "NTP_ENTERPRISE" + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" }, "ipv4": { "primary": "192.168.0.2", @@ -39626,15 +44732,148 @@ "networkMask": "255.255.255.255", "defaultGateway": "192.167.0.1" }, - "advanceConfiguration": { - "ntp": [ + "account": { + "accountNumber": 123456 + }, + "order": { + "orderNumber": "1-216720438646" + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z", + "deletedByEmail": "abc@xyz.com", + "deletedDateTime": "2024-08-24T06:52:46Z" + } + } + }, + "updateName": { + "value": [ + { + "op": "replace", + "path": "/name", + "value": "Updated-Service-Name" + } + ] + }, + "updatePackageCode": { + "value": [ + { + "op": "replace", + "path": "/package/code", + "value": "NTP_ENTERPRISE" + } + ] + }, + "updateNetworkInformation": { + "value": [ + { + "op": "replace", + "path": "/ipv4", + "value": { + "primary": "192.168.254.241", + "secondary": "192.168.254.242", + "networkMask": "255.255.255.240", + "defaultGateway": "192.168.254.254" + } + } + ] + }, + "updatePtpAdvancedConfiguration": { + "value": [ + { + "op": "replace", + "path": "/ptpAdvancedConfiguration", + "value": { + "timeScale": "PTP", + "domain": 20, + "priority1": 20, + "priority2": 20, + "logAnnounceInterval": 1, + "logSyncInterval": -4, + "logDelayReqInterval": -4, + "transportMode": "UNICAST", + "grantTime": 300 + } + } + ] + }, + "updateNtpAdvancedConfiguration": { + "value": [ + { + "op": "replace", + "path": "/ntpAdvancedConfiguration", + "value": [ { "type": "ASCII", - "id": 12345, - "password": "MTIzNDU2Nzg5MA" + "keyNumber": 65534, + "key": "plain-text-key" + }, + { + "type": "HEX", + "keyNumber": 65535, + "key": "a1a1a1a1a1a1" } ] } + ] + }, + "ntpStandardReprovisionResponse": { + "value": { + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", + "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", + "name": "EPT-NTP-Service", + "state": "REPROVISIONING", + "connections": [ + { + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } + } + ], + "package": { + "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", + "code": "NTP_STANDARD" + }, + "ipv4": { + "primary": "192.168.0.2", + "secondary": "192.168.0.3", + "networkMask": "255.255.255.255", + "defaultGateway": "192.167.0.1" + }, + "account": { + "accountNumber": 123456 + }, + "order": { + "orderNumber": "1-129105284100" + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" + } } }, "SearchTimeServicesFilterByStatus": { @@ -39677,7 +44916,7 @@ "property": "/name", "operator": "=", "values": [ - "test-time-service" + "test-service" ] }, { @@ -39752,15 +44991,35 @@ }, "data": [ { - "href": "https://api.equinix.com/fabric/v4/routers/201b7346-a9eb-42fe-ae7a-08148c71928d", + "href": "https://api.equinix.com/fabric/v4/timeServices/a8ba52de-faae-43b5-b0b1-6904d37ee011", + "type": "NTP", "uuid": "a8ba52de-faae-43b5-b0b1-6904d37ee011", "name": "EPT-NTP-STD-Service", - "type": "NTP", "state": "PROVISIONING", "connections": [ { - "href": "https://api.equinix.com/fabric/v4/connections/a8ba52de-faae-43b5-b0b1-6904d37ee011", - "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0" + "href": "https://api.equinix.com/fabric/v4/connections/06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "type": "EVPL_VC", + "uuid": "06dbb0e3-e55d-4090-8aff-fc5654abaad0", + "aSide": { + "accessPoint": { + "type": "COLO", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY", + "ibx": "NY1" + } + } + }, + "zSide": { + "accessPoint": { + "type": "SP", + "location": { + "metroHref": "https://api.equinix.com/fabric/v4/metros/NY", + "metroCode": "NY" + } + } + } } ], "package": { @@ -39775,6 +45034,12 @@ }, "account": { "accountNumber": 123456 + }, + "changeLog": { + "createdByEmail": "abc@xyz.com", + "createdDateTime": "2024-08-24T06:50:46Z", + "updatedByEmail": "abc@xyz.com", + "updatedDateTime": "2024-08-24T06:51:46Z" } } ] @@ -39825,16 +45090,16 @@ "data": [ { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", - "code": "NTP_STANDARD", "type": "TIME_SERVICE_PACKAGE", + "code": "NTP_STANDARD", "bandwidth": 1, - "clientsPerSecondMax": 2000, - "accuracyUnit": "microseconds", + "clientsPerSecondMax": 1000, + "accuracySlaUnit": "microseconds", "accuracySla": -1, - "accuracyAvgMin": 1, - "accuracyAvgMax": 100, - "redundancySupported": true, - "multiSubnetSupported": true, + "accuracySlaMin": 1, + "accuracySlaMax": 100, + "redundancySupported": false, + "multiSubnetSupported": false, "changeLog": { "createdDateTime": "2023-05-16T07:50:49.749Z", "updatedDateTime": "2023-05-17T07:50:49.749Z" @@ -39842,15 +45107,15 @@ }, { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_ENTERPRISE", - "code": "NTP_ENTERPRISE", "type": "TIME_SERVICE_PACKAGE", + "code": "NTP_ENTERPRISE", "bandwidth": 5, - "clientsPerSecondMax": 1000, - "accuracyUnit": "microseconds", + "clientsPerSecondMax": 2000, + "accuracySlaUnit": "microseconds", "accuracySla": -1, - "accuracyAvgMin": 1, - "accuracyAvgMax": 100, - "redundancySupported": true, + "accuracySlaMin": 1, + "accuracySlaMax": 100, + "redundancySupported": false, "multiSubnetSupported": true, "changeLog": { "createdDateTime": "2023-05-16T07:50:49.749Z", @@ -39859,15 +45124,15 @@ }, { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_STANDARD", - "code": "PTP_STANDARD", "type": "TIME_SERVICE_PACKAGE", + "code": "PTP_STANDARD", "bandwidth": 5, - "clientsPerSecondMax": 100, - "accuracyUnit": "microseconds", + "clientsPerSecondMax": 20, + "accuracySlaUnit": "microseconds", "accuracySla": 50, - "accuracyAvgMin": 1, - "accuracyAvgMax": 10, - "redundancySupported": true, + "accuracySlaMin": 1, + "accuracySlaMax": 10, + "redundancySupported": false, "multiSubnetSupported": true, "changeLog": { "createdDateTime": "2023-05-16T07:50:49.749Z", @@ -39876,15 +45141,15 @@ }, { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/PTP_ENTERPRISE", - "code": "PTP_ENTERPRISE", "type": "TIME_SERVICE_PACKAGE", + "code": "PTP_ENTERPRISE", "bandwidth": 10, - "clientsPerSecondMax": 20, - "accuracyUnit": "microseconds", + "clientsPerSecondMax": 100, + "accuracySlaUnit": "microseconds", "accuracySla": 50, - "accuracyAvgMin": 1, - "accuracyAvgMax": 10, - "redundancySupported": true, + "accuracySlaMin": 1, + "accuracySlaMax": 10, + "redundancySupported": false, "multiSubnetSupported": true, "changeLog": { "createdDateTime": "2023-05-16T07:50:49.749Z", @@ -39897,14 +45162,14 @@ "servicePackageResponse": { "value": { "href": "https://api.equinix.com/fabric/v4/timeServicePackages/NTP_STANDARD", - "code": "NTP_STANDARD", "type": "TIME_SERVICE_PACKAGE", + "code": "NTP_STANDARD", "bandwidth": 10, "clientsPerSecondMax": 100, - "accuracyUnit": "microseconds", + "accuracySlaUnit": "microseconds", "accuracySla": 50, - "accuracyAvgMin": 1, - "accuracyAvgMax": 10, + "accuracySlaMin": 1, + "accuracySlaMax": 10, "redundancySupported": true, "multiSubnetSupported": true, "changeLog": { @@ -39921,7 +45186,7 @@ "marketplace": "AWS", "offerType": "PRIVATE_OFFER", "isAutoRenew": false, - "offerId": "offer id", + "offerId": "offer-wqquayy2jy25o", "trial": { "enabled": true, "expiryDateTime": "2020-05-21T10:30:00Z" @@ -39929,9 +45194,9 @@ "entitlements": [ { "uuid": "a15b6b20-b765-4bf7-a661-a3e9372d5435", - "name": "FCR Standard", "quantityEntitled": 1, "quantityConsumed": 0, + "quantityAvailable": 1, "asset": { "type": "XF_ROUTER", "package": { @@ -39959,36 +45224,87 @@ } } }, - "StreamResponseExample": { + "stream-get-all-example": { "value": { - "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", - "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", - "type": "STREAM_SUBSCRIPTION", + "pagination": { + "offset": 0, + "limit": 20, + "total": 1 + }, + "data": [ + { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "name": "stream 1", + "description": "stream dec 1", + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "enabled": true, + "state": "PROVISIONED", + "assetsCount": 1, + "streamSubscriptionsCount": 2, + "changelog": { + "createdDateTime": "2024-05-06T16:21:18.545214Z" + } + } + ] + } + }, + "StreamPostRequestExample": { + "value": { + "type": "TELEMETRY_STREAM", "name": "splunk1", - "description": "subscription 1", + "description": "subscription-1", "enabled": true, - "state": "PROVISIONED", "project": { - "projectId": 123456 + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + } + } + }, + "StreamResponseExample": { + "value": { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "name": "stream1", + "description": "stream 1", + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" }, + "enabled": true, + "state": "PROVISIONED", + "assetsCount": 1, + "streamSubscriptionsCount": 2, "changelog": { "createdDateTime": "2024-05-06T16:21:18.545214Z" } } }, - "StreamPostRequestExample": { + "StreamPutRequestExample": { "value": { - "type": "STREAM_SUBSCRIPTION", "name": "splunk1", - "description": "subscription 1" + "description": "subscription 1", + "enabled": true } }, - "StreamPutRequestExample": { + "StreamDeleteRequestExample": { "value": { - "name": "splunk1", - "description": "subscription 1", - "stream": { - "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "name": "stream1", + "description": "stream 1", + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "enabled": true, + "state": "DEPROVISIONING", + "assetsCount": 1, + "streamSubscriptionsCount": 2, + "changelog": { + "createdDateTime": "2024-05-06T16:21:18.545214Z" } } }, @@ -40012,7 +45328,7 @@ "sort": [ { "direction": "DESC", - "property": "/changeLog/createdDateTime" + "property": "/uuid" } ] } @@ -40026,44 +45342,44 @@ }, "data": [ { - "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", "href": "https://api.equinix.com/fabric/v4/ports/e684aa26-8276-48b7-bb42-a6d9def0a419", - "metricsEnabled": true, + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "metricsEnabled": false, "attachmentStatus": "ATTACHED" } ] } }, - "StreamRouterAssetResponseExample": { + "StreamConnectionAssetResponseExample": { "value": { + "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/connections/d684aa26-8276-48b7-bb42-a6d9def0a418", "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", - "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/routers/d684aa26-8276-48b7-bb42-a6d9def0a418", - "metricsEnabled": true, + "metricsEnabled": false, "attachmentStatus": "ATTACHED" } }, "StreamAssetPutRequestExample": { "value": { - "metricsEnabled": true + "metricsEnabled": false } }, - "StreamConnectionAssetResponseExample": { + "StreamRouterAssetAttachResponseExample": { "value": { + "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/routers/d684aa26-8276-48b7-bb42-a6d9def0a418", "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", - "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/connections/d684aa26-8276-48b7-bb42-a6d9def0a418", - "metricsEnabled": true, - "attachmentStatus": "ATTACHED" + "metricsEnabled": false, + "attachmentStatus": "ATTACHING" } }, - "StreamPortAssetResponseExample": { + "StreamRouterAssetDetachResponseExample": { "value": { + "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/routers/d684aa26-8276-48b7-bb42-a6d9def0a418", "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", - "href": "https://api.equinix.com/fabric/v4/stream/e684aa26-8276-48b7-bb42-a6d9def0a419/ports/d684aa26-8276-48b7-bb42-a6d9def0a418", - "metricsEnabled": true, - "attachmentStatus": "ATTACHED" + "metricsEnabled": false, + "attachmentStatus": "DETACHING" } }, - "stream-subscription-get-all-example": { + "stream-get-all-subscription-example": { "value": { "pagination": { "offset": 0, @@ -40072,30 +45388,52 @@ }, "data": [ { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418/streamSubscriptions", "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "STREAM_SUBSCRIPTION" + } + ] + } + }, + "stream-subscription-get-all-example": { + "value": { + "pagination": { + "offset": 0, + "limit": 20, + "total": 1 + }, + "data": [ + { "href": "https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", "type": "STREAM_SUBSCRIPTION", "name": "splunk", "description": "subscription 1", - "enabled": true, + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, "state": "PROVISIONED", + "enabled": true, + "stream": { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418" + }, "filters": { "and": [ { - "path": "subject", + "property": "/subject", "operator": "LIKE", "values": [ "%36276e58-b5a1-4864-ab5e-be10dff9eac1%" - ], - "or": [] + ] }, { - "path": "equinixproject", + "property": "/equinixproject", "operator": "IN", "values": [ "197607000886247" - ], - "or": [] + ] } ] }, @@ -40113,27 +45451,26 @@ ] } }, - "StreamSubscriptionPostRequestExample": { + "StreamSubscriptionPostRequestExampleSplunk": { "value": { "type": "STREAM_SUBSCRIPTION", "name": "splunk1", - "description": "subscription 1", + "description": "subscription-1", "enabled": true, "stream": { "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" }, "project": { - "projectId": 123456 + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" }, "filters": { "and": [ { - "path": "type", + "property": "/type", "operator": "LIKE", "values": [ - "%com.equinix.event.fabric.connection%" - ], - "or": [] + "%com.equinix.fabric.connection%" + ] } ] }, @@ -40144,34 +45481,130 @@ "type": "ACCESS_TOKEN", "accessToken": "my-access-token" }, - "batchEnabled": false, - "batchSizeMax": 50, - "batchWaitTimeMax": 5 + "settings": { + "source": "Equinix", + "eventIndex": "idx-hec-event", + "metricIndex": "idx-hec-metric" + } + } + } + }, + "StreamSubscriptionPostRequestExampleSlack": { + "value": { + "type": "STREAM_SUBSCRIPTION", + "name": "slack1", + "description": "subscription-1", + "enabled": true, + "stream": { + "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" + }, + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "sink": { + "uri": "https://xxxxxx", + "type": "SLACK" + } + } + }, + "StreamSubscriptionPostRequestExamplePagerduty": { + "value": { + "type": "STREAM_SUBSCRIPTION", + "name": "pagerduty", + "description": "subscription-1", + "enabled": true, + "stream": { + "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" + }, + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "filters": { + "and": [ + { + "property": "/type", + "operator": "LIKE", + "values": [ + "%com.equinix.fabric.connection%" + ] + } + ] + }, + "sink": { + "uri": "https://xxxxxx", + "type": "PAGERDUTY", + "credential": { + "type": "INTEGRATION_KEY", + "integrationKey": "my-integration-key" + }, + "settings": { + "source": "Equinix" + } + } + } + }, + "StreamSubscriptionPostRequestExampleDatadog": { + "value": { + "type": "STREAM_SUBSCRIPTION", + "name": "datadog", + "description": "subscription-1", + "enabled": true, + "stream": { + "uuid": "36276e58-b5a1-4864-ab5e-be10dff9eac1" + }, + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "filters": { + "and": [ + { + "property": "/type", + "operator": "LIKE", + "values": [ + "%com.equinix.fabric.connection%" + ] + } + ] + }, + "sink": { + "uri": "https://xx.datadoghq.com", + "type": "DATADOG", + "credential": { + "type": "API_KEY", + "apiKey": "my-api-key" + }, + "settings": { + "source": "Equinix", + "applicationKey": "my-application-key" + } } } }, "StreamSubscriptionResponseExample": { "value": { - "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", "href": "https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418", - "type": "TELEMETRY_STREAM", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "STREAM_SUBSCRIPTION", "name": "stream 1", "description": "stream dec 1", "project": { - "projectId": 1234546 + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" }, "state": "PROVISIONED", - "assetCount": 1, - "streamSubscriptionCount": 2, + "enabled": true, + "stream": { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418" + }, "filters": { "and": [ { - "path": "type", + "property": "/type", "operator": "LIKE", "values": [ - "%com.equinix.event.fabric.connection%" - ], - "or": [] + "%com.equinix.fabric.connection%" + ] } ] }, @@ -40182,6 +45615,11 @@ "type": "ACCESS_TOKEN", "accessToken": "my-access-token" }, + "settings": { + "source": "Equinix", + "eventIndex": "idx-hec-event", + "metricIndex": "idx-hec-metric" + }, "batchEnabled": false, "batchSizeMax": 50, "batchWaitTimeMax": 5 @@ -40202,12 +45640,57 @@ "filters": { "and": [ { - "path": "type", + "property": "/type", "operator": "LIKE", "values": [ "%equinix.event.fabric.connection%" - ], - "or": [] + ] + } + ] + }, + "sink": { + "uri": "https://xxxxxx", + "type": "SPLUNK_HEC", + "credential": { + "type": "ACCESS_TOKEN", + "accessToken": "my-access-token" + }, + "settings": { + "source": "Equinix", + "eventIndex": "idx-hec-event", + "metricIndex": "idx-hec-metric" + }, + "batchEnabled": false, + "batchSizeMax": 50, + "batchWaitTimeMax": 5 + } + } + }, + "StreamSubscriptionDeleteResponseExample": { + "value": { + "href": "https://api.equinix.com/fabric/v4/streamSubscriptions/d684aa26-8276-48b7-bb42-a6d9def0a418", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "STREAM_SUBSCRIPTION", + "name": "stream 1", + "description": "stream dec 1", + "project": { + "projectId": "dadd3ab6-c0af-430c-8216-43d44f08c1c5" + }, + "state": "DEPROVISIONING", + "enabled": true, + "stream": { + "href": "https://api.equinix.com/fabric/v4/streams/d684aa26-8276-48b7-bb42-a6d9def0a418", + "type": "TELEMETRY_STREAM", + "uuid": "d684aa26-8276-48b7-bb42-a6d9def0a418" + }, + "filters": { + "and": [ + { + "property": "/type", + "operator": "LIKE", + "values": [ + "%com.equinix.fabric.connection%" + ] } ] }, @@ -40218,9 +45701,17 @@ "type": "ACCESS_TOKEN", "accessToken": "my-access-token" }, + "settings": { + "source": "Equinix", + "eventIndex": "idx-hec-event", + "metricIndex": "idx-hec-metric" + }, "batchEnabled": false, "batchSizeMax": 50, "batchWaitTimeMax": 5 + }, + "changelog": { + "createdDateTime": "2024-05-06T16:21:18.545214Z" } } }