microsoft.dynamics.crm.entity.collection.request.FileattachmentCollectionRequest 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.collection.request;
import com.github.davidmoten.odata.client.CollectionPageEntityRequest;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.NameValue;
import microsoft.dynamics.crm.entity.Fileattachment;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.FileattachmentRequest;
import microsoft.dynamics.crm.entity.request.SolutionRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class FileattachmentCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public FileattachmentCollectionRequest(ContextPath contextPath) {
super(contextPath, Fileattachment.class, cp -> new FileattachmentRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public SyncerrorCollectionRequest fileAttachment_SyncErrors() {
return new SyncerrorCollectionRequest(contextPath.addSegment("FileAttachment_SyncErrors"));
}
public SyncerrorRequest fileAttachment_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("FileAttachment_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public SolutionCollectionRequest solution_fileid() {
return new SolutionCollectionRequest(contextPath.addSegment("solution_fileid"));
}
public SolutionRequest solution_fileid(String solutionid) {
return new SolutionRequest(contextPath.addSegment("solution_fileid").addKeys(new NameValue(solutionid.toString())));
}
public AsyncoperationCollectionRequest fileAttachment_AsyncOperation_DataBlobId() {
return new AsyncoperationCollectionRequest(contextPath.addSegment("FileAttachment_AsyncOperation_DataBlobId"));
}
public AsyncoperationRequest fileAttachment_AsyncOperation_DataBlobId(String asyncoperationid) {
return new AsyncoperationRequest(contextPath.addSegment("FileAttachment_AsyncOperation_DataBlobId").addKeys(new NameValue(asyncoperationid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy