diff --git a/netbox/models/circuit_termination.go b/netbox/models/circuit_termination.go index 6d093ab4d0..9f6e63335c 100644 --- a/netbox/models/circuit_termination.go +++ b/netbox/models/circuit_termination.go @@ -77,12 +77,6 @@ type CircuitTermination struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -500,10 +494,6 @@ func (m *CircuitTermination) ContextValidate(ctx context.Context, formats strfmt res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -616,15 +606,6 @@ func (m *CircuitTermination) contextValidateLastUpdated(ctx context.Context, for return nil } -func (m *CircuitTermination) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *CircuitTermination) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/console_port.go b/netbox/models/console_port.go index e3e64d74eb..98a0affc1b 100644 --- a/netbox/models/console_port.go +++ b/netbox/models/console_port.go @@ -48,12 +48,6 @@ type ConsolePort struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -97,12 +91,6 @@ type ConsolePort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -425,10 +413,6 @@ func (m *ConsolePort) ContextValidate(ctx context.Context, formats strfmt.Regist res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -457,10 +441,6 @@ func (m *ConsolePort) ContextValidate(ctx context.Context, formats strfmt.Regist res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -525,15 +505,6 @@ func (m *ConsolePort) contextValidateCableEnd(ctx context.Context, formats strfm return nil } -func (m *ConsolePort) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *ConsolePort) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -604,15 +575,6 @@ func (m *ConsolePort) contextValidateLastUpdated(ctx context.Context, formats st return nil } -func (m *ConsolePort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *ConsolePort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/console_server_port.go b/netbox/models/console_server_port.go index b66698e230..f67d0f5903 100644 --- a/netbox/models/console_server_port.go +++ b/netbox/models/console_server_port.go @@ -48,12 +48,6 @@ type ConsoleServerPort struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -97,12 +91,6 @@ type ConsoleServerPort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -425,10 +413,6 @@ func (m *ConsoleServerPort) ContextValidate(ctx context.Context, formats strfmt. res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -457,10 +441,6 @@ func (m *ConsoleServerPort) ContextValidate(ctx context.Context, formats strfmt. res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -525,15 +505,6 @@ func (m *ConsoleServerPort) contextValidateCableEnd(ctx context.Context, formats return nil } -func (m *ConsoleServerPort) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *ConsoleServerPort) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -604,15 +575,6 @@ func (m *ConsoleServerPort) contextValidateLastUpdated(ctx context.Context, form return nil } -func (m *ConsoleServerPort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *ConsoleServerPort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/front_port.go b/netbox/models/front_port.go index 70557c7f1e..0bcfc0f5ed 100644 --- a/netbox/models/front_port.go +++ b/netbox/models/front_port.go @@ -88,12 +88,6 @@ type FrontPort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -485,10 +479,6 @@ func (m *FrontPort) ContextValidate(ctx context.Context, formats strfmt.Registry res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -605,15 +595,6 @@ func (m *FrontPort) contextValidateLastUpdated(ctx context.Context, formats strf return nil } -func (m *FrontPort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *FrontPort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/interface.go b/netbox/models/interface.go index 4401925591..9c149c7d2b 100644 --- a/netbox/models/interface.go +++ b/netbox/models/interface.go @@ -51,12 +51,6 @@ type Interface struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -120,12 +114,6 @@ type Interface struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -962,10 +950,6 @@ func (m *Interface) ContextValidate(ctx context.Context, formats strfmt.Registry res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -1014,10 +998,6 @@ func (m *Interface) ContextValidate(ctx context.Context, formats strfmt.Registry res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -1142,15 +1122,6 @@ func (m *Interface) contextValidateCableEnd(ctx context.Context, formats strfmt. return nil } -func (m *Interface) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *Interface) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -1287,15 +1258,6 @@ func (m *Interface) contextValidateLastUpdated(ctx context.Context, formats strf return nil } -func (m *Interface) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *Interface) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/power_feed.go b/netbox/models/power_feed.go index a236f6ee89..609a65ea82 100644 --- a/netbox/models/power_feed.go +++ b/netbox/models/power_feed.go @@ -56,12 +56,6 @@ type PowerFeed struct { // Comments Comments string `json:"comments,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -95,12 +89,6 @@ type PowerFeed struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -535,10 +523,6 @@ func (m *PowerFeed) ContextValidate(ctx context.Context, formats strfmt.Registry res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -563,10 +547,6 @@ func (m *PowerFeed) ContextValidate(ctx context.Context, formats strfmt.Registry res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -643,15 +623,6 @@ func (m *PowerFeed) contextValidateCableEnd(ctx context.Context, formats strfmt. return nil } -func (m *PowerFeed) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *PowerFeed) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -706,15 +677,6 @@ func (m *PowerFeed) contextValidateLastUpdated(ctx context.Context, formats strf return nil } -func (m *PowerFeed) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *PowerFeed) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/power_outlet.go b/netbox/models/power_outlet.go index b61399727f..cd4b5ef155 100644 --- a/netbox/models/power_outlet.go +++ b/netbox/models/power_outlet.go @@ -48,12 +48,6 @@ type PowerOutlet struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -100,12 +94,6 @@ type PowerOutlet struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -451,10 +439,6 @@ func (m *PowerOutlet) ContextValidate(ctx context.Context, formats strfmt.Regist res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -487,10 +471,6 @@ func (m *PowerOutlet) ContextValidate(ctx context.Context, formats strfmt.Regist res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -555,15 +535,6 @@ func (m *PowerOutlet) contextValidateCableEnd(ctx context.Context, formats strfm return nil } -func (m *PowerOutlet) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *PowerOutlet) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -650,15 +621,6 @@ func (m *PowerOutlet) contextValidateLastUpdated(ctx context.Context, formats st return nil } -func (m *PowerOutlet) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *PowerOutlet) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/power_port.go b/netbox/models/power_port.go index 46f067acf2..991cbb0ca8 100644 --- a/netbox/models/power_port.go +++ b/netbox/models/power_port.go @@ -55,12 +55,6 @@ type PowerPort struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -104,12 +98,6 @@ type PowerPort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -453,10 +441,6 @@ func (m *PowerPort) ContextValidate(ctx context.Context, formats strfmt.Registry res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -485,10 +469,6 @@ func (m *PowerPort) ContextValidate(ctx context.Context, formats strfmt.Registry res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -549,15 +529,6 @@ func (m *PowerPort) contextValidateCableEnd(ctx context.Context, formats strfmt. return nil } -func (m *PowerPort) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *PowerPort) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -628,15 +599,6 @@ func (m *PowerPort) contextValidateLastUpdated(ctx context.Context, formats strf return nil } -func (m *PowerPort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *PowerPort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/rear_port.go b/netbox/models/rear_port.go index a935518cb8..03bb2d2445 100644 --- a/netbox/models/rear_port.go +++ b/netbox/models/rear_port.go @@ -88,12 +88,6 @@ type RearPort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -457,10 +451,6 @@ func (m *RearPort) ContextValidate(ctx context.Context, formats strfmt.Registry) res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -573,15 +563,6 @@ func (m *RearPort) contextValidateLastUpdated(ctx context.Context, formats strfm return nil } -func (m *RearPort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *RearPort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/writable_circuit_termination.go b/netbox/models/writable_circuit_termination.go index d872e9ade1..02528d4d26 100644 --- a/netbox/models/writable_circuit_termination.go +++ b/netbox/models/writable_circuit_termination.go @@ -77,12 +77,6 @@ type WritableCircuitTermination struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -439,10 +433,6 @@ func (m *WritableCircuitTermination) ContextValidate(ctx context.Context, format res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -531,15 +521,6 @@ func (m *WritableCircuitTermination) contextValidateLastUpdated(ctx context.Cont return nil } -func (m *WritableCircuitTermination) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *WritableCircuitTermination) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/writable_console_port.go b/netbox/models/writable_console_port.go index 794db83371..44a6e84cfc 100644 --- a/netbox/models/writable_console_port.go +++ b/netbox/models/writable_console_port.go @@ -48,12 +48,6 @@ type WritableConsolePort struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -97,12 +91,6 @@ type WritableConsolePort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -473,10 +461,6 @@ func (m *WritableConsolePort) ContextValidate(ctx context.Context, formats strfm res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -501,10 +485,6 @@ func (m *WritableConsolePort) ContextValidate(ctx context.Context, formats strfm res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -557,15 +537,6 @@ func (m *WritableConsolePort) contextValidateCableEnd(ctx context.Context, forma return nil } -func (m *WritableConsolePort) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *WritableConsolePort) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -620,15 +591,6 @@ func (m *WritableConsolePort) contextValidateLastUpdated(ctx context.Context, fo return nil } -func (m *WritableConsolePort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *WritableConsolePort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/writable_console_server_port.go b/netbox/models/writable_console_server_port.go index 833ffa8345..6a73f6ceac 100644 --- a/netbox/models/writable_console_server_port.go +++ b/netbox/models/writable_console_server_port.go @@ -48,12 +48,6 @@ type WritableConsoleServerPort struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -97,12 +91,6 @@ type WritableConsoleServerPort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -473,10 +461,6 @@ func (m *WritableConsoleServerPort) ContextValidate(ctx context.Context, formats res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -501,10 +485,6 @@ func (m *WritableConsoleServerPort) ContextValidate(ctx context.Context, formats res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -557,15 +537,6 @@ func (m *WritableConsoleServerPort) contextValidateCableEnd(ctx context.Context, return nil } -func (m *WritableConsoleServerPort) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *WritableConsoleServerPort) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -620,15 +591,6 @@ func (m *WritableConsoleServerPort) contextValidateLastUpdated(ctx context.Conte return nil } -func (m *WritableConsoleServerPort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *WritableConsoleServerPort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/writable_front_port.go b/netbox/models/writable_front_port.go index 2782ff96aa..e085542be3 100644 --- a/netbox/models/writable_front_port.go +++ b/netbox/models/writable_front_port.go @@ -88,12 +88,6 @@ type WritableFrontPort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -583,10 +577,6 @@ func (m *WritableFrontPort) ContextValidate(ctx context.Context, formats strfmt. res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -675,15 +665,6 @@ func (m *WritableFrontPort) contextValidateLastUpdated(ctx context.Context, form return nil } -func (m *WritableFrontPort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *WritableFrontPort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/writable_interface.go b/netbox/models/writable_interface.go index 3d346c4e1d..aae52d1a20 100644 --- a/netbox/models/writable_interface.go +++ b/netbox/models/writable_interface.go @@ -51,12 +51,6 @@ type WritableInterface struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -122,12 +116,6 @@ type WritableInterface struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -1801,10 +1789,6 @@ func (m *WritableInterface) ContextValidate(ctx context.Context, formats strfmt. res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -1841,10 +1825,6 @@ func (m *WritableInterface) ContextValidate(ctx context.Context, formats strfmt. res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -1897,15 +1877,6 @@ func (m *WritableInterface) contextValidateCableEnd(ctx context.Context, formats return nil } -func (m *WritableInterface) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *WritableInterface) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -1987,15 +1958,6 @@ func (m *WritableInterface) contextValidateLastUpdated(ctx context.Context, form return nil } -func (m *WritableInterface) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *WritableInterface) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/writable_power_feed.go b/netbox/models/writable_power_feed.go index ba7d4b0e88..8fe9d2606b 100644 --- a/netbox/models/writable_power_feed.go +++ b/netbox/models/writable_power_feed.go @@ -56,12 +56,6 @@ type WritablePowerFeed struct { // Comments Comments string `json:"comments,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -95,12 +89,6 @@ type WritablePowerFeed struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -603,10 +591,6 @@ func (m *WritablePowerFeed) ContextValidate(ctx context.Context, formats strfmt. res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -631,10 +615,6 @@ func (m *WritablePowerFeed) ContextValidate(ctx context.Context, formats strfmt. res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -687,15 +667,6 @@ func (m *WritablePowerFeed) contextValidateCableEnd(ctx context.Context, formats return nil } -func (m *WritablePowerFeed) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *WritablePowerFeed) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -750,15 +721,6 @@ func (m *WritablePowerFeed) contextValidateLastUpdated(ctx context.Context, form return nil } -func (m *WritablePowerFeed) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *WritablePowerFeed) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/writable_power_outlet.go b/netbox/models/writable_power_outlet.go index fbf5ef9d8d..ed2c051422 100644 --- a/netbox/models/writable_power_outlet.go +++ b/netbox/models/writable_power_outlet.go @@ -48,12 +48,6 @@ type WritablePowerOutlet struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -103,12 +97,6 @@ type WritablePowerOutlet struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -713,10 +701,6 @@ func (m *WritablePowerOutlet) ContextValidate(ctx context.Context, formats strfm res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -741,10 +725,6 @@ func (m *WritablePowerOutlet) ContextValidate(ctx context.Context, formats strfm res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -797,15 +777,6 @@ func (m *WritablePowerOutlet) contextValidateCableEnd(ctx context.Context, forma return nil } -func (m *WritablePowerOutlet) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *WritablePowerOutlet) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -860,15 +831,6 @@ func (m *WritablePowerOutlet) contextValidateLastUpdated(ctx context.Context, fo return nil } -func (m *WritablePowerOutlet) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *WritablePowerOutlet) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/writable_power_port.go b/netbox/models/writable_power_port.go index 2d42b592f4..07e8cecc08 100644 --- a/netbox/models/writable_power_port.go +++ b/netbox/models/writable_power_port.go @@ -55,12 +55,6 @@ type WritablePowerPort struct { // Min Length: 1 CableEnd string `json:"cable_end,omitempty"` - // - // Return the appropriate serializer for the type of connected object. - // - // Read Only: true - ConnectedEndpoints []interface{} `json:"connected_endpoints"` - // Connected endpoints reachable // Read Only: true ConnectedEndpointsReachable *bool `json:"connected_endpoints_reachable,omitempty"` @@ -104,12 +98,6 @@ type WritablePowerPort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -730,10 +718,6 @@ func (m *WritablePowerPort) ContextValidate(ctx context.Context, formats strfmt. res = append(res, err) } - if err := m.contextValidateConnectedEndpoints(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateConnectedEndpointsReachable(ctx, formats); err != nil { res = append(res, err) } @@ -758,10 +742,6 @@ func (m *WritablePowerPort) ContextValidate(ctx context.Context, formats strfmt. res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -814,15 +794,6 @@ func (m *WritablePowerPort) contextValidateCableEnd(ctx context.Context, formats return nil } -func (m *WritablePowerPort) contextValidateConnectedEndpoints(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "connected_endpoints", "body", []interface{}(m.ConnectedEndpoints)); err != nil { - return err - } - - return nil -} - func (m *WritablePowerPort) contextValidateConnectedEndpointsReachable(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "connected_endpoints_reachable", "body", m.ConnectedEndpointsReachable); err != nil { @@ -877,15 +848,6 @@ func (m *WritablePowerPort) contextValidateLastUpdated(ctx context.Context, form return nil } -func (m *WritablePowerPort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *WritablePowerPort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/netbox/models/writable_rear_port.go b/netbox/models/writable_rear_port.go index 3098df22d2..bead7fce9d 100644 --- a/netbox/models/writable_rear_port.go +++ b/netbox/models/writable_rear_port.go @@ -88,12 +88,6 @@ type WritableRearPort struct { // Format: date-time LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` - // - // Return the appropriate serializer for the link termination model. - // - // Read Only: true - LinkPeers []interface{} `json:"link_peers"` - // Link peers type // Read Only: true LinkPeersType string `json:"link_peers_type,omitempty"` @@ -566,10 +560,6 @@ func (m *WritableRearPort) ContextValidate(ctx context.Context, formats strfmt.R res = append(res, err) } - if err := m.contextValidateLinkPeers(ctx, formats); err != nil { - res = append(res, err) - } - if err := m.contextValidateLinkPeersType(ctx, formats); err != nil { res = append(res, err) } @@ -658,15 +648,6 @@ func (m *WritableRearPort) contextValidateLastUpdated(ctx context.Context, forma return nil } -func (m *WritableRearPort) contextValidateLinkPeers(ctx context.Context, formats strfmt.Registry) error { - - if err := validate.ReadOnly(ctx, "link_peers", "body", []interface{}(m.LinkPeers)); err != nil { - return err - } - - return nil -} - func (m *WritableRearPort) contextValidateLinkPeersType(ctx context.Context, formats strfmt.Registry) error { if err := validate.ReadOnly(ctx, "link_peers_type", "body", string(m.LinkPeersType)); err != nil { diff --git a/preprocess.py b/preprocess.py index 35ad2ab42c..3414479c8d 100755 --- a/preprocess.py +++ b/preprocess.py @@ -292,6 +292,11 @@ "schema": {"$ref": "#/definitions/Prefix"}, } +logging.info("Drop link_peers and connected_endpoints from definition properties") +for definition, definition_spec in data["definitions"].items(): + definition_spec["properties"].pop("link_peers", None) + definition_spec["properties"].pop("connected_endpoints", None) + # Write output file with open("swagger.processed.json", "w") as writefile: json.dump(data, writefile, indent=2) diff --git a/swagger.processed.json b/swagger.processed.json index efc6e6fa21..059d7d0c02 100644 --- a/swagger.processed.json +++ b/swagger.processed.json @@ -72839,15 +72839,6 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", @@ -72974,15 +72965,6 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", @@ -75373,29 +75355,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -75543,29 +75507,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -75955,29 +75901,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -76125,29 +76053,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -77935,15 +77845,6 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", @@ -78115,15 +78016,6 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", @@ -79964,15 +79856,6 @@ "wireless_link": { "$ref": "#/definitions/NestedWirelessLink" }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", @@ -79991,15 +79874,6 @@ "l2vpn_termination": { "$ref": "#/definitions/NestedL2VPNTermination" }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -80575,15 +80449,6 @@ "type": "integer", "x-nullable": true }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", @@ -80607,15 +80472,6 @@ "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -82786,29 +82642,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -82968,29 +82806,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -83876,29 +83696,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -84121,29 +83923,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -85111,29 +84895,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -85364,29 +85130,11 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", "readOnly": true }, - "connected_endpoints": { - "description": "\nReturn the appropriate serializer for the type of connected object.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "connected_endpoints_type": { "title": "Connected endpoints type", "type": "string", @@ -86825,15 +86573,6 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string", @@ -87000,15 +86739,6 @@ "readOnly": true, "minLength": 1 }, - "link_peers": { - "description": "\nReturn the appropriate serializer for the link termination model.\n", - "type": "array", - "items": { - "type": "object", - "x-nullable": true - }, - "readOnly": true - }, "link_peers_type": { "title": "Link peers type", "type": "string",