Relational property "storageType" is not visible for SoftLayer_Account::getNetworkStorage method
I am trying to get information about "storageType" relational property, but this property is not available to be used in object mask for method SoftLayer_Account::getNetworkStorage.
Account.Service accountService = Account.service(client);
// Declare an object mask, to get relational properties
accountService.withMask().networkStorage().storageType();
The above code is not working, However, I can retrieve that property using a Rest request:
https://$user:[email protected]/rest/v3/SoftLayer_Account/getNetworkStorage?objectMask=mask[storageType]
Method: Get
Could you provide more information about how the code is not working? Is there an API error, or incorrect results, or is the storageType() method not defined when creating the mask? I tested masking the storage type and it works here. Maybe try regenerating API classes?
Hello camporter ,
As you mention, the storageType() method is not defined.

Yeah, try generating the API classes again, which should resolve the issue.
I haven't seen an update, so I'm closing this. Please reopen if there is still an issue.