Commit 6ff915b
authored
fix: Add missing fields to
## π Description
[IPv6 range
view](https://www.linode.com/docs/api/networking/#ipv6-range-view__responses)
and [IPv6 range
list](https://www.linode.com/docs/api/networking/#ipv6-ranges-list__responses)
actually share different response structures. The current `IPv6Range`
object has been built based on the structure of IPv6 range list, so
fields `linodes` and `is_bgp` are missing. To quickly fix it, I think
simply adding these two fields to the `IPv6Range` object properties
makes sense without introducing any breaking change. Otherwise we may
consider create two separated objects for returning a single object and
list, which is probably confusing for customers to use and more
complicated for us to maintain. Any different idea is appreciated.
## βοΈ How to Test
`tox`IPv6Range (#318)1 parent 12c60ef commit 6ff915b
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments