def __init__(self, region_id, type_id, generated_at):
        """
        :param int region_id: The region ID that the data set pertains to.
        :param int type_id: The type ID of the item contained in the order set.
        :param datetime.datetime generated_at: When the data set was first
            generated.
        """
        # This can be a None or an int.
        self.region_id = int(region_id) if region_id else None
        self.type_id = int(type_id)
        if not isinstance(generated_at, datetime.datetime):
            raise TypeError('generated_at should be a datetime.')
        self.generated_at = check_for_naive_dtime(generated_at)
        self.entries = []
def __init__ ( self , region_id , type_id , generated_at ) : self . region_id = int ( region_id ) if region_id else None self . type_id = int ( type_id ) if not isinstance ( generated_at , datetime . datetime ) : raise TypeError ( 'generated_at should be a datetime.' ) self . generated_at = check_for_naive_dtime ( generated_at ) self . entries = [ ]
:param int region_id: The region ID that the data set pertains to.
        :param int type_id: The type ID of the item contained in the order set.
        :param datetime.datetime generated_at: When the data set was first
            generated.