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

odata.msgraph.client.entity.set.ServicePrincipals Maven / Gradle / Ivy

package odata.msgraph.client.entity.set;

import com.github.davidmoten.odata.client.ContextPath;

import java.util.Optional;

import odata.msgraph.client.entity.collection.request.ServicePrincipalCollectionRequest;

public final class ServicePrincipals extends ServicePrincipalCollectionRequest {

    public ServicePrincipals(ContextPath contextPath) {
        super(contextPath, Optional.empty());
    }

    public DirectoryObjects createdObjects() {
        return new DirectoryObjects(contextPath.addSegment("createdObjects"));
    }

    public DirectoryObjects memberOf() {
        return new DirectoryObjects(contextPath.addSegment("memberOf"));
    }

    public Oauth2PermissionGrants oauth2PermissionGrants() {
        return new Oauth2PermissionGrants(contextPath.addSegment("oauth2PermissionGrants"));
    }

    public DirectoryObjects ownedObjects() {
        return new DirectoryObjects(contextPath.addSegment("ownedObjects"));
    }

    public DirectoryObjects owners() {
        return new DirectoryObjects(contextPath.addSegment("owners"));
    }

    public DirectoryObjects transitiveMemberOf() {
        return new DirectoryObjects(contextPath.addSegment("transitiveMemberOf"));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy