Avoid embedded structs by generating new struct types (#106)
authorSander van Harmelen <sander@xanzy.io>
Sun, 16 Dec 2018 12:21:07 +0000 (13:21 +0100)
committerGitHub <noreply@github.com>
Sun, 16 Dec 2018 12:21:07 +0000 (13:21 +0100)
commit433f6cca248a8ac81ab25ea8e45c332b3d8466a9
treece1683d4a2b322f84922118efd3959307cfc167d
parentbd1fab829b7ac5541b36b2121c150f42dd2e973a
Avoid embedded structs by generating new struct types (#106)

These changes are based on PR #104 contributed by @cezarsa! The result it the same, but the implementation is slightly different.

Thank you very much for your PR @cezarsa!

Closes #104
29 files changed:
cloudstack/APIDiscoveryService.go
cloudstack/AccountService.go
cloudstack/AddressService.go
cloudstack/AffinityGroupService.go
cloudstack/BrocadeVCSService.go
cloudstack/ClusterService.go
cloudstack/ExtLoadBalancerService.go
cloudstack/FirewallService.go
cloudstack/HostService.go
cloudstack/ISOService.go
cloudstack/InternalLBService.go
cloudstack/LDAPService.go
cloudstack/LoadBalancerService.go
cloudstack/NATService.go
cloudstack/NetworkACLService.go
cloudstack/NetworkOfferingService.go
cloudstack/NetworkService.go
cloudstack/NicService.go
cloudstack/PodService.go
cloudstack/PortableIPService.go
cloudstack/ProjectService.go
cloudstack/RouterService.go
cloudstack/SSHService.go
cloudstack/SecurityGroupService.go
cloudstack/SnapshotService.go
cloudstack/VPCService.go
cloudstack/VirtualMachineService.go
cloudstack/ZoneService.go
generate/generate.go