All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.dynamics.crm.entity.request.AppconfigRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
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.Appconfig;
import microsoft.dynamics.crm.entity.collection.request.AppconfiginstanceCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.NavigationsettingCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

@JsonIgnoreType
public class AppconfigRequest extends EntityRequest {

    public AppconfigRequest(ContextPath contextPath) {
        super(Appconfig.class, contextPath, SchemaInfo.INSTANCE);
    }

    public AppmoduleRequest appmodule_appconfig() {
        return new AppmoduleRequest(contextPath.addSegment("appmodule_appconfig"));
    }

    public SystemuserRequest appconfig_modifiedby() {
        return new SystemuserRequest(contextPath.addSegment("appconfig_modifiedby"));
    }

    public SystemuserRequest appconfig_modifiedonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("appconfig_modifiedonbehalfby"));
    }

    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 SystemuserRequest appconfig_createdonbehalfby() {
        return new SystemuserRequest(contextPath.addSegment("appconfig_createdonbehalfby"));
    }

    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())));
    }

    public SystemuserRequest appconfig_createdby() {
        return new SystemuserRequest(contextPath.addSegment("appconfig_createdby"));
    }

    public OrganizationRequest organization_appconfig() {
        return new OrganizationRequest(contextPath.addSegment("organization_appconfig"));
    }

    @Function(name = "RetrieveUnpublished")
    @JsonIgnore
    public FunctionRequestReturningNonCollectionUnwrapped retrieveUnpublished() {
        Map _parameters = ParameterMap.empty();
        return new FunctionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.RetrieveUnpublished"), Appconfig.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy