33import java .util .List ;
44
55import com .cloud .api .ApiConstants ;
6+ import com .cloud .network .Networks ;
67import com .cloud .serializer .Param ;
78import com .google .gson .annotations .SerializedName ;
89
@@ -17,20 +18,16 @@ public class NetworkResponse extends BaseResponse{
1718 @ SerializedName ("displaytext" ) @ Param (description ="the displaytext of the network" )
1819 private String displaytext ;
1920
20- //TODO - add description
21- @ SerializedName ("broadcastdomaintype" )
21+ @ SerializedName ("broadcastdomaintype" ) @ Param (description ="Broadcast domain type of the network" )
2222 private String broadcastDomainType ;
2323
24- //TODO - add description
25- @ SerializedName ("traffictype" )
24+ @ SerializedName ("traffictype" ) @ Param (description ="the traffic type of the network" )
2625 private String trafficType ;
2726
28- //TODO - add description
29- @ SerializedName ("gateway" )
27+ @ SerializedName ("gateway" ) @ Param (description ="the network's gateway" )
3028 private String gateway ;
3129
32- //TODO - add description
33- @ SerializedName ("netmask" )
30+ @ SerializedName ("netmask" ) @ Param (description ="the network's netmask" )
3431 private String netmask ;
3532
3633 @ SerializedName ("startip" ) @ Param (description ="the start ip of the network" )
@@ -39,61 +36,47 @@ public class NetworkResponse extends BaseResponse{
3936 @ SerializedName ("endip" ) @ Param (description ="the end ip of the network" )
4037 private String endIp ;
4138
42- //TODO - add description
43- @ SerializedName ("zoneid" )
39+ @ SerializedName ("zoneid" ) @ Param (description ="zone id of the network" )
4440 private Long zoneId ;
4541
46- //TODO - add description
47- @ SerializedName ("networkofferingid" )
42+ @ SerializedName ("networkofferingid" ) @ Param (description ="network offering id the network is created from" )
4843 private Long networkOfferingId ;
4944
50- //TODO - add description
51- @ SerializedName ("networkofferingname" )
45+ @ SerializedName ("networkofferingname" ) @ Param (description ="name of the network offering the network is created from" )
5246 private String networkOfferingName ;
5347
54- //TODO - add description
55- @ SerializedName ("networkofferingdisplaytext" )
48+ @ SerializedName ("networkofferingdisplaytext" ) @ Param (description ="display text of the network offering the network is created from" )
5649 private String networkOfferingDisplayText ;
5750
58- //TODO - add description
59- @ SerializedName ("networkofferingavailability" )
51+ @ SerializedName ("networkofferingavailability" ) @ Param (description ="availability of the network offering the network is created from" )
6052 private String networkOfferingAvailability ;
6153
62-
63- //TODO - add description
64- @ SerializedName ("isshared" )
54+ @ SerializedName ("isshared" ) @ Param (description ="true if network is shared, false otherwise" )
6555 private Boolean isShared ;
6656
67- //TODO - add description
68- @ SerializedName ("issystem" )
57+ @ SerializedName ("issystem" ) @ Param (description ="true if network is system, false otherwise" )
6958 private Boolean isSystem ;
7059
71- //TODO - add description
72- @ SerializedName ("state" )
60+ @ SerializedName ("state" ) @ Param (description ="state of the network" )
7361 private String state ;
7462
7563 //TODO - add description
7664 @ SerializedName ("related" )
7765 private Long related ;
7866
79- //TODO - add description
80- @ SerializedName ("broadcasturi" )
67+ @ SerializedName ("broadcasturi" ) @ Param (description ="broadcast uri of the network" )
8168 private String broadcastUri ;
8269
83- //TODO - add description
84- @ SerializedName ("dns1" )
70+ @ SerializedName ("dns1" ) @ Param (description ="the first dns for the network" )
8571 private String dns1 ;
8672
87- //TODO - add description
88- @ SerializedName ("dns2" )
73+ @ SerializedName ("dns2" ) @ Param (description ="the second dns for the network" )
8974 private String dns2 ;
9075
91- //TODO - add description
92- @ SerializedName ("type" )
76+ @ SerializedName ("type" ) @ Param (description ="the type of the network" )
9377 private String type ;
9478
95- //TODO - add description
96- @ SerializedName ("vlan" )
79+ @ SerializedName ("vlan" ) @ Param (description ="the vlan of the network" )
9780 private String vlan ;
9881
9982 @ SerializedName (ApiConstants .ACCOUNT ) @ Param (description ="the account associated with the network" )
0 commit comments