def add_to_params(self, parameters, value):
    if (value is None):
        return
    parsed = json.loads(value)
    api_objects = translator.definition_to_api_objects(parsed)
    parameter_objects = translator.definition_to_api_parameters(parsed)
    parameter_values = translator.definition_to_parameter_values(parsed)
    parameters['pipelineObjects'] = api_objects
    if (('parameterObjects' not in parameters) and (parameter_objects is not None)):
        parameters['parameterObjects'] = parameter_objects
    if (('parameterValues' not in parameters) and (parameter_values is not None)):
        parameters['parameterValues'] = parameter_values
def add_to_params(self, parameters, value):
    if (value is None):
        return
    parsed = json.loads(value)
    api_objects = translator.definition_to_api_objects(parsed)
    parameter_objects = translator.definition_to_api_parameters(parsed)
    parameter_values = translator.definition_to_parameter_values(parsed)
    parameters['pipelineObjects'] = api_objects
    if (('parameterObjects' not in parameters) and (parameter_objects is not None)):
        parameters['parameterObjects'] = parameter_objects
    if (('parameterValues' not in parameters) and (parameter_values is not None)):
        parameters['parameterValues'] = parameter_values