microsoft.dynamics.crm.entity.request.Msdyn_aiconfigurationRequest 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.Checks;
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.CancelTrainingResponse;
import microsoft.dynamics.crm.complex.PublishAIConfigurationResponse;
import microsoft.dynamics.crm.complex.QuickTestResponse;
import microsoft.dynamics.crm.complex.ScheduleTrainingResponse;
import microsoft.dynamics.crm.complex.TrainResponse;
import microsoft.dynamics.crm.complex.UnpublishAIConfigurationResponse;
import microsoft.dynamics.crm.complex.UnscheduleTrainingResponse;
import microsoft.dynamics.crm.entity.Crmbaseentity;
import microsoft.dynamics.crm.entity.Msdyn_aiconfiguration;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.FileattachmentCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.MailboxtrackingfolderCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.Msdyn_aiconfigurationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.Msdyn_aifptrainingdocumentCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.Msdyn_aiodlabelCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.Msdyn_aiodtrainingimageCollectionRequest;
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 Msdyn_aiconfigurationRequest extends EntityRequest {
public Msdyn_aiconfigurationRequest(ContextPath contextPath) {
super(Msdyn_aiconfiguration.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 SystemuserRequest owninguser() {
return new SystemuserRequest(contextPath.addSegment("owninguser"));
}
public TeamRequest owningteam() {
return new TeamRequest(contextPath.addSegment("owningteam"));
}
public PrincipalRequest ownerid() {
return new PrincipalRequest(contextPath.addSegment("ownerid"));
}
public BusinessunitRequest owningbusinessunit() {
return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit"));
}
public SyncerrorCollectionRequest msdyn_aiconfiguration_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("msdyn_aiconfiguration_SyncErrors"));
}
public SyncerrorRequest msdyn_aiconfiguration_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("msdyn_aiconfiguration_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public AsyncoperationCollectionRequest msdyn_aiconfiguration_AsyncOperations() {
return new AsyncoperationCollectionRequest(
contextPath.addSegment("msdyn_aiconfiguration_AsyncOperations"));
}
public AsyncoperationRequest msdyn_aiconfiguration_AsyncOperations(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("msdyn_aiconfiguration_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
}
public MailboxtrackingfolderCollectionRequest msdyn_aiconfiguration_MailboxTrackingFolders() {
return new MailboxtrackingfolderCollectionRequest(
contextPath.addSegment("msdyn_aiconfiguration_MailboxTrackingFolders"));
}
public MailboxtrackingfolderRequest msdyn_aiconfiguration_MailboxTrackingFolders(String mailboxtrackingfolderid) {
return new MailboxtrackingfolderRequest(contextPath.addSegment("msdyn_aiconfiguration_MailboxTrackingFolders").addKeys(new NameValue(mailboxtrackingfolderid.toString())));
}
public ProcesssessionCollectionRequest msdyn_aiconfiguration_ProcessSession() {
return new ProcesssessionCollectionRequest(
contextPath.addSegment("msdyn_aiconfiguration_ProcessSession"));
}
public ProcesssessionRequest msdyn_aiconfiguration_ProcessSession(String processsessionid) {
return new ProcesssessionRequest(contextPath.addSegment("msdyn_aiconfiguration_ProcessSession").addKeys(new NameValue(processsessionid.toString())));
}
public BulkdeletefailureCollectionRequest msdyn_aiconfiguration_BulkDeleteFailures() {
return new BulkdeletefailureCollectionRequest(
contextPath.addSegment("msdyn_aiconfiguration_BulkDeleteFailures"));
}
public BulkdeletefailureRequest msdyn_aiconfiguration_BulkDeleteFailures(String bulkdeletefailureid) {
return new BulkdeletefailureRequest(contextPath.addSegment("msdyn_aiconfiguration_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
}
public PrincipalobjectattributeaccessCollectionRequest msdyn_aiconfiguration_PrincipalObjectAttributeAccesses() {
return new PrincipalobjectattributeaccessCollectionRequest(
contextPath.addSegment("msdyn_aiconfiguration_PrincipalObjectAttributeAccesses"));
}
public PrincipalobjectattributeaccessRequest msdyn_aiconfiguration_PrincipalObjectAttributeAccesses(String principalobjectattributeaccessid) {
return new PrincipalobjectattributeaccessRequest(contextPath.addSegment("msdyn_aiconfiguration_PrincipalObjectAttributeAccesses").addKeys(new NameValue(principalobjectattributeaccessid.toString())));
}
public FileattachmentCollectionRequest msdyn_aiconfiguration_FileAttachments() {
return new FileattachmentCollectionRequest(
contextPath.addSegment("msdyn_aiconfiguration_FileAttachments"));
}
public FileattachmentRequest msdyn_aiconfiguration_FileAttachments(String fileattachmentid) {
return new FileattachmentRequest(contextPath.addSegment("msdyn_aiconfiguration_FileAttachments").addKeys(new NameValue(fileattachmentid.toString())));
}
public Msdyn_aiconfigurationRequest msdyn_TrainedModelAIConfigurationPareId() {
return new Msdyn_aiconfigurationRequest(contextPath.addSegment("msdyn_TrainedModelAIConfigurationPareId"));
}
public Msdyn_aiconfigurationCollectionRequest msdyn_aiconfiguration_msdyn_aiconfiguration() {
return new Msdyn_aiconfigurationCollectionRequest(
contextPath.addSegment("msdyn_aiconfiguration_msdyn_aiconfiguration"));
}
public Msdyn_aiconfigurationRequest msdyn_aiconfiguration_msdyn_aiconfiguration(String msdyn_aiconfigurationid) {
return new Msdyn_aiconfigurationRequest(contextPath.addSegment("msdyn_aiconfiguration_msdyn_aiconfiguration").addKeys(new NameValue(msdyn_aiconfigurationid.toString())));
}
public Msdyn_aiconfigurationRequest msdyn_CreatedFromConfigurationId() {
return new Msdyn_aiconfigurationRequest(contextPath.addSegment("msdyn_CreatedFromConfigurationId"));
}
public Msdyn_aiconfigurationCollectionRequest msdyn_createdfromconfiguration_msdyn_toconfiguration() {
return new Msdyn_aiconfigurationCollectionRequest(
contextPath.addSegment("msdyn_createdfromconfiguration_msdyn_toconfiguration"));
}
public Msdyn_aiconfigurationRequest msdyn_createdfromconfiguration_msdyn_toconfiguration(String msdyn_aiconfigurationid) {
return new Msdyn_aiconfigurationRequest(contextPath.addSegment("msdyn_createdfromconfiguration_msdyn_toconfiguration").addKeys(new NameValue(msdyn_aiconfigurationid.toString())));
}
public Msdyn_aimodelRequest msdyn_AIModelId() {
return new Msdyn_aimodelRequest(contextPath.addSegment("msdyn_AIModelId"));
}
public Msdyn_aiodtrainingimageCollectionRequest msdyn_aiconfiguration_msdyn_aiodtrainingimage() {
return new Msdyn_aiodtrainingimageCollectionRequest(
contextPath.addSegment("msdyn_aiconfiguration_msdyn_aiodtrainingimage"));
}
public Msdyn_aiodtrainingimageRequest msdyn_aiconfiguration_msdyn_aiodtrainingimage(String msdyn_aiodtrainingimageid) {
return new Msdyn_aiodtrainingimageRequest(contextPath.addSegment("msdyn_aiconfiguration_msdyn_aiodtrainingimage").addKeys(new NameValue(msdyn_aiodtrainingimageid.toString())));
}
public Msdyn_aiodlabelCollectionRequest msdyn_aiodlabel_msdyn_aiconfiguration() {
return new Msdyn_aiodlabelCollectionRequest(
contextPath.addSegment("msdyn_aiodlabel_msdyn_aiconfiguration"));
}
public Msdyn_aiodlabelRequest msdyn_aiodlabel_msdyn_aiconfiguration(String msdyn_aiodlabelid) {
return new Msdyn_aiodlabelRequest(contextPath.addSegment("msdyn_aiodlabel_msdyn_aiconfiguration").addKeys(new NameValue(msdyn_aiodlabelid.toString())));
}
public Msdyn_aifptrainingdocumentCollectionRequest msdyn_msdyn_aiconfiguration_msdyn_aifptrainingdocument_AIConfigurationId() {
return new Msdyn_aifptrainingdocumentCollectionRequest(
contextPath.addSegment("msdyn_msdyn_aiconfiguration_msdyn_aifptrainingdocument_AIConfigurationId"));
}
public Msdyn_aifptrainingdocumentRequest msdyn_msdyn_aiconfiguration_msdyn_aifptrainingdocument_AIConfigurationId(String msdyn_aifptrainingdocumentid) {
return new Msdyn_aifptrainingdocumentRequest(contextPath.addSegment("msdyn_msdyn_aiconfiguration_msdyn_aifptrainingdocument_AIConfigurationId").addKeys(new NameValue(msdyn_aifptrainingdocumentid.toString())));
}
@Action(name = "CancelTraining")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped cancelTraining(String version) {
Preconditions.checkNotNull(version, "version cannot be null");
Map _parameters = ParameterMap
.put("version", "Edm.String", Checks.checkIsAscii(version))
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.CancelTraining"), CancelTrainingResponse.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
@Action(name = "PublishAIConfiguration")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped publishAIConfiguration(String version) {
Preconditions.checkNotNull(version, "version cannot be null");
Map _parameters = ParameterMap
.put("version", "Edm.String", Checks.checkIsAscii(version))
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.PublishAIConfiguration"), PublishAIConfigurationResponse.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
@Action(name = "QuickTest")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped quickTest(String version, String request, Crmbaseentity requestv2) {
Preconditions.checkNotNull(version, "version cannot be null");
Map _parameters = ParameterMap
.put("version", "Edm.String", Checks.checkIsAscii(version))
.put("request", "Edm.String", Checks.checkIsAscii(request))
.put("requestv2", "Microsoft.Dynamics.CRM.crmbaseentity", requestv2)
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.QuickTest"), QuickTestResponse.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
@Action(name = "ScheduleTraining")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped scheduleTraining(String version) {
Preconditions.checkNotNull(version, "version cannot be null");
Map _parameters = ParameterMap
.put("version", "Edm.String", Checks.checkIsAscii(version))
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.ScheduleTraining"), ScheduleTrainingResponse.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
@Action(name = "Train")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped train(String version) {
Preconditions.checkNotNull(version, "version cannot be null");
Map _parameters = ParameterMap
.put("version", "Edm.String", Checks.checkIsAscii(version))
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.Train"), TrainResponse.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
@Action(name = "UnpublishAIConfiguration")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped unpublishAIConfiguration(String version) {
Preconditions.checkNotNull(version, "version cannot be null");
Map _parameters = ParameterMap
.put("version", "Edm.String", Checks.checkIsAscii(version))
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.UnpublishAIConfiguration"), UnpublishAIConfigurationResponse.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
@Action(name = "UnscheduleTraining")
@JsonIgnore
public ActionRequestReturningNonCollectionUnwrapped unscheduleTraining(String version) {
Preconditions.checkNotNull(version, "version cannot be null");
Map _parameters = ParameterMap
.put("version", "Edm.String", Checks.checkIsAscii(version))
.build();
return new ActionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.UnscheduleTraining"), UnscheduleTrainingResponse.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy