Accessor for PortMapping attributes

Hi,

I'm developing some UI around docker and using your library. I need access to private attributes of PortMapping ! To display them.

Hope you'll merge it!