)
		{
			return gcnew String((*m_pHandle)->GetParentUUID());
		}
	}

	property IEnumerable<Service^>^ Services
	{
		IEnumerable<Service^>^ get();
	}

	property IEnumerable<DeviceData^>^ EmbeddedDevices
	{
		IEnumerable<DeviceData^>^ get();
	}

internal:

    property PLT_DeviceDataReference& Handle
    {
        PLT_DeviceDataReference& get()
        {
            return *m_pHandle;
        }
    }

public:

	DeviceData^ FindEmbeddedDeviceByType(String^ type);
	Service^    FindServiceById(String^ serviceId);
	Service^    FindServiceByType(String^ type);
	Service^    FindServiceBySCPDURL(Uri^ url);
	Service^    FindServiceByControlURL(Uri^ url);
	Service^    FindServiceByEventSubURL(Uri^ url);

public:

	virtual Boolean Equals(Object^ obj) override
	{
		if (obj == nullptr)
			return false;

		if (!this->GetType()->IsInstanceOfType(obj))
			return false;

		return (*m_pHandle == *((DeviceData^)obj)->m_pHandle);
	}

internal:

	DeviceData(PLT_DeviceDataReference& devData)
	{
		if (devData.IsNull())
			throw gcnew ArgumentNullException("devData");

		m_pHandle = new PLT_DeviceDataReference(devData);
	}

	DeviceData(PLT_DeviceData& devData)
	{
		m_pHandle = new PLT_DeviceDataReference(&devData);
	}

public:

	~DeviceData()
	{
        // clean-up managed

        // clean-up unmanaged
		this->!DeviceData();
	}

	!DeviceData()
    {
        // clean-up unmanaged
		if (m_pHandle != 0)
		{
			delete m_pHandle;

			m_pHandle = 0;
		}
	}

};

}

// marshal wrapper
PLATINUM_MANAGED_MARSHAL_AS(Platinum::DeviceData, PLT_DeviceData);
PLATINUM_MANAGED_MARSHAL_AS(Platinum::DeviceData, PLT_DeviceDataReference);


gcr.io/google_containers/kube-controller-manager:v1.13.0-alpha.3


package linkedql

import (
	"encoding/json"
	"fmt"

	"github.com/cayleygraph/cayley/graph"
	"github.com/cayleygraph/cayley/query/path"
	"github.com/cayleygraph/quad"
	"github.com/cayleygraph/quad/voc"
)

// PropertyPathI is an interface to be used where a path of properties is expected.
type PropertyPathI interface {
	BuildPath(qs graph.QuadStore, ns *voc.