@classmethod
def _convert_from_container_props(cls, container_properties):
    container_properties.__class__ = cls
    container_properties.public_access = PublicAccess._from_generated(container_properties.public_access)
    container_properties.lease.__class__ = LeaseProperties
    return container_properties
@classmethod
def _convert_from_container_props(cls, container_properties):
    container_properties.__class__ = cls
    container_properties.public_access = PublicAccess._from_generated(container_properties.public_access)
    container_properties.lease.__class__ = LeaseProperties
    return container_properties