microsoft.dynamics.crm.entity.request.AppmoduleRequest 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.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped;
import com.github.davidmoten.odata.client.NameValue;
import com.github.davidmoten.odata.client.annotation.Function;
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.Appmodule;
import microsoft.dynamics.crm.entity.collection.request.AppconfigCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.AppmodulecomponentCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.RoleCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ServiceplanCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class AppmoduleRequest extends EntityRequest {
public AppmoduleRequest(ContextPath contextPath) {
super(Appmodule.class, contextPath, SchemaInfo.INSTANCE);
}
public RoleCollectionRequest appmoduleroles_association() {
return new RoleCollectionRequest(
contextPath.addSegment("appmoduleroles_association"));
}
public RoleRequest appmoduleroles_association(String roleid) {
return new RoleRequest(contextPath.addSegment("appmoduleroles_association").addKeys(new NameValue(roleid.toString())));
}
public SystemuserRequest appmodule_modifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("appmodule_modifiedonbehalfby"));
}
public AppconfigCollectionRequest appmodule_appconfig() {
return new AppconfigCollectionRequest(
contextPath.addSegment("appmodule_appconfig"));
}
public AppconfigRequest appmodule_appconfig(String appconfigid) {
return new AppconfigRequest(contextPath.addSegment("appmodule_appconfig").addKeys(new NameValue(appconfigid.toString())));
}
public SystemuserRequest appmodule_createdby() {
return new SystemuserRequest(contextPath.addSegment("appmodule_createdby"));
}
public PublisherRequest publisher_appmodule_appmodule() {
return new PublisherRequest(contextPath.addSegment("publisher_appmodule_appmodule"));
}
public AppmodulecomponentCollectionRequest appmodule_appmodulecomponent() {
return new AppmodulecomponentCollectionRequest(
contextPath.addSegment("appmodule_appmodulecomponent"));
}
public AppmodulecomponentRequest appmodule_appmodulecomponent(String appmodulecomponentid) {
return new AppmodulecomponentRequest(contextPath.addSegment("appmodule_appmodulecomponent").addKeys(new NameValue(appmodulecomponentid.toString())));
}
public SystemuserRequest appmodule_modifiedby() {
return new SystemuserRequest(contextPath.addSegment("appmodule_modifiedby"));
}
public SystemuserRequest appmodule_createdonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("appmodule_createdonbehalfby"));
}
public OrganizationRequest organization_appmodule_appmodule() {
return new OrganizationRequest(contextPath.addSegment("organization_appmodule_appmodule"));
}
public ServiceplanCollectionRequest serviceplan_appmodule_association() {
return new ServiceplanCollectionRequest(
contextPath.addSegment("serviceplan_appmodule_association"));
}
public ServiceplanRequest serviceplan_appmodule_association(String serviceplanid) {
return new ServiceplanRequest(contextPath.addSegment("serviceplan_appmodule_association").addKeys(new NameValue(serviceplanid.toString())));
}
@Function(name = "RetrieveUnpublished")
@JsonIgnore
public FunctionRequestReturningNonCollectionUnwrapped retrieveUnpublished() {
Map _parameters = ParameterMap.empty();
return new FunctionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.RetrieveUnpublished"), Appmodule.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy