parameters: (self)
return_statement: return dto
docstring: Convert the category to its DTO representation
docstring_summary: Convert the category to its DTO representation
docstring_tokens: Convert the category to its DTO representation
function: def as_dto(self) -> MappingIssueCategoryDTO:
          """ Convert the category to its DTO representation """
          dto = MappingIssueCategoryDTO()
          dto.category_id = self.id
          dto.name = self.name
          dto.description = self.description
          dto.archived = self.archived
  
          return dto
function_tokens: def as_dto ( self ) -> MappingIssueCategoryDTO : dto = MappingIssueCategoryDTO ( ) dto . category_id = self . id dto . name = self . name dto . description = self . description dto . archived = self . archived return dto