code: def _translate_name(name):
          
          underscored = inflection.underscore(name)
          dasherized = inflection.dasherize(underscored)
          words = dasherized.split('-')
          last_word = words.pop()
          words.append(inflection.pluralize(last_word))
          return '-'.join(words)
docs: Translate the class name to the API endpoint.
  
          For example, Car would become cars, FastCar would become fast-cars.
  
          Args:
              name (string): Camel case name (singular)
  
          Returns:
              string: A pluraised, dasherized string.