microsoft.dynamics.crm.entity.request.ThemeRequest 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.request;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.github.davidmoten.odata.client.ActionRequestNoReturn;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.annotation.Action;
import com.github.davidmoten.odata.client.internal.ParameterMap;
import com.github.davidmoten.odata.client.internal.TypedObject;
import java.util.Map;
import microsoft.dynamics.crm.entity.Theme;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class ThemeRequest extends EntityRequest {
public ThemeRequest(ContextPath contextPath) {
super(Theme.class, contextPath, SchemaInfo.INSTANCE);
}
public SystemuserRequest createdby() {
return new SystemuserRequest(contextPath.addSegment("createdby"));
}
public SystemuserRequest createdonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"));
}
public SystemuserRequest modifiedby() {
return new SystemuserRequest(contextPath.addSegment("modifiedby"));
}
public SystemuserRequest modifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
}
public OrganizationRequest organizationid() {
return new OrganizationRequest(contextPath.addSegment("organizationid"));
}
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())));
}
public TransactioncurrencyRequest transactioncurrencyid() {
return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid"));
}
public WebresourceRequest logoimage() {
return new WebresourceRequest(contextPath.addSegment("logoimage"));
}
@Action(name = "PublishTheme")
@JsonIgnore
public ActionRequestNoReturn publishTheme() {
Map _parameters = ParameterMap.empty();
return new ActionRequestNoReturn(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.PublishTheme"), _parameters);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy