microsoft.dynamics.crm.entity.request.ReportRequest 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.complex.DownloadReportDefinitionResponse;
import microsoft.dynamics.crm.complex.GetReportHistoryLimitResponse;
import microsoft.dynamics.crm.entity.Report;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ReportCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ReportcategoryCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class ReportRequest extends EntityRequest {
public ReportRequest(ContextPath contextPath) {
super(Report.class, contextPath, SchemaInfo.INSTANCE);
}
public AsyncoperationCollectionRequest report_AsyncOperations() {
return new AsyncoperationCollectionRequest(
contextPath.addSegment("Report_AsyncOperations"));
}
public AsyncoperationRequest report_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("Report_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public ReportcategoryCollectionRequest report_reportcategories() {
return new ReportcategoryCollectionRequest(
contextPath.addSegment("report_reportcategories"));
}
public ReportcategoryRequest report_reportcategories(String reportcategoryid) {
return new ReportcategoryRequest(contextPath.addSegment("report_reportcategories").addKeys(new NameValue(reportcategoryid.toString())));
}
public SystemuserRequest modifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
}
public ProcesssessionCollectionRequest report_ProcessSessions() {
return new ProcesssessionCollectionRequest(
contextPath.addSegment("Report_ProcessSessions"));
}
public ProcesssessionRequest report_ProcessSessions(String processsessionid) {
return new ProcesssessionRequest(contextPath.addSegment("Report_ProcessSessions").addKeys(new NameValue(processsessionid.toString())));
}
public SystemuserRequest createdonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"));
}
public SyncerrorCollectionRequest report_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("Report_SyncErrors"));
}
public SyncerrorRequest report_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("Report_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public PrincipalRequest ownerid() {
return new PrincipalRequest(contextPath.addSegment("ownerid"));
}
public SystemuserRequest createdby() {
return new SystemuserRequest(contextPath.addSegment("createdby"));
}
public SystemuserRequest modifiedby() {
return new SystemuserRequest(contextPath.addSegment("modifiedby"));
}
public BusinessunitRequest owningbusinessunit() {
return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit"));
}
public ReportRequest parentreportid() {
return new ReportRequest(contextPath.addSegment("parentreportid"));
}
public ReportCollectionRequest report_parent_report() {
return new ReportCollectionRequest(
contextPath.addSegment("report_parent_report"));
}
public ReportRequest report_parent_report(String reportid) {
return new ReportRequest(contextPath.addSegment("report_parent_report").addKeys(new NameValue(reportid.toString())));
}
@Function(name = "DownloadReportDefinition")
@JsonIgnore
public FunctionRequestReturningNonCollectionUnwrapped downloadReportDefinition() {
Map _parameters = ParameterMap.empty();
return new FunctionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.DownloadReportDefinition"), DownloadReportDefinitionResponse.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
@Function(name = "GetReportHistoryLimit")
@JsonIgnore
public FunctionRequestReturningNonCollectionUnwrapped getReportHistoryLimit() {
Map _parameters = ParameterMap.empty();
return new FunctionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.GetReportHistoryLimit"), GetReportHistoryLimitResponse.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy