azure-mgmt-resource
Advanced tools
Comparing version 2.0.0-pre.12 to 2.0.0-pre.13
@@ -152,3 +152,3 @@ /* jshint latedef:false */ | ||
return this.client.pipeline(httpRequest, function (err, response, body) { | ||
if (err) { | ||
if (err !== null && err !== undefined) { | ||
return callback(err); | ||
@@ -173,3 +173,3 @@ } | ||
if (responseDoc) { | ||
if (responseDoc !== null && responseDoc !== undefined) { | ||
var subscriptionInstance = {}; | ||
@@ -179,3 +179,3 @@ result.subscription = subscriptionInstance; | ||
var idValue = responseDoc['id']; | ||
if (idValue) { | ||
if (idValue !== null && idValue !== undefined) { | ||
var idInstance = idValue; | ||
@@ -186,3 +186,3 @@ subscriptionInstance.id = idInstance; | ||
var subscriptionIdValue = responseDoc['subscriptionId']; | ||
if (subscriptionIdValue) { | ||
if (subscriptionIdValue !== null && subscriptionIdValue !== undefined) { | ||
var subscriptionIdInstance = subscriptionIdValue; | ||
@@ -193,3 +193,3 @@ subscriptionInstance.subscriptionId = subscriptionIdInstance; | ||
var displayNameValue = responseDoc['displayName']; | ||
if (displayNameValue) { | ||
if (displayNameValue !== null && displayNameValue !== undefined) { | ||
var displayNameInstance = displayNameValue; | ||
@@ -200,3 +200,3 @@ subscriptionInstance.displayName = displayNameInstance; | ||
var stateValue = responseDoc['state']; | ||
if (stateValue) { | ||
if (stateValue !== null && stateValue !== undefined) { | ||
var stateInstance = stateValue; | ||
@@ -254,3 +254,3 @@ subscriptionInstance.state = stateInstance; | ||
return this.client.pipeline(httpRequest, function (err, response, body) { | ||
if (err) { | ||
if (err !== null && err !== undefined) { | ||
return callback(err); | ||
@@ -275,5 +275,5 @@ } | ||
if (responseDoc) { | ||
if (responseDoc !== null && responseDoc !== undefined) { | ||
var valueArray = responseDoc['value']; | ||
if (valueArray) { | ||
if (valueArray !== null && valueArray !== undefined) { | ||
for (var loweredIndex1 = 0; loweredIndex1 < valueArray.length; loweredIndex1 = loweredIndex1 + 1) { | ||
@@ -285,3 +285,3 @@ var valueValue = valueArray[loweredIndex1]; | ||
var idValue = valueValue['id']; | ||
if (idValue) { | ||
if (idValue !== null && idValue !== undefined) { | ||
var idInstance = idValue; | ||
@@ -292,3 +292,3 @@ subscriptionInstance.id = idInstance; | ||
var subscriptionIdValue = valueValue['subscriptionId']; | ||
if (subscriptionIdValue) { | ||
if (subscriptionIdValue !== null && subscriptionIdValue !== undefined) { | ||
var subscriptionIdInstance = subscriptionIdValue; | ||
@@ -299,3 +299,3 @@ subscriptionInstance.subscriptionId = subscriptionIdInstance; | ||
var displayNameValue = valueValue['displayName']; | ||
if (displayNameValue) { | ||
if (displayNameValue !== null && displayNameValue !== undefined) { | ||
var displayNameInstance = displayNameValue; | ||
@@ -306,3 +306,3 @@ subscriptionInstance.displayName = displayNameInstance; | ||
var stateValue = valueValue['state']; | ||
if (stateValue) { | ||
if (stateValue !== null && stateValue !== undefined) { | ||
var stateInstance = stateValue; | ||
@@ -382,3 +382,3 @@ subscriptionInstance.state = stateInstance; | ||
return this.client.pipeline(httpRequest, function (err, response, body) { | ||
if (err) { | ||
if (err !== null && err !== undefined) { | ||
return callback(err); | ||
@@ -403,5 +403,5 @@ } | ||
if (responseDoc) { | ||
if (responseDoc !== null && responseDoc !== undefined) { | ||
var valueArray = responseDoc['value']; | ||
if (valueArray) { | ||
if (valueArray !== null && valueArray !== undefined) { | ||
for (var loweredIndex1 = 0; loweredIndex1 < valueArray.length; loweredIndex1 = loweredIndex1 + 1) { | ||
@@ -413,3 +413,3 @@ var valueValue = valueArray[loweredIndex1]; | ||
var idValue = valueValue['id']; | ||
if (idValue) { | ||
if (idValue !== null && idValue !== undefined) { | ||
var idInstance = idValue; | ||
@@ -420,3 +420,3 @@ tenantIdDescriptionInstance.id = idInstance; | ||
var tenantIdValue = valueValue['tenantId']; | ||
if (tenantIdValue) { | ||
if (tenantIdValue !== null && tenantIdValue !== undefined) { | ||
var tenantIdInstance = tenantIdValue; | ||
@@ -423,0 +423,0 @@ tenantIdDescriptionInstance.tenantId = tenantIdInstance; |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "2.0.0-pre.12", | ||
"version": "2.0.0-pre.13", | ||
"description": "Microsoft Azure Resource Management Client Library for node", | ||
@@ -16,0 +16,0 @@ "tags": [ |
Sorry, the diff of this file is too big to display
274678
5528