microsoft.dynamics.crm.entity.collection.request.AppconfigCollectionRequest 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.fasterxml.jackson.annotation.JsonIgnore;
import com.github.davidmoten.odata.client.CollectionPageEntityRequest;
import com.github.davidmoten.odata.client.CollectionPageNonEntityRequest;
import com.github.davidmoten.odata.client.ContextPath;
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.Appconfig;
import microsoft.dynamics.crm.entity.request.AppconfigRequest;
import microsoft.dynamics.crm.entity.request.AppconfiginstanceRequest;
import microsoft.dynamics.crm.entity.request.NavigationsettingRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class AppconfigCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public AppconfigCollectionRequest(ContextPath contextPath) {
super(contextPath, Appconfig.class, cp -> new AppconfigRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public NavigationsettingCollectionRequest appconfig_navigationsetting() {
return new NavigationsettingCollectionRequest(contextPath.addSegment("appconfig_navigationsetting"));
}
public NavigationsettingRequest appconfig_navigationsetting(String navigationsettingid) {
return new NavigationsettingRequest(contextPath.addSegment("appconfig_navigationsetting").addKeys(new NameValue(navigationsettingid.toString())));
}
public AppconfiginstanceCollectionRequest appconfig_appconfiginstance() {
return new AppconfiginstanceCollectionRequest(contextPath.addSegment("appconfig_appconfiginstance"));
}
public AppconfiginstanceRequest appconfig_appconfiginstance(String appconfiginstanceid) {
return new AppconfiginstanceRequest(contextPath.addSegment("appconfig_appconfiginstance").addKeys(new NameValue(appconfiginstanceid.toString())));
}
@Function(name = "RetrieveUnpublishedMultiple")
@JsonIgnore
public CollectionPageNonEntityRequest retrieveUnpublishedMultiple() {
Map _parameters = ParameterMap.empty();
return CollectionPageNonEntityRequest.forFunction(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.RetrieveUnpublishedMultiple"), Appconfig.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy