Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add patch 09 & 10 #63

Merged
merged 2 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions equinix-openapi-metal/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ docs/InterconnectionCreateInput.md
docs/InterconnectionList.md
docs/InterconnectionMetro.md
docs/InterconnectionPort.md
docs/InterconnectionPortCore.md
docs/InterconnectionPortList.md
docs/InterconnectionUpdateInput.md
docs/InterconnectionsApi.md
Expand Down Expand Up @@ -426,6 +427,7 @@ src/main/java/com/equinix/openapi/metal/v1/model/InterconnectionCreateInput.java
src/main/java/com/equinix/openapi/metal/v1/model/InterconnectionList.java
src/main/java/com/equinix/openapi/metal/v1/model/InterconnectionMetro.java
src/main/java/com/equinix/openapi/metal/v1/model/InterconnectionPort.java
src/main/java/com/equinix/openapi/metal/v1/model/InterconnectionPortCore.java
src/main/java/com/equinix/openapi/metal/v1/model/InterconnectionPortList.java
src/main/java/com/equinix/openapi/metal/v1/model/InterconnectionUpdateInput.java
src/main/java/com/equinix/openapi/metal/v1/model/Invitation.java
Expand Down Expand Up @@ -689,6 +691,7 @@ src/test/java/com/equinix/openapi/metal/v1/model/InstancesBatchCreateInputTest.j
src/test/java/com/equinix/openapi/metal/v1/model/InterconnectionCreateInputTest.java
src/test/java/com/equinix/openapi/metal/v1/model/InterconnectionListTest.java
src/test/java/com/equinix/openapi/metal/v1/model/InterconnectionMetroTest.java
src/test/java/com/equinix/openapi/metal/v1/model/InterconnectionPortCoreTest.java
src/test/java/com/equinix/openapi/metal/v1/model/InterconnectionPortListTest.java
src/test/java/com/equinix/openapi/metal/v1/model/InterconnectionPortTest.java
src/test/java/com/equinix/openapi/metal/v1/model/InterconnectionTest.java
Expand Down
1 change: 1 addition & 0 deletions equinix-openapi-metal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ Class | Method | HTTP request | Description
- [InterconnectionList](docs/InterconnectionList.md)
- [InterconnectionMetro](docs/InterconnectionMetro.md)
- [InterconnectionPort](docs/InterconnectionPort.md)
- [InterconnectionPortCore](docs/InterconnectionPortCore.md)
- [InterconnectionPortList](docs/InterconnectionPortList.md)
- [InterconnectionUpdateInput](docs/InterconnectionUpdateInput.md)
- [Invitation](docs/Invitation.md)
Expand Down
216 changes: 50 additions & 166 deletions equinix-openapi-metal/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15837,6 +15837,7 @@ components:
$ref: '#/components/schemas/Meta'
type: object
Href:
additionalProperties: false
example:
href: href
properties:
Expand Down Expand Up @@ -16117,34 +16118,8 @@ components:
description: description
created_at: 2000-01-23T04:56:07.000+00:00
ports:
- role: primary
virtual_circuits:
virtual_circuits:
- null
- null
organization:
href: href
name: name
link_status: link_status
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
switch_id: switch_id
href: href
speed: 0
status: requested
- role: primary
virtual_circuits:
virtual_circuits:
- null
- null
organization:
href: href
name: name
link_status: link_status
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
switch_id: switch_id
href: href
speed: 0
status: requested
- null
- null
type: shared
speed: 10000000000
contact_email: contact_email
Expand Down Expand Up @@ -16394,34 +16369,8 @@ components:
- description: description
created_at: 2000-01-23T04:56:07.000+00:00
ports:
- role: primary
virtual_circuits:
virtual_circuits:
- null
- null
organization:
href: href
name: name
link_status: link_status
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
switch_id: switch_id
href: href
speed: 0
status: requested
- role: primary
virtual_circuits:
virtual_circuits:
- null
- null
organization:
href: href
name: name
link_status: link_status
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
switch_id: switch_id
href: href
speed: 0
status: requested
- null
- null
type: shared
speed: 10000000000
contact_email: contact_email
Expand Down Expand Up @@ -16458,34 +16407,8 @@ components:
- description: description
created_at: 2000-01-23T04:56:07.000+00:00
ports:
- role: primary
virtual_circuits:
virtual_circuits:
- null
- null
organization:
href: href
name: name
link_status: link_status
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
switch_id: switch_id
href: href
speed: 0
status: requested
- role: primary
virtual_circuits:
virtual_circuits:
- null
- null
organization:
href: href
name: name
link_status: link_status
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
switch_id: switch_id
href: href
speed: 0
status: requested
- null
- null
type: shared
speed: 10000000000
contact_email: contact_email
Expand Down Expand Up @@ -16526,91 +16449,14 @@ components:
type: array
type: object
InterconnectionPort:
example:
role: primary
virtual_circuits:
virtual_circuits:
- null
- null
organization:
href: href
name: name
link_status: link_status
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
switch_id: switch_id
href: href
speed: 0
status: requested
properties:
id:
format: uuid
type: string
organization:
$ref: '#/components/schemas/Href'
role:
description: Either 'primary' or 'secondary'.
enum:
- primary
- secondary
type: string
status:
description: "For both Fabric VCs and Dedicated Ports, this will be 'requested'\
\ on creation and 'deleting' on deletion. Once the Fabric VC has found\
\ its corresponding Fabric connection, this will turn to 'active'. For\
\ Dedicated Ports, once the dedicated port is associated, this will also\
\ turn to 'active'. For Fabric VCs, this can turn into an 'expired' state\
\ if the service token associated is expired."
enum:
- requested
- active
- deleting
- expired
type: string
switch_id:
description: A switch 'short ID'
type: string
virtual_circuits:
$ref: '#/components/schemas/VirtualCircuitList'
name:
type: string
speed:
type: integer
link_status:
type: string
href:
type: string
type: object
allOf:
- $ref: '#/components/schemas/VirtualCircuitList'
- $ref: '#/components/schemas/InterconnectionPortCore'
InterconnectionPortList:
example:
ports:
- role: primary
virtual_circuits:
virtual_circuits:
- null
- null
organization:
href: href
name: name
link_status: link_status
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
switch_id: switch_id
href: href
speed: 0
status: requested
- role: primary
virtual_circuits:
virtual_circuits:
- null
- null
organization:
href: href
name: name
link_status: link_status
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
switch_id: switch_id
href: href
speed: 0
status: requested
- null
- null
properties:
ports:
items:
Expand Down Expand Up @@ -22735,6 +22581,44 @@ components:
type: string
type: array
type: object
InterconnectionPortCore:
properties:
id:
format: uuid
type: string
organization:
$ref: '#/components/schemas/Href'
role:
description: Either 'primary' or 'secondary'.
enum:
- primary
- secondary
type: string
status:
description: "For both Fabric VCs and Dedicated Ports, this will be 'requested'\
\ on creation and 'deleting' on deletion. Once the Fabric VC has found\
\ its corresponding Fabric connection, this will turn to 'active'. For\
\ Dedicated Ports, once the dedicated port is associated, this will also\
\ turn to 'active'. For Fabric VCs, this can turn into an 'expired' state\
\ if the service token associated is expired."
enum:
- requested
- active
- deleting
- expired
type: string
switch_id:
description: A switch 'short ID'
type: string
name:
type: string
speed:
type: integer
link_status:
type: string
href:
type: string
type: object
IPReservationOrHref:
anyOf:
- $ref: '#/components/schemas/IPReservation'
Expand Down
2 changes: 1 addition & 1 deletion equinix-openapi-metal/docs/InterconnectionPort.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**virtualCircuits** | [**List<VirtualCircuitListVirtualCircuitsInner>**](VirtualCircuitListVirtualCircuitsInner.md) | | [optional] |
|**id** | **UUID** | | [optional] |
|**organization** | [**Href**](Href.md) | | [optional] |
|**role** | [**RoleEnum**](#RoleEnum) | Either 'primary' or 'secondary'. | [optional] |
|**status** | [**StatusEnum**](#StatusEnum) | For both Fabric VCs and Dedicated Ports, this will be 'requested' on creation and 'deleting' on deletion. Once the Fabric VC has found its corresponding Fabric connection, this will turn to 'active'. For Dedicated Ports, once the dedicated port is associated, this will also turn to 'active'. For Fabric VCs, this can turn into an 'expired' state if the service token associated is expired. | [optional] |
|**switchId** | **String** | A switch 'short ID' | [optional] |
|**virtualCircuits** | [**VirtualCircuitList**](VirtualCircuitList.md) | | [optional] |
|**name** | **String** | | [optional] |
|**speed** | **Integer** | | [optional] |
|**linkStatus** | **String** | | [optional] |
Expand Down
41 changes: 41 additions & 0 deletions equinix-openapi-metal/docs/InterconnectionPortCore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@


# InterconnectionPortCore


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **UUID** | | [optional] |
|**organization** | [**Href**](Href.md) | | [optional] |
|**role** | [**RoleEnum**](#RoleEnum) | Either 'primary' or 'secondary'. | [optional] |
|**status** | [**StatusEnum**](#StatusEnum) | For both Fabric VCs and Dedicated Ports, this will be 'requested' on creation and 'deleting' on deletion. Once the Fabric VC has found its corresponding Fabric connection, this will turn to 'active'. For Dedicated Ports, once the dedicated port is associated, this will also turn to 'active'. For Fabric VCs, this can turn into an 'expired' state if the service token associated is expired. | [optional] |
|**switchId** | **String** | A switch 'short ID' | [optional] |
|**name** | **String** | | [optional] |
|**speed** | **Integer** | | [optional] |
|**linkStatus** | **String** | | [optional] |
|**href** | **String** | | [optional] |



## Enum: RoleEnum

| Name | Value |
|---- | -----|
| PRIMARY | "primary" |
| SECONDARY | "secondary" |



## Enum: StatusEnum

| Name | Value |
|---- | -----|
| REQUESTED | "requested" |
| ACTIVE | "active" |
| DELETING | "deleting" |
| EXPIRED | "expired" |



Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.metal.v1.model.InterconnectionList.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.metal.v1.model.InterconnectionMetro.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.metal.v1.model.InterconnectionPort.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.metal.v1.model.InterconnectionPortCore.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.metal.v1.model.InterconnectionPortList.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.metal.v1.model.InterconnectionUpdateInput.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.metal.v1.model.Invitation.CustomTypeAdapterFactory());
Expand Down
Loading