microsoft.dynamics.crm.entity.request.SavedqueryvisualizationRequest Maven / Gradle / Ivy
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.Savedqueryvisualization;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
@JsonIgnoreType
public class SavedqueryvisualizationRequest extends EntityRequest {
public SavedqueryvisualizationRequest(ContextPath contextPath) {
super(Savedqueryvisualization.class, contextPath, SchemaInfo.INSTANCE);
}
public SyncerrorCollectionRequest savedQueryVisualization_SyncErrors() {
return new SyncerrorCollectionRequest(
contextPath.addSegment("SavedQueryVisualization_SyncErrors"));
}
public SyncerrorRequest savedQueryVisualization_SyncErrors(String syncerrorid) {
return new SyncerrorRequest(contextPath.addSegment("SavedQueryVisualization_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
}
public SystemuserRequest createdonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("createdonbehalfby"));
}
public OrganizationRequest organizationid() {
return new OrganizationRequest(contextPath.addSegment("organizationid"));
}
public SystemuserRequest createdby() {
return new SystemuserRequest(contextPath.addSegment("createdby"));
}
public SystemuserRequest modifiedonbehalfby() {
return new SystemuserRequest(contextPath.addSegment("modifiedonbehalfby"));
}
public WebresourceRequest webresourceid() {
return new WebresourceRequest(contextPath.addSegment("webresourceid"));
}
public SystemuserRequest modifiedby() {
return new SystemuserRequest(contextPath.addSegment("modifiedby"));
}
@Function(name = "RetrieveUnpublished")
@JsonIgnore
public FunctionRequestReturningNonCollectionUnwrapped retrieveUnpublished() {
Map _parameters = ParameterMap.empty();
return new FunctionRequestReturningNonCollectionUnwrapped(this.contextPath.addActionOrFunctionSegment("Microsoft.Dynamics.CRM.RetrieveUnpublished"), Savedqueryvisualization.class, _parameters, microsoft.dynamics.crm.schema.SchemaInfo.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy