microsoft.dynamics.crm.entity.request.TemplateRequest 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.Template;
import microsoft.dynamics.crm.entity.collection.request.ActivitymimeattachmentCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.EmailCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.OrganizationCollectionRequest;
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 TemplateRequest extends EntityRequest {
public TemplateRequest(ContextPath contextPath) {
super(Template.class, contextPath, SchemaInfo.INSTANCE);
}
public SystemuserRequest createdby() {
return new SystemuserRequest(contextPath.addSegment("createdby"));
}
public BusinessunitRequest owningbusinessunit() {
return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit"));
}
public SystemuserRequest modifiedby() {
return new SystemuserRequest(contextPath.addSegment("modifiedby"));
}
public AsyncoperationCollectionRequest template_AsyncOperations() {
return new AsyncoperationCollectionRequest(
contextPath.addSegment("Template_AsyncOperations"));
}
public AsyncoperationRequest template_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("Template_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public BulkdeletefailureCollectionRequest template_BulkDeleteFailures() {
return new BulkdeletefailureCollectionRequest(
contextPath.addSegment("Template_BulkDeleteFailures"));
}
public BulkdeletefailureRequest template_BulkDeleteFailures(String bulkdeletefailureid) {
return new BulkdeletefailureRequest(contextPath.addSegment("Template_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
}
public SystemuserRequest createdonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"));
}
public TeamRequest owningteam() {
return new TeamRequest(contextPath.addSegment("owningteam"));
}
public ActivitymimeattachmentCollectionRequest template_activity_mime_attachments() {
return new ActivitymimeattachmentCollectionRequest(
contextPath.addSegment("template_activity_mime_attachments"));
}
public ActivitymimeattachmentRequest template_activity_mime_attachments(String activitymimeattachmentid) {
return new ActivitymimeattachmentRequest(contextPath.addSegment("template_activity_mime_attachments").addKeys(new NameValue(activitymimeattachmentid.toString())));
}
public ProcesssessionCollectionRequest template_ProcessSessions() {
return new ProcesssessionCollectionRequest(
contextPath.addSegment("Template_ProcessSessions"));
}
public ProcesssessionRequest template_ProcessSessions(String processsessionid) {
return new ProcesssessionRequest(contextPath.addSegment("Template_ProcessSessions").addKeys(new NameValue(processsessionid.toString())));
}
public PrincipalRequest ownerid() {
return new PrincipalRequest(contextPath.addSegment("ownerid"));
}
public SyncerrorCollectionRequest template_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("Template_SyncErrors"));
}
public SyncerrorRequest template_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("Template_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public SystemuserRequest owninguser() {
return new SystemuserRequest(contextPath.addSegment("owninguser"));
}
public OrganizationCollectionRequest template_Organization() {
return new OrganizationCollectionRequest(
contextPath.addSegment("Template_Organization"));
}
public OrganizationRequest template_Organization(String organizationid) {
return new OrganizationRequest(contextPath.addSegment("Template_Organization").addKeys(new NameValue(organizationid.toString())));
}
public SystemuserRequest modifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
}
public EmailCollectionRequest email_EmailTemplate() {
return new EmailCollectionRequest(
contextPath.addSegment("Email_EmailTemplate"));
}
public EmailRequest email_EmailTemplate(String activityid) {
return new EmailRequest(contextPath.addSegment("Email_EmailTemplate").addKeys(new NameValue(activityid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy