<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def endpoint_name(self, endpoint_name):
 """ Sets the endpoint_name of this DeviceDataPostRequest. The endpoint name given to the device. :param endpoint_name: The endpoint_name of this DeviceDataPostRequest. :type: str """

        if endpoint_name is not None and len(endpoint_name) > 64:
            raise ValueError("Invalid value for `endpoint_name`, length must be less than or equal to `64`")

        self._endpoint_name = endpoint_name