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

microsoft.dynamics.crm.entity.collection.request.EmailserverprofileCollectionRequest 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.Emailserverprofile;
import microsoft.dynamics.crm.entity.request.AnnotationRequest;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.DuplicaterecordRequest;
import microsoft.dynamics.crm.entity.request.EmailserverprofileRequest;
import microsoft.dynamics.crm.entity.request.MailboxRequest;
import microsoft.dynamics.crm.entity.request.OrganizationRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.entity.request.TracelogRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class EmailserverprofileCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public EmailserverprofileCollectionRequest(ContextPath contextPath) {
        super(contextPath, Emailserverprofile.class, cp -> new EmailserverprofileRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public MailboxCollectionRequest emailserverprofile_mailbox() {
        return new MailboxCollectionRequest(contextPath.addSegment("emailserverprofile_mailbox"));
    }

    public MailboxRequest emailserverprofile_mailbox(String mailboxid) {
        return new MailboxRequest(contextPath.addSegment("emailserverprofile_mailbox").addKeys(new NameValue(mailboxid.toString())));
    }

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

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

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

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

    public OrganizationCollectionRequest emailServerProfile_Organization() {
        return new OrganizationCollectionRequest(contextPath.addSegment("EmailServerProfile_Organization"));
    }

    public OrganizationRequest emailServerProfile_Organization(String organizationid) {
        return new OrganizationRequest(contextPath.addSegment("EmailServerProfile_Organization").addKeys(new NameValue(organizationid.toString())));
    }

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

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

    public AnnotationCollectionRequest emailServerProfile_Annotation() {
        return new AnnotationCollectionRequest(contextPath.addSegment("EmailServerProfile_Annotation"));
    }

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

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

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

    public SyncerrorCollectionRequest emailServerProfile_SyncErrors() {
        return new SyncerrorCollectionRequest(contextPath.addSegment("EmailServerProfile_SyncErrors"));
    }

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy