def __init__(self, *, parent=None, con=None, **kwargs):
if parent and con:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>self.con = parent.con if parent else con<EOL>self._parent = parent<EOL>main_resource = kwargs.pop('<STR_LIT>', None) or (<EOL>getattr(parent, '<STR_LIT>', None) if parent else None)<EOL>super().__init__(<EOL>protocol=parent.protocol if parent else kwargs.get('<STR_LIT>'),<EOL>main_resource=main_resource)<EOL>cloud_data = kwargs.get(self._cloud_data_key, {})<EOL>self._track_changes = TrackerSet(casing=self._cc)<EOL>self.object_id = cloud_data.get('<STR_LIT:id>')<EOL>created = cloud_data.get(self._cc('<STR_LIT>'), None)<EOL>modified = cloud_data.get(self._cc('<STR_LIT>'), None)<EOL>local_tz = self.protocol.timezone<EOL>self.created = parse(created).astimezone(local_tz) if created else None<EOL>self.modified = parse(modified).astimezone(local_tz) if modified else None<EOL>created_by = cloud_data.get(self._cc('<STR_LIT>'), {}).get('<STR_LIT:user>', None)<EOL>self.created_by = Contact(con=self.con, protocol=self.protocol,<EOL>**{self._cloud_data_key: created_by}) if created_by else None<EOL>modified_by = cloud_data.get(self._cc('<STR_LIT>'), {}).get('<STR_LIT:user>', None)<EOL>self.modified_by = Contact(con=self.con, protocol=self.protocol,<EOL>**{self._cloud_data_key: modified_by}) if modified_by else None<EOL>self.web_url = cloud_data.get(self._cc('<STR_LIT>'))<EOL>self.content_type_id = cloud_data.get(self._cc('<STR_LIT>')).get('<STR_LIT:id>', None)<EOL>self.fields = cloud_data.get(self._cc('<STR_LIT>'), None)<EOL>
A Sharepoint ListItem within a SharepointList

        :param parent: parent object
        :type parent: SharepointList
        :param Connection con: connection to use if no parent specified
        :param Protocol protocol: protocol to use if no parent specified
         (kwargs)
        :param str main_resource: use this resource instead of parent resource
         (kwargs)