'Build a TypeInfo type descriptor.
Args:
name: The name of the parameter that this Type info corresponds to.
default: The default value that should be specified if the parameter was
not set.
description: A string describing this flow argument.
friendly_name: A human readable name which may be provided.
hidden: Should the argument be hidden from the UI.
help: A synonym for \'description\'.'

def __init__(self, name='', default=None, description='', friendly_name='', hidden=False, help=''):

    self.name = name
    self.default = default
    self.description = (description or help)
    self.hidden = hidden
    if (not friendly_name):
        friendly_name = name.replace('_', '    ').capitalize()
    self.friendly_name = friendly_name
