Skip to content

Commit

Permalink
manual patch to auto-gen'd SubnetInner to enable route table referenc…
Browse files Browse the repository at this point in the history
…e to be set on a Subnet
  • Loading branch information
unknown authored and unknown committed Oct 14, 2016
1 parent ab9c676 commit be977fa
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 be977fa

Please sign in to comment.