parameters: (self)
docstring: Generates the content, out of specified command line
          and optional content.
          this stores the output in self.content
docstring_summary: Generates the content, out of specified command line
          and optional content.
          this stores the output in self.content
docstring_tokens: Generates the content out of specified command line and optional content . this stores the output in self . content
function: def generate_body(self):
          """
          Generates the content, out of specified command line
          and optional content.
          this stores the output in self.content
          """
          self.content = '{ "command": "' + self.command + '"'
          if self.service is not None:
              self.service = [x for x in self.service if x]
              if len(self.service) > 0:
                  self.content += ', "service": ["' +  '","'.join(self.service) + '"]'
          if len(self.args) > 1:
              self.content += ', "arguments": { ' + self.args + ' }'
          self.content += ' }'
function_tokens: def generate_body ( self ) : self . content = '{ "command": "' + self . command + '"' if self . service is not None : self . service = [ x for x in self . service if x ] if len ( self . service ) > 0 : self . content += ', "service": ["' + '","' . join ( self . service ) + '"]' if len ( self . args ) > 1 : self . content += ', "arguments": { ' + self . args + ' }' self . content += ' }'