Example #1
0
        public Command BuildDirectoryCommand()
        {
            var command = new Command("directory");
            var builder = new DirectoryRequestBuilder(PathParameters, RequestAdapter);

            command.AddCommand(builder.BuildDeleteCommand());
            command.AddCommand(builder.BuildGetCommand());
            command.AddCommand(builder.BuildPatchCommand());
            command.AddCommand(builder.BuildRoleAssignmentScheduleInstancesCommand());
            command.AddCommand(builder.BuildRoleAssignmentScheduleRequestsCommand());
            command.AddCommand(builder.BuildRoleAssignmentSchedulesCommand());
            command.AddCommand(builder.BuildRoleAssignmentsCommand());
            command.AddCommand(builder.BuildRoleDefinitionsCommand());
            command.AddCommand(builder.BuildRoleEligibilityScheduleInstancesCommand());
            command.AddCommand(builder.BuildRoleEligibilityScheduleRequestsCommand());
            command.AddCommand(builder.BuildRoleEligibilitySchedulesCommand());
            return(command);
        }