Skip to content

Commit

Permalink
Generated from 1a687f72b15fc3a3bfef782fa9c33091ec00d92f
Browse files Browse the repository at this point in the history
Fixed example
  • Loading branch information
SDK Automation committed Jun 25, 2020
1 parent 33784c8 commit e89f3fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.network.v2020_04_01.implementation.NetworkManager;
import java.util.List;
import com.microsoft.azure.SubResource;

/**
* Type representing HubRouteTable.
Expand All @@ -26,7 +27,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
/**
* @return the associatedConnections value.
*/
List<String> associatedConnections();
List<SubResource> associatedConnections();

/**
* @return the etag value.
Expand All @@ -51,7 +52,7 @@ public interface HubRouteTable extends HasInner<HubRouteTableInner>, Indexable,
/**
* @return the propagatingConnections value.
*/
List<String> propagatingConnections();
List<SubResource> propagatingConnections();

/**
* @return the provisioningState value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import rx.Observable;
import java.util.List;
import com.microsoft.azure.management.network.v2020_04_01.HubRoute;
import com.microsoft.azure.SubResource;
import com.microsoft.azure.management.network.v2020_04_01.ProvisioningState;

class HubRouteTableImpl extends CreatableUpdatableImpl<HubRouteTable, HubRouteTableInner, HubRouteTableImpl> implements HubRouteTable, HubRouteTable.Definition, HubRouteTable.Update {
Expand Down Expand Up @@ -73,7 +74,7 @@ public boolean isInCreateMode() {


@Override
public List<String> associatedConnections() {
public List<SubResource> associatedConnections() {
return this.inner().associatedConnections();
}

Expand All @@ -98,7 +99,7 @@ public String name() {
}

@Override
public List<String> propagatingConnections() {
public List<SubResource> propagatingConnections() {
return this.inner().propagatingConnections();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

import java.util.List;
import com.microsoft.azure.management.network.v2020_04_01.HubRoute;
import com.microsoft.azure.SubResource;
import com.microsoft.azure.management.network.v2020_04_01.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.SubResource;

/**
* RouteTable resource in a virtual hub.
Expand All @@ -36,13 +36,13 @@ public class HubRouteTableInner extends SubResource {
* List of all connections associated with this route table.
*/
@JsonProperty(value = "properties.associatedConnections", access = JsonProperty.Access.WRITE_ONLY)
private List<String> associatedConnections;
private List<SubResource> associatedConnections;

/**
* List of all connections that advertise to this route table.
*/
@JsonProperty(value = "properties.propagatingConnections", access = JsonProperty.Access.WRITE_ONLY)
private List<String> propagatingConnections;
private List<SubResource> propagatingConnections;

/**
* The provisioning state of the RouteTable resource. Possible values
Expand Down Expand Up @@ -115,7 +115,7 @@ public HubRouteTableInner withLabels(List<String> labels) {
*
* @return the associatedConnections value
*/
public List<String> associatedConnections() {
public List<SubResource> associatedConnections() {
return this.associatedConnections;
}

Expand All @@ -124,7 +124,7 @@ public List<String> associatedConnections() {
*
* @return the propagatingConnections value
*/
public List<String> propagatingConnections() {
public List<SubResource> propagatingConnections() {
return this.propagatingConnections;
}

Expand Down

0 comments on commit e89f3fe

Please sign in to comment.