def _get_example_from_basic_type(type):
        """Get example from the given type.

        Args:
            type: the type you want an example of.

        Returns:
            An array with two example values of the given type.
        """
        if type == 'integer':
            return [42, 24]
        elif type == 'number':
            return [5.5, 5.5]
        elif type == 'string':
            return ['string', 'string2']
        elif type == 'datetime':
            return ['2015-08-28T09:02:57.481Z', '2015-08-28T09:02:57.481Z']
        elif type == 'boolean':
            return [False, True]
        elif type == 'null':
            return ['null', 'null']
def _get_example_from_basic_type ( type ) : if type == 'integer' : return [ 42 , 24 ] elif type == 'number' : return [ 5.5 , 5.5 ] elif type == 'string' : return [ 'string' , 'string2' ] elif type == 'datetime' : return [ '2015-08-28T09:02:57.481Z' , '2015-08-28T09:02:57.481Z' ] elif type == 'boolean' : return [ False , True ] elif type == 'null' : return [ 'null' , 'null' ]
Get example from the given type.

        Args:
            type: the type you want an example of.

        Returns:
            An array with two example values of the given type.