diff --git a/cloudconnexa/applications.go b/cloudconnexa/applications.go index 4ed2f79..2b898a0 100644 --- a/cloudconnexa/applications.go +++ b/cloudconnexa/applications.go @@ -8,8 +8,9 @@ import ( ) type ApplicationRoute struct { - Description string `json:"description"` - Value string `json:"value"` + Description string `json:"description"` + Value string `json:"value"` + AllowEmbeddedIp bool `json:"allowEmbeddedIp"` } type CustomApplicationType struct { diff --git a/cloudconnexa/routes.go b/cloudconnexa/routes.go index 3bec578..0cb16f6 100644 --- a/cloudconnexa/routes.go +++ b/cloudconnexa/routes.go @@ -8,13 +8,14 @@ import ( ) type Route struct { - Id string `json:"id,omitempty"` - Type string `json:"type,omitempty"` - Subnet string `json:"subnet,omitempty"` - Domain string `json:"domain,omitempty"` - Description string `json:"description,omitempty"` - ParentRouteId string `json:"parentRouteId,omitempty"` - NetworkItemId string `json:"networkItemId,omitempty"` + Id string `json:"id,omitempty"` + Type string `json:"type,omitempty"` + Subnet string `json:"subnet,omitempty"` + Domain string `json:"domain,omitempty"` + Description string `json:"description,omitempty"` + ParentRouteId string `json:"parentRouteId,omitempty"` + NetworkItemId string `json:"networkItemId,omitempty"` + AllowEmbeddedIp bool `json:"allowEmbeddedIp,omitempty"` } type RoutePageResponse struct {