microsoft.dynamics.crm.entity.request.PositionRequest 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.JsonIgnoreType;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.NameValue;
import microsoft.dynamics.crm.entity.Position;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ConnectionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PositionCollectionRequest;
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.entity.collection.request.SystemuserCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class PositionRequest extends EntityRequest {
public PositionRequest(ContextPath contextPath) {
super(Position.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 position_AsyncOperations() {
return new AsyncoperationCollectionRequest(
contextPath.addSegment("position_AsyncOperations"));
}
public AsyncoperationRequest position_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("position_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public ProcesssessionCollectionRequest position_ProcessSession() {
return new ProcesssessionCollectionRequest(
contextPath.addSegment("position_ProcessSession"));
}
public ProcesssessionRequest position_ProcessSession(String processsessionid) {
return new ProcesssessionRequest(contextPath.addSegment("position_ProcessSession").addKeys(new NameValue(processsessionid.toString())));
}
public SystemuserCollectionRequest position_users() {
return new SystemuserCollectionRequest(
contextPath.addSegment("position_users"));
}
public SystemuserRequest position_users(String ownerid) {
return new SystemuserRequest(contextPath.addSegment("position_users").addKeys(new NameValue(ownerid.toString())));
}
public PositionRequest parentpositionid() {
return new PositionRequest(contextPath.addSegment("parentpositionid"));
}
public PositionCollectionRequest position_parent_position() {
return new PositionCollectionRequest(
contextPath.addSegment("position_parent_position"));
}
public PositionRequest position_parent_position(String positionid) {
return new PositionRequest(contextPath.addSegment("position_parent_position").addKeys(new NameValue(positionid.toString())));
}
public PrincipalobjectattributeaccessCollectionRequest position_principalobjectattributeaccess() {
return new PrincipalobjectattributeaccessCollectionRequest(
contextPath.addSegment("position_principalobjectattributeaccess"));
}
public PrincipalobjectattributeaccessRequest position_principalobjectattributeaccess(String principalobjectattributeaccessid) {
return new PrincipalobjectattributeaccessRequest(contextPath.addSegment("position_principalobjectattributeaccess").addKeys(new NameValue(principalobjectattributeaccessid.toString())));
}
public TransactioncurrencyRequest transactioncurrencyid() {
return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid"));
}
public ConnectionCollectionRequest position_connection1() {
return new ConnectionCollectionRequest(
contextPath.addSegment("position_connection1"));
}
public ConnectionRequest position_connection1(String connectionid) {
return new ConnectionRequest(contextPath.addSegment("position_connection1").addKeys(new NameValue(connectionid.toString())));
}
public ConnectionCollectionRequest position_connection2() {
return new ConnectionCollectionRequest(
contextPath.addSegment("position_connection2"));
}
public ConnectionRequest position_connection2(String connectionid) {
return new ConnectionRequest(contextPath.addSegment("position_connection2").addKeys(new NameValue(connectionid.toString())));
}
public SyncerrorCollectionRequest position_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("Position_SyncErrors"));
}
public SyncerrorRequest position_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("Position_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy