ownerAsResource property

Resource get ownerAsResource

Returns a Resource object that represents the owner of this Resource.

Throws MissingHueNetworkException if the hueNetwork is null, if the owner cannot be found on the hueNetwork, or if the owner's ResourceType cannot be found on the hueNetwork.

Implementation

Resource get ownerAsResource => getRelativeAsResource(owner);