def custom_object(self, object_name, label, plural_label, name_field,
                      name_field_label, name_field_type='Text',
                      deployment_status='Deployed', sharing_model='ReadWrite'):
        object_name = self._ensure_custom_name(object_name)
        name_field = self._ensure_custom_name(name_field)
        custom_object = self.client.factory.create('CustomObject')
        custom_object.fullName = object_name
        custom_object.label = label
        custom_object.pluralLabel = plural_label
        custom_object.deploymentStatus = deployment_status
        custom_object.sharingModel = sharing_model
        custom_object.nameField.fullName = name_field
        custom_object.nameField.type = name_field_type
        custom_object.nameField.label = name_field_label

        return custom_object
Initializer for WSGIRequestInfo.
dataset/ETHPy150Open heroku/python-salesforce-client/salesforce/metadata/v30/__init__.py/SalesforceMetadataClient.custom_object--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/wsgi_request_info.py/WSGIRequestInfo.__init__