Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
  • Loading branch information
tutkat committed Sep 12, 2024
1 parent 9f72d44 commit db7e81b
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 52 deletions.
1 change: 0 additions & 1 deletion equinix-openapi-fabric/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32586,7 +32586,6 @@ components:
- encapsulation
- location
- settings
- type
type: object
PhysicalPort:
description: Physical Port specification
Expand Down
84 changes: 42 additions & 42 deletions equinix-openapi-fabric/docs/Port.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,48 +6,48 @@ Port specification

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**type** | **PortType** | | |
|**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] |
|**physicalPortsSpeed** | **Integer** | Physical Ports Speed in Mbps | [optional] |
|**connectionsCount** | **Integer** | Equinix assigned response attribute for Connection count | [optional] |
|**physicalPortsType** | [**PhysicalPortsTypeEnum**](#PhysicalPortsTypeEnum) | Physical Ports Type | [optional] |
|**physicalPortsCount** | **Integer** | | [optional] |
|**connectivitySourceType** | [**ConnectivitySourceTypeEnum**](#ConnectivitySourceTypeEnum) | Port connectivity type | [optional] |
|**bmmrType** | [**BmmrTypeEnum**](#BmmrTypeEnum) | | [optional] |
|**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] |
|**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] |
|**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] |
| Name | Type | Description | Notes |
|----------------------------|---------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|-----------------------|
| **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] |
| **physicalPortsSpeed** | **Integer** | Physical Ports Speed in Mbps | [optional] |
| **connectionsCount** | **Integer** | Equinix assigned response attribute for Connection count | [optional] |
| **physicalPortsType** | [**PhysicalPortsTypeEnum**](#PhysicalPortsTypeEnum) | Physical Ports Type | [optional] |
| **physicalPortsCount** | **Integer** | | [optional] |
| **connectivitySourceType** | [**ConnectivitySourceTypeEnum**](#ConnectivitySourceTypeEnum) | Port connectivity type | [optional] |
| **bmmrType** | [**BmmrTypeEnum**](#BmmrTypeEnum) | | [optional] |
| **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] |
| **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] |
| **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] |



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private static String getDiscriminatorValue(JsonElement readElement, String disc
* Returns the Java class that implements the OpenAPI schema for the specified discriminator value.
*
* @param classByDiscriminatorValue The map of discriminator values to Java classes.
* @param discriminatorValue The value of the OpenAPI discriminator in the input data.
* @param discriminatorValue The value of the OpenAPI discriminator in the input data.
* @return The Java class that implements the OpenAPI schema
*/
private static Class getClassByDiscriminator(Map classByDiscriminatorValue, String discriminatorValue) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ public Port type(PortType type) {
* Get type
* @return type
**/
@javax.annotation.Nonnull
@javax.annotation.Nullable

public PortType getType() {
return type;
Expand Down Expand Up @@ -1556,7 +1556,6 @@ private String toIndentedString(Object o) {

// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet<String>();
openapiRequiredFields.add("type");
openapiRequiredFields.add("account");
openapiRequiredFields.add("location");
openapiRequiredFields.add("encapsulation");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/spec/oas3.fabric.fetched.json b/spec/oas3.fabric.fetched.json
index 36eeef9..2f694fe 100644
index 36eeef9..192026c 100644
--- a/spec/oas3.fabric.fetched.json
+++ b/spec/oas3.fabric.fetched.json
@@ -14537,11 +14537,8 @@
@@ -14537,13 +14537,9 @@
"Port": {
"required": [
"account",
Expand All @@ -11,6 +11,9 @@ index 36eeef9..2f694fe 100644
"location",
- "physicalPortsSpeed",
- "physicalPortsType",
"settings",
"type"
- "settings",
- "type"
+ "settings"
],
"type": "object",
"properties": {
3 changes: 1 addition & 2 deletions spec/oas3.fabric.patched.json
Original file line number Diff line number Diff line change
Expand Up @@ -14537,8 +14537,7 @@
"account",
"encapsulation",
"location",
"settings",
"type"
"settings"
],
"type": "object",
"properties": {
Expand Down

0 comments on commit db7e81b

Please sign in to comment.