microsoft.dynamics.crm.entity.collection.request.MailboxCollectionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-client-microsoft-dynamics Show documentation
Show all versions of odata-client-microsoft-dynamics Show documentation
Java client as template for Microsoft Dynamics organisation endpoints
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.Mailbox;
import microsoft.dynamics.crm.entity.request.ActivitypointerRequest;
import microsoft.dynamics.crm.entity.request.AnnotationRequest;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.EmailRequest;
import microsoft.dynamics.crm.entity.request.MailboxRequest;
import microsoft.dynamics.crm.entity.request.MailboxtrackingfolderRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.QueueRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.entity.request.SystemuserRequest;
import microsoft.dynamics.crm.entity.request.TracelogRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class MailboxCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public MailboxCollectionRequest(ContextPath contextPath) {
super(contextPath, Mailbox.class, cp -> new MailboxRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
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 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 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