microsoft.dynamics.crm.entity.request.CategoryRequest 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.Category;
import microsoft.dynamics.crm.entity.collection.request.CategoryCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.KnowledgearticleCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class CategoryRequest extends EntityRequest {
public CategoryRequest(ContextPath contextPath) {
super(Category.class, contextPath, SchemaInfo.INSTANCE);
}
public CategoryRequest parentcategoryid() {
return new CategoryRequest(contextPath.addSegment("parentcategoryid"));
}
public CategoryCollectionRequest category_parent_category() {
return new CategoryCollectionRequest(
contextPath.addSegment("category_parent_category"));
}
public CategoryRequest category_parent_category(String categoryid) {
return new CategoryRequest(contextPath.addSegment("category_parent_category").addKeys(new NameValue(categoryid.toString())));
}
public SyncerrorCollectionRequest category_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("Category_SyncErrors"));
}
public SyncerrorRequest category_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("Category_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public SystemuserRequest lk_category_modifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("lk_category_modifiedonbehalfby"));
}
public PrincipalRequest ownerid() {
return new PrincipalRequest(contextPath.addSegment("ownerid"));
}
public SystemuserRequest lk_category_createdonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("lk_category_createdonbehalfby"));
}
public TransactioncurrencyRequest transactioncurrencyid() {
return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid"));
}
public SystemuserRequest lk_category_modifiedby() {
return new SystemuserRequest(contextPath.addSegment("lk_category_modifiedby"));
}
public KnowledgearticleCollectionRequest knowledgearticle_category() {
return new KnowledgearticleCollectionRequest(
contextPath.addSegment("knowledgearticle_category"));
}
public KnowledgearticleRequest knowledgearticle_category(String knowledgearticleid) {
return new KnowledgearticleRequest(contextPath.addSegment("knowledgearticle_category").addKeys(new NameValue(knowledgearticleid.toString())));
}
public SystemuserRequest lk_category_createdby() {
return new SystemuserRequest(contextPath.addSegment("lk_category_createdby"));
}
public BusinessunitRequest owningbusinessunit() {
return new BusinessunitRequest(contextPath.addSegment("owningbusinessunit"));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy