microsoft.dynamics.crm.entity.request.SitemapRequest 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.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.Sitemap;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class SitemapRequest extends EntityRequest {
public SitemapRequest(ContextPath contextPath) {
super(Sitemap.class, contextPath, SchemaInfo.INSTANCE);
}
public SystemuserRequest siteMap_modifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("SiteMap_modifiedonbehalfby"));
}
public SystemuserRequest siteMap_modifiedby() {
return new SystemuserRequest(contextPath.addSegment("SiteMap_modifiedby"));
}
public SystemuserRequest siteMap_createdonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("SiteMap_createdonbehalfby"));
}
public OrganizationRequest organizationid() {
return new OrganizationRequest(contextPath.addSegment("organizationid"));
}
public SystemuserRequest siteMap_createdby() {
return new SystemuserRequest(contextPath.addSegment("SiteMap_createdby"));
}
@Function(name = "RetrieveUnpublished")
@JsonIgnore
public FunctionRequestReturningNonCollectionUnwrapped retrieveUnpublished() {
Map _parameters = ParameterMap.empty();
return new FunctionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.RetrieveUnpublished"), Sitemap.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy