microsoft.dynamics.crm.entity.request.WebresourceRequest 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.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.annotation.Function;
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.Webresource;
import microsoft.dynamics.crm.entity.collection.request.SavedqueryvisualizationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SolutionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ThemeCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.UserqueryvisualizationCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class WebresourceRequest extends EntityRequest {
public WebresourceRequest(ContextPath contextPath) {
super(Webresource.class, contextPath, SchemaInfo.INSTANCE);
}
public SolutionCollectionRequest solution_configuration_webresource() {
return new SolutionCollectionRequest(
contextPath.addSegment("solution_configuration_webresource"));
}
public SolutionRequest solution_configuration_webresource(String solutionid) {
return new SolutionRequest(contextPath.addSegment("solution_configuration_webresource").addKeys(new NameValue(solutionid.toString())));
}
public OrganizationRequest organizationid() {
return new OrganizationRequest(contextPath.addSegment("organizationid"));
}
public SystemuserRequest modifiedby() {
return new SystemuserRequest(contextPath.addSegment("modifiedby"));
}
public UserqueryvisualizationCollectionRequest webresource_userqueryvisualizations() {
return new UserqueryvisualizationCollectionRequest(
contextPath.addSegment("webresource_userqueryvisualizations"));
}
public UserqueryvisualizationRequest webresource_userqueryvisualizations(String userqueryvisualizationid) {
return new UserqueryvisualizationRequest(contextPath.addSegment("webresource_userqueryvisualizations").addKeys(new NameValue(userqueryvisualizationid.toString())));
}
public SystemuserRequest createdonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"));
}
public SavedqueryvisualizationCollectionRequest webresource_savedqueryvisualizations() {
return new SavedqueryvisualizationCollectionRequest(
contextPath.addSegment("webresource_savedqueryvisualizations"));
}
public SavedqueryvisualizationRequest webresource_savedqueryvisualizations(String savedqueryvisualizationid) {
return new SavedqueryvisualizationRequest(contextPath.addSegment("webresource_savedqueryvisualizations").addKeys(new NameValue(savedqueryvisualizationid.toString())));
}
public ThemeCollectionRequest lk_theme_logoid() {
return new ThemeCollectionRequest(
contextPath.addSegment("lk_theme_logoid"));
}
public ThemeRequest lk_theme_logoid(String themeid) {
return new ThemeRequest(contextPath.addSegment("lk_theme_logoid").addKeys(new NameValue(themeid.toString())));
}
public SystemuserRequest modifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
}
public SystemuserRequest createdby() {
return new SystemuserRequest(contextPath.addSegment("createdby"));
}
@Function(name = "RetrieveUnpublished")
@JsonIgnore
public FunctionRequestReturningNonCollectionUnwrapped retrieveUnpublished() {
Map _parameters = ParameterMap.empty();
return new FunctionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.RetrieveUnpublished"), Webresource.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy