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

microsoft.dynamics.crm.entity.request.TerritoryRequest 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.JsonIgnoreType;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.NameValue;

import microsoft.dynamics.crm.entity.Territory;
import microsoft.dynamics.crm.entity.collection.request.AsyncoperationCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.BulkdeletefailureCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ConnectionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.MailboxtrackingfolderCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.PrincipalobjectattributeaccessCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.ProcesssessionCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SyncerrorCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.SystemuserCollectionRequest;
import microsoft.dynamics.crm.entity.collection.request.TerritoryCollectionRequest;
import microsoft.dynamics.crm.schema.SchemaInfo;

@JsonIgnoreType
public class TerritoryRequest extends EntityRequest {

    public TerritoryRequest(ContextPath contextPath) {
        super(Territory.class, contextPath, SchemaInfo.INSTANCE);
    }

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

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

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

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

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

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

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

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

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

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

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

    public ProcesssessionCollectionRequest territory_ProcessSessions() {
        return new ProcesssessionCollectionRequest(
                        contextPath.addSegment("Territory_ProcessSessions"));
    }

    public ProcesssessionRequest territory_ProcessSessions(String processsessionid) {
        return new ProcesssessionRequest(contextPath.addSegment("Territory_ProcessSessions").addKeys(new NameValue(processsessionid.toString())));
    }

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

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

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

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

    public ConnectionCollectionRequest territory_connections1() {
        return new ConnectionCollectionRequest(
                        contextPath.addSegment("territory_connections1"));
    }

    public ConnectionRequest territory_connections1(String connectionid) {
        return new ConnectionRequest(contextPath.addSegment("territory_connections1").addKeys(new NameValue(connectionid.toString())));
    }

    public ConnectionCollectionRequest territory_connections2() {
        return new ConnectionCollectionRequest(
                        contextPath.addSegment("territory_connections2"));
    }

    public ConnectionRequest territory_connections2(String connectionid) {
        return new ConnectionRequest(contextPath.addSegment("territory_connections2").addKeys(new NameValue(connectionid.toString())));
    }

    public TransactioncurrencyRequest transactioncurrencyid() {
        return new TransactioncurrencyRequest(contextPath.addSegment("transactioncurrencyid"));
    }

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

    public SystemuserCollectionRequest territory_system_users() {
        return new SystemuserCollectionRequest(
                        contextPath.addSegment("territory_system_users"));
    }

    public SystemuserRequest territory_system_users(String ownerid) {
        return new SystemuserRequest(contextPath.addSegment("territory_system_users").addKeys(new NameValue(ownerid.toString())));
    }

    public TerritoryRequest parentterritoryid() {
        return new TerritoryRequest(contextPath.addSegment("parentterritoryid"));
    }

    public TerritoryCollectionRequest territory_parent_territory() {
        return new TerritoryCollectionRequest(
                        contextPath.addSegment("territory_parent_territory"));
    }

    public TerritoryRequest territory_parent_territory(String territoryid) {
        return new TerritoryRequest(contextPath.addSegment("territory_parent_territory").addKeys(new NameValue(territoryid.toString())));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy