microsoft.dynamics.crm.entity.collection.request.RollupfieldCollectionRequest 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.Rollupfield;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.RollupfieldRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class RollupfieldCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public RollupfieldCollectionRequest(ContextPath contextPath) {
super(contextPath, Rollupfield.class, cp -> new RollupfieldRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public ProcesssessionCollectionRequest rollupfield_ProcessSessions() {
return new ProcesssessionCollectionRequest(contextPath.addSegment("rollupfield_ProcessSessions"));
}
public ProcesssessionRequest rollupfield_ProcessSessions(String processsessionid) {
return new ProcesssessionRequest(contextPath.addSegment("rollupfield_ProcessSessions").addKeys(new NameValue(processsessionid.toString())));
}
public AsyncoperationCollectionRequest rollupfield_AsyncOperations() {
return new AsyncoperationCollectionRequest(contextPath.addSegment("rollupfield_AsyncOperations"));
}
public AsyncoperationRequest rollupfield_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("rollupfield_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public SyncerrorCollectionRequest rollupField_SyncErrors() {
return new SyncerrorCollectionRequest(contextPath.addSegment("RollupField_SyncErrors"));
}
public SyncerrorRequest rollupField_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("RollupField_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy