All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.dynamics.crm.entity.collection.request.ContactCollectionRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package microsoft.dynamics.crm.entity.collection.request;

import com.github.davidmoten.odata.client.CollectionPageEntityRequest;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.NameValue;

import microsoft.dynamics.crm.entity.Contact;
import microsoft.dynamics.crm.entity.request.AccountRequest;
import microsoft.dynamics.crm.entity.request.ActioncardRequest;
import microsoft.dynamics.crm.entity.request.ActivitypartyRequest;
import microsoft.dynamics.crm.entity.request.ActivitypointerRequest;
import microsoft.dynamics.crm.entity.request.AnnotationRequest;
import microsoft.dynamics.crm.entity.request.AppointmentRequest;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.ConnectionRequest;
import microsoft.dynamics.crm.entity.request.ContactRequest;
import microsoft.dynamics.crm.entity.request.CustomeraddressRequest;
import microsoft.dynamics.crm.entity.request.DuplicaterecordRequest;
import microsoft.dynamics.crm.entity.request.EmailRequest;
import microsoft.dynamics.crm.entity.request.FaxRequest;
import microsoft.dynamics.crm.entity.request.FeedbackRequest;
import microsoft.dynamics.crm.entity.request.LetterRequest;
import microsoft.dynamics.crm.entity.request.MailboxtrackingfolderRequest;
import microsoft.dynamics.crm.entity.request.PhonecallRequest;
import microsoft.dynamics.crm.entity.request.PostfollowRequest;
import microsoft.dynamics.crm.entity.request.PostregardingRequest;
import microsoft.dynamics.crm.entity.request.PrincipalobjectattributeaccessRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.RecurringappointmentmasterRequest;
import microsoft.dynamics.crm.entity.request.SlakpiinstanceRequest;
import microsoft.dynamics.crm.entity.request.SocialactivityRequest;
import microsoft.dynamics.crm.entity.request.SocialprofileRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.entity.request.TaskRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class ContactCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public ContactCollectionRequest(ContextPath contextPath) {
        super(contextPath, Contact.class, cp -> new ContactRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public PrincipalobjectattributeaccessCollectionRequest contact_principalobjectattributeaccess() {
        return new PrincipalobjectattributeaccessCollectionRequest(contextPath.addSegment("contact_principalobjectattributeaccess"));
    }

    public PrincipalobjectattributeaccessRequest contact_principalobjectattributeaccess(String principalobjectattributeaccessid) {
        return new PrincipalobjectattributeaccessRequest(contextPath.addSegment("contact_principalobjectattributeaccess").addKeys(new NameValue(principalobjectattributeaccessid.toString())));
    }

    public ConnectionCollectionRequest contact_connections1() {
        return new ConnectionCollectionRequest(contextPath.addSegment("contact_connections1"));
    }

    public ConnectionRequest contact_connections1(String connectionid) {
        return new ConnectionRequest(contextPath.addSegment("contact_connections1").addKeys(new NameValue(connectionid.toString())));
    }

    public FeedbackCollectionRequest contact_Feedback() {
        return new FeedbackCollectionRequest(contextPath.addSegment("Contact_Feedback"));
    }

    public FeedbackRequest contact_Feedback(String feedbackid) {
        return new FeedbackRequest(contextPath.addSegment("Contact_Feedback").addKeys(new NameValue(feedbackid.toString())));
    }

    public ProcesssessionCollectionRequest contact_ProcessSessions() {
        return new ProcesssessionCollectionRequest(contextPath.addSegment("Contact_ProcessSessions"));
    }

    public ProcesssessionRequest contact_ProcessSessions(String processsessionid) {
        return new ProcesssessionRequest(contextPath.addSegment("Contact_ProcessSessions").addKeys(new NameValue(processsessionid.toString())));
    }

    public ActivitypointerCollectionRequest contact_ActivityPointers() {
        return new ActivitypointerCollectionRequest(contextPath.addSegment("Contact_ActivityPointers"));
    }

    public ActivitypointerRequest contact_ActivityPointers(String activityid) {
        return new ActivitypointerRequest(contextPath.addSegment("Contact_ActivityPointers").addKeys(new NameValue(activityid.toString())));
    }

    public SocialactivityCollectionRequest contact_SocialActivities() {
        return new SocialactivityCollectionRequest(contextPath.addSegment("Contact_SocialActivities"));
    }

    public SocialactivityRequest contact_SocialActivities(String activityid) {
        return new SocialactivityRequest(contextPath.addSegment("Contact_SocialActivities").addKeys(new NameValue(activityid.toString())));
    }

    public FeedbackCollectionRequest lk_contact_feedback_createdonbehalfby() {
        return new FeedbackCollectionRequest(contextPath.addSegment("lk_contact_feedback_createdonbehalfby"));
    }

    public FeedbackRequest lk_contact_feedback_createdonbehalfby(String feedbackid) {
        return new FeedbackRequest(contextPath.addSegment("lk_contact_feedback_createdonbehalfby").addKeys(new NameValue(feedbackid.toString())));
    }

    public PostfollowCollectionRequest contact_PostFollows() {
        return new PostfollowCollectionRequest(contextPath.addSegment("contact_PostFollows"));
    }

    public PostfollowRequest contact_PostFollows(String postfollowid) {
        return new PostfollowRequest(contextPath.addSegment("contact_PostFollows").addKeys(new NameValue(postfollowid.toString())));
    }

    public PostregardingCollectionRequest contact_PostRegardings() {
        return new PostregardingCollectionRequest(contextPath.addSegment("contact_PostRegardings"));
    }

    public PostregardingRequest contact_PostRegardings(String postregardingid) {
        return new PostregardingRequest(contextPath.addSegment("contact_PostRegardings").addKeys(new NameValue(postregardingid.toString())));
    }

    public SocialactivityCollectionRequest socialactivity_postauthor_contacts() {
        return new SocialactivityCollectionRequest(contextPath.addSegment("socialactivity_postauthor_contacts"));
    }

    public SocialactivityRequest socialactivity_postauthor_contacts(String activityid) {
        return new SocialactivityRequest(contextPath.addSegment("socialactivity_postauthor_contacts").addKeys(new NameValue(activityid.toString())));
    }

    public PhonecallCollectionRequest contact_Phonecalls() {
        return new PhonecallCollectionRequest(contextPath.addSegment("Contact_Phonecalls"));
    }

    public PhonecallRequest contact_Phonecalls(String activityid) {
        return new PhonecallRequest(contextPath.addSegment("Contact_Phonecalls").addKeys(new NameValue(activityid.toString())));
    }

    public TaskCollectionRequest contact_Tasks() {
        return new TaskCollectionRequest(contextPath.addSegment("Contact_Tasks"));
    }

    public TaskRequest contact_Tasks(String activityid) {
        return new TaskRequest(contextPath.addSegment("Contact_Tasks").addKeys(new NameValue(activityid.toString())));
    }

    public SyncerrorCollectionRequest contact_SyncErrors() {
        return new SyncerrorCollectionRequest(contextPath.addSegment("Contact_SyncErrors"));
    }

    public SyncerrorRequest contact_SyncErrors(String syncerrorid) {
        return new SyncerrorRequest(contextPath.addSegment("Contact_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
    }

    public AnnotationCollectionRequest contact_Annotation() {
        return new AnnotationCollectionRequest(contextPath.addSegment("Contact_Annotation"));
    }

    public AnnotationRequest contact_Annotation(String annotationid) {
        return new AnnotationRequest(contextPath.addSegment("Contact_Annotation").addKeys(new NameValue(annotationid.toString())));
    }

    public ContactCollectionRequest contact_master_contact() {
        return new ContactCollectionRequest(contextPath.addSegment("contact_master_contact"));
    }

    public ContactRequest contact_master_contact(String contactid) {
        return new ContactRequest(contextPath.addSegment("contact_master_contact").addKeys(new NameValue(contactid.toString())));
    }

    public EmailCollectionRequest contact_Email_EmailSender() {
        return new EmailCollectionRequest(contextPath.addSegment("Contact_Email_EmailSender"));
    }

    public EmailRequest contact_Email_EmailSender(String activityid) {
        return new EmailRequest(contextPath.addSegment("Contact_Email_EmailSender").addKeys(new NameValue(activityid.toString())));
    }

    public AccountCollectionRequest account_primary_contact() {
        return new AccountCollectionRequest(contextPath.addSegment("account_primary_contact"));
    }

    public AccountRequest account_primary_contact(String accountid) {
        return new AccountRequest(contextPath.addSegment("account_primary_contact").addKeys(new NameValue(accountid.toString())));
    }

    public ActioncardCollectionRequest contact_actioncard() {
        return new ActioncardCollectionRequest(contextPath.addSegment("contact_actioncard"));
    }

    public ActioncardRequest contact_actioncard(String actioncardid) {
        return new ActioncardRequest(contextPath.addSegment("contact_actioncard").addKeys(new NameValue(actioncardid.toString())));
    }

    public SocialactivityCollectionRequest socialactivity_postauthoraccount_contacts() {
        return new SocialactivityCollectionRequest(contextPath.addSegment("socialactivity_postauthoraccount_contacts"));
    }

    public SocialactivityRequest socialactivity_postauthoraccount_contacts(String activityid) {
        return new SocialactivityRequest(contextPath.addSegment("socialactivity_postauthoraccount_contacts").addKeys(new NameValue(activityid.toString())));
    }

    public SocialprofileCollectionRequest socialprofile_customer_contacts() {
        return new SocialprofileCollectionRequest(contextPath.addSegment("Socialprofile_customer_contacts"));
    }

    public SocialprofileRequest socialprofile_customer_contacts(String socialprofileid) {
        return new SocialprofileRequest(contextPath.addSegment("Socialprofile_customer_contacts").addKeys(new NameValue(socialprofileid.toString())));
    }

    public CustomeraddressCollectionRequest contact_CustomerAddress() {
        return new CustomeraddressCollectionRequest(contextPath.addSegment("Contact_CustomerAddress"));
    }

    public CustomeraddressRequest contact_CustomerAddress(String customeraddressid) {
        return new CustomeraddressRequest(contextPath.addSegment("Contact_CustomerAddress").addKeys(new NameValue(customeraddressid.toString())));
    }

    public DuplicaterecordCollectionRequest contact_DuplicateMatchingRecord() {
        return new DuplicaterecordCollectionRequest(contextPath.addSegment("Contact_DuplicateMatchingRecord"));
    }

    public DuplicaterecordRequest contact_DuplicateMatchingRecord(String duplicateid) {
        return new DuplicaterecordRequest(contextPath.addSegment("Contact_DuplicateMatchingRecord").addKeys(new NameValue(duplicateid.toString())));
    }

    public FeedbackCollectionRequest lk_contact_feedback_createdby() {
        return new FeedbackCollectionRequest(contextPath.addSegment("lk_contact_feedback_createdby"));
    }

    public FeedbackRequest lk_contact_feedback_createdby(String feedbackid) {
        return new FeedbackRequest(contextPath.addSegment("lk_contact_feedback_createdby").addKeys(new NameValue(feedbackid.toString())));
    }

    public SlakpiinstanceCollectionRequest slakpiinstance_contact() {
        return new SlakpiinstanceCollectionRequest(contextPath.addSegment("slakpiinstance_contact"));
    }

    public SlakpiinstanceRequest slakpiinstance_contact(String slakpiinstanceid) {
        return new SlakpiinstanceRequest(contextPath.addSegment("slakpiinstance_contact").addKeys(new NameValue(slakpiinstanceid.toString())));
    }

    public FaxCollectionRequest contact_Faxes() {
        return new FaxCollectionRequest(contextPath.addSegment("Contact_Faxes"));
    }

    public FaxRequest contact_Faxes(String activityid) {
        return new FaxRequest(contextPath.addSegment("Contact_Faxes").addKeys(new NameValue(activityid.toString())));
    }

    public MailboxtrackingfolderCollectionRequest contact_MailboxTrackingFolder() {
        return new MailboxtrackingfolderCollectionRequest(contextPath.addSegment("Contact_MailboxTrackingFolder"));
    }

    public MailboxtrackingfolderRequest contact_MailboxTrackingFolder(String mailboxtrackingfolderid) {
        return new MailboxtrackingfolderRequest(contextPath.addSegment("Contact_MailboxTrackingFolder").addKeys(new NameValue(mailboxtrackingfolderid.toString())));
    }

    public AppointmentCollectionRequest contact_Appointments() {
        return new AppointmentCollectionRequest(contextPath.addSegment("Contact_Appointments"));
    }

    public AppointmentRequest contact_Appointments(String activityid) {
        return new AppointmentRequest(contextPath.addSegment("Contact_Appointments").addKeys(new NameValue(activityid.toString())));
    }

    public AsyncoperationCollectionRequest contact_AsyncOperations() {
        return new AsyncoperationCollectionRequest(contextPath.addSegment("Contact_AsyncOperations"));
    }

    public AsyncoperationRequest contact_AsyncOperations(String asyncoperationid) {
        return new AsyncoperationRequest(contextPath.addSegment("Contact_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
    }

    public RecurringappointmentmasterCollectionRequest contact_RecurringAppointmentMasters() {
        return new RecurringappointmentmasterCollectionRequest(contextPath.addSegment("Contact_RecurringAppointmentMasters"));
    }

    public RecurringappointmentmasterRequest contact_RecurringAppointmentMasters(String activityid) {
        return new RecurringappointmentmasterRequest(contextPath.addSegment("Contact_RecurringAppointmentMasters").addKeys(new NameValue(activityid.toString())));
    }

    public BulkdeletefailureCollectionRequest contact_BulkDeleteFailures() {
        return new BulkdeletefailureCollectionRequest(contextPath.addSegment("Contact_BulkDeleteFailures"));
    }

    public BulkdeletefailureRequest contact_BulkDeleteFailures(String bulkdeletefailureid) {
        return new BulkdeletefailureRequest(contextPath.addSegment("Contact_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
    }

    public ContactCollectionRequest contact_customer_contacts() {
        return new ContactCollectionRequest(contextPath.addSegment("contact_customer_contacts"));
    }

    public ContactRequest contact_customer_contacts(String contactid) {
        return new ContactRequest(contextPath.addSegment("contact_customer_contacts").addKeys(new NameValue(contactid.toString())));
    }

    public ConnectionCollectionRequest contact_connections2() {
        return new ConnectionCollectionRequest(contextPath.addSegment("contact_connections2"));
    }

    public ConnectionRequest contact_connections2(String connectionid) {
        return new ConnectionRequest(contextPath.addSegment("contact_connections2").addKeys(new NameValue(connectionid.toString())));
    }

    public DuplicaterecordCollectionRequest contact_DuplicateBaseRecord() {
        return new DuplicaterecordCollectionRequest(contextPath.addSegment("Contact_DuplicateBaseRecord"));
    }

    public DuplicaterecordRequest contact_DuplicateBaseRecord(String duplicateid) {
        return new DuplicaterecordRequest(contextPath.addSegment("Contact_DuplicateBaseRecord").addKeys(new NameValue(duplicateid.toString())));
    }

    public EmailCollectionRequest contact_Emails() {
        return new EmailCollectionRequest(contextPath.addSegment("Contact_Emails"));
    }

    public EmailRequest contact_Emails(String activityid) {
        return new EmailRequest(contextPath.addSegment("Contact_Emails").addKeys(new NameValue(activityid.toString())));
    }

    public ActivitypartyCollectionRequest contact_activity_parties() {
        return new ActivitypartyCollectionRequest(contextPath.addSegment("contact_activity_parties"));
    }

    public ActivitypartyRequest contact_activity_parties(String activitypartyid) {
        return new ActivitypartyRequest(contextPath.addSegment("contact_activity_parties").addKeys(new NameValue(activitypartyid.toString())));
    }

    public LetterCollectionRequest contact_Letters() {
        return new LetterCollectionRequest(contextPath.addSegment("Contact_Letters"));
    }

    public LetterRequest contact_Letters(String activityid) {
        return new LetterRequest(contextPath.addSegment("Contact_Letters").addKeys(new NameValue(activityid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy