internal JobDefinitionService(IJobDefinitionRestService api)
 {
     _api = api;
 }
 internal JobDefinitionResource(IJobDefinitionRestService api, string jobDefinitionId)
 {
     _api             = api;
     _jobDefinitionId = jobDefinitionId;
 }