'Use defined schema properties as kwargs for loadbalancer objects.'

def _setup_properties(self, properties, function):

    if (properties and function):
        return [function(**self._remove_none(item_dict)) for item_dict in properties]
    elif function:
        return [function()]
