actionInstance.setType(typeInstance);
}
JsonNode retryPolicyValue2 = actionValue2.get("retryPolicy");
if (retryPolicyValue2 != null) {
RetryPolicy retryPolicyInstance = new RetryPolicy();
actionInstance.setRetryPolicy(retryPolicyInstance);
JsonNode retryTypeValue = retryPolicyValue2.get("retryType");
if (retryTypeValue != null) {
RetryType retryTypeInstance;
retryTypeInstance = SchedulerClientImpl.parseRetryType(retryTypeValue.getTextValue());
retryPolicyInstance.setRetryType(retryTypeInstance);
}
JsonNode retryIntervalValue = retryPolicyValue2.get("retryInterval");
if (retryIntervalValue != null) {
Duration retryIntervalInstance;
retryIntervalInstance = TimeSpan8601Converter.parse(retryIntervalValue.getTextValue());
retryPolicyInstance.setRetryInterval(retryIntervalInstance);
}
JsonNode retryCountValue = retryPolicyValue2.get("retryCount");
if (retryCountValue != null) {
int retryCountInstance;
retryCountInstance = retryCountValue.getIntValue();
retryPolicyInstance.setRetryCount(retryCountInstance);
}
}
JsonNode errorActionValue2 = actionValue2.get("errorAction");
if (errorActionValue2 != null) {