}
}
JsonNode queueMessageValue3 = errorActionValue2.get("queueMessage");
if (queueMessageValue3 != null) {
JobQueueMessage queueMessageInstance = new JobQueueMessage();
errorActionInstance.setQueueMessage(queueMessageInstance);
JsonNode storageAccountValue = queueMessageValue3.get("storageAccount");
if (storageAccountValue != null) {
String storageAccountInstance;
storageAccountInstance = storageAccountValue.getTextValue();
queueMessageInstance.setStorageAccountName(storageAccountInstance);
}
JsonNode queueNameValue = queueMessageValue3.get("queueName");
if (queueNameValue != null) {
String queueNameInstance;
queueNameInstance = queueNameValue.getTextValue();
queueMessageInstance.setQueueName(queueNameInstance);
}
JsonNode sasTokenValue = queueMessageValue3.get("sasToken");
if (sasTokenValue != null) {
String sasTokenInstance;
sasTokenInstance = sasTokenValue.getTextValue();
queueMessageInstance.setSasToken(sasTokenInstance);
}
JsonNode messageValue = queueMessageValue3.get("message");
if (messageValue != null) {
String messageInstance;
messageInstance = messageValue.getTextValue();
queueMessageInstance.setMessage(messageInstance);
}
}
}
JsonNode requestValue4 = actionValue2.get("request");
if (requestValue4 != null) {
JobHttpRequest requestInstance2 = new JobHttpRequest();
actionInstance.setRequest(requestInstance2);
JsonNode uriValue2 = requestValue4.get("uri");
if (uriValue2 != null) {
URI uriInstance2;
uriInstance2 = new URI(uriValue2.getTextValue());
requestInstance2.setUri(uriInstance2);
}
JsonNode methodValue2 = requestValue4.get("method");
if (methodValue2 != null) {
String methodInstance2;
methodInstance2 = methodValue2.getTextValue();
requestInstance2.setMethod(methodInstance2);
}
JsonNode headersSequenceElement2 = ((JsonNode) requestValue4.get("headers"));
if (headersSequenceElement2 != null) {
Iterator<Map.Entry<String, JsonNode>> itr2 = headersSequenceElement2.getFields();
while (itr2.hasNext()) {
Map.Entry<String, JsonNode> property2 = itr2.next();
String headersKey4 = property2.getKey();
String headersValue4 = property2.getValue().getTextValue();
requestInstance2.getHeaders().put(headersKey4, headersValue4);
}
}
JsonNode bodyValue2 = requestValue4.get("body");
if (bodyValue2 != null) {
String bodyInstance2;
bodyInstance2 = bodyValue2.getTextValue();
requestInstance2.setBody(bodyInstance2);
}
}
JsonNode queueMessageValue4 = actionValue2.get("queueMessage");
if (queueMessageValue4 != null) {
JobQueueMessage queueMessageInstance2 = new JobQueueMessage();
actionInstance.setQueueMessage(queueMessageInstance2);
JsonNode storageAccountValue2 = queueMessageValue4.get("storageAccount");
if (storageAccountValue2 != null) {
String storageAccountInstance2;
storageAccountInstance2 = storageAccountValue2.getTextValue();
queueMessageInstance2.setStorageAccountName(storageAccountInstance2);
}
JsonNode queueNameValue2 = queueMessageValue4.get("queueName");
if (queueNameValue2 != null) {
String queueNameInstance2;
queueNameInstance2 = queueNameValue2.getTextValue();
queueMessageInstance2.setQueueName(queueNameInstance2);
}
JsonNode sasTokenValue2 = queueMessageValue4.get("sasToken");
if (sasTokenValue2 != null) {
String sasTokenInstance2;
sasTokenInstance2 = sasTokenValue2.getTextValue();
queueMessageInstance2.setSasToken(sasTokenInstance2);
}
JsonNode messageValue2 = queueMessageValue4.get("message");
if (messageValue2 != null) {
String messageInstance2;
messageInstance2 = messageValue2.getTextValue();
queueMessageInstance2.setMessage(messageInstance2);
}
}
}
JsonNode recurrenceValue2 = responseDoc.get("recurrence");