public OntraportBaseCustomObject(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects, string endpointSingular, string endpointPlural, int objectTypeId, string primarySearchKey) : base(apiRequest, endpointSingular, endpointPlural, primarySearchKey) { _ontraObjects = ontraObjects; _objectTypeId = objectTypeId; }
public OntraportContacts(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects) { }
public OntraportContacts(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects, "Contact", "Contacts", (int)ApiObjectType.Contact, ApiContact.EmailKey) { }
public OntraportDeals(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects, "Deal", "Deals", (int)ApiObjectType.Deal, ApiDeal.NameKey) { }
public OntraportCompanies(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects, "Company", "Companies", (int)ApiObjectType.Company, ApiCompany.NameKey) { }
public OntraportRecordings(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects, "Recording", "Recordings", ObjectTypeId, ApiRecording.FileNameKey) { }
public OntraportPaymentPlans(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects, "PaymentPlan", "PaymentPlans", ObjectTypeId, null) { }
public OntraportReadings(OntraportHttpClient apiRequest, IOntraportObjects ontraObjects) : base(apiRequest, ontraObjects, "Reading", "Readings", ObjectTypeId, null) { }