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

odata.msgraph.client.entity.request.RbacApplicationRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package odata.msgraph.client.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 java.lang.Object;
import java.lang.String;
import java.util.Optional;

import odata.msgraph.client.entity.RbacApplication;
import odata.msgraph.client.entity.collection.request.UnifiedRbacResourceNamespaceCollectionRequest;
import odata.msgraph.client.entity.collection.request.UnifiedRoleAssignmentCollectionRequest;
import odata.msgraph.client.entity.collection.request.UnifiedRoleAssignmentScheduleCollectionRequest;
import odata.msgraph.client.entity.collection.request.UnifiedRoleAssignmentScheduleInstanceCollectionRequest;
import odata.msgraph.client.entity.collection.request.UnifiedRoleAssignmentScheduleRequestCollectionRequest;
import odata.msgraph.client.entity.collection.request.UnifiedRoleDefinitionCollectionRequest;
import odata.msgraph.client.entity.collection.request.UnifiedRoleEligibilityScheduleCollectionRequest;
import odata.msgraph.client.entity.collection.request.UnifiedRoleEligibilityScheduleInstanceCollectionRequest;
import odata.msgraph.client.entity.collection.request.UnifiedRoleEligibilityScheduleRequestCollectionRequest;

@JsonIgnoreType
public class RbacApplicationRequest extends EntityRequest {

    public RbacApplicationRequest(ContextPath contextPath, Optional value) {
        super(RbacApplication.class, contextPath, value, false);
    }

    public UnifiedRbacResourceNamespaceRequest resourceNamespaces(String id) {
        return new UnifiedRbacResourceNamespaceRequest(contextPath.addSegment("resourceNamespaces").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public UnifiedRbacResourceNamespaceCollectionRequest resourceNamespaces() {
        return new UnifiedRbacResourceNamespaceCollectionRequest(
                        contextPath.addSegment("resourceNamespaces"), Optional.empty());
    }

    public UnifiedRoleAssignmentRequest roleAssignments(String id) {
        return new UnifiedRoleAssignmentRequest(contextPath.addSegment("roleAssignments").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public UnifiedRoleAssignmentCollectionRequest roleAssignments() {
        return new UnifiedRoleAssignmentCollectionRequest(
                        contextPath.addSegment("roleAssignments"), Optional.empty());
    }

    public UnifiedRoleDefinitionRequest roleDefinitions(String id) {
        return new UnifiedRoleDefinitionRequest(contextPath.addSegment("roleDefinitions").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public UnifiedRoleDefinitionCollectionRequest roleDefinitions() {
        return new UnifiedRoleDefinitionCollectionRequest(
                        contextPath.addSegment("roleDefinitions"), Optional.empty());
    }

    public UnifiedRoleAssignmentScheduleInstanceRequest roleAssignmentScheduleInstances(String id) {
        return new UnifiedRoleAssignmentScheduleInstanceRequest(contextPath.addSegment("roleAssignmentScheduleInstances").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public UnifiedRoleAssignmentScheduleInstanceCollectionRequest roleAssignmentScheduleInstances() {
        return new UnifiedRoleAssignmentScheduleInstanceCollectionRequest(
                        contextPath.addSegment("roleAssignmentScheduleInstances"), Optional.empty());
    }

    public UnifiedRoleAssignmentScheduleRequestRequest roleAssignmentScheduleRequests(String id) {
        return new UnifiedRoleAssignmentScheduleRequestRequest(contextPath.addSegment("roleAssignmentScheduleRequests").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public UnifiedRoleAssignmentScheduleRequestCollectionRequest roleAssignmentScheduleRequests() {
        return new UnifiedRoleAssignmentScheduleRequestCollectionRequest(
                        contextPath.addSegment("roleAssignmentScheduleRequests"), Optional.empty());
    }

    public UnifiedRoleAssignmentScheduleRequest roleAssignmentSchedules(String id) {
        return new UnifiedRoleAssignmentScheduleRequest(contextPath.addSegment("roleAssignmentSchedules").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public UnifiedRoleAssignmentScheduleCollectionRequest roleAssignmentSchedules() {
        return new UnifiedRoleAssignmentScheduleCollectionRequest(
                        contextPath.addSegment("roleAssignmentSchedules"), Optional.empty());
    }

    public UnifiedRoleEligibilityScheduleInstanceRequest roleEligibilityScheduleInstances(String id) {
        return new UnifiedRoleEligibilityScheduleInstanceRequest(contextPath.addSegment("roleEligibilityScheduleInstances").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public UnifiedRoleEligibilityScheduleInstanceCollectionRequest roleEligibilityScheduleInstances() {
        return new UnifiedRoleEligibilityScheduleInstanceCollectionRequest(
                        contextPath.addSegment("roleEligibilityScheduleInstances"), Optional.empty());
    }

    public UnifiedRoleEligibilityScheduleRequestRequest roleEligibilityScheduleRequests(String id) {
        return new UnifiedRoleEligibilityScheduleRequestRequest(contextPath.addSegment("roleEligibilityScheduleRequests").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public UnifiedRoleEligibilityScheduleRequestCollectionRequest roleEligibilityScheduleRequests() {
        return new UnifiedRoleEligibilityScheduleRequestCollectionRequest(
                        contextPath.addSegment("roleEligibilityScheduleRequests"), Optional.empty());
    }

    public UnifiedRoleEligibilityScheduleRequest roleEligibilitySchedules(String id) {
        return new UnifiedRoleEligibilityScheduleRequest(contextPath.addSegment("roleEligibilitySchedules").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public UnifiedRoleEligibilityScheduleCollectionRequest roleEligibilitySchedules() {
        return new UnifiedRoleEligibilityScheduleCollectionRequest(
                        contextPath.addSegment("roleEligibilitySchedules"), Optional.empty());
    }

}