Skip to content

Commit

Permalink
Merge pull request #21 from vladhss/feature/add-missing-route-field
Browse files Browse the repository at this point in the history
Add missing `allowEmbeddedIp` field to route
  • Loading branch information
sahaqaa authored Jul 24, 2024
2 parents c14a6bd + 951e2a0 commit 19173f5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
5 changes: 3 additions & 2 deletions cloudconnexa/applications.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
15 changes: 8 additions & 7 deletions cloudconnexa/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 19173f5

Please sign in to comment.