Skip to content

Commit

Permalink
Generated from 5a3ab7c58c050e8196118aa8f47ad414baaa1fff (#385)
Browse files Browse the repository at this point in the history
Update Microsoft.VMwareCloudSimple provider schema
  • Loading branch information
openapi-sdkautomation[bot] authored and SDK Automation committed Oct 15, 2019
1 parent 205b57e commit 5a81d6d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 39 deletions.
6 changes: 2 additions & 4 deletions vmwarecloudsimple/resource-manager/v2019_04_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-vmwarecloudsimple</artifactId>
<version>1.0.0-beta</version>
Expand Down Expand Up @@ -71,8 +71,6 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,10 @@ public AvailableOperation call(AvailableOperationInner inner) {
public Observable<OperationResource> getAsync(String regionId, String operationId) {
OperationsInner client = this.inner();
return client.getAsync(regionId, operationId)
.flatMap(new Func1<OperationResourceInner, Observable<OperationResource>>() {
.map(new Func1<OperationResourceInner, OperationResource>() {
@Override
public Observable<OperationResource> call(OperationResourceInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((OperationResource)wrapOperationResourceModel(inner));
}
public OperationResource call(OperationResourceInner inner) {
return wrapOperationResourceModel(inner);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,10 @@ public PrivateCloud call(PrivateCloudInner inner) {
public Observable<PrivateCloud> getAsync(String pcName, String regionId) {
PrivateCloudsInner client = this.inner();
return client.getAsync(pcName, regionId)
.flatMap(new Func1<PrivateCloudInner, Observable<PrivateCloud>>() {
.map(new Func1<PrivateCloudInner, PrivateCloud>() {
@Override
public Observable<PrivateCloud> call(PrivateCloudInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((PrivateCloud)wrapModel(inner));
}
public PrivateCloud call(PrivateCloudInner inner) {
return wrapModel(inner);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,10 @@ public ResourcePool call(ResourcePoolInner inner) {
public Observable<ResourcePool> getAsync(String regionId, String pcName, String resourcePoolName) {
ResourcePoolsInner client = this.inner();
return client.getAsync(regionId, pcName, resourcePoolName)
.flatMap(new Func1<ResourcePoolInner, Observable<ResourcePool>>() {
.map(new Func1<ResourcePoolInner, ResourcePool>() {
@Override
public Observable<ResourcePool> call(ResourcePoolInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((ResourcePool)wrapModel(inner));
}
public ResourcePool call(ResourcePoolInner inner) {
return wrapModel(inner);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,10 @@ public VirtualMachineTemplate call(VirtualMachineTemplateInner inner) {
public Observable<VirtualMachineTemplate> getAsync(String regionId, String pcName, String virtualMachineTemplateName) {
VirtualMachineTemplatesInner client = this.inner();
return client.getAsync(regionId, pcName, virtualMachineTemplateName)
.flatMap(new Func1<VirtualMachineTemplateInner, Observable<VirtualMachineTemplate>>() {
.map(new Func1<VirtualMachineTemplateInner, VirtualMachineTemplate>() {
@Override
public Observable<VirtualMachineTemplate> call(VirtualMachineTemplateInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((VirtualMachineTemplate)wrapModel(inner));
}
public VirtualMachineTemplate call(VirtualMachineTemplateInner inner) {
return wrapModel(inner);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,10 @@ public VirtualNetwork call(VirtualNetworkInner inner) {
public Observable<VirtualNetwork> getAsync(String regionId, String pcName, String virtualNetworkName) {
VirtualNetworksInner client = this.inner();
return client.getAsync(regionId, pcName, virtualNetworkName)
.flatMap(new Func1<VirtualNetworkInner, Observable<VirtualNetwork>>() {
.map(new Func1<VirtualNetworkInner, VirtualNetwork>() {
@Override
public Observable<VirtualNetwork> call(VirtualNetworkInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((VirtualNetwork)wrapModel(inner));
}
public VirtualNetwork call(VirtualNetworkInner inner) {
return wrapModel(inner);
}
});
}
Expand Down

0 comments on commit 5a81d6d

Please sign in to comment.