class PayloadClient {

    public static Optional<String> quiesceTrafficFormat(Optional<String> payload, String vnfName)
            throws JsonProcessingException {
        QuiesceTrafficAction payloadResult = new QuiesceTrafficAction();
        ConfigurationParametersQuiesce configParams = new ConfigurationParametersQuiesce();
        String payloadString = payload.isPresent() ? payload.get() : "";
        String operationsTimeout = JsonUtils.getJsonValue(payloadString, "operations_timeout");
        configParams.setOperationsTimeout(operationsTimeout);
        configParams.setVnfName(vnfName);
        payloadResult.setConfigurationParameters(configParams);
        return Optional.of(mapper.writeValueAsString(payloadResult));
    }

    private  PayloadClient();

}