Cancel
Showing results for 
Search instead for 
Did you mean: 

java sdk: classes iot.asset.model.File* missing in library

Siemens Creator Siemens Creator
Siemens Creator

I want to use the classes for Files in Assets, e.g. FileMetadataResource. However, I cannot find them in the library, although the documentation (e.g. https://developer.mindsphere.io/resources/mindsphere-sdk-java/javadocs/html/com/siemens/mindsphere/s...) claims they should exist. Any explanation for that?

8 REPLIES

Re: java sdk: classes iot.asset.model.File* missing in library

Creator
Creator

Hello

 

May I know which version of SDK you are using? The Asset file functionality is available in 1.2.0 onwards and the documentation available at developer.mindsphere.io is for the latest version.

Let me know if you need more information.

 

Thanks

Re: java sdk: classes iot.asset.model.File* missing in library

Siemens Creator Siemens Creator
Siemens Creator

I am using 1.1.0. Is 1.2.0 already available and if so, where?

Highlighted

Re: java sdk: classes iot.asset.model.File* missing in library

Creator
Creator

Yes it is already available at the Siemens Industry Mall

 

Please let me know if you have access to this. 

 

Thanks!

Re: java sdk: classes iot.asset.model.File* missing in library

Siemens Creator Siemens Creator
Siemens Creator

Thanks! I got it. There is even a version 2.0, but with a new structure (actually separate sdk for e.g. assetmanagement etc.). Is this already an official version?

Re: java sdk: classes iot.asset.model.File* missing in library

Creator
Creator

Yes it is official release and can be used Smiley Happy

Re: java sdk: classes iot.asset.model.File* missing in library

Siemens Creator Siemens Creator
Siemens Creator

The official documention seems not to be consistent with sdk 2.0. For example, class AssetClient has been changed to AssetsClient and it provides a method listAssets which returns a new type AssetListResource.

Re: java sdk: classes iot.asset.model.File* missing in library

Creator
Creator

Yes, the documentation is not yet released. It will be available in an hour or two.

Re: java sdk: classes iot.asset.model.File* missing in library

Creator
Creator

The documentation is now updated here