microsoft.dynamics.crm.entity.collection.request.AttributeCollectionRequest 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.github.davidmoten.odata.client.CollectionPageEntityRequest;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.NameValue;
import microsoft.dynamics.crm.entity.Attribute;
import microsoft.dynamics.crm.entity.request.AttributeRequest;
import microsoft.dynamics.crm.entity.request.RelationshipattributeRequest;
import microsoft.dynamics.crm.entity.request.SolutioncomponentattributeconfigurationRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;
public class AttributeCollectionRequest extends CollectionPageEntityRequest{
protected ContextPath contextPath;
public AttributeCollectionRequest(ContextPath contextPath) {
super(contextPath, Attribute.class, cp -> new AttributeRequest(cp), SchemaInfo.INSTANCE);
this.contextPath = contextPath;
}
public SolutioncomponentattributeconfigurationCollectionRequest attribute_solutioncomponentattrconfig() {
return new SolutioncomponentattributeconfigurationCollectionRequest(contextPath.addSegment("attribute_solutioncomponentattrconfig"));
}
public SolutioncomponentattributeconfigurationRequest attribute_solutioncomponentattrconfig(String solutioncomponentattributeconfigurationid) {
return new SolutioncomponentattributeconfigurationRequest(contextPath.addSegment("attribute_solutioncomponentattrconfig").addKeys(new NameValue(solutioncomponentattributeconfigurationid.toString())));
}
public RelationshipattributeCollectionRequest referencingdattribute_relationshipattribute() {
return new RelationshipattributeCollectionRequest(contextPath.addSegment("referencingdattribute_relationshipattribute"));
}
public RelationshipattributeRequest referencingdattribute_relationshipattribute(String relationshipattributeid) {
return new RelationshipattributeRequest(contextPath.addSegment("referencingdattribute_relationshipattribute").addKeys(new NameValue(relationshipattributeid.toString())));
}
public RelationshipattributeCollectionRequest referencedattribute_relationshipattribute() {
return new RelationshipattributeCollectionRequest(contextPath.addSegment("referencedattribute_relationshipattribute"));
}
public RelationshipattributeRequest referencedattribute_relationshipattribute(String relationshipattributeid) {
return new RelationshipattributeRequest(contextPath.addSegment("referencedattribute_relationshipattribute").addKeys(new NameValue(relationshipattributeid.toString())));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy