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

microsoft.dynamics.crm.entity.collection.request.SdkmessageCollectionRequest 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.Sdkmessage;
import microsoft.dynamics.crm.entity.request.SdkmessageRequest;
import microsoft.dynamics.crm.entity.request.SdkmessagefilterRequest;
import microsoft.dynamics.crm.entity.request.SdkmessageprocessingstepRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class SdkmessageCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public SdkmessageCollectionRequest(ContextPath contextPath) {
        super(contextPath, Sdkmessage.class, cp -> new SdkmessageRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public SdkmessageprocessingstepCollectionRequest sdkmessageid_sdkmessageprocessingstep() {
        return new SdkmessageprocessingstepCollectionRequest(contextPath.addSegment("sdkmessageid_sdkmessageprocessingstep"));
    }

    public SdkmessageprocessingstepRequest sdkmessageid_sdkmessageprocessingstep(String sdkmessageprocessingstepid) {
        return new SdkmessageprocessingstepRequest(contextPath.addSegment("sdkmessageid_sdkmessageprocessingstep").addKeys(new NameValue(sdkmessageprocessingstepid.toString())));
    }

    public SdkmessagefilterCollectionRequest sdkmessageid_sdkmessagefilter() {
        return new SdkmessagefilterCollectionRequest(contextPath.addSegment("sdkmessageid_sdkmessagefilter"));
    }

    public SdkmessagefilterRequest sdkmessageid_sdkmessagefilter(String sdkmessagefilterid) {
        return new SdkmessagefilterRequest(contextPath.addSegment("sdkmessageid_sdkmessagefilter").addKeys(new NameValue(sdkmessagefilterid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy