diff --git a/pkg/api/rest/model/network/csp.go b/pkg/api/rest/model/network/csp.go index 1ac6b42..af4aa23 100644 --- a/pkg/api/rest/model/network/csp.go +++ b/pkg/api/rest/model/network/csp.go @@ -3,8 +3,8 @@ package network // Subnet TODO type Subnet struct { Name string `json:"name"` - IPv4CIDR string `json:"IPv4CIDR"` // IPv4 Network Address with CIDR Prefix Length - IPv6CIDR string `json:"IPv6CIDR"` // IPv6 Network Address with CIDR Prefix Length + IPv4CIDR string `json:"ipv4_cidr"` // IPv4 Network Address with CIDR Prefix Length + IPv6CIDR string `json:"ipv6_cidr"` // IPv6 Network Address with CIDR Prefix Length } // VPC TODO diff --git a/pkg/api/rest/model/network/network.go b/pkg/api/rest/model/network/network.go index fb2585a..3cbff82 100644 --- a/pkg/api/rest/model/network/network.go +++ b/pkg/api/rest/model/network/network.go @@ -9,5 +9,5 @@ type Host struct { type Network struct { Host Host `json:"host"` - CSP CSP `json:"CSP"` + CSP CSP `json:"csp"` }