def to_dict(self):
json_dict = {"<STR_LIT>": self.api_key,<EOL>"<STR_LIT>": self.user_arn,<EOL>"<STR_LIT>": self.cognito_authentication_type,<EOL>"<STR_LIT>": self.caller,<EOL>"<STR_LIT>": self.user_agent,<EOL>"<STR_LIT:user>": self.user,<EOL>"<STR_LIT>": self.cognito_identity_pool_id,<EOL>"<STR_LIT>": self.cognito_authentication_provider,<EOL>"<STR_LIT>": self.source_ip,<EOL>"<STR_LIT>": self.account_id<EOL>}<EOL>return json_dict<EOL>
Constructs an dictionary representation of the Identity Object to be used in serializing to JSON

:return: dict representing the object