Method for get object properties