class_docstr: A thin client for the REST Service.
class_docstr_tok: ["A","thin","client","for","the","REST","Service","."]
docstr: Returns an endpoints from the management API given its name.
  
  Parameters
  ----------
  
  endpoint_name : str
  
      The name of the endpoint.
docstr_tok: ["Returns","an","endpoints","from","the","management","API","given","its","name",".","Parameters","--","--","--","--","--","endpoint_name",":","str","The","name","of","the","endpoint","."]
code: def get_endpoint(self, endpoint_name):
      """Returns an endpoints from the management API given its name.
  
      Parameters
      ----------
  
      endpoint_name : str
  
          The name of the endpoint.
      """
      ((name, attrs),) = self.service_client.GET(
          "endpoints/" + endpoint_name
      ).items()
      endpoint = Endpoint.from_json(attrs)
      endpoint.name = name
      return endpoint
  
imports: from .rest import RESTObject, RESTProperty
  from datetime import datetime
label_desc: Use image node_id 6 for calling the RESTServiceClient obj's underlying member method code with example usage: obj.get_endpoint(endpoint_name) and returns: endpoint