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

microsoft.dynamics.crm.entity.request.ContactRequest Maven / Gradle / Ivy

package microsoft.dynamics.crm.entity.request;

import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.NameValue;

import java.lang.Object;
import java.util.Optional;
import java.util.UUID;

import microsoft.dynamics.crm.entity.Contact;
import microsoft.dynamics.crm.entity.collection.request.AccountCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ActioncardCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ActivitypartyCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ActivitypointerCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AnnotationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AppointmentCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ConnectionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ContactCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.CustomeraddressCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.DuplicaterecordCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.EmailCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.FaxCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.FeedbackCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.LetterCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.MailboxtrackingfolderCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PhonecallCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PostfollowCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PostregardingCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PrincipalobjectattributeaccessCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.RecurringappointmentmasterCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SlakpiinstanceCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SocialactivityCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SocialprofileCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.TaskCollectionRequest;

@JsonIgnoreType
public class ContactRequest extends EntityRequest {

    public ContactRequest(ContextPath contextPath, Optional value) {
        super(Contact.class, contextPath, value, false);
    }

    public PrincipalobjectattributeaccessRequest contact_principalobjectattributeaccess(UUID principalobjectattributeaccessid) {
        return new PrincipalobjectattributeaccessRequest(contextPath.addSegment("contact_principalobjectattributeaccess").addKeys(new NameValue(principalobjectattributeaccessid, UUID.class)), Optional.empty());
    }

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

    public ConnectionRequest contact_connections1(UUID connectionid) {
        return new ConnectionRequest(contextPath.addSegment("contact_connections1").addKeys(new NameValue(connectionid, UUID.class)), Optional.empty());
    }

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

    public FeedbackRequest contact_Feedback(UUID feedbackid) {
        return new FeedbackRequest(contextPath.addSegment("Contact_Feedback").addKeys(new NameValue(feedbackid, UUID.class)), Optional.empty());
    }

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

    public ProcesssessionRequest contact_ProcessSessions(UUID processsessionid) {
        return new ProcesssessionRequest(contextPath.addSegment("Contact_ProcessSessions").addKeys(new NameValue(processsessionid, UUID.class)), Optional.empty());
    }

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

    public ProcessstageRequest stageid_processstage() {
        return new ProcessstageRequest(contextPath.addSegment("stageid_processstage"), Optional.empty());
    }

    public ActivitypointerRequest contact_ActivityPointers(UUID activityid) {
        return new ActivitypointerRequest(contextPath.addSegment("Contact_ActivityPointers").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public SocialactivityRequest contact_SocialActivities(UUID activityid) {
        return new SocialactivityRequest(contextPath.addSegment("Contact_SocialActivities").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public FeedbackRequest lk_contact_feedback_createdonbehalfby(UUID feedbackid) {
        return new FeedbackRequest(contextPath.addSegment("lk_contact_feedback_createdonbehalfby").addKeys(new NameValue(feedbackid, UUID.class)), Optional.empty());
    }

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

    public PostfollowRequest contact_PostFollows(UUID postfollowid) {
        return new PostfollowRequest(contextPath.addSegment("contact_PostFollows").addKeys(new NameValue(postfollowid, UUID.class)), Optional.empty());
    }

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

    public PostregardingRequest contact_PostRegardings(UUID postregardingid) {
        return new PostregardingRequest(contextPath.addSegment("contact_PostRegardings").addKeys(new NameValue(postregardingid, UUID.class)), Optional.empty());
    }

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

    public SocialactivityRequest socialactivity_postauthor_contacts(UUID activityid) {
        return new SocialactivityRequest(contextPath.addSegment("socialactivity_postauthor_contacts").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public PhonecallRequest contact_Phonecalls(UUID activityid) {
        return new PhonecallRequest(contextPath.addSegment("Contact_Phonecalls").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public TaskRequest contact_Tasks(UUID activityid) {
        return new TaskRequest(contextPath.addSegment("Contact_Tasks").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public SyncerrorRequest contact_SyncErrors(UUID syncerrorid) {
        return new SyncerrorRequest(contextPath.addSegment("Contact_SyncErrors").addKeys(new NameValue(syncerrorid, UUID.class)), Optional.empty());
    }

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

    public SlaRequest slainvokedid_contact_sla() {
        return new SlaRequest(contextPath.addSegment("slainvokedid_contact_sla"), Optional.empty());
    }

    public SlaRequest sla_contact_sla() {
        return new SlaRequest(contextPath.addSegment("sla_contact_sla"), Optional.empty());
    }

    public SystemuserRequest createdonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"), Optional.empty());
    }

    public AnnotationRequest contact_Annotation(UUID annotationid) {
        return new AnnotationRequest(contextPath.addSegment("Contact_Annotation").addKeys(new NameValue(annotationid, UUID.class)), Optional.empty());
    }

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

    public ContactRequest masterid() {
        return new ContactRequest(contextPath.addSegment("masterid"), Optional.empty());
    }

    public ContactRequest contact_master_contact(UUID contactid) {
        return new ContactRequest(contextPath.addSegment("contact_master_contact").addKeys(new NameValue(contactid, UUID.class)), Optional.empty());
    }

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

    public SystemuserRequest modifiedonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"), Optional.empty());
    }

    public EmailRequest contact_Email_EmailSender(UUID activityid) {
        return new EmailRequest(contextPath.addSegment("Contact_Email_EmailSender").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public AccountRequest account_primary_contact(UUID accountid) {
        return new AccountRequest(contextPath.addSegment("account_primary_contact").addKeys(new NameValue(accountid, UUID.class)), Optional.empty());
    }

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

    public SystemuserRequest createdby() {
        return new SystemuserRequest(contextPath.addSegment("createdby"), Optional.empty());
    }

    public ActioncardRequest contact_actioncard(UUID actioncardid) {
        return new ActioncardRequest(contextPath.addSegment("contact_actioncard").addKeys(new NameValue(actioncardid, UUID.class)), Optional.empty());
    }

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

    public SocialactivityRequest socialactivity_postauthoraccount_contacts(UUID activityid) {
        return new SocialactivityRequest(contextPath.addSegment("socialactivity_postauthoraccount_contacts").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public SocialprofileRequest socialprofile_customer_contacts(UUID socialprofileid) {
        return new SocialprofileRequest(contextPath.addSegment("Socialprofile_customer_contacts").addKeys(new NameValue(socialprofileid, UUID.class)), Optional.empty());
    }

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

    public CustomeraddressRequest contact_CustomerAddress(UUID customeraddressid) {
        return new CustomeraddressRequest(contextPath.addSegment("Contact_CustomerAddress").addKeys(new NameValue(customeraddressid, UUID.class)), Optional.empty());
    }

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

    public BusinessunitRequest owningbusinessunit() {
        return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit"), Optional.empty());
    }

    public TeamRequest owningteam() {
        return new TeamRequest(contextPath.addSegment("owningteam"), Optional.empty());
    }

    public AccountRequest parentcustomerid_account() {
        return new AccountRequest(contextPath.addSegment("parentcustomerid_account"), Optional.empty());
    }

    public DuplicaterecordRequest contact_DuplicateMatchingRecord(UUID duplicateid) {
        return new DuplicaterecordRequest(contextPath.addSegment("Contact_DuplicateMatchingRecord").addKeys(new NameValue(duplicateid, UUID.class)), Optional.empty());
    }

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

    public FeedbackRequest lk_contact_feedback_createdby(UUID feedbackid) {
        return new FeedbackRequest(contextPath.addSegment("lk_contact_feedback_createdby").addKeys(new NameValue(feedbackid, UUID.class)), Optional.empty());
    }

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

    public SlakpiinstanceRequest slakpiinstance_contact(UUID slakpiinstanceid) {
        return new SlakpiinstanceRequest(contextPath.addSegment("slakpiinstance_contact").addKeys(new NameValue(slakpiinstanceid, UUID.class)), Optional.empty());
    }

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

    public SystemuserRequest preferredsystemuserid() {
        return new SystemuserRequest(contextPath.addSegment("preferredsystemuserid"), Optional.empty());
    }

    public FaxRequest contact_Faxes(UUID activityid) {
        return new FaxRequest(contextPath.addSegment("Contact_Faxes").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public MailboxtrackingfolderRequest contact_MailboxTrackingFolder(UUID mailboxtrackingfolderid) {
        return new MailboxtrackingfolderRequest(contextPath.addSegment("Contact_MailboxTrackingFolder").addKeys(new NameValue(mailboxtrackingfolderid, UUID.class)), Optional.empty());
    }

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

    public AppointmentRequest contact_Appointments(UUID activityid) {
        return new AppointmentRequest(contextPath.addSegment("Contact_Appointments").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public SystemuserRequest owninguser() {
        return new SystemuserRequest(contextPath.addSegment("owninguser"), Optional.empty());
    }

    public AsyncoperationRequest contact_AsyncOperations(UUID asyncoperationid) {
        return new AsyncoperationRequest(contextPath.addSegment("Contact_AsyncOperations").addKeys(new NameValue(asyncoperationid, UUID.class)), Optional.empty());
    }

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

    public PrincipalRequest ownerid() {
        return new PrincipalRequest(contextPath.addSegment("ownerid"), Optional.empty());
    }

    public TransactioncurrencyRequest transactioncurrencyid() {
        return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid"), Optional.empty());
    }

    public RecurringappointmentmasterRequest contact_RecurringAppointmentMasters(UUID activityid) {
        return new RecurringappointmentmasterRequest(contextPath.addSegment("Contact_RecurringAppointmentMasters").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public BulkdeletefailureRequest contact_BulkDeleteFailures(UUID bulkdeletefailureid) {
        return new BulkdeletefailureRequest(contextPath.addSegment("Contact_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid, UUID.class)), Optional.empty());
    }

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

    public ContactRequest parentcustomerid_contact() {
        return new ContactRequest(contextPath.addSegment("parentcustomerid_contact"), Optional.empty());
    }

    public ContactRequest contact_customer_contacts(UUID contactid) {
        return new ContactRequest(contextPath.addSegment("contact_customer_contacts").addKeys(new NameValue(contactid, UUID.class)), Optional.empty());
    }

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

    public ConnectionRequest contact_connections2(UUID connectionid) {
        return new ConnectionRequest(contextPath.addSegment("contact_connections2").addKeys(new NameValue(connectionid, UUID.class)), Optional.empty());
    }

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

    public DuplicaterecordRequest contact_DuplicateBaseRecord(UUID duplicateid) {
        return new DuplicaterecordRequest(contextPath.addSegment("Contact_DuplicateBaseRecord").addKeys(new NameValue(duplicateid, UUID.class)), Optional.empty());
    }

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

    public SystemuserRequest modifiedby() {
        return new SystemuserRequest(contextPath.addSegment("modifiedby"), Optional.empty());
    }

    public EmailRequest contact_Emails(UUID activityid) {
        return new EmailRequest(contextPath.addSegment("Contact_Emails").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

    public ActivitypartyRequest contact_activity_parties(UUID activitypartyid) {
        return new ActivitypartyRequest(contextPath.addSegment("contact_activity_parties").addKeys(new NameValue(activitypartyid, UUID.class)), Optional.empty());
    }

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

    public LetterRequest contact_Letters(UUID activityid) {
        return new LetterRequest(contextPath.addSegment("Contact_Letters").addKeys(new NameValue(activityid, UUID.class)), Optional.empty());
    }

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

}