microsoft.dynamics.crm.entity.request.AppointmentRequest 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.guavamini.Preconditions;
import com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped;
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.Appointment;
import microsoft.dynamics.crm.entity.Recurringappointmentmaster;
import microsoft.dynamics.crm.entity.collection.request.ActioncardCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ActivitymimeattachmentCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ActivitypartyCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AnnotationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ConnectionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.DuplicaterecordCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PostfollowCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PostregardingCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PrincipalobjectattributeaccessCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.QueueitemCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SlakpiinstanceCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class AppointmentRequest extends EntityRequest {
public AppointmentRequest(ContextPath contextPath) {
super(Appointment.class, contextPath, SchemaInfo.INSTANCE);
}
public PostregardingCollectionRequest appointment_PostRegardings() {
return new PostregardingCollectionRequest(
contextPath.addSegment("appointment_PostRegardings"));
}
public PostregardingRequest appointment_PostRegardings(String postregardingid) {
return new PostregardingRequest(contextPath.addSegment("appointment_PostRegardings").addKeys(new NameValue(postregardingid.toString())));
}
public PostfollowCollectionRequest appointment_PostFollows() {
return new PostfollowCollectionRequest(
contextPath.addSegment("appointment_PostFollows"));
}
public PostfollowRequest appointment_PostFollows(String postfollowid) {
return new PostfollowRequest(contextPath.addSegment("appointment_PostFollows").addKeys(new NameValue(postfollowid.toString())));
}
public KnowledgebaserecordRequest regardingobjectid_knowledgebaserecord_appointment() {
return new KnowledgebaserecordRequest(contextPath.addSegment("regardingobjectid_knowledgebaserecord_appointment"));
}
public QueueitemCollectionRequest appointment_QueueItem() {
return new QueueitemCollectionRequest(
contextPath.addSegment("Appointment_QueueItem"));
}
public QueueitemRequest appointment_QueueItem(String queueitemid) {
return new QueueitemRequest(contextPath.addSegment("Appointment_QueueItem").addKeys(new NameValue(queueitemid.toString())));
}
public AnnotationCollectionRequest appointment_Annotation() {
return new AnnotationCollectionRequest(
contextPath.addSegment("Appointment_Annotation"));
}
public AnnotationRequest appointment_Annotation(String annotationid) {
return new AnnotationRequest(contextPath.addSegment("Appointment_Annotation").addKeys(new NameValue(annotationid.toString())));
}
public SyncerrorCollectionRequest appointment_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("Appointment_SyncErrors"));
}
public SyncerrorRequest appointment_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("Appointment_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public ProcessstageRequest stageid_processstage() {
return new ProcessstageRequest(contextPath.addSegment("stageid_processstage"));
}
public RecurringappointmentmasterRequest seriesid_recurringappointmentmaster() {
return new RecurringappointmentmasterRequest(contextPath.addSegment("seriesid_recurringappointmentmaster"));
}
public BusinessunitRequest owningbusinessunit_appointment() {
return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit_appointment"));
}
public DuplicaterecordCollectionRequest appointment_DuplicateBaseRecord() {
return new DuplicaterecordCollectionRequest(
contextPath.addSegment("Appointment_DuplicateBaseRecord"));
}
public DuplicaterecordRequest appointment_DuplicateBaseRecord(String duplicateid) {
return new DuplicaterecordRequest(contextPath.addSegment("Appointment_DuplicateBaseRecord").addKeys(new NameValue(duplicateid.toString())));
}
public ActivitypartyCollectionRequest appointment_activity_parties() {
return new ActivitypartyCollectionRequest(
contextPath.addSegment("appointment_activity_parties"));
}
public ActivitypartyRequest appointment_activity_parties(String activitypartyid) {
return new ActivitypartyRequest(contextPath.addSegment("appointment_activity_parties").addKeys(new NameValue(activitypartyid.toString())));
}
public AsyncoperationCollectionRequest appointment_AsyncOperations() {
return new AsyncoperationCollectionRequest(
contextPath.addSegment("Appointment_AsyncOperations"));
}
public AsyncoperationRequest appointment_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("Appointment_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public SystemuserRequest modifiedonbehalfby_appointment() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby_appointment"));
}
public DuplicaterecordCollectionRequest appointment_DuplicateMatchingRecord() {
return new DuplicaterecordCollectionRequest(
contextPath.addSegment("Appointment_DuplicateMatchingRecord"));
}
public DuplicaterecordRequest appointment_DuplicateMatchingRecord(String duplicateid) {
return new DuplicaterecordRequest(contextPath.addSegment("Appointment_DuplicateMatchingRecord").addKeys(new NameValue(duplicateid.toString())));
}
public ConnectionCollectionRequest appointment_connections1() {
return new ConnectionCollectionRequest(
contextPath.addSegment("appointment_connections1"));
}
public ConnectionRequest appointment_connections1(String connectionid) {
return new ConnectionRequest(contextPath.addSegment("appointment_connections1").addKeys(new NameValue(connectionid.toString())));
}
public SlakpiinstanceCollectionRequest slakpiinstance_appointment() {
return new SlakpiinstanceCollectionRequest(
contextPath.addSegment("slakpiinstance_appointment"));
}
public SlakpiinstanceRequest slakpiinstance_appointment(String slakpiinstanceid) {
return new SlakpiinstanceRequest(contextPath.addSegment("slakpiinstance_appointment").addKeys(new NameValue(slakpiinstanceid.toString())));
}
public SystemuserRequest modifiedby_appointment() {
return new SystemuserRequest(contextPath.addSegment("modifiedby_appointment"));
}
public ActivitymimeattachmentCollectionRequest appointment_activity_mime_attachment() {
return new ActivitymimeattachmentCollectionRequest(
contextPath.addSegment("appointment_activity_mime_attachment"));
}
public ActivitymimeattachmentRequest appointment_activity_mime_attachment(String activitymimeattachmentid) {
return new ActivitymimeattachmentRequest(contextPath.addSegment("appointment_activity_mime_attachment").addKeys(new NameValue(activitymimeattachmentid.toString())));
}
public BulkdeletefailureCollectionRequest appointment_BulkDeleteFailures() {
return new BulkdeletefailureCollectionRequest(
contextPath.addSegment("Appointment_BulkDeleteFailures"));
}
public BulkdeletefailureRequest appointment_BulkDeleteFailures(String bulkdeletefailureid) {
return new BulkdeletefailureRequest(contextPath.addSegment("Appointment_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
}
public PrincipalobjectattributeaccessCollectionRequest appointment_principalobjectattributeaccess() {
return new PrincipalobjectattributeaccessCollectionRequest(
contextPath.addSegment("appointment_principalobjectattributeaccess"));
}
public PrincipalobjectattributeaccessRequest appointment_principalobjectattributeaccess(String principalobjectattributeaccessid) {
return new PrincipalobjectattributeaccessRequest(contextPath.addSegment("appointment_principalobjectattributeaccess").addKeys(new NameValue(principalobjectattributeaccessid.toString())));
}
public ConnectionCollectionRequest appointment_connections2() {
return new ConnectionCollectionRequest(
contextPath.addSegment("appointment_connections2"));
}
public ConnectionRequest appointment_connections2(String connectionid) {
return new ConnectionRequest(contextPath.addSegment("appointment_connections2").addKeys(new NameValue(connectionid.toString())));
}
public ActioncardCollectionRequest appointment_actioncard() {
return new ActioncardCollectionRequest(
contextPath.addSegment("appointment_actioncard"));
}
public ActioncardRequest appointment_actioncard(String actioncardid) {
return new ActioncardRequest(contextPath.addSegment("appointment_actioncard").addKeys(new NameValue(actioncardid.toString())));
}
public SlaRequest sla_appointment_sla() {
return new SlaRequest(contextPath.addSegment("sla_appointment_sla"));
}
public ProcesssessionCollectionRequest appointment_ProcessSessions() {
return new ProcesssessionCollectionRequest(
contextPath.addSegment("Appointment_ProcessSessions"));
}
public ProcesssessionRequest appointment_ProcessSessions(String processsessionid) {
return new ProcesssessionRequest(contextPath.addSegment("Appointment_ProcessSessions").addKeys(new NameValue(processsessionid.toString())));
}
public ContactRequest regardingobjectid_contact_appointment() {
return new ContactRequest(contextPath.addSegment("regardingobjectid_contact_appointment"));
}
public SystemuserRequest createdonbehalfby_appointment() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfby_appointment"));
}
public KnowledgearticleRequest regardingobjectid_knowledgearticle_appointment() {
return new KnowledgearticleRequest(contextPath.addSegment("regardingobjectid_knowledgearticle_appointment"));
}
public AccountRequest regardingobjectid_account_appointment() {
return new AccountRequest(contextPath.addSegment("regardingobjectid_account_appointment"));
}
public ActivitypointerRequest activityid_activitypointer() {
return new ActivitypointerRequest(contextPath.addSegment("activityid_activitypointer"));
}
public TransactioncurrencyRequest transactioncurrencyid_appointment() {
return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid_appointment"));
}
public SlaRequest slainvokedid_appointment_sla() {
return new SlaRequest(contextPath.addSegment("slainvokedid_appointment_sla"));
}
public SystemuserRequest createdby_appointment() {
return new SystemuserRequest(contextPath.addSegment("createdby_appointment"));
}
public TeamRequest owningteam_appointment() {
return new TeamRequest(contextPath.addSegment("owningteam_appointment"));
}
public SystemuserRequest owninguser_appointment() {
return new SystemuserRequest(contextPath.addSegment("owninguser_appointment"));
}
public PrincipalRequest ownerid_appointment() {
return new PrincipalRequest(contextPath.addSegment("ownerid_appointment"));
}
@Action(name = "AddRecurrence")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped addRecurrence(Recurringappointmentmaster target) {
Preconditions.checkNotNull(target, "target cannot be null");
Map _parameters = ParameterMap
.put("Target", "Microsoft.Dynamics.CRM.recurringappointmentmaster", target)
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.AddRecurrence"), Recurringappointmentmaster.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy