Skip to content

Commit

Permalink
Merge pull request #1 from michaelfmnk/feature/ip-services-update
Browse files Browse the repository at this point in the history
updated ip_services implementation
  • Loading branch information
arslanbekov authored Feb 19, 2024
2 parents a93f786 + d3c13f2 commit 7f5047a
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions cloudconnexa/ip_services.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,25 @@ type CustomIPServiceType struct {
Protocol string `json:"protocol"`
}

type IPServiceRoute struct {
Description string `json:"description"`
Value string `json:"value"`
}

type IPServiceConfig struct {
CustomServiceTypes []*CustomIPServiceType `json:"customServiceTypes"`
ServiceTypes []string `json:"serviceTypes"`
}

type IPService struct {
Name string `json:"name"`
Description string `json:"description"`
NetworkItemType string `json:"networkItemType"`
NetworkItemId string `json:"networkItemId"`
Id string `json:"id"`
Type string `json:"type"`
Routes []*Route `json:"routes"`
Config *IPServiceConfig `json:"config"`
Name string `json:"name"`
Description string `json:"description"`
NetworkItemType string `json:"networkItemType"`
NetworkItemId string `json:"networkItemId"`
Id string `json:"id"`
Type string `json:"type"`
Routes []*IPServiceRoute `json:"routes"`
Config *IPServiceConfig `json:"config"`
}

type IPServicePageResponse struct {
Expand Down

0 comments on commit 7f5047a

Please sign in to comment.