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

microsoft.dynamics.crm.entity.collection.request.BusinessunitnewsarticleCollectionRequest 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.Businessunitnewsarticle;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.BusinessunitnewsarticleRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class BusinessunitnewsarticleCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public BusinessunitnewsarticleCollectionRequest(ContextPath contextPath) {
        super(contextPath, Businessunitnewsarticle.class, cp -> new BusinessunitnewsarticleRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy