microsoft.dynamics.crm.entity.request.GoalRequest 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.Goal;
import microsoft.dynamics.crm.entity.collection.request.AnnotationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ConnectionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.DuplicaterecordCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.GoalCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PrincipalobjectattributeaccessCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class GoalRequest extends EntityRequest {
public GoalRequest(ContextPath contextPath) {
super(Goal.class, contextPath, SchemaInfo.INSTANCE);
}
public TeamRequest owningteam() {
return new TeamRequest(contextPath.addSegment("owningteam"));
}
public PrincipalRequest ownerid() {
return new PrincipalRequest(contextPath.addSegment("ownerid"));
}
public GoalrollupqueryRequest rollupqueryactualintegerid() {
return new GoalrollupqueryRequest(contextPath.addSegment("rollupqueryactualintegerid"));
}
public GoalrollupqueryRequest rollupqueryactualmoneyid() {
return new GoalrollupqueryRequest(contextPath.addSegment("rollupqueryactualmoneyid"));
}
public GoalrollupqueryRequest rollupqueryactualdecimalid() {
return new GoalrollupqueryRequest(contextPath.addSegment("rollupqueryactualdecimalid"));
}
public GoalrollupqueryRequest rollupquerycustomintegerid() {
return new GoalrollupqueryRequest(contextPath.addSegment("rollupquerycustomintegerid"));
}
public GoalrollupqueryRequest rollupquerycustommoneyid() {
return new GoalrollupqueryRequest(contextPath.addSegment("rollupquerycustommoneyid"));
}
public GoalrollupqueryRequest rollupquerycustomdecimalid() {
return new GoalrollupqueryRequest(contextPath.addSegment("rollupquerycustomdecimalid"));
}
public GoalrollupqueryRequest rollupqueryinprogressintegerid() {
return new GoalrollupqueryRequest(contextPath.addSegment("rollupqueryinprogressintegerid"));
}
public GoalrollupqueryRequest rollupqueryinprogressmoneyid() {
return new GoalrollupqueryRequest(contextPath.addSegment("rollupqueryinprogressmoneyid"));
}
public GoalrollupqueryRequest rollupqueryinprogressdecimalid() {
return new GoalrollupqueryRequest(contextPath.addSegment("rollupqueryinprogressdecimalid"));
}
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 SystemuserRequest owninguser() {
return new SystemuserRequest(contextPath.addSegment("owninguser"));
}
public BusinessunitRequest owningbusinessunit() {
return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit"));
}
public SystemuserRequest goalownerid_systemuser() {
return new SystemuserRequest(contextPath.addSegment("goalownerid_systemuser"));
}
public GoalRequest parentgoalid() {
return new GoalRequest(contextPath.addSegment("parentgoalid"));
}
public GoalCollectionRequest goal_parent_goal() {
return new GoalCollectionRequest(
contextPath.addSegment("goal_parent_goal"));
}
public GoalRequest goal_parent_goal(String goalid) {
return new GoalRequest(contextPath.addSegment("goal_parent_goal").addKeys(new NameValue(goalid.toString())));
}
public TransactioncurrencyRequest transactioncurrencyid() {
return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid"));
}
public MetricRequest metricid() {
return new MetricRequest(contextPath.addSegment("metricid"));
}
public DuplicaterecordCollectionRequest goal_DuplicateMatchingRecord() {
return new DuplicaterecordCollectionRequest(
contextPath.addSegment("Goal_DuplicateMatchingRecord"));
}
public DuplicaterecordRequest goal_DuplicateMatchingRecord(String duplicateid) {
return new DuplicaterecordRequest(contextPath.addSegment("Goal_DuplicateMatchingRecord").addKeys(new NameValue(duplicateid.toString())));
}
public GoalRequest goalwitherrorid() {
return new GoalRequest(contextPath.addSegment("goalwitherrorid"));
}
public GoalCollectionRequest goal_RollupError_Goal() {
return new GoalCollectionRequest(
contextPath.addSegment("Goal_RollupError_Goal"));
}
public GoalRequest goal_RollupError_Goal(String goalid) {
return new GoalRequest(contextPath.addSegment("Goal_RollupError_Goal").addKeys(new NameValue(goalid.toString())));
}
public ConnectionCollectionRequest goal_connections2() {
return new ConnectionCollectionRequest(
contextPath.addSegment("goal_connections2"));
}
public ConnectionRequest goal_connections2(String connectionid) {
return new ConnectionRequest(contextPath.addSegment("goal_connections2").addKeys(new NameValue(connectionid.toString())));
}
public SyncerrorCollectionRequest goal_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("Goal_SyncErrors"));
}
public SyncerrorRequest goal_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("Goal_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public AnnotationCollectionRequest goal_Annotation() {
return new AnnotationCollectionRequest(
contextPath.addSegment("Goal_Annotation"));
}
public AnnotationRequest goal_Annotation(String annotationid) {
return new AnnotationRequest(contextPath.addSegment("Goal_Annotation").addKeys(new NameValue(annotationid.toString())));
}
public ConnectionCollectionRequest goal_connections1() {
return new ConnectionCollectionRequest(
contextPath.addSegment("goal_connections1"));
}
public ConnectionRequest goal_connections1(String connectionid) {
return new ConnectionRequest(contextPath.addSegment("goal_connections1").addKeys(new NameValue(connectionid.toString())));
}
public AsyncoperationCollectionRequest goal_AsyncOperations() {
return new AsyncoperationCollectionRequest(
contextPath.addSegment("Goal_AsyncOperations"));
}
public AsyncoperationRequest goal_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("Goal_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public DuplicaterecordCollectionRequest goal_DuplicateBaseRecord() {
return new DuplicaterecordCollectionRequest(
contextPath.addSegment("Goal_DuplicateBaseRecord"));
}
public DuplicaterecordRequest goal_DuplicateBaseRecord(String duplicateid) {
return new DuplicaterecordRequest(contextPath.addSegment("Goal_DuplicateBaseRecord").addKeys(new NameValue(duplicateid.toString())));
}
public ProcesssessionCollectionRequest goal_ProcessSessions() {
return new ProcesssessionCollectionRequest(
contextPath.addSegment("Goal_ProcessSessions"));
}
public ProcesssessionRequest goal_ProcessSessions(String processsessionid) {
return new ProcesssessionRequest(contextPath.addSegment("Goal_ProcessSessions").addKeys(new NameValue(processsessionid.toString())));
}
public PrincipalobjectattributeaccessCollectionRequest goal_principalobjectattributeaccess() {
return new PrincipalobjectattributeaccessCollectionRequest(
contextPath.addSegment("goal_principalobjectattributeaccess"));
}
public PrincipalobjectattributeaccessRequest goal_principalobjectattributeaccess(String principalobjectattributeaccessid) {
return new PrincipalobjectattributeaccessRequest(contextPath.addSegment("goal_principalobjectattributeaccess").addKeys(new NameValue(principalobjectattributeaccessid.toString())));
}
public TeamRequest goalownerid_team() {
return new TeamRequest(contextPath.addSegment("goalownerid_team"));
}
@Action(name = "Recalculate")
@JsonIgnore
public ActionRequestNoReturn recalculate() {
Map _parameters = ParameterMap.empty();
return new ActionRequestNoReturn(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.Recalculate"), _parameters);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy