v14.8.0
This commit is contained in:
1 parent
cd67633a52
commit
5e5d90e24f
22 files changed
+752
-112
No files matched your search
@@ -9,7 +9,7 @@ import (
|
||||
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v14/internal/validators"
|
||||
)
|
||||
|
||||
// DetachLogicalPortsRequest struct to detach an logical port from a network object group
|
||||
// DetachLogicalPortsRequest struct to detach logical ports from a network object group
|
||||
type DetachLogicalPortsRequest struct {
|
||||
// ID of a network object group
|
||||
// Required: true
|
||||
@@ -23,13 +23,19 @@ type DetachLogicalPortsRequest struct {
|
||||
// Required: true
|
||||
VersionID uint64 `url:"version_id" json:"version_id" validate:"required"`
|
||||
|
||||
// Port bindings
|
||||
// Required: true
|
||||
PortBindings []DetachLogicalPortBinding `url:"port_bindings" json:"port_bindings" validate:"required,dive"`
|
||||
}
|
||||
|
||||
type DetachLogicalPortBinding struct {
|
||||
// ID of a logical port
|
||||
// Required: true
|
||||
LogicalPortID string `url:"logical_port_id" json:"logical_port_id" validate:"required"`
|
||||
PortID string `url:"port_id" json:"port_id" validate:"required"`
|
||||
|
||||
// Version of a logical port
|
||||
// Required: true
|
||||
LogicalPortVersion uint64 `url:"logical_port_version" json:"logical_port_version" validate:"required"`
|
||||
PortVersion uint64 `url:"port_version" json:"port_version" validate:"required"`
|
||||
}
|
||||
|
||||
// DetachLogicalPorts detaches logical ports from a network object group
|
||||
|
||||
Reference in new issue
Block a user