microsoft.dynamics.crm.entity.collection.request.ThemeCollectionRequest 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.Theme;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.ProcesssessionRequest;
import microsoft.dynamics.crm.entity.request.ThemeRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class ThemeCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public ThemeCollectionRequest(ContextPath contextPath) {
super(contextPath, Theme.class, cp -> new ThemeRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public AsyncoperationCollectionRequest theme_AsyncOperations() {
return new AsyncoperationCollectionRequest(contextPath.addSegment("theme_AsyncOperations"));
}
public AsyncoperationRequest theme_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("theme_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public ProcesssessionCollectionRequest theme_ProcessSession() {
return new ProcesssessionCollectionRequest(contextPath.addSegment("theme_ProcessSession"));
}
public ProcesssessionRequest theme_ProcessSession(String processsessionid) {
return new ProcesssessionRequest(contextPath.addSegment("theme_ProcessSession").addKeys(new NameValue(processsessionid.toString())));
}
public BulkdeletefailureCollectionRequest theme_BulkDeleteFailures() {
return new BulkdeletefailureCollectionRequest(contextPath.addSegment("theme_BulkDeleteFailures"));
}
public BulkdeletefailureRequest theme_BulkDeleteFailures(String bulkdeletefailureid) {
return new BulkdeletefailureRequest(contextPath.addSegment("theme_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy