Skip to content

Commit 0a9f2bc

Browse files
authored
Merge pull request #54 from Bertievh/develop
Added POST function to WsDailyJobsIncidentTickets
2 parents 7c426d9 + 08941ad commit 0a9f2bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/smatechnologies/opcon/restapiclient/api/dailyjobs/incidentTickets/WsDailyJobsIncidentTickets.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,10 @@ public IncidentTicketDailyJob put(IncidentTicketDailyJob incidentTicketDailyJob)
3030
return wsFactory.create(Ws.Type.PUT, incidentTicketDailyJob).path(id).run(IncidentTicketDailyJob.class);
3131
}
3232

33+
public IncidentTicketDailyJob post(IncidentTicketDailyJob incidentTicketDailyJob) throws WsException {
34+
Objects.requireNonNull(incidentTicketDailyJob, "IncidentTicketDailyJob cannot be null");
35+
36+
return wsFactory.create(Ws.Type.POST, incidentTicketDailyJob).run(IncidentTicketDailyJob.class);
37+
}
38+
3339
}

0 commit comments

Comments
 (0)