Skip to content

Commit

Permalink
Merge pull request #1193 from martinsawicki/martin-networking
Browse files Browse the repository at this point in the history
enabling auto-gen'd SubnetInner to accept a reference to RouteTable
  • Loading branch information
jianghaolu authored Oct 14, 2016
2 parents ee3467f + 065a411 commit 06dc464
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class SubnetInner extends SubResource {
* Gets or sets the reference of the RouteTable resource.
*/
@JsonProperty(value = "properties.routeTable")
private RouteTableInner routeTable;
private SubResource routeTable;

/**
* Gets array of references to the network interface IP configurations
Expand Down Expand Up @@ -112,7 +112,7 @@ public SubnetInner withNetworkSecurityGroup(SubResource networkSecurityGroup) {
*
* @return the routeTable value
*/
public RouteTableInner routeTable() {
public SubResource routeTable() {
return this.routeTable;
}

Expand All @@ -122,7 +122,7 @@ public RouteTableInner routeTable() {
* @param routeTable the routeTable value to set
* @return the SubnetInner object itself.
*/
public SubnetInner withRouteTable(RouteTableInner routeTable) {
public SubnetInner withRouteTable(SubResource routeTable) {
this.routeTable = routeTable;
return this;
}
Expand Down

0 comments on commit 06dc464

Please sign in to comment.