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

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

There is a newer version: 0.2.2
Show newest version
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 microsoft.dynamics.crm.entity.Mailbox;
import microsoft.dynamics.crm.entity.collection.request.ActivitypointerCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AnnotationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.EmailCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.MailboxtrackingfolderCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.QueueCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SystemuserCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.TracelogCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

@JsonIgnoreType
public class MailboxRequest extends EntityRequest {

    public MailboxRequest(ContextPath contextPath) {
        super(Mailbox.class, contextPath, SchemaInfo.INSTANCE);
    }

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

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

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

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

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

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

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

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

    public SystemuserRequest regardingobjectid() {
        return new SystemuserRequest(contextPath.addSegment("regardingobjectid"));
    }

    public EmailserverprofileRequest emailserverprofile() {
        return new EmailserverprofileRequest(contextPath.addSegment("emailserverprofile"));
    }

    public SystemuserCollectionRequest systemuser_defaultmailbox_mailbox() {
        return new SystemuserCollectionRequest(
                        contextPath.addSegment("systemuser_defaultmailbox_mailbox"));
    }

    public SystemuserRequest systemuser_defaultmailbox_mailbox(String ownerid) {
        return new SystemuserRequest(contextPath.addSegment("systemuser_defaultmailbox_mailbox").addKeys(new NameValue(ownerid.toString())));
    }

    public QueueCollectionRequest queue_defaultmailbox_mailbox() {
        return new QueueCollectionRequest(
                        contextPath.addSegment("queue_defaultmailbox_mailbox"));
    }

    public QueueRequest queue_defaultmailbox_mailbox(String queueid) {
        return new QueueRequest(contextPath.addSegment("queue_defaultmailbox_mailbox").addKeys(new NameValue(queueid.toString())));
    }

    public TracelogCollectionRequest tracelog_Mailbox() {
        return new TracelogCollectionRequest(
                        contextPath.addSegment("tracelog_Mailbox"));
    }

    public TracelogRequest tracelog_Mailbox(String tracelogid) {
        return new TracelogRequest(contextPath.addSegment("tracelog_Mailbox").addKeys(new NameValue(tracelogid.toString())));
    }

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

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

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

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

    public QueueRequest regardingobjectid_queue() {
        return new QueueRequest(contextPath.addSegment("regardingobjectid_queue"));
    }

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

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

    public SyncerrorCollectionRequest mailbox_SyncErrors() {
        return new SyncerrorCollectionRequest(
                        contextPath.addSegment("Mailbox_SyncErrors"));
    }

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

    public AnnotationCollectionRequest mailbox_Annotation() {
        return new AnnotationCollectionRequest(
                        contextPath.addSegment("Mailbox_Annotation"));
    }

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

    public MailboxtrackingfolderCollectionRequest mailbox_MailboxTrackingFolder() {
        return new MailboxtrackingfolderCollectionRequest(
                        contextPath.addSegment("Mailbox_MailboxTrackingFolder"));
    }

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

    public OrganizationRequest organizationid() {
        return new OrganizationRequest(contextPath.addSegment("organizationid"));
    }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy