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

microsoft.dynamics.crm.entity.collection.request.RelationshipattributeCollectionRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
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.Relationshipattribute;
import microsoft.dynamics.crm.entity.request.AsyncoperationRequest;
import microsoft.dynamics.crm.entity.request.BulkdeletefailureRequest;
import microsoft.dynamics.crm.entity.request.MailboxtrackingfolderRequest;
import microsoft.dynamics.crm.entity.request.PrincipalobjectattributeaccessRequest;
import microsoft.dynamics.crm.entity.request.RelationshipattributeRequest;
import microsoft.dynamics.crm.entity.request.SyncerrorRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

public class RelationshipattributeCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public RelationshipattributeCollectionRequest(ContextPath contextPath) {
        super(contextPath, Relationshipattribute.class, cp -> new RelationshipattributeRequest(cp), SchemaInfo.INSTANCE);
        this.contextPath = contextPath;
    }

    public SyncerrorCollectionRequest relationshipattribute_SyncErrors() {
        return new SyncerrorCollectionRequest(contextPath.addSegment("relationshipattribute_SyncErrors"));
    }

    public SyncerrorRequest relationshipattribute_SyncErrors(String syncerrorid) {
        return new SyncerrorRequest(contextPath.addSegment("relationshipattribute_SyncErrors").addKeys(new NameValue(syncerrorid.toString())));
    }

    public AsyncoperationCollectionRequest relationshipattribute_AsyncOperations() {
        return new AsyncoperationCollectionRequest(contextPath.addSegment("relationshipattribute_AsyncOperations"));
    }

    public AsyncoperationRequest relationshipattribute_AsyncOperations(String asyncoperationid) {
        return new AsyncoperationRequest(contextPath.addSegment("relationshipattribute_AsyncOperations").addKeys(new NameValue(asyncoperationid.toString())));
    }

    public MailboxtrackingfolderCollectionRequest relationshipattribute_MailboxTrackingFolders() {
        return new MailboxtrackingfolderCollectionRequest(contextPath.addSegment("relationshipattribute_MailboxTrackingFolders"));
    }

    public MailboxtrackingfolderRequest relationshipattribute_MailboxTrackingFolders(String mailboxtrackingfolderid) {
        return new MailboxtrackingfolderRequest(contextPath.addSegment("relationshipattribute_MailboxTrackingFolders").addKeys(new NameValue(mailboxtrackingfolderid.toString())));
    }

    public BulkdeletefailureCollectionRequest relationshipattribute_BulkDeleteFailures() {
        return new BulkdeletefailureCollectionRequest(contextPath.addSegment("relationshipattribute_BulkDeleteFailures"));
    }

    public BulkdeletefailureRequest relationshipattribute_BulkDeleteFailures(String bulkdeletefailureid) {
        return new BulkdeletefailureRequest(contextPath.addSegment("relationshipattribute_BulkDeleteFailures").addKeys(new NameValue(bulkdeletefailureid.toString())));
    }

    public PrincipalobjectattributeaccessCollectionRequest relationshipattribute_PrincipalObjectAttributeAccesses() {
        return new PrincipalobjectattributeaccessCollectionRequest(contextPath.addSegment("relationshipattribute_PrincipalObjectAttributeAccesses"));
    }

    public PrincipalobjectattributeaccessRequest relationshipattribute_PrincipalObjectAttributeAccesses(String principalobjectattributeaccessid) {
        return new PrincipalobjectattributeaccessRequest(contextPath.addSegment("relationshipattribute_PrincipalObjectAttributeAccesses").addKeys(new NameValue(principalobjectattributeaccessid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy